Ejemplo n.º 1
0
        public MainForm()
        {
            InitializeComponent();

            if (File.Exists(inipath))
            {
                InitPort(port);
            }
            else
            {
                PortForm portfrm = new PortForm();
                portfrm.ShowDialog();
                //MessageBox.Show("deltadvp.ini not found", "Header", MessageBoxButtons.OK, MessageBoxIcon.Error);
                //string s = Properties.Resources.TextFile.ini;
            }
        }
Ejemplo n.º 2
0
        public MainForm()
        {
            InitializeComponent();

            if (File.Exists(inipath) )
            {

                InitPort(port);
            }
            else
            {
                PortForm portfrm = new PortForm();
                portfrm.ShowDialog();
               //MessageBox.Show("deltadvp.ini not found", "Header", MessageBoxButtons.OK, MessageBoxIcon.Error);
                //string s = Properties.Resources.TextFile.ini;

            }
        }
Ejemplo n.º 3
0
        private void comPortToolStripMenuItem_Click(object sender, EventArgs e)
        {
            PortForm frm = new PortForm();

            frm.Show();
        }
Ejemplo n.º 4
0
 private void comPortToolStripMenuItem_Click(object sender, EventArgs e)
 {
     PortForm frm = new PortForm();
     frm.Show();
 }