private void btFuckHer_Click(object sender, EventArgs e) { F**k f = lvFucks.SelectedItems[0].Tag as F**k; FuckForm dlg = new FuckForm(_rab.ID, f.PartnerId); if (dlg.ShowDialog() == DialogResult.OK) { cancelUnable(); } cancelUnable(); updateData(); }
private void changeFucker_Click(object sender, EventArgs e) { if (lvFucks.SelectedItems.Count != 1) { return; } F**k f = lvFucks.SelectedItems[0].Tag as F**k; FuckForm mf = new FuckForm(_rab, f.PartnerId, false); if (mf.ShowDialog() == DialogResult.OK && mf.SelectedFucker != f.Id) { Engine.get().ChangeFucker(f, mf.SelectedFucker, mf.FuckDate); } cancelUnable(); updateData(); }
private void miFucks_Click(object sender, EventArgs e) { if (listView1.SelectedItems.Count != 1) { return; } try { FuckForm dlg = new FuckForm((listView1.SelectedItems[0].Tag as AdultRabbit).ID); if (dlg.ShowDialog() == DialogResult.OK && !MainForm.MustClose) { _rsb.Run(); } } catch (Exception exc) { MessageBox.Show(exc.Message); _logger.Warn(exc); _rsb.Run(); } }