private void button4_Click(object sender, EventArgs e) { string by = "clientFaceregister"; FrmPrincipal t = new FrmPrincipal(by); t.ShowDialog(); }
private void button1_Click(object sender, EventArgs e) { //this.Hide(); FrmPrincipal frm = new FrmPrincipal(); frm.Show(); }
private void button2_Click(object sender, EventArgs e) { FrmPrincipal add = new FrmPrincipal(); this.Hide(); add.Show(); }
private void btnExist_Click(object sender, EventArgs e) { FrmPrincipal frmPrincipal = new FrmPrincipal('e'); frmPrincipal.Show(); this.Hide(); }
private void button3_Click(object sender, EventArgs e) { FrmPrincipal frmgo = new FrmPrincipal(); frmgo.Show(); this.Hide(); }
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { FrmPrincipal mainform = new FrmPrincipal(); mainform.Show(); this.Hide(); }
void tmr_Tick(object sender, EventArgs e) { tmr.Stop(); FrmPrincipal frm = new FrmPrincipal(); frm.Show(); this.Hide(); }
private void btnsignup_Click(object sender, EventArgs e) { sidepanal.Top = btnsignup.Top; signface = "faceds"; FrmPrincipal b = new FrmPrincipal(signface); b.ShowDialog(); }
private void button5_Click(object sender, EventArgs e) { string bg = "clientFaceregister1"; FrmPrincipal v = new FrmPrincipal(bg); v.ShowDialog(); }
private void button3_Click_1(object sender, EventArgs e) { Empty(); MessageBox.Show("Đã xóa tất cả dữ liệu tranning", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information); FrmPrincipal fr = new FrmPrincipal(); this.Hide(); fr.Show(); }
private void Button_Absensi_Click(object sender, EventArgs e) { string NIP_Awal = "1"; string path = "All"; string folder = "TrainedFaces2"; FrmPrincipal frmmain = new FrmPrincipal(NIP_Awal,path,folder); DialogResult dr = frmmain.ShowDialog(); //this.Close(); //this.Hide(); }
private void button2_Click(object sender, EventArgs e) { FrmPrincipal frmp = this.FrmInstance; frmp.Show(); // si el Formulario estaba abierto seguramente este en segundo plano // con esta linea hacemos que pase adelante frmp.BringToFront(); this.Hide(); }
private void button1_Click(object sender, EventArgs e) { string a = textBox1.Text; string b = textBox2.Text; if (a == "admin" && b == "admin22" || a == "ADMIN" && b == "ADMIN22") { FrmPrincipal mainform = new FrmPrincipal(); mainform.Show(); this.Hide(); } else { MessageBox.Show("Please Enter the Valid User Name & Password"); } }
private void button1_Click(object sender, EventArgs e) { if (label3.Text == "2" || label3.Text == "3") { this.Hide(); FrmPrincipal adicionar = new FrmPrincipal(); adicionar.nomelbl.Text = label4.Text; adicionar.nivellbl.Text = label3.Text; adicionar.Closed += (s, args) => this.Close(); adicionar.Show(); } else { acessolbl.Text = "ACESSO NEGADO !!!"; } }
private void Btn_CariNIP_Click(object sender, EventArgs e) { CariPengguna cp = new CariPengguna(); if (cp.statuscariuser3(Txt_NIP.Text) == true) { string nip_baru = Txt_NIP.Text; string path_baru = nip_baru; string folder_baru = "TrainedFaces"; //load_traineface(nip_baru); FrmPrincipal frm = new FrmPrincipal(nip_baru, path_baru, folder_baru); this.Close(); frm.Show(); } else { MessageBox.Show("N.I.P yang anda masukkan tidak terdaftar di database"); Txt_NIP.Clear(); Txt_NIP.Focus(); } }
private void xóaDữLiệuToolStripMenuItem_Click(object sender, EventArgs e) { DialogResult dialogResult = MessageBox.Show("Phục hồi dữ liệu - Sẻ mất dữ liệu cũ", "Xác nhận", MessageBoxButtons.YesNo); if (dialogResult == DialogResult.Yes) { try { Empty(); MessageBox.Show("Đã xóa tất cả dữ liệu tranning", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information); FrmPrincipal fr = new FrmPrincipal(); this.Hide(); fr.Show(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } } else if (dialogResult == DialogResult.No) { } }
void frm_Disposed(object sender, EventArgs e) { frmp = null; }
private void button1_Click_1(object sender, EventArgs e) { FrmPrincipal newfrm = new FrmPrincipal(); newfrm.Show(); }
private void button7_Click(object sender, EventArgs e) { FrmPrincipal f = new FrmPrincipal(facere); f.ShowDialog(); }
private void button1_Click(object sender, EventArgs e) { FrmPrincipal f = new FrmPrincipal(); f.Show(); }