public FormSuaCanHo(String mach1, String matn1)
 {
     mach = mach1;
     matn = matn1;
     cn   = new ketNoi();
     InitializeComponent();
 }
 public FormThemToaNha()
 {
     InitializeComponent();
     formMain = new Form1();
     cn       = new ketNoi();
     addTextBoxToList();
 }
Example #3
0
 public ThanhToan()
 {
     InitializeComponent();
     kn = new ketNoi();
     txtMaHD.Enabled       = false;
     txtTienConLai.Enabled = false;
 }
Example #4
0
 public FormThue(String ch, String tn)
 {
     InitializeComponent();
     cn       = new ketNoi();
     maCanHo  = ch;
     maToaNha = tn;
 }
 public FormXemChiTietCanHo(String macanho, String matoanha)
 {
     mach = macanho;
     matn = matoanha;
     cn   = new ketNoi();
     InitializeComponent();
 }
        public FormThueSua(string ma)
        {
            mahd = ma;
            cn   = new ketNoi();
            InitializeComponent();
            show();
            int chieurong = Screen.PrimaryScreen.WorkingArea.Width;
            int chieudai  = Screen.PrimaryScreen.WorkingArea.Height;

            this.Size = new Size(chieurong, chieudai);
        }
Example #7
0
        public FormSuaToaNha()
        {
            InitializeComponent();
            formMain = new Form1();
            cn       = new ketNoi();
            addTextBoxToList();

            String selectStr = "select * from toa_nha";

            da_toaNha = new SqlDataAdapter(selectStr, cn.consql);
            ds_toaNha = new DataSet();
            da_toaNha.Fill(ds_toaNha, "build");

            key[0] = ds_toaNha.Tables["build"].Columns[0];
            ds_toaNha.Tables["build"].PrimaryKey = key;
        }
Example #8
0
        public TaiKhoan()
        {
            InitializeComponent();
            kn = new ketNoi();
            loadGrid();
            dgvTK.ReadOnly           = true;
            dgvTK.AllowUserToAddRows = false;

            btnLuu.Enabled = false;
            btnSua.Enabled = false;
            btnXoa.Enabled = false;

            txtChucVu.Enabled = false;
            txtEmail.Enabled  = false;
            txtMK.Enabled     = false;
            txtName.Enabled   = false;
            this.MaximizeBox  = false;
        }
 public FormThemKhachHang()
 {
     InitializeComponent();
     cn = new ketNoi();
 }
Example #10
0
 public ChonKhachHang()
 {
     cn = new ketNoi();
     InitializeComponent();
 }
 public FormDangKy()
 {
     InitializeComponent();
     cn = new ketNoi();
 }
 public SuaKhachHang(String s)
 {
     cn = new ketNoi();
     InitializeComponent();
     cmnd = s;
 }
 public FormThem()
 {
     cn = new ketNoi();
     InitializeComponent();
 }