private void AddCheckToolStripMenuItem_Click(object sender, EventArgs e) { CheckDialog dialog = new CheckDialog(); dialog.ShowDialog(); LoadChecks(); }
private void Checks_MouseDoubleClick(object sender, MouseEventArgs e) { if (Checks.SelectedItems.Count == 0) { return; } CheckDialog dialog = new CheckDialog(); dialog.Value = CheckRepository.GetCheck((int)Checks.SelectedItems[0].Tag); dialog.ShowDialog(); LoadChecks(); }