private void BtnFieldVisits_Click(object sender, EventArgs e) { FindLocationFromMap fieldOff = new FindLocationFromMap(); fieldOff.MdiParent = this.ParentForm; fieldOff.Show(); this.Hide(); }
public void GetFeildVisits() { foreach (Form form in Application.OpenForms) { if (form.GetType() == typeof(FindLocationFromMap)) { form.Activate(); return; } } FindLocationFromMap Officers = new FindLocationFromMap(); Officers.MdiParent = this; Officers.Show(); }
private void BtnVisitDetails_Click(object sender, EventArgs e) { FindLocationFromMap visits = new FindLocationFromMap(); visits.Show(); }