Beispiel #1
0
        private void button_addpersonel_Click(object sender, EventArgs e)
        {
            TeknikKartForm teknik = new TeknikKartForm(board.project);

            if (teknik.ShowDialog() == DialogResult.Cancel)
            {
                ClearAllCreatedButtons();
                FillPanelsWithCards(board);
            }
        }
Beispiel #2
0
        private void Card_MouseClick(object sender, MouseEventArgs e)
        {
            Button         button = sender as Button;
            TeknikKartForm teknik = new TeknikKartForm(Convert.ToInt32(button.Name), board.project.personels);

            if (teknik.ShowDialog() == DialogResult.Cancel)
            {
                this.Show();
            }
        }