コード例 #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();
        }
コード例 #10
0
        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
ファイル: Input_NIP.cs プロジェクト: jrcfakhrian/Eigen
        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();
        }
コード例 #13
0
        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
ファイル: MainForm.cs プロジェクト: jrcfakhrian/Eigen
 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();
     }
 }
コード例 #16
0
        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();
        }
コード例 #20
0
        private void button1_Click(object sender, EventArgs e)
        {
            FrmPrincipal f = new FrmPrincipal();

            f.Show();
        }