当前位置: 首页>>代码示例>>C#>>正文


C# Forms.Panel类代码示例

本文整理汇总了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类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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


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