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


C# System.Windows.Forms.FlowLayoutPanel.SetFlowBreak方法代码示例

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


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

示例1: InitializeComponent


//.........这里部分代码省略.........
            groupBox1.Size = new System.Drawing.Size(369, 72);
            groupBox1.TabIndex = 0;
            groupBox1.TabStop = false;
            groupBox1.Text = "File Format";
            // 
            // flowLayoutPanel1
            // 
            flowLayoutPanel1.AutoSize = true;
            flowLayoutPanel1.Controls.Add(label1);
            flowLayoutPanel1.Controls.Add(this.fileFormat);
            flowLayoutPanel1.Controls.Add(label2);
            flowLayoutPanel1.Controls.Add(this.jpegCompression);
            flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            flowLayoutPanel1.Location = new System.Drawing.Point(3, 16);
            flowLayoutPanel1.Name = "flowLayoutPanel1";
            flowLayoutPanel1.Size = new System.Drawing.Size(363, 53);
            flowLayoutPanel1.TabIndex = 0;
            // 
            // label1
            // 
            label1.Anchor = System.Windows.Forms.AnchorStyles.Right;
            label1.AutoSize = true;
            label1.Location = new System.Drawing.Point(3, 7);
            label1.MinimumSize = new System.Drawing.Size(150, 0);
            label1.Name = "label1";
            label1.Size = new System.Drawing.Size(150, 13);
            label1.TabIndex = 1;
            label1.Text = "File Format:";
            label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // fileFormat
            // 
            this.fileFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            flowLayoutPanel1.SetFlowBreak(this.fileFormat, true);
            this.fileFormat.FormattingEnabled = true;
            this.fileFormat.Location = new System.Drawing.Point(159, 3);
            this.fileFormat.Name = "fileFormat";
            this.fileFormat.Size = new System.Drawing.Size(121, 21);
            this.fileFormat.TabIndex = 0;
            this.fileFormat.SelectedIndexChanged += new System.EventHandler(this.fileFormat_SelectedIndexChanged);
            // 
            // label2
            // 
            label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
            label2.AutoSize = true;
            label2.Location = new System.Drawing.Point(3, 33);
            label2.MinimumSize = new System.Drawing.Size(150, 0);
            label2.Name = "label2";
            label2.Size = new System.Drawing.Size(150, 13);
            label2.TabIndex = 2;
            label2.Text = "JPEG Compression:";
            label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // jpegCompression
            // 
            this.jpegCompression.Location = new System.Drawing.Point(159, 30);
            this.jpegCompression.Name = "jpegCompression";
            this.jpegCompression.Size = new System.Drawing.Size(120, 20);
            this.jpegCompression.TabIndex = 3;
            this.jpegCompression.ValueChanged += new System.EventHandler(this.jpegCompression_ValueChanged);
            // 
            // flowLayoutPanel2
            // 
            flowLayoutPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            flowLayoutPanel2.AutoSize = true;
            flowLayoutPanel2.Controls.Add(this.ok);
开发者ID:Lonesled,项目名称:renderdoc,代码行数:67,代码来源:TextureSaveDialog.Designer.cs

