// Open a new form that leads to Home (online version) of the program. private void btn_home_Click(object sender, EventArgs e) { // Make sure that the user really is online before connecting. UpdateOnlineStatus(); if (btn_home.Enabled == true) { Form homeMenuForm = new HomeMenuForm(this); homeMenuForm.Show(); this.Hide(); } else { MessageBox.Show("Cannot connect to the internet."); } }
private void CreateShiftForm_FormClosed(object sender, FormClosedEventArgs e) { _homeMenuForm.Show(); }
private void ExportJobsForm_FormClosed(object sender, FormClosedEventArgs e) { _homeMenuForm.Show(); }
private void EditClientInfo_FormClosed(object sender, FormClosedEventArgs e) { _homeMenuForm.Show(); }