Esempio n. 1
0
 private void TSMIAddDBConnInfo_Click(object sender, EventArgs e)
 {
     using (FmDBConnInfoUpsert fm = new FmDBConnInfoUpsert(null))
     {
         fm.ShowDialog(this);
     }
     RefreshDGVDBConnectInfo();
 }
Esempio n. 2
0
 private void 修改ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (FmDBConnInfoUpsert fm = new FmDBConnInfoUpsert((DBConnInfo)DGVDBConnectInfo.CurrentRow.DataBoundItem))
     {
         fm.ShowDialog(this);
     }
     RefreshDGVDBConnectInfo();
 }