private void BtnFieldVisits_Click(object sender, EventArgs e)
        {
            FindLocationFromMap fieldOff = new FindLocationFromMap();

            fieldOff.MdiParent = this.ParentForm;
            fieldOff.Show();
            this.Hide();
        }
Ejemplo n.º 2
0
        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();
        }
Ejemplo n.º 3
0
        private void BtnVisitDetails_Click(object sender, EventArgs e)
        {
            FindLocationFromMap visits = new FindLocationFromMap();

            visits.Show();
        }