Exemplo n.º 1
0
 public FormXepLop(int[] xepLop, GridView gridView, FormChinh formChinh)
 {
     InitializeComponent();
     this.xepLop    = xepLop;
     this.gridView  = gridView;
     this.formChinh = formChinh;
 }
Exemplo n.º 2
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.º 3
0
 public FormTK_1(FormChinh formChinh, string maHS, string tenHS, string diemTK, string dToan, string dVan, string dHoa, string dSinh, string dANh, string dGDCD, string dLy, string dSu, string dDia)
 {
     InitializeComponent();
     this.formChinh = formChinh;
     this.maHS      = maHS;
     this.tenHS     = tenHS;
     this.diemTK    = diemTK;
     this.dToan     = dToan;
     this.dVan      = dVan;
     this.dHoa      = dHoa;
     this.dSinh     = dSinh;
     this.dANh      = dANh;
     this.dGDCD     = dGDCD;
     this.dLy       = dLy;
     this.dSu       = dSu;
     this.dDia      = dDia;
 }
Exemplo n.º 4
0
 public FormNhapDiem(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }
Exemplo n.º 5
0
 public FormXetLenLop(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }
Exemplo n.º 6
0
 public FormTimNH_XLL(FormChinh formChinh, FormXetLenLop formXetLenLop)
 {
     InitializeComponent();
     this.formChinh     = formChinh;
     this.formXetLenLop = formXetLenLop;
 }
Exemplo n.º 7
0
 public FormHocSinh_DB(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }
Exemplo n.º 8
0
 public FormTimNH_LHS(FormChinh formChinh, FormLop_HS formLop_HS)
 {
     InitializeComponent();
     this.formChinh  = formChinh;
     this.formLop_HS = formLop_HS;
 }
Exemplo n.º 9
0
 public FormPhanCongGV(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }
Exemplo n.º 10
0
 public FormTongKetLop(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }
Exemplo n.º 11
0
 public FormGiaoVien(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }
Exemplo n.º 12
0
 public FormTTDangNhap(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }
Exemplo n.º 13
0
 public FormQLTaiKhoan(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }
Exemplo n.º 14
0
 public FormDiemTBM_HK(FormChinh formChinh, FormNhapDiem formNhapDiem)
 {
     InitializeComponent();
     this.formChinh    = formChinh;
     this.formNhapDiem = formNhapDiem;
 }
Exemplo n.º 15
0
 public FormTimHS(FormChinh formChinh, FormBangDiemHS formBangDiemHS)
 {
     InitializeComponent();
     this.formChinh      = formChinh;
     this.formBangDiemHS = formBangDiemHS;
 }
Exemplo n.º 16
0
 public FormTimHK_PhanCong(FormChinh formChinh, FormPhanCongGV formPhanCongGV)
 {
     InitializeComponent();
     this.formChinh      = formChinh;
     this.formPhanCongGV = formPhanCongGV;
 }
Exemplo n.º 17
0
 public FormNamHoc(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }
Exemplo n.º 18
0
 public FormTimHK_CongViec(FormChinh formChinh, FormCV formCV)
 {
     InitializeComponent();
     this.formChinh = formChinh;
     this.formCV    = formCV;
 }
Exemplo n.º 19
0
 public FormBangDiemHS(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }