Пример #1
0
        private void buttonBlock2_Click(object sender, EventArgs e)
        {
            Hide();
            FormTasks tasksForm = new FormTasks(this);

            tasksForm.StartPosition = FormStartPosition.CenterScreen;
            tasksForm.ShowDialog();
        }
Пример #2
0
 public FormBlock2(FormTasks tasksForm)
 {
     this.tasksForm = tasksForm;
     InitializeComponent();
 }