예제 #1
0
 private void InitializeComponent()
 {
     this.dataGrid1 = new ClickableDataGrid();
     ((ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     this.dataGrid1.DataMember      = "";
     this.dataGrid1.HeaderForeColor = SystemColors.ControlText;
     this.dataGrid1.Location        = new Point(16, 16);
     this.dataGrid1.Name            = "dataGrid1";
     this.dataGrid1.Size            = new Size(624, 440);
     this.dataGrid1.TabIndex        = 0;
     this.AutoScaleBaseSize         = new Size(5, 13);
     this.ClientSize = new Size(656, 470);
     this.Controls.Add(this.dataGrid1);
     this.Name   = "Form1";
     this.Text   = "Form1";
     this.Shown += new EventHandler(this.Form1_Load);
     ((ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #2
0
			private void InitializeComponent ()
			{
				this.dataGrid1 = new ClickableDataGrid ();
				((ISupportInitialize)(this.dataGrid1)).BeginInit ();
				this.SuspendLayout ();
				this.dataGrid1.DataMember = "";
				this.dataGrid1.HeaderForeColor = SystemColors.ControlText;
				this.dataGrid1.Location = new Point (16, 16);
				this.dataGrid1.Name = "dataGrid1";
				this.dataGrid1.Size = new Size (624, 440);
				this.dataGrid1.TabIndex = 0;
				this.AutoScaleBaseSize = new Size (5, 13);
				this.ClientSize = new Size (656, 470);
				this.Controls.Add (this.dataGrid1);
				this.Name = "Form1";
				this.Text = "Form1";
				this.Shown += new EventHandler (this.Form1_Load);
				((ISupportInitialize)(this.dataGrid1)).EndInit ();
				this.ResumeLayout (false);

			}