public QuickEntryPopupDialog2(IHtmlInput inputData, string formTitle, InputFormInfo formInfo, int sizeWidth, int sizeHeight, FieldSource fieldSource, string helpTag, Sessions.Session session, object property) { InitializeComponent(); this.Name = formTitle; this.Text = formTitle.Replace("pop", ""); this.Size = new Size(sizeWidth, sizeHeight); LoanScreen Screen = new LoanScreen(Session.DefaultInstance); this.Controls.Add(Screen); Screen.LoadForm(formInfo); }