Пример #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.m_myView = new ViewSampleView();
     this.SuspendLayout();
     //
     // m_myView
     //
     this.m_myView.BackColor = System.Drawing.SystemColors.ControlLight;
     this.m_myView.ForeColor = System.Drawing.SystemColors.WindowText;
     this.m_myView.Location  = new System.Drawing.Point(16, 32);
     this.m_myView.Name      = "m_myView";
     this.m_myView.Dock      = DockStyle.Fill;
     this.m_myView.TabIndex  = 0;
     //
     // This
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(292, 266);
     this.Name = "Form1";
     this.Text = "ViewSample";
     this.Controls.Add(m_myView);
     this.ResumeLayout();
 }
Пример #2
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.m_myView = new ViewSampleView();
			this.SuspendLayout();
			//
			// m_myView
			//
			this.m_myView.BackColor = System.Drawing.SystemColors.ControlLight;
			this.m_myView.ForeColor = System.Drawing.SystemColors.WindowText;
			this.m_myView.Location = new System.Drawing.Point(16, 32);
			this.m_myView.Name = "m_myView";
			this.m_myView.Dock = DockStyle.Fill;
			this.m_myView.TabIndex = 0;
			//
			// This
			//
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(292, 266);
			this.Name = "Form1";
			this.Text = "ViewSample";
			this.Controls.Add(m_myView);
			this.ResumeLayout();

		}