Exemple #1
0
 private void btnAddIP_Click(object sender, EventArgs e)
 {
     string code = gridItemDetail.GetFocusedRowCellValue(colIpAddress).ToString();
     string cus = gridItemDetail.GetFocusedRowCellValue(colCustomerName).ToString();
     string note = gridItemDetail.GetFocusedRowCellValue(colNote).ToString();
     frmDHCPCustomer_StaticIP frm = new frmDHCPCustomer_StaticIP(code, "Cập nhật IP Wan [" + cus + "]",note);
     frm.Owner = this;
     frm.ShowDialog();
     if (frm.add_edit)
     {
         NW_Dhcp_Customer_Getlist_MySQL();
     }
 }
Exemple #2
0
        private void btnAddIP_Click(object sender, EventArgs e)
        {
            string code = gridItemDetail.GetFocusedRowCellValue(colIpAddress).ToString();
            string cus  = gridItemDetail.GetFocusedRowCellValue(colCustomerName).ToString();
            string note = gridItemDetail.GetFocusedRowCellValue(colNote).ToString();
            frmDHCPCustomer_StaticIP frm = new frmDHCPCustomer_StaticIP(code, "Cập nhật IP Wan [" + cus + "]", note);

            frm.Owner = this;
            frm.ShowDialog();
            if (frm.add_edit)
            {
                NW_Dhcp_Customer_Getlist_MySQL();
            }
        }