Ejemplo n.º 1
0
        private void editToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var x = comboBox1.SelectedItem;

            _form = new ConnectionForm(((ConnectionPair)comboBox1.SelectedItem), this);
            _form.Show();
        }
Ejemplo n.º 2
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();
        }