Example #1
0
 private void EditServerMenuItem_Click(object sender, EventArgs e)
 {
     ToolStripMenuItem clickedItem = (ToolStripMenuItem)sender;
     ConnectionFrm ConnectionFrm = new ConnectionFrm();
     ConnectionFrm.Show();
     ConnectionFrm.SetMode("Edit", (ConnectionInfo)clickedItem.Tag);
 }
Example #2
0
 private void AddServerMenuItem_Click(object sender, EventArgs e)
 {
     ConnectionFrm ConnectionFrm = new ConnectionFrm();
     ConnectionFrm.SetMode("New");
     ConnectionFrm.Show();
 }