public FormEditAccount(int mode, Account accIn) { InitializeComponent(); sqlconn = new Sqlite3(); acc = accIn; modeForm = mode; if (modeForm == 2) fillFields(); }
public MainForm() { // // The InitializeComponent() call is required for Windows Forms designer support. // InitializeComponent(); Acc1 = new Account(); sqlconn = new Sqlite3(); RefreshDg(); //Acc1 = new Account(); // // TODO: Add constructor code after the InitializeComponent() call. // }