예제 #1
0
        private void button4_Click(object sender, EventArgs e)
        {
            string       by = "clientFaceregister";
            FrmPrincipal t  = new FrmPrincipal(by);

            t.ShowDialog();
        }
예제 #2
0
파일: AddMain.cs 프로젝트: rshanx/ClassEye
        private void button1_Click(object sender, EventArgs e)
        {
            //this.Hide();
            FrmPrincipal frm = new FrmPrincipal();

            frm.Show();
        }
예제 #3
0
        private void button2_Click(object sender, EventArgs e)
        {
            FrmPrincipal add = new FrmPrincipal();

            this.Hide();
            add.Show();
        }
예제 #4
0
파일: Form1.cs 프로젝트: HovigGH/eyePOS
        private void btnExist_Click(object sender, EventArgs e)
        {
            FrmPrincipal frmPrincipal = new FrmPrincipal('e');

            frmPrincipal.Show();
            this.Hide();
        }
예제 #5
0
        private void button3_Click(object sender, EventArgs e)
        {
            FrmPrincipal frmgo = new FrmPrincipal();

            frmgo.Show();
            this.Hide();
        }
예제 #6
0
        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            FrmPrincipal mainform = new FrmPrincipal();

            mainform.Show();
            this.Hide();
        }
예제 #7
0
파일: splash.cs 프로젝트: prab409069/vision
        void tmr_Tick(object sender, EventArgs e)
        {
            tmr.Stop();

            FrmPrincipal frm = new FrmPrincipal();
            frm.Show();
            this.Hide();
        }
예제 #8
0
        private void btnsignup_Click(object sender, EventArgs e)
        {
            sidepanal.Top = btnsignup.Top;
            signface      = "faceds";
            FrmPrincipal b = new FrmPrincipal(signface);

            b.ShowDialog();
        }
예제 #9
0
        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();
        }
예제 #11
0
        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();
        }
예제 #12
0
        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");
            }
        }
예제 #14
0
 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 !!!";
     }
 }
예제 #15
0
 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)
            {
            }
        }
예제 #17
0
 void frm_Disposed(object sender, EventArgs e)
 {
     frmp = null;
 }
예제 #18
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            FrmPrincipal newfrm = new FrmPrincipal();

            newfrm.Show();
        }
예제 #19
0
        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();
        }