System.Windows.Forms.CommonDialog.InitFormsSize C# (CSharp) Method

InitFormsSize() private method

private InitFormsSize ( Form form ) : void
form Form
return void
		internal virtual void InitFormsSize(Form form) {
			// Override this to set a default size for the form
			form.Width = 200;
			form.Height = 200;
		}
		#endregion Internal Methods

Usage Example

            internal DialogResult RunDialog()
            {
                owner.InitFormsSize(this);

                this.ShowDialog();

                return(this.DialogResult);
            }