示例2: InitializeComponent

		private void InitializeComponent()
		{
			System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
			System.Windows.Forms.Label label5;
			System.Windows.Forms.Label label1;
			System.Windows.Forms.ColumnHeader columnHeader2;
			System.Windows.Forms.ColumnHeader columnHeader1;
			System.Windows.Forms.ColumnHeader columnHeader3;
			System.Windows.Forms.ColumnHeader columnHeader4;
			System.Windows.Forms.ColumnHeader columnHeader5;
			System.Windows.Forms.Label label2;
			System.Windows.Forms.Button button2;
			System.Windows.Forms.FlowLayoutPanel flowLayoutPanel2;
			System.Windows.Forms.ColumnHeader columnHeader6;
			this.button1 = new System.Windows.Forms.Button();
			this.button6 = new System.Windows.Forms.Button();
			this.ErrorsLabel = new System.Windows.Forms.Label();
			this.ErrorsButton = new System.Windows.Forms.Button();
			this.listView1 = new System.Windows.Forms.ListView();
			flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
			label5 = new System.Windows.Forms.Label();
			label1 = new System.Windows.Forms.Label();
			columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
			columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
			columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
			columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
			columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
			label2 = new System.Windows.Forms.Label();
			button2 = new System.Windows.Forms.Button();
			flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
			columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
			flowLayoutPanel2.SuspendLayout();
			this.SuspendLayout();
			// 
			// flowLayoutPanel1
			// 
			flowLayoutPanel1.AutoSize = true;
			flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top;
			flowLayoutPanel1.Location = new System.Drawing.Point(0, 0);
			flowLayoutPanel1.Name = "flowLayoutPanel1";
			flowLayoutPanel1.Size = new System.Drawing.Size(786, 0);
			flowLayoutPanel1.TabIndex = 1;
			// 
			// label5
			// 
			label5.AutoSize = true;
			label5.Location = new System.Drawing.Point(3, 67);
			label5.Margin = new System.Windows.Forms.Padding(3, 12, 3, 0);
			label5.Name = "label5";
			label5.Size = new System.Drawing.Size(140, 26);
			label5.TabIndex = 6;
			label5.Text = "Deletes files according to the selected categories.";
			// 
			// label1
			// 
			label1.AutoSize = true;
			label1.Location = new System.Drawing.Point(3, 134);
			label1.Margin = new System.Windows.Forms.Padding(3, 12, 3, 0);
			label1.Name = "label1";
			label1.Size = new System.Drawing.Size(143, 39);
			label1.TabIndex = 10;
			label1.Text = "Tells Steam to redownload deleted files for the highlighted game.";
			// 
			// columnHeader2
			// 
			columnHeader2.Text = "AppId";
			// 
			// columnHeader1
			// 
			columnHeader1.Text = "Game name";
			columnHeader1.Width = 200;
			// 
			// columnHeader3
			// 
			columnHeader3.Text = "Size";
			// 
			// columnHeader4
			// 
			columnHeader4.Text = "Deletable";
			columnHeader4.Width = 95;
			// 
			// columnHeader5
			// 
			columnHeader5.Text = "Not selected";
			columnHeader5.Width = 85;
			// 
			// label2
			// 
			label2.AutoSize = true;
			label2.Location = new System.Drawing.Point(3, 0);
			label2.Name = "label2";
			label2.Size = new System.Drawing.Size(144, 26);
			label2.TabIndex = 13;
			label2.Text = "Select which categories of files to delete.";
			// 
			// button2
			// 
			flowLayoutPanel2.SetFlowBreak(button2, true);
			button2.Location = new System.Drawing.Point(3, 29);
			button2.Name = "button2";
//.........这里部分代码省略.........
开发者ID:zr40,项目名称:steamdisksaver,代码行数:101,代码来源:MainForm.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.components = new System.ComponentModel.Container();
            System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
            System.Windows.Forms.PictureBox pictureBox1;
            System.Windows.Forms.Panel panel1;
            System.Windows.Forms.Label label2;
            System.Windows.Forms.Label label1;
            System.Windows.Forms.Panel panel2;
            System.Windows.Forms.Panel panel3;
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Launcher));
            this.password = new System.Windows.Forms.TextBox();
            this.username = new System.Windows.Forms.TextBox();
            this.register = new System.Windows.Forms.Button();
            this.login = new System.Windows.Forms.Button();
            this.info = new System.Windows.Forms.Label();
            this.timer = new System.Windows.Forms.Timer(this.components);
            flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
            pictureBox1 = new System.Windows.Forms.PictureBox();
            panel1 = new System.Windows.Forms.Panel();
            label2 = new System.Windows.Forms.Label();
            label1 = new System.Windows.Forms.Label();
            panel2 = new System.Windows.Forms.Panel();
            panel3 = new System.Windows.Forms.Panel();
            flowLayoutPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(pictureBox1)).BeginInit();
            panel1.SuspendLayout();
            panel2.SuspendLayout();
            panel3.SuspendLayout();
            this.SuspendLayout();
            // 
            // flowLayoutPanel1
            // 
            flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            flowLayoutPanel1.Controls.Add(pictureBox1);
            flowLayoutPanel1.Controls.Add(panel1);
            flowLayoutPanel1.Controls.Add(panel2);
            flowLayoutPanel1.Controls.Add(panel3);
            flowLayoutPanel1.Location = new System.Drawing.Point(12, 12);
            flowLayoutPanel1.Name = "flowLayoutPanel1";
            flowLayoutPanel1.Size = new System.Drawing.Size(760, 527);
            flowLayoutPanel1.TabIndex = 0;
            // 
            // pictureBox1
            // 
            flowLayoutPanel1.SetFlowBreak(pictureBox1, true);
            pictureBox1.Image = global::Launcher.Properties.Resources.banner;
            pictureBox1.InitialImage = null;
            pictureBox1.Location = new System.Drawing.Point(3, 3);
            pictureBox1.Name = "pictureBox1";
            pictureBox1.Size = new System.Drawing.Size(750, 444);
            pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
            pictureBox1.TabIndex = 0;
            pictureBox1.TabStop = false;
            // 
            // panel1
            // 
            panel1.Controls.Add(this.password);
            panel1.Controls.Add(this.username);
            panel1.Controls.Add(label2);
            panel1.Controls.Add(label1);
            panel1.Location = new System.Drawing.Point(3, 453);
            panel1.Name = "panel1";
            panel1.Size = new System.Drawing.Size(174, 71);
            panel1.TabIndex = 3;
            // 
            // password
            // 
            this.password.Location = new System.Drawing.Point(67, 38);
            this.password.MaxLength = 255;
            this.password.Name = "password";
            this.password.Size = new System.Drawing.Size(100, 20);
            this.password.TabIndex = 5;
            this.password.UseSystemPasswordChar = true;
            // 
            // username
            // 
            this.username.Location = new System.Drawing.Point(67, 10);
            this.username.MaxLength = 255;
            this.username.Name = "username";
            this.username.Size = new System.Drawing.Size(100, 20);
            this.username.TabIndex = 4;
            // 
            // label2
            // 
            label2.AutoSize = true;
            label2.Location = new System.Drawing.Point(3, 41);
            label2.Name = "label2";
            label2.Size = new System.Drawing.Size(56, 13);
            label2.TabIndex = 3;
            label2.Text = "Password:";
            // 
            // label1
            // 
            label1.AutoSize = true;
            label1.Location = new System.Drawing.Point(3, 13);
