File tree Expand file tree Collapse file tree 2 files changed +141
-3
lines changed Expand file tree Collapse file tree 2 files changed +141
-3
lines changed Original file line number Diff line number Diff line change 8
8
using System . Threading . Tasks ;
9
9
using System . Windows . Forms ;
10
10
using System . IO . Ports ;
11
+ using System . Data ;
11
12
12
13
namespace DLProgram
13
14
{
@@ -21,6 +22,7 @@ public Form1()
21
22
fillPortListe ( ) ;
22
23
//fillBaudRate: Con esta funcion se llena los baudrate
23
24
fillBaudRate ( ) ;
25
+ fillRoute ( ) ;
24
26
}
25
27
26
28
private void button1_Click ( object sender , EventArgs e )
@@ -89,10 +91,38 @@ private void fillPortListe()
89
91
}
90
92
ddPorts . SelectedIndex = 0 ;
91
93
}
92
-
94
+ private void fillRoute ( )
95
+ {
96
+ var path = Environment . CurrentDirectory ;
97
+ txtRoute . Text = path + "\\ app.exe" ;
98
+ }
93
99
private void ddBaudRate_SelectedIndexChanged ( object sender , EventArgs e )
94
100
{
95
101
96
102
}
103
+
104
+ private void textBox1_TextChanged ( object sender , EventArgs e )
105
+ {
106
+
107
+ }
108
+
109
+ private void label3_Click ( object sender , EventArgs e )
110
+ {
111
+
112
+ }
113
+
114
+ private void button1_Click_1 ( object sender , EventArgs e )
115
+ {
116
+ //fillPortListe: Con esta funcion se llena la lista de puertos que se puede seleccionar en el DropDown
117
+ fillPortListe ( ) ;
118
+ //fillBaudRate: Con esta funcion se llena los baudrate
119
+ fillBaudRate ( ) ;
120
+ }
121
+
122
+ private void btnReadFile_Click ( object sender , EventArgs e )
123
+ {
124
+ var path = Environment . CurrentDirectory + "\\ app.exe" ;
125
+ if ( )
126
+ }
97
127
}
98
128
}
You can’t perform that action at this time.
0 commit comments