public static void loadFillForm(Panel panel, System.Windows.Forms.Form frm)
{
if (frm != null && panel != null)
{
frm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
frm.ShowIcon = false;
frm.ShowInTaskbar = false;
frm.TopLevel = false;
frm.Dock = DockStyle.Fill;
panel.Controls.Add(frm);
frm.Show();
frm.BringToFront();
frm.Focus();
}
}