コード例 #1
0
 private void InitializeComponent()
 {
     this.pictureBox = new Axiom.RenderSystems.DirectX9.AxiomRenderBox();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
     this.SuspendLayout();
     //
     // pictureBox
     //
     this.pictureBox.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.pictureBox.Location      = new System.Drawing.Point(0, 0);
     this.pictureBox.Name          = "pictureBox";
     this.pictureBox.Size          = new System.Drawing.Size(640, 480);
     this.pictureBox.TabIndex      = 1;
     this.pictureBox.TabStop       = false;
     this.pictureBox.UseWaitCursor = true;
     this.pictureBox.Visible       = false;
     //
     // DefaultForm
     //
     this.AutoScaleMode         = System.Windows.Forms.AutoScaleMode.None;
     this.AutoValidate          = System.Windows.Forms.AutoValidate.Disable;
     this.BackColor             = System.Drawing.Color.Black;
     this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.CausesValidation      = false;
     this.ClientSize            = new System.Drawing.Size(640, 480);
     this.Controls.Add(this.pictureBox);
     this.Name          = "DefaultForm";
     this.UseWaitCursor = true;
     this.Load         += new System.EventHandler(this.DefaultForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #2
0
 private void InitializeComponent()
 {
     this.pictureBox = new Axiom.RenderSystems.DirectX9.AxiomRenderBox();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
     this.SuspendLayout();
     //
     // pictureBox
     //
     this.pictureBox.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pictureBox.Location = new System.Drawing.Point(0, 0);
     this.pictureBox.Name = "pictureBox";
     this.pictureBox.Size = new System.Drawing.Size(640, 480);
     this.pictureBox.TabIndex = 1;
     this.pictureBox.TabStop = false;
     this.pictureBox.UseWaitCursor = true;
     this.pictureBox.Visible = false;
     //
     // DefaultForm
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.AutoValidate = System.Windows.Forms.AutoValidate.Disable;
     this.BackColor = System.Drawing.Color.Black;
     this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.CausesValidation = false;
     this.ClientSize = new System.Drawing.Size(640, 480);
     this.Controls.Add(this.pictureBox);
     this.Name = "DefaultForm";
     this.UseWaitCursor = true;
     this.Load += new System.EventHandler(this.DefaultForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit();
     this.ResumeLayout(false);
 }