示例#1
0
 private void utbTool_BtnNewClick(object sender, EventArgs e)
 {
     frmIPAdd fiaForm = new frmIPAdd();
     fiaForm.ShowDialog();
     init();
 }
示例#2
0
        private void utbTool_BtnModifyClick(object sender, EventArgs e)
        {
            if (this.lvwIPList.SelectedItems != null && this.lvwIPList.SelectedItems.Count > 0)
            {
                int index = this.lvwIPList.SelectedItems[0].Index;

                frmIPAdd fiaForm = new frmIPAdd(_mbList[index]);
                fiaForm.ShowDialog();
                init();
            }
        }