Exemplo n.º 1
0
 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();
     }
 }
Exemplo n.º 2
0
        private void addAccountBtn_Clicked(object sender, EventArgs e)
        {
            AccountSettingsWindow asw = new AccountSettingsWindow(db, dbPath, this);

            asw.Show();
        }