Beispiel #1
0
        protected override void onAdding()
        {
            FrmTaoPhieuChi frm = (FrmTaoPhieuChi)FormMainFacade.GetForm(AppForms.FormTaoPhieuChi);

            frm.GridView  = this.GridViewMain;
            frm.IsEditing = false;

            FormMainFacade.ShowDialog(AppForms.FormTaoPhieuChi);
            FormMainFacade.SetStatusCaption(this.FormKey, StatusCaptions.AddedCaption);
        }
Beispiel #2
0
        protected override void onEditing()
        {
            FrmTaoPhieuChi frm = (FrmTaoPhieuChi)FormMainFacade.GetForm(AppForms.FormTaoPhieuChi);

            frm.GridView  = this.GridViewMain;
            frm.IsEditing = true;
            DataRowView rowView = this.phieuChiRowBindingSource.Current as DataRowView;

            frm.PhieuChiRow = rowView.Row as QLMamNon.Dao.QLMamNonDs.PhieuChiRow;

            FormMainFacade.ShowDialog(AppForms.FormTaoPhieuChi);
            FormMainFacade.SetStatusCaption(this.FormKey, StatusCaptions.ModifiedCaption);
        }
Beispiel #3
0
        private static void showCurrentForm()
        {
            String       form     = (String)StaticDataFacade.Get(StaticDataKeys.CurrentForm);
            FormShowType showType = (FormShowType)StaticDataFacade.Get(StaticDataKeys.CurrentFormShowType);

            if (FormShowType.Normal == showType)
            {
                FormMainFacade.ShowForm(form);
            }
            else
            {
                FormMainFacade.ShowDialog(form);
            }
        }
Beispiel #4
0
 private void bbiBackupDb_ItemClick(object sender, ItemClickEventArgs e)
 {
     FormMainFacade.ShowDialog(AppForms.FormBackupDb);
 }
Beispiel #5
0
 private void bbiPreference_ItemClick(object sender, ItemClickEventArgs e)
 {
     FormMainFacade.ShowDialog(AppForms.FormPreference);
 }
Beispiel #6
0
 private void bbiBangKeThuHocPhi_ItemClick(object sender, ItemClickEventArgs e)
 {
     FormMainFacade.ShowDialog(AppForms.FormBangKeThuHocPhi);
 }
Beispiel #7
0
 private void bbiBaoCaoTinhHinhThuChi_ItemClick(object sender, ItemClickEventArgs e)
 {
     FormMainFacade.ShowDialog(AppForms.FormBaoCaoTinhHinhThuChi);
 }
Beispiel #8
0
 private void bbỉptSoQuyTienMat_ItemClick(object sender, ItemClickEventArgs e)
 {
     FormMainFacade.ShowDialog(AppForms.FormSoQuyTienMat);
 }
Beispiel #9
0
 private void bbiSoTheoDoiTaiSan_ItemClick(object sender, ItemClickEventArgs e)
 {
     FormMainFacade.ShowDialog(AppForms.FormSoTheoDoiTaiSan);
 }
Beispiel #10
0
 private void bbiRptBaoCaoChiTietHoatDongTaiChinh_ItemClick(object sender, ItemClickEventArgs e)
 {
     FormMainFacade.ShowDialog(AppForms.FormBaoCaoChiTietHoatDongTaiChinh);
 }
Beispiel #11
0
 private void bbiTaoPhieuChi_ItemClick(object sender, ItemClickEventArgs e)
 {
     FormMainFacade.ShowDialog(AppForms.FormTaoPhieuChi);
 }