private void buttonBlock2_Click(object sender, EventArgs e) { Hide(); FormTasks tasksForm = new FormTasks(this); tasksForm.StartPosition = FormStartPosition.CenterScreen; tasksForm.ShowDialog(); }
public FormBlock2(FormTasks tasksForm) { this.tasksForm = tasksForm; InitializeComponent(); }