Inheritance: System.Windows.Forms.Panel
コード例 #1
0
 /// <summary>
 /// デザイナ サポートに必要なメソッドです。このメソッドの内容を
 /// コード エディタで変更しないでください。
 /// </summary>
 private void InitializeComponent()
 {
     this.m_lbl_splitter = new System.Windows.Forms.PictureBox();
     this.m_panel2       = new cadencii.apputil.BSplitterPanel();
     this.m_panel1       = new cadencii.apputil.BSplitterPanel();
     ((System.ComponentModel.ISupportInitialize)(this.m_lbl_splitter)).BeginInit();
     this.SuspendLayout();
     //
     // m_lbl_splitter
     //
     this.m_lbl_splitter.BackColor  = System.Drawing.Color.Transparent;
     this.m_lbl_splitter.Location   = new System.Drawing.Point(0, 0);
     this.m_lbl_splitter.Name       = "m_lbl_splitter";
     this.m_lbl_splitter.Size       = new System.Drawing.Size(100, 50);
     this.m_lbl_splitter.TabIndex   = 0;
     this.m_lbl_splitter.TabStop    = false;
     this.m_lbl_splitter.MouseMove += new System.Windows.Forms.MouseEventHandler(this.m_lbl_splitter_MouseMove);
     this.m_lbl_splitter.MouseDown += new System.Windows.Forms.MouseEventHandler(this.m_lbl_splitter_MouseDown);
     this.m_lbl_splitter.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.m_lbl_splitter_MouseUp);
     //
     // m_panel2
     //
     this.m_panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.m_panel2.BorderColor         = System.Drawing.Color.Black;
     this.m_panel2.Location            = new System.Drawing.Point(0, 103);
     this.m_panel2.Margin              = new System.Windows.Forms.Padding(0);
     this.m_panel2.Name                = "m_panel2";
     this.m_panel2.Size                = new System.Drawing.Size(441, 245);
     this.m_panel2.TabIndex            = 1;
     this.m_panel2.BorderStyleChanged += new System.EventHandler(this.m_panel2_BorderStyleChanged);
     this.m_panel2.SizeChanged        += new System.EventHandler(this.m_panel2_SizeChanged);
     //
     // m_panel1
     //
     this.m_panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.m_panel1.BorderColor         = System.Drawing.Color.Black;
     this.m_panel1.Location            = new System.Drawing.Point(0, 0);
     this.m_panel1.Margin              = new System.Windows.Forms.Padding(0, 0, 0, 4);
     this.m_panel1.Name                = "m_panel1";
     this.m_panel1.Size                = new System.Drawing.Size(441, 99);
     this.m_panel1.TabIndex            = 0;
     this.m_panel1.BorderStyleChanged += new System.EventHandler(this.m_panel1_BorderStyleChanged);
     this.m_panel1.SizeChanged        += new System.EventHandler(this.m_panel1_SizeChanged);
     //
     // SplitContainerEx
     //
     this.Controls.Add(this.m_panel2);
     this.Controls.Add(this.m_panel1);
     this.Controls.Add(this.m_lbl_splitter);
     this.Size   = new System.Drawing.Size(441, 348);
     this.Paint += new System.Windows.Forms.PaintEventHandler(this.SplitContainerEx_Paint);
     ((System.ComponentModel.ISupportInitialize)(this.m_lbl_splitter)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #2
0
ファイル: BSplitContainer.cs プロジェクト: cadencii/cadencii
 /// <summary> 
 /// デザイナ サポートに必要なメソッドです。このメソッドの内容を 
 /// コード エディタで変更しないでください。
 /// </summary>
 private void InitializeComponent() {
     this.m_lbl_splitter = new System.Windows.Forms.PictureBox();
     this.m_panel2 = new cadencii.apputil.BSplitterPanel();
     this.m_panel1 = new cadencii.apputil.BSplitterPanel();
     ((System.ComponentModel.ISupportInitialize)(this.m_lbl_splitter)).BeginInit();
     this.SuspendLayout();
     // 
     // m_lbl_splitter
     // 
     this.m_lbl_splitter.BackColor = System.Drawing.Color.Transparent;
     this.m_lbl_splitter.Location = new System.Drawing.Point( 0, 0 );
     this.m_lbl_splitter.Name = "m_lbl_splitter";
     this.m_lbl_splitter.Size = new System.Drawing.Size( 100, 50 );
     this.m_lbl_splitter.TabIndex = 0;
     this.m_lbl_splitter.TabStop = false;
     this.m_lbl_splitter.MouseMove += new System.Windows.Forms.MouseEventHandler( this.m_lbl_splitter_MouseMove );
     this.m_lbl_splitter.MouseDown += new System.Windows.Forms.MouseEventHandler( this.m_lbl_splitter_MouseDown );
     this.m_lbl_splitter.MouseUp += new System.Windows.Forms.MouseEventHandler( this.m_lbl_splitter_MouseUp );
     // 
     // m_panel2
     // 
     this.m_panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.m_panel2.BorderColor = System.Drawing.Color.Black;
     this.m_panel2.Location = new System.Drawing.Point( 0, 103 );
     this.m_panel2.Margin = new System.Windows.Forms.Padding( 0 );
     this.m_panel2.Name = "m_panel2";
     this.m_panel2.Size = new System.Drawing.Size( 441, 245 );
     this.m_panel2.TabIndex = 1;
     this.m_panel2.BorderStyleChanged += new System.EventHandler( this.m_panel2_BorderStyleChanged );
     this.m_panel2.SizeChanged += new System.EventHandler( this.m_panel2_SizeChanged );
     // 
     // m_panel1
     // 
     this.m_panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.m_panel1.BorderColor = System.Drawing.Color.Black;
     this.m_panel1.Location = new System.Drawing.Point( 0, 0 );
     this.m_panel1.Margin = new System.Windows.Forms.Padding( 0, 0, 0, 4 );
     this.m_panel1.Name = "m_panel1";
     this.m_panel1.Size = new System.Drawing.Size( 441, 99 );
     this.m_panel1.TabIndex = 0;
     this.m_panel1.BorderStyleChanged += new System.EventHandler( this.m_panel1_BorderStyleChanged );
     this.m_panel1.SizeChanged += new System.EventHandler( this.m_panel1_SizeChanged );
     // 
     // SplitContainerEx
     // 
     this.Controls.Add( this.m_panel2 );
     this.Controls.Add( this.m_panel1 );
     this.Controls.Add( this.m_lbl_splitter );
     this.Size = new System.Drawing.Size( 441, 348 );
     this.Paint += new System.Windows.Forms.PaintEventHandler( this.SplitContainerEx_Paint );
     ((System.ComponentModel.ISupportInitialize)(this.m_lbl_splitter)).EndInit();
     this.ResumeLayout( false );
 }