private void createToolStripMenuItem_Click(object sender, EventArgs e) { this.Hide(); todoCreationForm tdcf = new todoCreationForm(); tdcf.ShowDialog(); }
private void createBtn_Click(object sender, EventArgs e) { ToDoApp.todoCreationForm.FormState.PreviousPage = this; this.Hide(); todoCreationForm tdcf = new todoCreationForm(); tdcf.ShowDialog(); }