ApplyTo() public method

public ApplyTo ( Form form ) : void
form System.Windows.Forms.Form
return void
Exemplo n.º 1
0
        private void UpdatePreviewForm(KPFormCustomization kpfc)
        {
            // bool bResizeEng = (string.IsNullOrEmpty(kpfc.Window.Layout.Width) &&
            //	string.IsNullOrEmpty(kpfc.Window.Layout.Height));

            m_prev.CopyForm(kpfc.FormEnglish);
            kpfc.ApplyTo(m_prev);
        }
Exemplo n.º 2
0
 private void UpdatePreviewForm(KPFormCustomization kpfc)
 {
     m_prev.Controls.Clear();
     m_prev.CopyForm(kpfc.FormEnglish);
     kpfc.ApplyTo(m_prev);
 }