Пример #1
0
 private void comboBox3_TextChanged(object sender, EventArgs e)
 {
     Ini.Write("DEVID", comboBox3.Text);
     if (!byte.TryParse(comboBox3.Text, out DevAddr))
     {
         DevAddr = 0;
     }
 }
Пример #2
0
        private void button10_Click(object sender, EventArgs e)
        {
            OpenFileDialog Dlg = new OpenFileDialog();

            Dlg.DefaultExt = Read_UpDataInfor();
            Dlg.Filter     = "bin文件(*.bin)|*.bin|All文件(*.*)|*.*";
            if (Dlg.ShowDialog() == DialogResult.Cancel)
            {
                return;
            }
            Ini.Write("附件路径", Dlg.FileName);
            //richTextBox1.Text = Dlg.FileName;
        }
Пример #3
0
 private void comboBox4_TextChanged(object sender, EventArgs e)
 {
     Ini.Write("BOOTSize", comboBox3.Text);
 }