private void ändraToolStripMenuItem_Click(object sender, EventArgs e)
 {
     int tävling_id = int.Parse((string)dataGridView.SelectedRows[0].Cells[0].Value);
     var ct = new CompetitionForm(tävling_id);
     ct.ShowDialog();
     SetDataTable(MainWindow.GetCompetitionTable());
 }
Пример #2
0
        private void nyTävlingToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var ct = new CompetitionForm();

            ct.ShowDialog();
            SetDataTable(MainWindow.GetCompetitionTable());
        }
Пример #3
0
        private void ändraToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int tävling_id = int.Parse((string)dataGridView.SelectedRows[0].Cells[0].Value);
            var ct         = new CompetitionForm(tävling_id);

            ct.ShowDialog();
            SetDataTable(MainWindow.GetCompetitionTable());
        }
 private void nyTävlingToolStripMenuItem_Click(object sender, EventArgs e)
 {
     var ct = new CompetitionForm();
     ct.ShowDialog();
     SetDataTable(MainWindow.GetCompetitionTable());
 }