private void btnLocation_Click(object sender, EventArgs e) { frmLocation oLocation = new frmLocation(); oLocation.Show(); LoadAllLocation(); }
private void locationToolStripMenuItem_Click(object sender, EventArgs e) { CloseAllChild(); frmLocation ofrmLocation = new frmLocation(); ofrmLocation.MdiParent = this; ofrmLocation.Show(); }