private void accountList_EditBtnPress(object o, ButtonPressEventArgs args) { Gtk.TreeIter selected; if (accountList.Selection.GetSelected(out selected)) { int account = (int)accountListStore.GetValue(selected, 2); AccountSettingsWindow asw = new AccountSettingsWindow(db, dbPath, account, this); asw.Show(); } }
private void addAccountBtn_Clicked(object sender, EventArgs e) { AccountSettingsWindow asw = new AccountSettingsWindow(db, dbPath, this); asw.Show(); }