• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Forms.Panel类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中System.Windows.Forms.Panel的典型用法代码示例。如果您正苦于以下问题:C# System.Windows.Forms.Panel类的具体用法?C# System.Windows.Forms.Panel怎么用?C# System.Windows.Forms.Panel使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



System.Windows.Forms.Panel类属于命名空间,在下文中一共展示了System.Windows.Forms.Panel类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: InitializeComponent

        /// <summary>
        /// This method is required for Windows Forms designer support.
        /// Do not change the method contents inside the source code editor. The Forms designer might
        /// not be able to load this method if it was changed manually.
        /// </summary>
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
            this.mainPanel = new System.Windows.Forms.Panel();
            this.SuspendLayout();
            // 
            // mainPanel
            // 
            this.mainPanel.AutoSize = true;
            this.mainPanel.Dock = System.Windows.Forms.DockStyle.Fill;
            this.mainPanel.Location = new System.Drawing.Point(0, 0);
            this.mainPanel.Name = "mainPanel";
            this.mainPanel.Size = new System.Drawing.Size(784, 562);
            this.mainPanel.TabIndex = 0;
            // 
            // MainForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(784, 562);
            this.Controls.Add(this.mainPanel);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize = new System.Drawing.Size(640, 600);
            this.Name = "MainForm";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Бойцовский клуб";
            this.ResumeLayout(false);
            this.PerformLayout();

        }
开发者ID:MadNomad,项目名称:solutions,代码行数:35,代码来源:MainForm.Designer.cs


示例2: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.itemsPanel = new System.Windows.Forms.Panel();
     this.animationTimer = new System.Windows.Forms.Timer(this.components);
     this.SuspendLayout();
     //
     // itemsPanel
     //
     this.itemsPanel.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.itemsPanel.Location = new System.Drawing.Point(3, 3);
     this.itemsPanel.Name = "itemsPanel";
     this.itemsPanel.Size = new System.Drawing.Size(166, 104);
     this.itemsPanel.TabIndex = 0;
     //
     // animationTimer
     //
     this.animationTimer.Enabled = true;
     this.animationTimer.Interval = 50;
     this.animationTimer.Tick += new System.EventHandler(this.AnimationTick);
     //
     // CustomListBox
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
     this.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.Controls.Add(this.itemsPanel);
     this.DoubleBuffered = true;
     this.Name = "CustomListBox";
     this.Size = new System.Drawing.Size(172, 110);
     this.ResumeLayout(false);
 }
开发者ID:0anion0,项目名称:IBN,代码行数:35,代码来源:CtrlCustomListbox.designer.cs


示例3: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.ploutlookBar = new System.Windows.Forms.Panel();
     this.SuspendLayout();
     //
     // ploutlookBar
     //
     this.ploutlookBar.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ploutlookBar.Location = new System.Drawing.Point(0, 0);
     this.ploutlookBar.Name = "ploutlookBar";
     this.ploutlookBar.Size = new System.Drawing.Size(292, 273);
     this.ploutlookBar.TabIndex = 4;
     //
     // frmTools
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(292, 273);
     this.CloseButton = false;
     this.Controls.Add(this.ploutlookBar);
     this.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.HideOnClose = true;
     this.Name = "frmTools";
     this.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.DockLeft;
     this.Text = "导航菜单";
     this.Load += new System.EventHandler(this.frmTools_Load);
     this.ResumeLayout(false);
 }
开发者ID:SoMeTech,项目名称:hnbthelper,代码行数:32,代码来源:frmTools.designer.cs


