public MainForm() { InitializeComponent(); Form_HabitChecking testForm = new Form_HabitChecking(); testForm.Show(); }
private void habitBtn_Click(object sender, EventArgs e) { Form_HabitChecking testForm = new Form_HabitChecking(); testForm.Owner = this; testForm.Show(); }