private void modifyTenantToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Panel display = new Panel();
     Presentation.UpdateTenant tenant = new Presentation.UpdateTenant();
     tenant.BringToFront();
     tenant.TopLevel = false;
     tenant.Visible = true;
     tenant.FormBorderStyle = FormBorderStyle.None;
     tenant.Dock = DockStyle.Fill;
     display.Controls.Add(tenant);
     display.Size = panel1.Size;
     panel1.Controls.Add(display);
     display.Show();
     display.BringToFront();
     tenant.Show();
 }
 public static Form LoadModifyTenentForm(int id)
 {
     Presentation.UpdateTenant frm = new Presentation.UpdateTenant(id);
     frm.BringToFront();
     frm.TopLevel = false;
     frm.Visible = true;
     frm.FormBorderStyle = FormBorderStyle.None;
     frm.Dock = DockStyle.Fill;
     return frm;
 }
 public static Form LoadModifyTenentForm()
 {
     Presentation.UpdateTenant Mod = new Presentation.UpdateTenant();
     Mod.BringToFront();
     Mod.TopLevel = false;
     Mod.Visible = true;
     Mod.FormBorderStyle = FormBorderStyle.None;
     Mod.Dock = DockStyle.Fill;
     return Mod;
 }