示例4: InitializeComponent

 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.panel_Title = new System.Windows.Forms.Panel();
     this.panel_Close = new System.Windows.Forms.Panel();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.panel_Title.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // panel_Title
     //
     this.panel_Title.BackColor = System.Drawing.Color.MediumBlue;
     this.panel_Title.BackgroundImage = global::MagnetismForm.Properties.Resources._1;
     this.panel_Title.Controls.Add(this.panel_Close);
     this.panel_Title.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel_Title.Location = new System.Drawing.Point(0, 0);
     this.panel_Title.Name = "panel_Title";
     this.panel_Title.Size = new System.Drawing.Size(290, 31);
     this.panel_Title.TabIndex = 0;
     this.panel_Title.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel_Title_MouseMove);
     this.panel_Title.Click += new System.EventHandler(this.panel_Title_Click);
     this.panel_Title.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel_Title_MouseDown);
     this.panel_Title.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panel_Title_MouseUp);
     //
     // panel_Close
     //
     this.panel_Close.BackColor = System.Drawing.Color.Red;
     this.panel_Close.BackgroundImage = global::MagnetismForm.Properties.Resources.Close;
     this.panel_Close.Location = new System.Drawing.Point(270, 5);
     this.panel_Close.Name = "panel_Close";
     this.panel_Close.Size = new System.Drawing.Size(18, 18);
     this.panel_Close.TabIndex = 0;
     this.panel_Close.Click += new System.EventHandler(this.panel_Close_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.Image = global::MagnetismForm.Properties.Resources._4;
     this.pictureBox1.Location = new System.Drawing.Point(0, 31);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(290, 89);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 1;
     this.pictureBox1.TabStop = false;
     //
     // Frm_Play
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(290, 120);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.panel_Title);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name = "Frm_Play";
     this.Text = "主窗体";
     this.Load += new System.EventHandler(this.Frm_Play_Load);
     this.Shown += new System.EventHandler(this.Frm_Play_Shown);
     this.panel_Title.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:TGHGH,项目名称:C-1200,代码行数:64,代码来源:Frm_Play.designer.cs


示例5: InitializeComponent

		/// <summary>
		/// This method is required for Windows Forms designer support.
		/// Do not change the method contents inside the source code editor. The Forms designer might
		/// not be able to load this method if it was changed manually.
		/// </summary>
		private void InitializeComponent()
		{
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NewVolumeWizard));
			this.panel1 = new System.Windows.Forms.Panel();
			this.SuspendLayout();
			// 
			// panel1
			// 
			this.panel1.Location = new System.Drawing.Point(10, 33);
			this.panel1.Name = "panel1";
			this.panel1.Size = new System.Drawing.Size(619, 419);
			this.panel1.TabIndex = 0;
			// 
			// NewVolumeWizard
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(640, 445);
			this.Controls.Add(this.panel1);
			this.DisplayHeader = false;
			this.DisplayTitle = true;
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.Name = "NewVolumeWizard";
			this.Padding = new System.Windows.Forms.Padding(20, 30, 20, 20);
			this.ShadowType = MetroFramework.Forms.MetroFormShadowType.None;
			this.Text = "New Volume";
			this.Load += new System.EventHandler(this.NewVolumeWizardLoad);
			this.ResumeLayout(false);

		}
开发者ID:0xFireball,项目名称:FireCryptEx-Mono,代码行数:35,代码来源:NewVolumeWizard.Designer.cs


示例6: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.pnlGrid = new System.Windows.Forms.Panel();
     this.tbGrid = new QX.GenFramework.BseControl.CommonToolBar();
     this.SuspendLayout();
     //
     // pnlGrid
     //
     this.pnlGrid.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.pnlGrid.Location = new System.Drawing.Point(0, 44);
     this.pnlGrid.Name = "pnlGrid";
     this.pnlGrid.Size = new System.Drawing.Size(847, 453);
     this.pnlGrid.TabIndex = 10;
     //
     // tbGrid
     //
     this.tbGrid.Dock = System.Windows.Forms.DockStyle.Top;
     this.tbGrid.Location = new System.Drawing.Point(0, 0);
     this.tbGrid.Name = "tbGrid";
     this.tbGrid.Size = new System.Drawing.Size(847, 40);
     this.tbGrid.TabIndex = 11;
     //
     // ComDict
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(847, 496);
     this.Controls.Add(this.tbGrid);
     this.Controls.Add(this.pnlGrid);
     this.Name = "ComDict";
     this.Text = "ComDict";
     this.ResumeLayout(false);
 }
开发者ID:youthjoy,项目名称:cshelper,代码行数:39,代码来源:ComDict.designer.cs


