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