public static Form LoadTenantsForm()
 {
     Presentation.Tenants frm = new Presentation.Tenants();
     frm.BringToFront();
     frm.TopLevel = false;
     frm.Visible = true;
     frm.FormBorderStyle = FormBorderStyle.None;
     frm.Dock = DockStyle.Fill;
     return frm;
 }
 public static Form LoadTenentMainForm()
 {
     Presentation.Tenants tenantMain = new Presentation.Tenants();
     tenantMain.BringToFront();
     tenantMain.TopLevel = false;
     tenantMain.Visible = true;
     tenantMain.FormBorderStyle = FormBorderStyle.None;
     tenantMain.Dock = DockStyle.Fill;
     return tenantMain;
 }
 private void viewToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Panel display = new Panel();
     Presentation.Tenants tenant = new Presentation.Tenants();
     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();
 }