InitializeComponent() приватный Метод

Required method for Designer support - do not modify the contents of this method with the code editor.
private InitializeComponent ( ) : void
Результат void
		public static InputFormResult ShowModal(System.Windows.Forms.IWin32Window owner, string caption, string title, string defaultText)
		{
			InputForm theForm = new InputForm();
			theForm.InitializeComponent();
			theForm.lblCaption.Text = caption;
			theForm.Text = title;
			theForm.txtInput.Text = defaultText;
			theForm.ShowDialog(owner);
		
			return GetResult(theForm);
		}	
        public static InputFormResult ShowModal(System.Windows.Forms.IWin32Window owner, string caption, string title, string defaultText)
        {
            InputForm theForm = new InputForm();

            theForm.InitializeComponent();
            theForm.lblCaption.Text = caption;
            theForm.Text            = title;
            theForm.txtInput.Text   = defaultText;
            theForm.ShowDialog(owner);

            return(GetResult(theForm));
        }