//.........这里部分代码省略.........
开发者ID:snoozbuster,项目名称:accelerated-delivery,代码行数:101,代码来源:Launcher.Designer.cs

示例4: 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.FlowLayoutPanel _lytMessage;
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RateForm));
			System.Windows.Forms.FlowLayoutPanel _lytButtons;
			System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
			this._pbxRateImage = new System.Windows.Forms.PictureBox();
			this._lblInfo = new System.Windows.Forms.Label();
			this._btnYes = new System.Windows.Forms.Button();
			this._btnCancel = new System.Windows.Forms.Button();
			_lytMessage = new System.Windows.Forms.FlowLayoutPanel();
			_lytButtons = new System.Windows.Forms.FlowLayoutPanel();
			tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
			_lytMessage.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this._pbxRateImage)).BeginInit();
			_lytButtons.SuspendLayout();
			tableLayoutPanel1.SuspendLayout();
			this.SuspendLayout();
			// 
			// _lytMessage
			// 
			resources.ApplyResources(_lytMessage, "_lytMessage");
			_lytMessage.Controls.Add(this._pbxRateImage);
			_lytMessage.Controls.Add(this._lblInfo);
			_lytMessage.Name = "_lytMessage";
			// 
			// _pbxRateImage
			// 
			resources.ApplyResources(this._pbxRateImage, "_pbxRateImage");
			this._pbxRateImage.Name = "_pbxRateImage";
			this._pbxRateImage.TabStop = false;
			// 
			// _lblInfo
			// 
			resources.ApplyResources(this._lblInfo, "_lblInfo");
			_lytMessage.SetFlowBreak(this._lblInfo, true);
			this._lblInfo.Name = "_lblInfo";
			// 
			// _lytButtons
			// 
			resources.ApplyResources(_lytButtons, "_lytButtons");
			_lytButtons.Controls.Add(this._btnYes);
			_lytButtons.Controls.Add(this._btnCancel);
			_lytButtons.Name = "_lytButtons";
			// 
			// _btnYes
			// 
			resources.ApplyResources(this._btnYes, "_btnYes");
			this._btnYes.DialogResult = System.Windows.Forms.DialogResult.Yes;
			this._btnYes.Name = "_btnYes";
			// 
			// _btnCancel
			// 
			resources.ApplyResources(this._btnCancel, "_btnCancel");
			this._btnCancel.DialogResult = System.Windows.Forms.DialogResult.No;
			this._btnCancel.Name = "_btnCancel";
			// 
			// tableLayoutPanel1
			// 
			resources.ApplyResources(tableLayoutPanel1, "tableLayoutPanel1");
			tableLayoutPanel1.Controls.Add(_lytMessage, 0, 0);
			tableLayoutPanel1.Controls.Add(_lytButtons, 0, 1);
			tableLayoutPanel1.Name = "tableLayoutPanel1";
			// 
			// RateForm
			// 
			this.AcceptButton = this._btnYes;
			resources.ApplyResources(this, "$this");
			this.BackColor = System.Drawing.SystemColors.ControlLight;
			this.CancelButton = this._btnCancel;
			this.ControlBox = false;
			this.Controls.Add(tableLayoutPanel1);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "RateForm";
			this.ShowInTaskbar = false;
			_lytMessage.ResumeLayout(false);
			_lytMessage.PerformLayout();
			((System.ComponentModel.ISupportInitialize)(this._pbxRateImage)).EndInit();
			_lytButtons.ResumeLayout(false);
			_lytButtons.PerformLayout();
			tableLayoutPanel1.ResumeLayout(false);
			tableLayoutPanel1.PerformLayout();
			this.ResumeLayout(false);
			this.PerformLayout();
		}
开发者ID:rsdn,项目名称:janus,代码行数:91,代码来源:RateForm.Designer.cs


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