private void MainForm_Load(object sender, EventArgs e) { ConfigView(); FormThueDia frm = new FormThueDia(bar_TrangThai.Caption.ToString()); ExpressionMethod.AddFormToFluent(fluent_label, frm); }
private void adceBaoCao_Click(object sender, EventArgs e) { if (ExpressionMethod.CheckAuth(bar_TrangThai.Caption.ToString())) { FormBaoCao frm = new FormBaoCao(); ExpressionMethod.AddFormToFluent(fluent_label, frm); } }
private void bar_BtnLog_ItemClick(object sender, ItemClickEventArgs e) { if (bar_BtnLog.Caption.Equals("Đăng Xuất")) { DialogResult result = MessageBox.Show("Bạn có chắc chắn muốn đăng xuất", "Thông báo", MessageBoxButtons.YesNo, MessageBoxIcon.Information); if (result == DialogResult.Yes) { ChangeBar(); MessageBox.Show("Đăng xuất thành công", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information); } } else { LoginForm frm = new LoginForm(); ExpressionMethod.AddFormToFluent(fluent_label, frm); this.form = frm; frm.btn_Login.Click += Btn_Login_Click; } }
private void adceTraDia_Click(object sender, EventArgs e) { FormTraDia frm = new FormTraDia(bar_TrangThai.Caption.ToString()); ExpressionMethod.AddFormToFluent(fluent_label, frm); }
private void acdeCD_Click(object sender, EventArgs e) { FormCD frm = new FormCD(bar_TrangThai.Caption); ExpressionMethod.AddFormToFluent(fluent_label, frm); }
private void adceKhachHang_Click(object sender, EventArgs e) { FormKhachHang frm = new FormKhachHang(bar_TrangThai.Caption); ExpressionMethod.AddFormToFluent(fluent_label, frm); }
private void adceDatTruoc_Click(object sender, EventArgs e) { FormDatTruoc frm = new FormDatTruoc(); ExpressionMethod.AddFormToFluent(fluent_label, frm); }