//login correct, proceeds to main app form private void CorrectLogin() { //opens the main application PillForm pillForm = new PillForm(ref pillDB); pillForm.Show(); this.Hide(); }
//shows the pillForm once the add form is to close private void addPillForm_FormClosing(object sender, FormClosingEventArgs e) { pillForm.Show(); }