private void createJobFairButton_Click(object sender, EventArgs e) { Forms.CreateFair createFair = new Forms.CreateFair(); createFair.VisibleChanged += delegate(object source, EventArgs args) { if (!createFair.Visible) { this.Show(); } }; createFair.Show(); //MessageBox.Show("We don't have that yet lmao"); }
private void m_btn_newJobFair_Click(object sender, EventArgs e) { Forms.CreateFair fair = new Forms.CreateFair(); fair.Show(); // this.Hide(); }