示例#1
0
 public FormXepLop(int[] xepLop, GridView gridView, FormChinh formChinh)
 {
     InitializeComponent();
     this.xepLop    = xepLop;
     this.gridView  = gridView;
     this.formChinh = formChinh;
 }
示例#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);
            }
        }
示例#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;
 }
示例#4
0
 public FormNhapDiem(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }
示例#5
0
 public FormXetLenLop(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }
示例#6
0
 public FormTimNH_XLL(FormChinh formChinh, FormXetLenLop formXetLenLop)
 {
     InitializeComponent();
     this.formChinh     = formChinh;
     this.formXetLenLop = formXetLenLop;
 }
示例#7
0
 public FormHocSinh_DB(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }
示例#8
0
 public FormTimNH_LHS(FormChinh formChinh, FormLop_HS formLop_HS)
 {
     InitializeComponent();
     this.formChinh  = formChinh;
     this.formLop_HS = formLop_HS;
 }
示例#9
0
 public FormPhanCongGV(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }
示例#10
0
 public FormTongKetLop(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }
示例#11
0
 public FormGiaoVien(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }
示例#12
0
 public FormTTDangNhap(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }
示例#13
0
 public FormQLTaiKhoan(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }
示例#14
0
 public FormDiemTBM_HK(FormChinh formChinh, FormNhapDiem formNhapDiem)
 {
     InitializeComponent();
     this.formChinh    = formChinh;
     this.formNhapDiem = formNhapDiem;
 }
示例#15
0
 public FormTimHS(FormChinh formChinh, FormBangDiemHS formBangDiemHS)
 {
     InitializeComponent();
     this.formChinh      = formChinh;
     this.formBangDiemHS = formBangDiemHS;
 }
示例#16
0
 public FormTimHK_PhanCong(FormChinh formChinh, FormPhanCongGV formPhanCongGV)
 {
     InitializeComponent();
     this.formChinh      = formChinh;
     this.formPhanCongGV = formPhanCongGV;
 }
示例#17
0
 public FormNamHoc(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }
示例#18
0
 public FormTimHK_CongViec(FormChinh formChinh, FormCV formCV)
 {
     InitializeComponent();
     this.formChinh = formChinh;
     this.formCV    = formCV;
 }
示例#19
0
 public FormBangDiemHS(FormChinh formChinh)
 {
     InitializeComponent();
     this.formChinh = formChinh;
 }