private void kodePelangganTxt_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyData == Keys.Enter)
     {
         Modul_Customer_PopUp custPopup = new Modul_Customer_PopUp(this);
         custPopup.Show();
         this.Enabled = false;
     }
 }
        private void kodePelangganTxt_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyData == Keys.Enter)
            {
                if (namaPelangganTxt.Text.CompareTo("") != 0)
                {
                    namaPasienTxt.Focus();
                }
                else
                {
                    Modul_Customer_PopUp custPopup = new Modul_Customer_PopUp(this);
                    custPopup.Show();
                    this.Enabled = false;
                }

            }
        }
 private void cariKodePelangganBtn_Click(object sender, EventArgs e)
 {
     Modul_Customer_PopUp custPopup = new Modul_Customer_PopUp(this);
     custPopup.Show();
     this.Enabled = false;
 }
 public Modul_Data_Customer(Modul_Customer_PopUp custPopup)
 {
     InitializeComponent();
     obj = new Customer();
     this.custPopup = custPopup;
 }