示例7: InitializeComponent

 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.TextPanel = new System.Windows.Forms.Panel();
     this.SuspendLayout();
     //
     // TextPanel
     //
     this.TextPanel.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.TextPanel.Location = new System.Drawing.Point(0, 0);
     this.TextPanel.Margin = new System.Windows.Forms.Padding(0);
     this.TextPanel.Name = "TextPanel";
     this.TextPanel.Size = new System.Drawing.Size(357, 176);
     this.TextPanel.TabIndex = 0;
     this.TextPanel.Paint += new System.Windows.Forms.PaintEventHandler(this.TextPanel_Paint);
     //
     // TextControl
     //
     this.AutoScroll = true;
     this.BackColor = System.Drawing.Color.Transparent;
     this.Controls.Add(this.TextPanel);
     this.Name = "TextControl";
     this.Size = new System.Drawing.Size(374, 176);
     this.ResumeLayout(false);
 }
开发者ID:songques,项目名称:CSSIM_Solution,代码行数:30,代码来源:TextControl.designer.cs


示例8: DrawForm

        public DrawForm()
            : base()
        {
            Load += (s, e) =>
            {
                var p = new System.Windows.Forms.Panel();
                p.Dock = System.Windows.Forms.DockStyle.Fill;
                Controls.Add(p);

                typeof(System.Windows.Forms.Panel).InvokeMember("DoubleBuffered",
                    BindingFlags.SetProperty | BindingFlags.Instance | BindingFlags.NonPublic,
                    null, p, new object[] { true });

                var bmp = new System.Drawing.Bitmap(1024, 1024);
                p.Paint += (_, pe) =>
                {
                    pe.Graphics.SmoothingMode = SmoothingMode.AntiAlias;
                    pe.Graphics.DrawImage(bmp, System.Drawing.Point.Empty);
                };
                Graphics = System.Drawing.Graphics.FromImage(bmp);

                var t = new Thread(new ThreadStart(
                    delegate
                    {
                        while (true)
                        {
                            p.Invalidate();
                            p.Update();
                            System.Threading.Thread.Sleep(250);
                        }
                    }));
                t.IsBackground = true;
                t.Start();
            };
        }
开发者ID:hemme,项目名称:scriptcs-gui,代码行数:35,代码来源:DrawForm.cs


示例9: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.graphicsPanel = new System.Windows.Forms.Panel();
     this.SuspendLayout();
     //
     // graphicsPanel
     //
     this.graphicsPanel.Location = new System.Drawing.Point(26, 30);
     this.graphicsPanel.Name = "graphicsPanel";
     this.graphicsPanel.Size = new System.Drawing.Size(73, 71);
     this.graphicsPanel.TabIndex = 0;
     this.graphicsPanel.Paint += new System.Windows.Forms.PaintEventHandler(this.graphicsPanel_Paint);
     //
     // ImageForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll = true;
     this.ClientSize = new System.Drawing.Size(153, 113);
     this.Controls.Add(this.graphicsPanel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Name = "ImageForm";
     this.Text = "ImageForm";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ImageForm_FormClosing);
     this.ResumeLayout(false);
 }
开发者ID:kemot90,项目名称:APO,代码行数:30,代码来源:ImagePreview.designer.cs


示例10: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CollapsiblePanel));
     this.headerPanel = new System.Windows.Forms.Panel();
     this.btnExpand = new System.Windows.Forms.Button();
     this.btnCollapse = new System.Windows.Forms.Button();
     this.lblHeaderText = new System.Windows.Forms.Label();
     this.contentPanel = new System.Windows.Forms.Panel();
     this.headerPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // headerPanel
     //
     this.headerPanel.BackColor = System.Drawing.Color.LightSteelBlue;
     this.headerPanel.Controls.Add(this.btnExpand);
     this.headerPanel.Controls.Add(this.btnCollapse);
     this.headerPanel.Controls.Add(this.lblHeaderText);
     resources.ApplyResources(this.headerPanel, "headerPanel");
     this.headerPanel.Name = "headerPanel";
     //
     // btnExpand
     //
     resources.ApplyResources(this.btnExpand, "btnExpand");
     this.btnExpand.BackgroundImage = global::Maestro.Shared.UI.Properties.Resources.plus_white;
     this.btnExpand.FlatAppearance.BorderSize = 0;
     this.btnExpand.Name = "btnExpand";
     this.btnExpand.UseVisualStyleBackColor = true;
     this.btnExpand.Click += new System.EventHandler(this.btnExpand_Click);
     //
     // btnCollapse
     //
     resources.ApplyResources(this.btnCollapse, "btnCollapse");
     this.btnCollapse.BackgroundImage = global::Maestro.Shared.UI.Properties.Resources.minus_white;
     this.btnCollapse.FlatAppearance.BorderSize = 0;
     this.btnCollapse.Name = "btnCollapse";
     this.btnCollapse.UseVisualStyleBackColor = true;
     this.btnCollapse.Click += new System.EventHandler(this.btnCollapse_Click);
     //
     // lblHeaderText
     //
     this.lblHeaderText.BackColor = System.Drawing.Color.Transparent;
     resources.ApplyResources(this.lblHeaderText, "lblHeaderText");
     this.lblHeaderText.Name = "lblHeaderText";
     //
     // contentPanel
     //
     this.contentPanel.BackColor = System.Drawing.SystemColors.Control;
     resources.ApplyResources(this.contentPanel, "contentPanel");
     this.contentPanel.Name = "contentPanel";
     //
     // CollapsiblePanel
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.Controls.Add(this.contentPanel);
     this.Controls.Add(this.headerPanel);
     this.Name = "CollapsiblePanel";
     resources.ApplyResources(this, "$this");
     this.headerPanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
