public frmSelectObject(string Caption, string SomeText) { InitializeComponent(); this.Text = Caption; if (string.IsNullOrEmpty(SomeText)) this.lblSomeText.Text = ""; else this.lblSomeText.Text = SomeText; }