/// <summary>
 /// Add Sub Form to the fluent
 /// </summary>
 /// <param name="fluent"></param>
 /// <param name="frm"></param>
 public static void AddFormToFluent(FluentDesignFormContainer fluent, Form frm)
 {
     fluent.Controls.Clear();
     ConfigForm(frm);
     fluent.Controls.Add(frm);
     frm.Show();
 }
Esempio n. 2
0
 public static void AssignFormToPanel(FluentDesignFormContainer panel, Form form)
 {
     form.TopLevel = false;
     panel.Controls.Clear();
     panel.Controls.Add(form);
     form.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     form.Dock            = DockStyle.Fill;
     form.Show();
 }