예제 #1
0
        private void editToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var x = comboBox1.SelectedItem;

            _form = new ConnectionForm(((ConnectionPair)comboBox1.SelectedItem), this);
            _form.Show();
        }
예제 #2
0
 public Form1()
 {
     InitializeComponent();
     ConfigManager.Load();
     PutValues();
     _form = new ConnectionForm();
 }
예제 #3
0
        private void newToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var newConn = new ConnectionPair();

            ConfigManager.Connections.Add(newConn);
            _form = new ConnectionForm(newConn, this);
            _form.Show();
            PutValues();
        }