Esempio n. 1
0
 public frmMuonSach()
 {
     InitializeComponent();
     txtNV.Text = nvB.getFullNamebyUsername(Form1.username).TenNV;
     load();
     txtNV.Enabled = false;
     disable();
     btnLuu.Enabled = false;
 }
Esempio n. 2
0
 public frmTraSach()
 {
     InitializeComponent();
     load();
     txtNT.Text = DateTime.Now.ToString().Trim();
     txtNV.Text = nvB.getFullNamebyUsername(Form1.username).TenNV;
     disable();
 }
Esempio n. 3
0
        private void btnSua_Click(object sender, EventArgs e)
        {
            enable();
            check = false;
            nvBUS nvB = new nvBUS();

            txtNguoiLap.Text = nvB.getFullNamebyUsername(Form1.username).TenNV;
            btnLuu.Enabled   = true;
        }
Esempio n. 4
0
        private void btnThem_Click(object sender, EventArgs e)
        {
            enable();
            clear();
            nvBUS nvB = new nvBUS();

            txtNguoiLap.Text = (nvB.getFullNamebyUsername(Form1.username).TenNV);
            check            = true;
            btnLuu.Enabled   = true;
        }