OpenCores
URL https://opencores.org/ocsvn/wishbone_uart_controller/wishbone_uart_controller/trunk

Subversion Repositories wishbone_uart_controller

[/] [wishbone_uart_controller/] [branches/] [software/] [Form2.cs] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 themassau
using System;
2
using System.Collections.Generic;
3
using System.ComponentModel;
4
using System.Data;
5
using System.Drawing;
6
using System.Linq;
7
using System.Text;
8
using System.Windows.Forms;
9
 
10
namespace WindowsFormsApplication1
11
{
12
 
13
    public partial class Form2 : Form
14
    {
15
        public int speed;
16
        public string portid;
17
        public Form2()
18
        {
19
            InitializeComponent();
20
        }
21
 
22
        private void Form2_Load(object sender, EventArgs e)
23
        {
24
           // int speed=int.Parse(speedsel.SelectedItem.Text);
25
           // Cominfo cominfo = new Cominfo(speed);
26
        }
27
 
28
        private void ok_Click(object sender, EventArgs e)
29
        {
30
           speed = int.Parse(speedsel.SelectedItem.ToString());
31
           portid = comportname.Text;
32
           this.DialogResult = DialogResult.OK;
33
        }
34
 
35
        private void cancel_Click(object sender, EventArgs e)
36
        {
37
            this.DialogResult = DialogResult.Cancel;
38
        }
39
 
40
 
41
    }
42
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.