Exemple #1
0
        private void listBox1_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            AddActivity addActivity = new AddActivity(listBox1.SelectedIndex);

            addActivity.Show();
        }
Exemple #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            AddActivity addActivity = new AddActivity();

            addActivity.Show();
        }