コード例 #1
0
        private void btnDangXuatHeThong_Click(object sender, EventArgs e)
        {
            frm_Login frm = new frm_Login();

            frm.Show();
            this.Hide();
        }
コード例 #2
0
ファイル: frm_Main.cs プロジェクト: HajPhan/Th-c-T-p-CSDL
        private void đăngXuấtToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Close();
            this.Hide();
            frm_Login login = new frm_Login();

            login.ShowDialog();
        }
コード例 #3
0
 public frm_Main(frm_Login frmlgn, List <int> rl)
 {
     InitializeComponent();
     this.label1.BackColor      = System.Drawing.Color.Transparent;
     this.label1.Parent         = this;
     this.label2.BackColor      = System.Drawing.Color.Transparent;
     this.label2.Parent         = this;
     this.label3.BackColor      = System.Drawing.Color.Transparent;
     this.label3.Parent         = this;
     this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
     this.pictureBox1.Parent    = this;
     frmlogin = frmlgn;
     roles    = rl;
 }