Esempio n. 1
0
        private void btnUnblacklist_Click(object sender, EventArgs e)
        {
            if (dataGridView1.SelectedCells.Count > 0)
            {
                Guid   RowIDCust = (Guid)dataGridView1.SelectedCells[0].OwningRow.Cells["CustRowID"].Value;
                string Nama      = dataGridView1.SelectedCells[0].OwningRow.Cells["Nama"].Value.ToString();

                Master.frmCostumerBlackListUpdate ifrm = new frmCostumerBlackListUpdate(this, RowIDCust, Nama);
                ifrm.formMode = frmCostumerBlackListUpdate.enumFormMode.Unblacklist;
                Program.MainForm.CheckMdiChildren(ifrm);
            }
        }
Esempio n. 2
0
 private void btnBlackList_Click(object sender, EventArgs e)
 {
     Master.frmCostumerBlackListUpdate ifrm = new frmCostumerBlackListUpdate(this);
     ifrm.formMode = frmCostumerBlackListUpdate.enumFormMode.Blacklist;
     Program.MainForm.CheckMdiChildren(ifrm);
 }