开发者ID:kanbang,项目名称:Colt,代码行数:64,代码来源:CollapsiblePanel.designer.cs


示例11: DrawEffectImage

 //public virtual void DrawEffectImage(BitmapSource current, BitmapSource next, EffectingPanel effectingPanel)
 public virtual void DrawEffectImage(ImageBrush currentImage, ImageBrush nextImage, 
     ref System.Windows.Forms.Panel nextPanel, ref Canvas canvas)
 {
     this.nextPanel = nextPanel;
     this.canvas = canvas;
     this.nextImage = nextImage;
 }
开发者ID:chanpi,项目名称:WpfEffectingPanelLibrary,代码行数:8,代码来源:WEPDefaultEffect.cs


示例12: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panel1 = new System.Windows.Forms.Panel();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Margin = new System.Windows.Forms.Padding(2);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(142, 487);
     this.panel1.TabIndex = 1;
     //
     // NavBar
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(219)))), ((int)(((byte)(232)))), ((int)(((byte)(241)))));
     this.Controls.Add(this.panel1);
     this.Margin = new System.Windows.Forms.Padding(2);
     this.Name = "NavBar";
     this.Size = new System.Drawing.Size(142, 487);
     this.ResumeLayout(false);
 }
开发者ID:huaminglee,项目名称:DeeHome,代码行数:29,代码来源:NavBar.designer.cs


示例13: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.btnDraw = new System.Windows.Forms.Button();
     this.txtLevel = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.panel1 = new System.Windows.Forms.Panel();
     this.SuspendLayout();
     //
     // btnDraw
     //
     this.btnDraw.Location = new System.Drawing.Point(91, 12);
     this.btnDraw.Name = "btnDraw";
     this.btnDraw.Size = new System.Drawing.Size(75, 23);
     this.btnDraw.TabIndex = 6;
     this.btnDraw.Text = "Draw";
     this.btnDraw.UseVisualStyleBackColor = true;
     this.btnDraw.Click += new System.EventHandler(this.btnDraw_Click);
     //
     // txtLevel
     //
     this.txtLevel.Location = new System.Drawing.Point(54, 14);
     this.txtLevel.Name = "txtLevel";
     this.txtLevel.Size = new System.Drawing.Size(31, 20);
     this.txtLevel.TabIndex = 5;
     this.txtLevel.Text = "4";
     this.txtLevel.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(12, 17);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(36, 13);
     this.label1.TabIndex = 4;
     this.label1.Text = "Level:";
     //
     // panel1
     //
     this.panel1.Location = new System.Drawing.Point(13, 41);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(259, 260);
     this.panel1.TabIndex = 7;
     //
     // Form1
     //
     this.AcceptButton = this.btnDraw;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(284, 313);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.btnDraw);
     this.Controls.Add(this.txtLevel);
     this.Controls.Add(this.label1);
     this.Name = "Form1";
     this.Text = "howto_sierpinski_carpet";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.Resize += new System.EventHandler(this.Form1_Resize);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:D-Eijkelenboom,项目名称:ALG2,代码行数:64,代码来源:Form1.designer.cs


