private void Edit_Btn_Click(object sender, EventArgs e) { Main_Info_Panel.Enabled = true; SAVE_Edit_Btn.Show(); Edit_Btn.Hide(); // Panel_pictureControls.Show(); }
private void Edit_Btn_Click(object sender, EventArgs e) { try { Main_Info_Panel.Enabled = true; SAVE_Edit_Btn.Show(); Edit_Btn.Hide(); Panel_pictureControls.Show(); } catch (Exception ex) { MessageBox.Show(ex.Message, "Message", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
private void passportNo_Txt_TextChanged(object sender, EventArgs e) { try { Custmer_Or_Agent_ID_Txt.Text = ""; Edit_Btn.Hide(); button1.Hide(); if (passportNo_Txt.Text.Length >= 1) { var cr = WARPRO.Glob.CustomersAndAgents.Glob_Passport.Get_Select_FOrWidgetRowByPassportNo_Passport(passportNo_Txt.Text); if (cr != null) { Custmer_Or_Agent_ID_Txt.Text = cr.CUSTOMER_ID.ToString(); Clipboard.SetText(cr.CUSTOMER_ID.ToString()); Edit_Btn.Show(); button1.Show(); WARPRO.Glob.CacheData.Glob_Veriables.Show_NotiFiCation("COPIED", "CUSTOMER ID COPIED SUCCESSFULLY"); } else { Clipboard.Clear(); Custmer_Or_Agent_ID_Txt.Text = ""; Edit_Btn.Hide(); button1.Hide(); } } else { //WarFramework.WarMessageBox.Show(this, "PLEASE ENTER CUSTOMER ID", "CUSTOMER ID", MessageBoxButtons.OK, MessageBoxIcon.Hand); } } catch (Exception ex) { MessageBox.Show(ex.Message, "Message", MessageBoxButtons.OK, MessageBoxIcon.Information); } }