private void InitializeComponent() { SuspendLayout(); this.introTextLabel = new Label(); this.auxButton = new Button(); this.taskImagePB = new PictureBox(); this.separator = new HeaderLabel(); // // introTextLabel // this.introTextLabel.Name = "introTextLabel"; // // taskImagePB // this.taskImagePB.Name = "taskImagePB"; this.taskImagePB.SizeMode = PictureBoxSizeMode.StretchImage; // // auxButton // this.auxButton.Name = "auxButton"; this.auxButton.AutoSize = true; this.auxButton.FlatStyle = FlatStyle.System; this.auxButton.Visible = false; this.auxButton.Click += delegate(object sender, EventArgs e) { OnAuxButtonClick(); }; // // separator // this.separator.Name = "separator"; this.separator.RightMargin = 0; // // TaskDialogForm // this.Name = "TaskDialogForm"; this.ClientSize = new Size(300, 100); this.FormBorderStyle = FormBorderStyle.FixedDialog; this.MinimizeBox = false; this.MaximizeBox = false; this.ShowInTaskbar = false; this.StartPosition = FormStartPosition.CenterParent; this.Controls.Add(this.introTextLabel); this.Controls.Add(this.taskImagePB); this.Controls.Add(this.auxButton); this.Controls.Add(this.separator); ResumeLayout(); }
public ToolConfigRow(ToolBarConfigItems toolBarConfigItems) { this.toolBarConfigItems = toolBarConfigItems; this.headerLabel = new HeaderLabel(); this.headerLabel.Name = "headerLabel:" + toolBarConfigItems.ToString(); this.headerLabel.Text = PdnResources.GetString(GetHeaderResourceName()); this.headerLabel.RightMargin = 0; this.toolConfigStrip = new ToolConfigStrip(); this.toolConfigStrip.Name = "toolConfigStrip:" + toolBarConfigItems.ToString(); this.toolConfigStrip.AutoSize = true; this.toolConfigStrip.Dock = DockStyle.None; this.toolConfigStrip.GripStyle = ToolStripGripStyle.Hidden; this.toolConfigStrip.LayoutStyle = ToolStripLayoutStyle.HorizontalStackWithOverflow; this.toolConfigStrip.ToolBarConfigItems = this.toolBarConfigItems; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.progressBar = new System.Windows.Forms.ProgressBar(); this.cancelButton = new System.Windows.Forms.Button(); this.itemText = new System.Windows.Forms.Label(); this.separator1 = new PixelDotNet.HeaderLabel(); this.operationProgress = new System.Windows.Forms.Label(); this.SuspendLayout(); // // progressBar // this.progressBar.Location = new System.Drawing.Point(10, 51); this.progressBar.Name = "progressBar"; this.progressBar.Size = new System.Drawing.Size(405, 19); this.progressBar.TabIndex = 0; // // cancelButton // this.cancelButton.Location = new System.Drawing.Point(342, 91); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(75, 23); this.cancelButton.TabIndex = 1; this.cancelButton.Text = "cancelButton"; this.cancelButton.UseVisualStyleBackColor = true; this.cancelButton.FlatStyle = FlatStyle.System; this.cancelButton.Click += new System.EventHandler(this.CancelButton_Click); // // itemText // this.itemText.AutoEllipsis = true; this.itemText.Location = new System.Drawing.Point(8, 8); this.itemText.Name = "itemText"; this.itemText.Size = new System.Drawing.Size(404, 13); this.itemText.TabIndex = 2; this.itemText.Text = "itemText"; // // separator1 // this.separator1.Location = new System.Drawing.Point(9, 77); this.separator1.Name = "separator1"; this.separator1.RightMargin = 0; this.separator1.Size = new System.Drawing.Size(406, 14); this.separator1.TabIndex = 4; this.separator1.TabStop = false; // // operationProgress // this.operationProgress.AutoEllipsis = true; this.operationProgress.Location = new System.Drawing.Point(8, 28); this.operationProgress.Name = "operationProgress"; this.operationProgress.Size = new System.Drawing.Size(403, 13); this.operationProgress.TabIndex = 5; this.operationProgress.Text = "operationProgress"; // // TransferProgressDialog // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.ClientSize = new System.Drawing.Size(423, 121); this.Controls.Add(this.operationProgress); this.Controls.Add(this.progressBar); this.Controls.Add(this.itemText); this.Controls.Add(this.cancelButton); this.Controls.Add(this.separator1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Location = new System.Drawing.Point(0, 0); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "TransferProgressDialog"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "TransferProgressDialog"; this.Controls.SetChildIndex(this.separator1, 0); this.Controls.SetChildIndex(this.cancelButton, 0); this.Controls.SetChildIndex(this.itemText, 0); this.Controls.SetChildIndex(this.progressBar, 0); this.Controls.SetChildIndex(this.operationProgress, 0); this.ResumeLayout(false); }
private void InitializeComponent() { this.cancelButton = new Button(); this.saveButton = new Button(); this.introText = new Label(); this.defaultToolText = new Label(); this.resetButton = new Button(); this.loadFromToolBarButton = new Button(); this.toolChooserStrip = new ToolChooserStrip(); this.bottomSeparator = new HeaderLabel(); this.SuspendLayout(); // // cancelButton // this.cancelButton.Name = "cancelButton"; this.cancelButton.AutoSize = true; this.cancelButton.Click += new EventHandler(CancelButton_Click); this.cancelButton.TabIndex = 3; this.cancelButton.FlatStyle = FlatStyle.System; // // saveButton // this.saveButton.Name = "saveButton"; this.saveButton.AutoSize = true; this.saveButton.Click += new EventHandler(SaveButton_Click); this.saveButton.TabIndex = 2; this.saveButton.FlatStyle = FlatStyle.System; // // introText // this.introText.Name = "introText"; this.introText.TabStop = false; // // defaultToolText // this.defaultToolText.Name = "defaultToolText"; this.defaultToolText.AutoSize = true; this.defaultToolText.TabStop = false; // // resetButton // this.resetButton.Name = "resetButton"; this.resetButton.AutoSize = true; this.resetButton.Click += new EventHandler(ResetButton_Click); this.resetButton.TabIndex = 0; this.resetButton.FlatStyle = FlatStyle.System; // // loadFromToolBarButton // this.loadFromToolBarButton.Name = "loadFromToolBarButton"; this.loadFromToolBarButton.AutoSize = true; this.loadFromToolBarButton.Click += new EventHandler(LoadFromToolBarButton_Click); this.loadFromToolBarButton.FlatStyle = FlatStyle.System; this.loadFromToolBarButton.TabIndex = 1; // // toolChooserStrip // this.toolChooserStrip.Name = "toolChooserStrip"; this.toolChooserStrip.Dock = DockStyle.None; this.toolChooserStrip.GripStyle = ToolStripGripStyle.Hidden; this.toolChooserStrip.ShowChooseDefaults = false; this.toolChooserStrip.UseToolNameForLabel = true; this.toolChooserStrip.ToolClicked += new ToolClickedEventHandler(ToolChooserStrip_ToolClicked); // // bottomSeparator // this.bottomSeparator.Name = "bottomSeparator"; this.bottomSeparator.RightMargin = 0; // // ChooseToolDefaultsDialog // this.AcceptButton = this.saveButton; this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = AutoScaleMode.Dpi; this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(448, 173); this.Controls.Add(this.resetButton); this.Controls.Add(this.loadFromToolBarButton); this.Controls.Add(this.introText); this.Controls.Add(this.defaultToolText); this.Controls.Add(this.saveButton); this.Controls.Add(this.cancelButton); this.Controls.Add(this.toolChooserStrip); this.Controls.Add(this.bottomSeparator); this.FormBorderStyle = FormBorderStyle.FixedDialog; this.Location = new System.Drawing.Point(0, 0); this.MinimizeBox = false; this.MaximizeBox = false; this.Name = "ChooseToolDefaultsDialog"; this.ShowInTaskbar = false; this.StartPosition = FormStartPosition.CenterParent; this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.documentStrip = new PixelDotNet.DocumentStrip(); this.documentListHeader = new PixelDotNet.HeaderLabel(); this.hScrollBar = new System.Windows.Forms.HScrollBar(); this.saveButton = new PixelDotNet.CommandButton(); this.dontSaveButton = new PixelDotNet.CommandButton(); this.cancelButton = new PixelDotNet.CommandButton(); this.infoLabel = new System.Windows.Forms.Label(); this.SuspendLayout(); // // documentStrip // this.documentStrip.BackColor = System.Drawing.SystemColors.ButtonHighlight; this.documentStrip.DocumentClicked += DocumentList_DocumentClicked; this.documentStrip.DrawDirtyOverlay = false; this.documentStrip.EnsureSelectedIsVisible = false; this.documentStrip.ManagedFocus = true; this.documentStrip.Name = "documentList"; this.documentStrip.ScrollOffset = 0; this.documentStrip.ScrollOffsetChanged += new EventHandler(DocumentList_ScrollOffsetChanged); this.documentStrip.ShowCloseButtons = false; this.documentStrip.ShowScrollButtons = false; this.documentStrip.TabIndex = 0; this.documentStrip.ThumbnailUpdateLatency = 10; // // documentListHeader // this.documentListHeader.Name = "documentListHeader"; this.documentListHeader.RightMargin = 0; this.documentListHeader.TabIndex = 1; this.documentListHeader.TabStop = false; // // hScrollBar // this.hScrollBar.Name = "hScrollBar"; this.hScrollBar.TabIndex = 2; this.hScrollBar.ValueChanged += new System.EventHandler(this.HScrollBar_ValueChanged); // // saveButton // this.saveButton.ActionImage = null; this.saveButton.AutoSize = true; this.saveButton.Name = "saveButton"; this.saveButton.TabIndex = 4; this.saveButton.Click += new System.EventHandler(this.SaveButton_Click); // // dontSaveButton // this.dontSaveButton.ActionImage = null; this.dontSaveButton.AutoSize = true; this.dontSaveButton.Name = "dontSaveButton"; this.dontSaveButton.TabIndex = 5; this.dontSaveButton.Click += new System.EventHandler(this.DontSaveButton_Click); // // cancelButton // this.cancelButton.ActionImage = null; this.cancelButton.AutoSize = true; this.cancelButton.Name = "cancelButton"; this.cancelButton.TabIndex = 6; this.cancelButton.Click += new System.EventHandler(this.CancelButton_Click); // // infoLabel // this.infoLabel.Name = "infoLabel"; this.infoLabel.TabIndex = 7; // // UnsavedChangesDialog // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.ClientSize = new System.Drawing.Size(450, 100); this.Controls.Add(this.infoLabel); this.Controls.Add(this.documentListHeader); this.Controls.Add(this.cancelButton); this.Controls.Add(this.hScrollBar); this.Controls.Add(this.dontSaveButton); this.Controls.Add(this.documentStrip); this.Controls.Add(this.saveButton); this.AcceptButton = this.saveButton; this.CancelButton = this.cancelButton; this.FormBorderStyle = FormBorderStyle.FixedDialog; this.Location = new System.Drawing.Point(0, 0); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "UnsavedChangesDialog"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Controls.SetChildIndex(this.saveButton, 0); this.Controls.SetChildIndex(this.documentStrip, 0); this.Controls.SetChildIndex(this.dontSaveButton, 0); this.Controls.SetChildIndex(this.hScrollBar, 0); this.Controls.SetChildIndex(this.cancelButton, 0); this.Controls.SetChildIndex(this.documentListHeader, 0); this.Controls.SetChildIndex(this.infoLabel, 0); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.saveConfigPanel = new System.Windows.Forms.Panel(); this.defaultsButton = new System.Windows.Forms.Button(); this.saveConfigWidget = new PixelDotNet.SaveConfigWidget(); this.previewHeader = new PixelDotNet.HeaderLabel(); this.documentView = new PixelDotNet.DocumentView(); this.settingsHeader = new PixelDotNet.HeaderLabel(); this.SuspendLayout(); // // baseOkButton // this.baseOkButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.baseOkButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.baseOkButton.Name = "baseOkButton"; this.baseOkButton.TabIndex = 2; this.baseOkButton.Click += new System.EventHandler(this.BaseOkButton_Click); // // baseCancelButton // this.baseCancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.baseCancelButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.baseCancelButton.Name = "baseCancelButton"; this.baseCancelButton.TabIndex = 3; this.baseCancelButton.Click += new System.EventHandler(this.BaseCancelButton_Click); // // saveConfigPanel // this.saveConfigPanel.AutoScroll = true; this.saveConfigPanel.Name = "saveConfigPanel"; this.saveConfigPanel.TabIndex = 0; this.saveConfigPanel.TabStop = false; // // defaultsButton // this.defaultsButton.Name = "defaultsButton"; this.defaultsButton.AutoSize = true; this.defaultsButton.FlatStyle = FlatStyle.System; this.defaultsButton.TabIndex = 1; this.defaultsButton.Click += new System.EventHandler(this.DefaultsButton_Click); // // saveConfigWidget // this.saveConfigWidget.Name = "saveConfigWidget"; this.saveConfigWidget.TabIndex = 9; this.saveConfigWidget.Token = null; // // previewHeader // this.previewHeader.Name = "previewHeader"; this.previewHeader.RightMargin = 0; this.previewHeader.TabIndex = 11; this.previewHeader.TabStop = false; this.previewHeader.Text = "Header"; // // documentView // this.documentView.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.documentView.Document = null; this.documentView.Name = "documentView"; this.documentView.PanelAutoScroll = true; this.documentView.TabIndex = 12; this.documentView.TabStop = false; this.documentView.DocumentMouseMove += new System.Windows.Forms.MouseEventHandler(this.DocumentView_DocumentMouseMove); this.documentView.DocumentMouseDown += new System.Windows.Forms.MouseEventHandler(this.DocumentView_DocumentMouseDown); this.documentView.DocumentMouseUp += new System.Windows.Forms.MouseEventHandler(this.DocumentView_DocumentMouseUp); this.documentView.Visible = false; // // settingsHeader // this.settingsHeader.Name = "settingsHeader"; this.settingsHeader.TabIndex = 13; this.settingsHeader.TabStop = false; this.settingsHeader.Text = "Header"; // // SaveConfigDialog // this.AutoScaleDimensions = new SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.Controls.Add(this.defaultsButton); this.Controls.Add(this.settingsHeader); this.Controls.Add(this.previewHeader); this.Controls.Add(this.documentView); this.Controls.Add(this.saveConfigPanel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Sizable; this.MinimizeBox = false; this.MaximizeBox = true; this.Name = "SaveConfigDialog"; this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show; this.StartPosition = FormStartPosition.Manual; this.Controls.SetChildIndex(this.saveConfigPanel, 0); this.Controls.SetChildIndex(this.documentView, 0); this.Controls.SetChildIndex(this.baseOkButton, 0); this.Controls.SetChildIndex(this.baseCancelButton, 0); this.Controls.SetChildIndex(this.previewHeader, 0); this.Controls.SetChildIndex(this.settingsHeader, 0); this.Controls.SetChildIndex(this.defaultsButton, 0); this.ResumeLayout(false); }