示例14: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.plMain = new System.Windows.Forms.Panel();
     this.SuspendLayout();
     //
     // plMain
     //
     this.plMain.Location = new System.Drawing.Point(0, 0);
     this.plMain.Name = "plMain";
     this.plMain.Size = new System.Drawing.Size(320, 320);
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize = new System.Drawing.Size(323, 325);
     this.Controls.Add(this.plMain);
     this.Location = new System.Drawing.Point(0, -23);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "MainForm";
     this.Text = "Sconit_SD";
     this.TopMost = true;
     this.ResumeLayout(false);
 }
开发者ID:Novthirteen,项目名称:yfkey-scms,代码行数:29,代码来源:MainForm.designer.cs


示例15: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panel1 = new System.Windows.Forms.Panel();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Transparent;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Location = new System.Drawing.Point(0, 60);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(16, 8);
     this.panel1.TabIndex = 0;
     this.panel1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseDown);
     this.panel1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseMove);
     this.panel1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseUp);
     //
     // Slider
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.panel1);
     this.Name = "Slider";
     this.Size = new System.Drawing.Size(16, 150);
     this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Slider_MouseDown);
     this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.Slider_MouseMove);
     this.Resize += new System.EventHandler(this.Slider_Resize);
     this.ResumeLayout(false);
 }
开发者ID:timdetering,项目名称:Endogine,代码行数:33,代码来源:Slider.designer.cs


示例16: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panelContainer = new System.Windows.Forms.Panel();
     this.SuspendLayout();
     //
     // panelContainer
     //
     this.panelContainer.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.panelContainer.Location = new System.Drawing.Point( 108, 7 );
     this.panelContainer.Name = "panelContainer";
     this.panelContainer.Size = new System.Drawing.Size( 561, 415 );
     this.panelContainer.TabIndex = 0;
     //
     // WhidbeyTabControl
     //
     this.Controls.Add( this.panelContainer );
     this.Name = "WhidbeyTabControl";
     this.Size = new System.Drawing.Size( 676, 429 );
     this.MouseLeave += new System.EventHandler( this.WhidbeyTabControl_MouseLeave );
     this.MouseMove += new System.Windows.Forms.MouseEventHandler( this.WhidbeyTabControl_MouseMove );
     this.MouseUp += new System.Windows.Forms.MouseEventHandler( this.WhidbeyTabControl_MouseUp );
     this.KeyDown += new System.Windows.Forms.KeyEventHandler( this.WhidbeyTabControl_KeyDown );
     this.ResumeLayout( false );
 }
开发者ID:BradFuller,项目名称:pspplayer,代码行数:30,代码来源:WhidbeyTabControl.designer.cs


示例17: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panel1 = new System.Windows.Forms.Panel();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Location = new System.Drawing.Point(8, 13);
     this.panel1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(228, 31);
     this.panel1.TabIndex = 0;
     //
     // ColorGradient
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.panel1);
     this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.Name = "ColorGradient";
     this.Size = new System.Drawing.Size(247, 62);
     this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.ColorGradient_MouseDown);
     this.Resize += new System.EventHandler(this.ColorGradient_Resize);
     this.ResumeLayout(false);
 }
开发者ID:timdetering,项目名称:Endogine,代码行数:31,代码来源:ColorGradient.designer.cs


示例18: InitializeComponent

 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.Tabla_Instancias = new System.Windows.Forms.DataGridView();
     this.panel1 = new System.Windows.Forms.Panel();
     this.panel2 = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.Tabla_Instancias)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // Tabla_Instancias
     //
     this.Tabla_Instancias.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.Tabla_Instancias.Dock = System.Windows.Forms.DockStyle.Fill;
     this.Tabla_Instancias.Location = new System.Drawing.Point(10, 10);
     this.Tabla_Instancias.Name = "Tabla_Instancias";
     this.Tabla_Instancias.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.Tabla_Instancias.Size = new System.Drawing.Size(526, 124);
     this.Tabla_Instancias.TabIndex = 0;
     this.Tabla_Instancias.DoubleClick += new System.EventHandler(this.Tabla_Instancias_DoubleClick);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name = "panel1";
     this.panel1.Padding = new System.Windows.Forms.Padding(10);
     this.panel1.Size = new System.Drawing.Size(566, 164);
     this.panel1.TabIndex = 1;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.Tabla_Instancias);
     this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(10, 10);
     this.panel2.Name = "panel2";
     this.panel2.Padding = new System.Windows.Forms.Padding(10);
     this.panel2.Size = new System.Drawing.Size(546, 144);
     this.panel2.TabIndex = 0;
     //
     // FrmInstancia_SQL
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.DimGray;
     this.ClientSize = new System.Drawing.Size(566, 164);
     this.Controls.Add(this.panel1);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "FrmInstancia_SQL";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Instancias SQL";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.Tabla_Instancias)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
