private void Customer_Load(object sender, EventArgs e) { webcam = new WebCam(); webcam.InitializeWebCam(ref picCust); pnlPersonalInfo.Visible = false; pnlPicture.Visible = false; pnlDocs.Visible = false; pnlProces.Visible = false; pnlRetrive.Visible = true; btnPrev.Enabled = false; btnRetrive.BackColor = Color.RoyalBlue; btnRetrive.ForeColor = Color.White; txtID.Focus(); txtPath.Text = Path.GetTempPath(); nudHeightInch.Value = 11; nudWidthInch.Value = 8; cmbColorMode.SelectedIndex = 1; }
private void Customerr_Load(object sender, EventArgs e) { pnlAccPinCode.Hide(); pnlAccTnC.Hide(); pnlAccType.Hide(); pnlDailyAmount.Hide(); pnlPersonalInfo.Show(); pnlPicture.Hide(); pnlScan.Hide(); pnlWelcome.Hide(); pnlProccess.Hide(); btnPersonalInfo.BackColor = Color.RoyalBlue; btnPersonalInfo.ForeColor = Color.White; btnPrev.Enabled = false; webcam = new WebCam(); webcam.InitializeWebCam(ref picCust); if (Connection.con.State == ConnectionState.Open) { Connection.con.Close(); } Connection.con.Open(); axAcroPDF1.src = @"C:\Users\SURPRISEE\Documents\School Stuff\CREDIT REHABILITATION PACK_LP101325_20140919103121.pdf"; txtPath.Text = Path.GetTempPath(); nudHeightInch.Value = 11; nudWidthInch.Value = 8; cmbColorMode.SelectedIndex = 1; FillCombo(); }