示例#1
0
 public ChecksForm(MainForm form)
 {
     InitializeComponent();
     mainform = form;
     db = mainform.DataAppCore;
     currentModel = new Check();
     //set data grid settings
     ControlFactory.SetDataGridSettings(this.dataGridViewMainSearchResult);
 }
 public ExpensesForm(MainForm form)
 {
     InitializeComponent();
     mainform = form;
     db = mainform.DataAppCore;
     currentExpense = new Expense();
     //set data grid settings
     ControlFactory.SetDataGridSettings(this.dataGridView1);
 }
 public MainForm()
 {
     InitializeComponent();
     this.dataAppCore = DataAppFactory.Create();
 }