开发者ID:24SieteConsulting,项目名称:AvoTrace,代码行数:64,代码来源:FrmInstancia_SQL.designer.cs


示例19: ResetControl

        public void ResetControl()
        {
            try
            {
                // Maximize the main grid
                gridMain.Width = this.Width;
                gridMain.Height = this.Height;

                formsHost.Width = this.Width;
                formsHost.Height = this.Height - 100;

                // Add a win form panel to the grid
                pnlVideoPreview = new System.Windows.Forms.Panel();
                pnlVideoPreview.Width = Convert.ToInt32(this.Width);
                pnlVideoPreview.Height = Convert.ToInt32(this.Height) - 100;
                pnlVideoPreview.Left = 0;
                pnlVideoPreview.Top = 0;

                // Add the panel
                formsHost.Child = pnlVideoPreview;

                // Get the webcam matching the specified name
                foreach (EncoderDevice cam in EncoderDevices.FindDevices(EncoderDeviceType.Video))
                {
                    if (cam.Name == dsCameraSource)
                    {
                        currentcam = cam;
                    }
                }
            }
            catch { }
        }
开发者ID:rtegarp,项目名称:TugasAkhir,代码行数:32,代码来源:ucWebcam.xaml.cs


示例20: InitializeComponent

        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.Windows.Forms.Panel panel1;
            this._tallyContainer_PNL = new System.Windows.Forms.Panel();
            this._speciesName_LBL = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            panel1 = new System.Windows.Forms.Panel();
            panel1.SuspendLayout();
            this.SuspendLayout();
            // 
            // _tallyContainer_PNL
            // 
            this._tallyContainer_PNL.Dock = System.Windows.Forms.DockStyle.Fill;
            this._tallyContainer_PNL.Location = new System.Drawing.Point(62, 0);
            this._tallyContainer_PNL.Name = "_tallyContainer_PNL";
            this._tallyContainer_PNL.Size = new System.Drawing.Size(336, 62);
            this._tallyContainer_PNL.TabIndex = 0;
            // 
            // _speciesName_LBL
            // 
            this._speciesName_LBL.Dock = System.Windows.Forms.DockStyle.Fill;
            this._speciesName_LBL.Location = new System.Drawing.Point(0, 13);
            this._speciesName_LBL.Name = "_speciesName_LBL";
            this._speciesName_LBL.Size = new System.Drawing.Size(62, 49);
            this._speciesName_LBL.TabIndex = 1;
            this._speciesName_LBL.Text = "<sp>";
            // 
            // panel1
            // 
            panel1.Controls.Add(this._speciesName_LBL);
            panel1.Controls.Add(this.label1);
            panel1.Dock = System.Windows.Forms.DockStyle.Left;
            panel1.Location = new System.Drawing.Point(0, 0);
            panel1.Name = "panel1";
            panel1.Size = new System.Drawing.Size(62, 62);
            panel1.TabIndex = 0;
            // 
            // label1
            // 
#if !NetCF
            this.label1.AutoSize = true;
#endif
            this.label1.Dock = System.Windows.Forms.DockStyle.Top;
            this.label1.Location = new System.Drawing.Point(0, 0);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(48, 13);
            this.label1.TabIndex = 2;
            this.label1.Text = "Species:";
            // 
            // FixCntTallyRow
            // 
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
            this.Controls.Add(this._tallyContainer_PNL);
            this.Controls.Add(panel1);
            this.Name = "FixCntTallyRow";
            this.Size = new System.Drawing.Size(398, 62);
            panel1.ResumeLayout(true);
            this.ResumeLayout(false);

        }
开发者ID:FMSC-Measurements,项目名称:FScruiserV2,代码行数:64,代码来源:FixCntTallyRow.Designer.cs



注:本文中的System.Windows.Forms.Panel类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Forms.PictureBox类代码示例发布时间:2022-05-24
下一篇:
C# Forms.OpenFileDialog类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap