Exemplo n.º 1
0
 private void barButtonItem3_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     formChinh.toolStripStatusLabelNote.Text = "";
     this.Visible = false;
     formChinh.Activate();
     formChinh.Enabled = true;
 }
Exemplo n.º 2
0
 private void button1_Click(object sender, EventArgs e)
 {
     formCV.labelEMaHK.Text = "";
     //formCV.textBoxMaHK.Text = this.textBoxMaHK.Text;
     this.Visible = false;
     formChinh.Activate();
     formChinh.Enabled = true;
 }
Exemplo n.º 3
0
        private void button1_Click(object sender, EventArgs e)
        {
            formXetLenLop.labelNamBD.Text = int.Parse(textBoxNBD.Text).ToString();

            this.Visible = false;
            formChinh.Activate();
            formChinh.Enabled = true;
        }
Exemplo n.º 4
0
 private void button1_Click(object sender, EventArgs e)
 {
     formLop_HS.labelEMaNH.Text   = "";
     formLop_HS.textBoxMNH.Text   = this.textBoxMaNH.Text;
     formLop_HS.textBoxTenNH.Text = this.textBoxTenNH.Text;
     this.Visible = false;
     formChinh.Activate();
     formChinh.Enabled = true;
 }
Exemplo n.º 5
0
 private void button1_Click(object sender, EventArgs e)
 {
     formPhanCongGV.labelEMaLop.Text  = "";
     formPhanCongGV.textBoxMaLop.Text = this.textBoxMaLop.Text;
     // formPhanCongGV.textBoxMaNH.Text = ((DataRowView)lOPBindingSource[lOPBindingSource.Position])["MANH"].ToString().Trim();
     this.Visible = false;
     formChinh.Activate();
     formChinh.Enabled = true;
 }
Exemplo n.º 6
0
        private void button1_Click(object sender, EventArgs e)
        {
            string database = "QLHSTHPT";

            Program.server           = "ADMIN";
            Program.loginName        = textBoxLoginName.Text;
            Program.password         = textBoxPassword.Text;
            Program.connectionString = "Server=" + Program.server + ";"
                                       + "Database=" + database + ";"
                                       + "User id=" + Program.loginName + ";"
                                       + "Password=" + Program.password;
            Program.sqlConnection = new SqlConnection(Program.connectionString);
            try
            {
                Program.sqlConnection.Open();
                //Program.loginHienTai = Program.loginName;
                //Program.passwordHienTai = Program.password;
                FormChinh formChinh = new FormChinh();
                formChinh.Activate();
                formChinh.Show();
                this.Visible = false;
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
Exemplo n.º 7
0
        private void button1_Click(object sender, EventArgs e)
        {
            formLop_HS.labelEMaHS.Text = "";
            formLop_HS.labelEHT.Text   = "";
            formLop_HS.labelEDC.Text   = "";
            formLop_HS.labelENS.Text   = "";
            formLop_HS.labelEDT.Text   = "";
            formLop_HS.labelEDTo.Text  = "";

            formLop_HS.textBoxMHS.Text      = this.textBoxMHS.Text;
            formLop_HS.textBoxTenHS.Text    = this.textBoxTenHS.Text;
            formLop_HS.textBoxDC.Text       = this.textBoxDC.Text;
            formLop_HS.dateEditNS.Text      = this.textBoxNS.Text;
            formLop_HS.comboBoxGT.Text      = this.textBoxGT.Text;
            formLop_HS.textBoxDT.Text       = this.textBoxDT.Text;
            formLop_HS.textBoxDToc.Text     = this.textBoxDTo.Text;
            formLop_HS.checkBoxNghi.Checked = this.checkBoxNghi.Checked;
            this.Visible = false;
            formChinh.Activate();
            formChinh.Enabled = true;
        }
Exemplo n.º 8
0
 private void FormDiemTBM_HK_FormClosing(object sender, FormClosingEventArgs e)
 {
     this.Visible = false;
     formChinh.Activate();
     formChinh.Enabled = true;
 }
Exemplo n.º 9
0
 private void barButtonItem4_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     this.Visible = false;
     formChinh.Activate();
     formChinh.Enabled = true;
 }
Exemplo n.º 10
0
 private void button2_Click(object sender, EventArgs e)
 {
     this.Visible = false;
     formChinh.Activate();
     formChinh.Enabled = true;
 }