コード例 #1
0
ファイル: TaskDialog.cs プロジェクト: leejungho2/xynotecgui
 private void InitializeComponent()
 {
     SuspendLayout();
     this.introTextLabel = new Label();
     this.taskImagePB    = new PictureBox();
     this.separator      = new HeaderLabel();
     //
     // introTextLabel
     //
     this.introTextLabel.Name = "introTextLabel";
     //
     // taskImagePB
     //
     this.taskImagePB.Name     = "taskImagePB";
     this.taskImagePB.SizeMode = PictureBoxSizeMode.StretchImage;
     //
     // 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.separator);
     ResumeLayout();
 }
コード例 #2
0
 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();
 }
コード例 #3
0
            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;
            }
コード例 #4
0
            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;
            }
コード例 #5
0
 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;
     //
     // saveButton
     //
     this.saveButton.Name = "saveButton";
     this.saveButton.AutoSize = true;
     this.saveButton.Click += new EventHandler(SaveButton_Click);
     this.saveButton.TabIndex = 2;
     //
     // 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;
     //
     // loadFromToolBarButton
     //
     this.loadFromToolBarButton.Name = "loadFromToolBarButton";
     this.loadFromToolBarButton.AutoSize = true;
     this.loadFromToolBarButton.Click += new EventHandler(LoadFromToolBarButton_Click);
     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, 373);
     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();
 }
コード例 #6
0
 /// <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 PaintDotNet.SaveConfigWidget();
     this.previewHeader = new PaintDotNet.HeaderLabel();
     this.documentView = new PaintDotNet.DocumentView();
     this.settingsHeader = new PaintDotNet.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.RulersEnabled = false;
     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);
 }
コード例 #7
0
 /// <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 PaintDotNet.DocumentStrip();
     this.documentListHeader = new PaintDotNet.HeaderLabel();
     this.hScrollBar = new System.Windows.Forms.HScrollBar();
     this.saveButton = new PaintDotNet.CommandLink();
     this.dontSaveButton = new PaintDotNet.CommandLink();
     this.cancelButton = new PaintDotNet.CommandLink();
     this.infoLabel = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // documentStrip
     //
     this.documentStrip.BackColor = System.Drawing.SystemColors.ButtonHighlight;
     this.documentStrip.DocumentClicked += new EventHandler<Pair<DocumentWorkspace, DocumentClickAction>>(DocumentList_DocumentClicked);
     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(490, 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();
 }
コード例 #8
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.okButton = new System.Windows.Forms.Button();
            this.cancelButton = new System.Windows.Forms.Button();
            this.keepBackgroundCheckBox = new System.Windows.Forms.CheckBox();
            this.tileSourceCheckBox = new System.Windows.Forms.CheckBox();
            this.rollControl = new PaintDotNet.Effects.RollControl();
            this.headerRoll = new PaintDotNet.HeaderLabel();
            this.headerPan = new PaintDotNet.HeaderLabel();
            this.panelPan = new System.Windows.Forms.Panel();
            this.panControl = new PaintDotNet.Effects.PanControl();
            this.headerZoom = new PaintDotNet.HeaderLabel();
            this.trackBarZoom = new System.Windows.Forms.TrackBar();
            this.zoomLabel = new System.Windows.Forms.Label();
            this.panXLabel = new System.Windows.Forms.Label();
            this.panYLabel = new System.Windows.Forms.Label();
            this.panXUpDown = new System.Windows.Forms.NumericUpDown();
            this.panYUpDown = new System.Windows.Forms.NumericUpDown();
            this.panResetButton = new System.Windows.Forms.Button();
            this.angleLabel = new System.Windows.Forms.Label();
            this.angleUpDown = new System.Windows.Forms.NumericUpDown();
            this.zoomResetButton = new System.Windows.Forms.Button();
            this.twistAngleLabel = new System.Windows.Forms.Label();
            this.twistRadiusLabel = new System.Windows.Forms.Label();
            this.twistAngleUpDown = new System.Windows.Forms.NumericUpDown();
            this.twistRadiusUpDown = new System.Windows.Forms.NumericUpDown();
            this.rollResetButton = new System.Windows.Forms.Button();
            this.resetAllButton = new System.Windows.Forms.Button();
            this.fineTuningHeader = new PaintDotNet.HeaderLabel();
            this.headerLabel1 = new PaintDotNet.HeaderLabel();
            this.panelPan.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.trackBarZoom)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panXUpDown)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panYUpDown)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.angleUpDown)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.twistAngleUpDown)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.twistRadiusUpDown)).BeginInit();
            this.SuspendLayout();
            // 
            // okButton
            // 
            this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.okButton.Location = new System.Drawing.Point(312, 312);
            this.okButton.Name = "okButton";
            this.okButton.Size = new System.Drawing.Size(72, 23);
            this.okButton.TabIndex = 26;
            this.okButton.Click += new System.EventHandler(this.OkButton_Click);
            // 
            // cancelButton
            // 
            this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.cancelButton.Location = new System.Drawing.Point(392, 312);
            this.cancelButton.Name = "cancelButton";
            this.cancelButton.Size = new System.Drawing.Size(72, 23);
            this.cancelButton.TabIndex = 27;
            this.cancelButton.Click += new System.EventHandler(this.CancelButton_Click);
            // 
            // keepBackgroundCheckBox
            // 
            this.keepBackgroundCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.keepBackgroundCheckBox.Location = new System.Drawing.Point(9, 316);
            this.keepBackgroundCheckBox.Name = "keepBackgroundCheckBox";
            this.keepBackgroundCheckBox.Width = 175;
            this.keepBackgroundCheckBox.TabIndex = 24;
            this.keepBackgroundCheckBox.FlatStyle = FlatStyle.System;
            this.keepBackgroundCheckBox.CheckedChanged += new System.EventHandler(this.KeepBackgroundCheckBox_CheckedChanged);
            // 
            // tileSourceCheckBox
            // 
            this.tileSourceCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.tileSourceCheckBox.Location = new System.Drawing.Point(9, 298);
            this.tileSourceCheckBox.Name = "tileSourceCheckBox";
            this.tileSourceCheckBox.Width = 175;
            this.tileSourceCheckBox.TabIndex = 23;
            this.tileSourceCheckBox.FlatStyle = FlatStyle.System;   
            this.tileSourceCheckBox.CheckedChanged += new System.EventHandler(this.TileSource_CheckedChanged);
            // 
            // rollControl
            // 
            this.rollControl.Angle = -70;
            this.rollControl.Location = new System.Drawing.Point(16, 32);
            this.rollControl.Name = "rollControl";
            this.rollControl.RollAmount = 0;
            this.rollControl.RollDirection = 0;
            this.rollControl.Size = new System.Drawing.Size(112, 120);
            this.rollControl.TabIndex = 3;
            this.rollControl.TabStop = false;
            this.rollControl.ValueChanged += new System.EventHandler(this.RollControl_ValueChanged);
            // 
            // headerRoll
            // 
            this.headerRoll.Location = new System.Drawing.Point(8, 8);
            this.headerRoll.Name = "headerRoll";
            this.headerRoll.RightMargin = 0;
            this.headerRoll.Size = new System.Drawing.Size(168, 14);
            this.headerRoll.TabIndex = 2;
            this.headerRoll.TabStop = false;
            // 
            // headerPan
            // 
            this.headerPan.Location = new System.Drawing.Point(199, 8);
            this.headerPan.Name = "headerPan";
            this.headerPan.RightMargin = 0;
            this.headerPan.Size = new System.Drawing.Size(129, 14);
            this.headerPan.TabIndex = 5;
            this.headerPan.TabStop = false;
            // 
            // panelPan
            // 
            this.panelPan.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.panelPan.Controls.Add(this.panControl);
            this.panelPan.Location = new System.Drawing.Point(200, 29);
            this.panelPan.Name = "panelPan";
            this.panelPan.Size = new System.Drawing.Size(128, 120);
            this.panelPan.TabIndex = 6;
            // 
            // panControl
            // 
            this.panControl.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panControl.Location = new System.Drawing.Point(0, 0);
            this.panControl.Name = "panControl";
            this.panControl.Size = new System.Drawing.Size(124, 116);
            this.panControl.TabIndex = 0;
            this.panControl.TabStop = false;
            this.panControl.PositionChanged += new System.EventHandler(this.PanControl_PositionChanged);
            // 
            // headerZoom
            // 
            this.headerZoom.Location = new System.Drawing.Point(352, 8);
            this.headerZoom.Name = "headerZoom";
            this.headerZoom.RightMargin = 0;
            this.headerZoom.Size = new System.Drawing.Size(112, 14);
            this.headerZoom.TabIndex = 7;
            this.headerZoom.TabStop = false;
            // 
            // trackBarZoom
            // 
            this.trackBarZoom.Location = new System.Drawing.Point(352, 24);
            this.trackBarZoom.Maximum = 1024;
            this.trackBarZoom.Name = "trackBarZoom";
            this.trackBarZoom.Orientation = System.Windows.Forms.Orientation.Vertical;
            this.trackBarZoom.Size = new System.Drawing.Size(42, 131);
            this.trackBarZoom.TabIndex = 8;
            this.trackBarZoom.TickFrequency = 64;
            this.trackBarZoom.Value = 512;
            this.trackBarZoom.ValueChanged += new System.EventHandler(this.TrackBarZoom_ValueChanged);
            // 
            // zoomLabel
            // 
            this.zoomLabel.Location = new System.Drawing.Point(400, 32);
            this.zoomLabel.Name = "zoomLabel";
            this.zoomLabel.AutoSize = true;
            this.zoomLabel.Width = 48;
            this.zoomLabel.TabIndex = 9;
            // 
            // panXLabel
            // 
            this.panXLabel.Location = new System.Drawing.Point(200, 208);
            this.panXLabel.Name = "panXLabel";
            this.panXLabel.AutoSize = true;
            this.panXLabel.Width = 56;
            this.panXLabel.TabIndex = 18;
            // 
            // panYLabel
            // 
            this.panYLabel.Location = new System.Drawing.Point(200, 232);
            this.panYLabel.Name = "panYLabel";
            this.panYLabel.AutoSize = true;
            this.panYLabel.Width = 56;
            this.panYLabel.TabIndex = 19;
            // 
            // panXUpDown
            // 
            this.panXUpDown.DecimalPlaces = 3;
            this.panXUpDown.Increment = new System.Decimal(new int[] {
                                                                         1,
                                                                         0,
                                                                         0,
                                                                         131072});
            this.panXUpDown.Location = new System.Drawing.Point(260, 204);
            this.panXUpDown.Maximum = new System.Decimal(new int[] {
                                                                       1000000000,
                                                                       0,
                                                                       0,
                                                                       0});
            this.panXUpDown.Minimum = new System.Decimal(new int[] {
                                                                       100000000,
                                                                       0,
                                                                       0,
                                                                       -2147483648});
            this.panXUpDown.Name = "panXUpDown";
            this.panXUpDown.Size = new System.Drawing.Size(68, 20);
            this.panXUpDown.TabIndex = 20;
            this.panXUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.panXUpDown.Enter += new System.EventHandler(this.NumericUpDown_Enter);
            this.panXUpDown.ValueChanged += new System.EventHandler(this.PanXUpDown_ValueChanged);
            this.panXUpDown.Leave += new System.EventHandler(this.NumericUpDown_Leave);
            // 
            // panYUpDown
            // 
            this.panYUpDown.DecimalPlaces = 3;
            this.panYUpDown.Increment = new System.Decimal(new int[] {
                                                                         1,
                                                                         0,
                                                                         0,
                                                                         131072});
            this.panYUpDown.Location = new System.Drawing.Point(260, 228);
            this.panYUpDown.Maximum = new System.Decimal(new int[] {
                                                                       1000000000,
                                                                       0,
                                                                       0,
                                                                       0});
            this.panYUpDown.Minimum = new System.Decimal(new int[] {
                                                                       1000000000,
                                                                       0,
                                                                       0,
                                                                       -2147483648});
            this.panYUpDown.Name = "panYUpDown";
            this.panYUpDown.Size = new System.Drawing.Size(68, 20);
            this.panYUpDown.TabIndex = 21;
            this.panYUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.panYUpDown.Enter += new System.EventHandler(this.NumericUpDown_Enter);
            this.panYUpDown.ValueChanged += new System.EventHandler(this.PanYUpDown_ValueChanged);
            this.panYUpDown.Leave += new System.EventHandler(this.NumericUpDown_Leave);
            // 
            // panResetButton
            // 
            this.panResetButton.Location = new System.Drawing.Point(248, 160);
            this.panResetButton.Name = "panResetButton";
            this.panResetButton.Size = new System.Drawing.Size(80, 23);
            this.panResetButton.TabIndex = 6;
            this.panResetButton.FlatStyle = FlatStyle.System;
            this.panResetButton.Click += new System.EventHandler(this.PanResetButton_Click);
            // 
            // angleLabel
            // 
            this.angleLabel.Location = new System.Drawing.Point(8, 208);
            this.angleLabel.Name = "angleLabel";
            this.angleLabel.AutoSize = true;
            this.angleLabel.Width = 88;
            this.angleLabel.TabIndex = 12;
            // 
            // angleUpDown
            // 
            this.angleUpDown.DecimalPlaces = 2;
            this.angleUpDown.Location = new System.Drawing.Point(108, 204);
            this.angleUpDown.Maximum = new System.Decimal(new int[] {
                                                                        360,
                                                                        0,
                                                                        0,
                                                                        0});
            this.angleUpDown.Minimum = new System.Decimal(new int[] {
                                                                        360,
                                                                        0,
                                                                        0,
                                                                        -2147483648});
            this.angleUpDown.Name = "angleUpDown";
            this.angleUpDown.Size = new System.Drawing.Size(68, 20);
            this.angleUpDown.TabIndex = 13;
            this.angleUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.angleUpDown.Enter += new System.EventHandler(this.NumericUpDown_Enter);
            this.angleUpDown.ValueChanged += new System.EventHandler(this.AngleUpDown_ValueChanged);
            this.angleUpDown.Leave += new System.EventHandler(this.NumericUpDown_Leave);
            // 
            // zoomResetButton
            // 
            this.zoomResetButton.Location = new System.Drawing.Point(384, 160);
            this.zoomResetButton.Name = "zoomResetButton";
            this.zoomResetButton.Size = new System.Drawing.Size(80, 23);
            this.zoomResetButton.TabIndex = 10;
            this.zoomResetButton.FlatStyle = FlatStyle.System;
            this.zoomResetButton.Click += new System.EventHandler(this.ZoomResetButton_Click);
            // 
            // twistAngleLabel
            // 
            this.twistAngleLabel.Location = new System.Drawing.Point(8, 232);
            this.twistAngleLabel.Name = "twistAngleLabel";
            this.twistAngleLabel.AutoSize = true;
            this.twistAngleLabel.Width = 88;
            this.twistAngleLabel.TabIndex = 14;
            // 
            // twistRadiusLabel
            // 
            this.twistRadiusLabel.Location = new System.Drawing.Point(8, 256);
            this.twistRadiusLabel.Name = "twistRadiusLabel";
            this.twistRadiusLabel.AutoSize = true;
            this.twistRadiusLabel.Width = 88;
            this.twistRadiusLabel.TabIndex = 16;
            // 
            // twistAngleUpDown
            // 
            this.twistAngleUpDown.DecimalPlaces = 2;
            this.twistAngleUpDown.Location = new System.Drawing.Point(108, 228);
            this.twistAngleUpDown.Maximum = new System.Decimal(new int[] {
                                                                             360,
                                                                             0,
                                                                             0,
                                                                             0});
            this.twistAngleUpDown.Minimum = new System.Decimal(new int[] {
                                                                             360,
                                                                             0,
                                                                             0,
                                                                             -2147483648});
            this.twistAngleUpDown.Name = "twistAngleUpDown";
            this.twistAngleUpDown.Size = new System.Drawing.Size(68, 20);
            this.twistAngleUpDown.TabIndex = 15;
            this.twistAngleUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.twistAngleUpDown.Enter += new System.EventHandler(this.NumericUpDown_Enter);
            this.twistAngleUpDown.ValueChanged += new System.EventHandler(this.TwistAngleUpDown_ValueChanged);
            this.twistAngleUpDown.Leave += new System.EventHandler(this.NumericUpDown_Leave);
            // 
            // twistRadiusUpDown
            // 
            this.twistRadiusUpDown.DecimalPlaces = 2;
            this.twistRadiusUpDown.Location = new System.Drawing.Point(108, 252);
            this.twistRadiusUpDown.Maximum = new System.Decimal(new int[] {
                                                                              8995,
                                                                              0,
                                                                              0,
                                                                              131072});
            this.twistRadiusUpDown.Name = "twistRadiusUpDown";
            this.twistRadiusUpDown.Size = new System.Drawing.Size(68, 20);
            this.twistRadiusUpDown.TabIndex = 17;
            this.twistRadiusUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.twistRadiusUpDown.Enter += new System.EventHandler(this.NumericUpDown_Enter);
            this.twistRadiusUpDown.ValueChanged += new System.EventHandler(this.TwistRadiusUpDown_ValueChanged);
            this.twistRadiusUpDown.Leave += new System.EventHandler(this.NumericUpDown_Leave);
            // 
            // rollResetButton
            // 
            this.rollResetButton.Location = new System.Drawing.Point(96, 160);
            this.rollResetButton.Name = "rollResetButton";
            this.rollResetButton.Size = new System.Drawing.Size(80, 23);
            this.rollResetButton.TabIndex = 4;
            this.rollResetButton.FlatStyle = FlatStyle.System;
            this.rollResetButton.Click += new System.EventHandler(this.RollResetButton_Click);
            // 
            // resetAllButton
            // 
            this.resetAllButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.resetAllButton.Location = new System.Drawing.Point(200, 312);
            this.resetAllButton.Name = "resetAllButton";
            this.resetAllButton.Size = new System.Drawing.Size(104, 23);
            this.resetAllButton.TabIndex = 25;
            this.resetAllButton.FlatStyle = FlatStyle.System;
            this.resetAllButton.Click += new System.EventHandler(this.ResetAllButton_Click);
            // 
            // fineTuningHeader
            // 
            this.fineTuningHeader.Location = new System.Drawing.Point(8, 184);
            this.fineTuningHeader.Name = "fineTuningHeader";
            this.fineTuningHeader.Size = new System.Drawing.Size(464, 14);
            this.fineTuningHeader.TabIndex = 11;
            this.fineTuningHeader.TabStop = false;
            // 
            // headerLabel1
            // 
            this.headerLabel1.Location = new System.Drawing.Point(8, 280);
            this.headerLabel1.Name = "headerLabel1";
            this.headerLabel1.Size = new System.Drawing.Size(464, 14);
            this.headerLabel1.TabIndex = 22;
            this.headerLabel1.TabStop = false;
            // 
            // RotateZoomEffectConfigDialog
            // 
            this.AcceptButton = this.okButton;
            this.AutoScaleDimensions = new SizeF(96F, 96F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
            this.CancelButton = this.cancelButton;
            this.ClientSize = new System.Drawing.Size(474, 343);
            this.Controls.Add(this.headerLabel1);
            this.Controls.Add(this.fineTuningHeader);
            this.Controls.Add(this.resetAllButton);
            this.Controls.Add(this.rollResetButton);
            this.Controls.Add(this.twistRadiusUpDown);
            this.Controls.Add(this.twistAngleUpDown);
            this.Controls.Add(this.twistRadiusLabel);
            this.Controls.Add(this.twistAngleLabel);
            this.Controls.Add(this.zoomResetButton);
            this.Controls.Add(this.angleUpDown);
            this.Controls.Add(this.angleLabel);
            this.Controls.Add(this.panResetButton);
            this.Controls.Add(this.panYUpDown);
            this.Controls.Add(this.panXUpDown);
            this.Controls.Add(this.panYLabel);
            this.Controls.Add(this.panXLabel);
            this.Controls.Add(this.zoomLabel);
            this.Controls.Add(this.trackBarZoom);
            this.Controls.Add(this.panelPan);
            this.Controls.Add(this.headerPan);
            this.Controls.Add(this.headerRoll);
            this.Controls.Add(this.keepBackgroundCheckBox);
            this.Controls.Add(this.cancelButton);
            this.Controls.Add(this.okButton);
            this.Controls.Add(this.tileSourceCheckBox);
            this.Controls.Add(this.rollControl);
            this.Controls.Add(this.headerZoom);
            this.Location = new System.Drawing.Point(0, 0);
            this.Name = "RotateZoomEffectConfigDialog";
            this.Controls.SetChildIndex(this.headerZoom, 0);
            this.Controls.SetChildIndex(this.rollControl, 0);
            this.Controls.SetChildIndex(this.tileSourceCheckBox, 0);
            this.Controls.SetChildIndex(this.okButton, 0);
            this.Controls.SetChildIndex(this.cancelButton, 0);
            this.Controls.SetChildIndex(this.keepBackgroundCheckBox, 0);
            this.Controls.SetChildIndex(this.headerRoll, 0);
            this.Controls.SetChildIndex(this.headerPan, 0);
            this.Controls.SetChildIndex(this.panelPan, 0);
            this.Controls.SetChildIndex(this.trackBarZoom, 0);
            this.Controls.SetChildIndex(this.zoomLabel, 0);
            this.Controls.SetChildIndex(this.panXLabel, 0);
            this.Controls.SetChildIndex(this.panYLabel, 0);
            this.Controls.SetChildIndex(this.panXUpDown, 0);
            this.Controls.SetChildIndex(this.panYUpDown, 0);
            this.Controls.SetChildIndex(this.panResetButton, 0);
            this.Controls.SetChildIndex(this.angleLabel, 0);
            this.Controls.SetChildIndex(this.angleUpDown, 0);
            this.Controls.SetChildIndex(this.zoomResetButton, 0);
            this.Controls.SetChildIndex(this.twistAngleLabel, 0);
            this.Controls.SetChildIndex(this.twistRadiusLabel, 0);
            this.Controls.SetChildIndex(this.twistAngleUpDown, 0);
            this.Controls.SetChildIndex(this.twistRadiusUpDown, 0);
            this.Controls.SetChildIndex(this.rollResetButton, 0);
            this.Controls.SetChildIndex(this.resetAllButton, 0);
            this.Controls.SetChildIndex(this.fineTuningHeader, 0);
            this.Controls.SetChildIndex(this.headerLabel1, 0);
            this.panelPan.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.trackBarZoom)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panXUpDown)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panYUpDown)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.angleUpDown)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.twistAngleUpDown)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.twistRadiusUpDown)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #9
0
ファイル: UpdatesDialog.cs プロジェクト: herbqiao/paint.net
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.closeButton = new System.Windows.Forms.Button();
            this.optionsButton = new System.Windows.Forms.Button();
            this.continueButton = new System.Windows.Forms.Button();
            this.progressBar = new System.Windows.Forms.ProgressBar();
            this.infoText = new System.Windows.Forms.Label();
            this.moreInfoLink = new System.Windows.Forms.LinkLabel();
            this.versionNameLabel = new System.Windows.Forms.Label();
            this.headerLabel = new PaintDotNet.HeaderLabel();
            this.newVersionLabel = new System.Windows.Forms.Label();
            this.progressLabel = new System.Windows.Forms.Label();
            this.SuspendLayout();
            // 
            // closeButton
            // 
            this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.closeButton.AutoSize = true;
            this.closeButton.Location = new System.Drawing.Point(262, 143);
            this.closeButton.Name = "closeButton";
            this.closeButton.Size = new System.Drawing.Size(75, 23);
            this.closeButton.TabIndex = 0;
            this.closeButton.Text = "_close";
            this.closeButton.UseVisualStyleBackColor = true;
            this.closeButton.FlatStyle = FlatStyle.System;
            this.closeButton.Click += new System.EventHandler(this.CloseButton_Click);
            // 
            // optionsButton
            // 
            this.optionsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.optionsButton.AutoSize = true;
            this.optionsButton.Click += new EventHandler(OptionsButton_Click);
            this.optionsButton.Location = new System.Drawing.Point(166, 143);
            this.optionsButton.Name = "optionsButton";
            this.optionsButton.Size = new System.Drawing.Size(91, 23);
            this.optionsButton.TabIndex = 1;
            this.optionsButton.Text = "_options...";
            this.optionsButton.FlatStyle = FlatStyle.System;
            this.optionsButton.UseVisualStyleBackColor = true;
            // 
            // continueButton
            // 
            this.continueButton.AutoSize = true;
            this.continueButton.Location = new System.Drawing.Point(7, 100);
            this.continueButton.Name = "continueButton";
            this.continueButton.Size = new System.Drawing.Size(75, 23);
            this.continueButton.TabIndex = 3;
            this.continueButton.Text = "_continue";
            this.continueButton.UseVisualStyleBackColor = true;
            this.continueButton.FlatStyle = FlatStyle.System;
            this.continueButton.Click += new System.EventHandler(this.ContinueButton_Click);
            // 
            // progressBar
            // 
            this.progressBar.Location = new System.Drawing.Point(9, 103);
            this.progressBar.MarqueeAnimationSpeed = 40;
            this.progressBar.Name = "progressBar";
            this.progressBar.Size = new System.Drawing.Size(294, 18);
            this.progressBar.TabIndex = 4;
            // 
            // infoText
            // 
            this.infoText.Location = new System.Drawing.Point(7, 7);
            this.infoText.Name = "infoText";
            this.infoText.Size = new System.Drawing.Size(329, 45);
            this.infoText.TabIndex = 2;
            this.infoText.Text = ".blahblahblah";
            // 
            // moreInfoLink
            // 
            this.moreInfoLink.AutoSize = true;
            this.moreInfoLink.Location = new System.Drawing.Point(7, 75);
            this.moreInfoLink.Name = "moreInfoLink";
            this.moreInfoLink.Size = new System.Drawing.Size(66, 13);
            this.moreInfoLink.TabIndex = 5;
            this.moreInfoLink.TabStop = true;
            this.moreInfoLink.Text = "_more Info...";
            this.moreInfoLink.Click += new System.EventHandler(this.MoreInfoLink_Click);
            // 
            // versionNameLabel
            // 
            this.versionNameLabel.AutoSize = true;
            this.versionNameLabel.Location = new System.Drawing.Point(88, 57);
            this.versionNameLabel.Name = "versionNameLabel";
            this.versionNameLabel.Size = new System.Drawing.Size(84, 13);
            this.versionNameLabel.TabIndex = 6;
            this.versionNameLabel.Text = ".paint.net vX.YZ";
            // 
            // headerLabel
            // 
            this.headerLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.headerLabel.Location = new System.Drawing.Point(9, 126);
            this.headerLabel.Name = "headerLabel";
            this.headerLabel.RightMargin = 0;
            this.headerLabel.Size = new System.Drawing.Size(327, 15);
            this.headerLabel.TabIndex = 0;
            this.headerLabel.TabStop = false;
            // 
            // newVersionLabel
            // 
            this.newVersionLabel.AutoSize = true;
            this.newVersionLabel.Location = new System.Drawing.Point(7, 57);
            this.newVersionLabel.Name = "newVersionLabel";
            this.newVersionLabel.Size = new System.Drawing.Size(70, 13);
            this.newVersionLabel.TabIndex = 7;
            this.newVersionLabel.Text = ".new version:";
            // 
            // progressLabel
            // 
            this.progressLabel.AutoSize = true;
            this.progressLabel.Location = new System.Drawing.Point(310, 105);
            this.progressLabel.Name = "progressLabel";
            this.progressLabel.Size = new System.Drawing.Size(0, 13);
            this.progressLabel.TabIndex = 8;
            this.progressLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // UpdatesDialog
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
            this.CancelButton = this.closeButton;
            this.ClientSize = new System.Drawing.Size(343, 172);
            this.Controls.Add(this.progressLabel);
            this.Controls.Add(this.newVersionLabel);
            this.Controls.Add(this.headerLabel);
            this.Controls.Add(this.versionNameLabel);
            this.Controls.Add(this.moreInfoLink);
            this.Controls.Add(this.continueButton);
            this.Controls.Add(this.infoText);
            this.Controls.Add(this.optionsButton);
            this.Controls.Add(this.closeButton);
            this.Controls.Add(this.progressBar);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "UpdatesDialog";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.okButton            = new System.Windows.Forms.Button();
     this.angleUpDown         = new System.Windows.Forms.NumericUpDown();
     this.degreeLabel         = new System.Windows.Forms.Label();
     this.angleChooserControl = new PaintDotNet.AngleChooserControl();
     this.cancelButton        = new System.Windows.Forms.Button();
     this.angleHeader         = new PaintDotNet.HeaderLabel();
     ((System.ComponentModel.ISupportInitialize)(this.angleUpDown)).BeginInit();
     this.SuspendLayout();
     //
     // okButton
     //
     this.okButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.okButton.Location = new System.Drawing.Point(24, 94);
     this.okButton.Name     = "okButton";
     this.okButton.Size     = new System.Drawing.Size(75, 24);
     this.okButton.TabIndex = 0;
     this.okButton.Click   += new System.EventHandler(this.okButton_Click);
     //
     // angleUpDown
     //
     this.angleUpDown.DecimalPlaces = 2;
     this.angleUpDown.Location      = new System.Drawing.Point(88, 37);
     this.angleUpDown.Maximum       = new System.Decimal(new int[] {
         180,
         0,
         0,
         0
     });
     this.angleUpDown.Minimum = new System.Decimal(new int[] {
         180,
         0,
         0,
         -2147483648
     });
     this.angleUpDown.Name          = "angleUpDown";
     this.angleUpDown.Size          = new System.Drawing.Size(72, 20);
     this.angleUpDown.TabIndex      = 0;
     this.angleUpDown.TextAlign     = System.Windows.Forms.HorizontalAlignment.Right;
     this.angleUpDown.Enter        += new System.EventHandler(this.angleUpDown_Enter);
     this.angleUpDown.ValueChanged += new System.EventHandler(this.angleUpDown_ValueChanged);
     this.angleUpDown.Leave        += new System.EventHandler(this.angleUpDown_Leave);
     //
     // degreeLabel
     //
     this.degreeLabel.Location = new System.Drawing.Point(161, 37);
     this.degreeLabel.Name     = "degreeLabel";
     this.degreeLabel.Size     = new System.Drawing.Size(16, 23);
     this.degreeLabel.TabIndex = 15;
     //
     // angleChooserControl
     //
     this.angleChooserControl.Location      = new System.Drawing.Point(16, 29);
     this.angleChooserControl.Name          = "angleChooserControl";
     this.angleChooserControl.Size          = new System.Drawing.Size(56, 56);
     this.angleChooserControl.TabIndex      = 0;
     this.angleChooserControl.TabStop       = false;
     this.angleChooserControl.Value         = 16;
     this.angleChooserControl.ValueDouble   = 16;
     this.angleChooserControl.ValueChanged += new System.EventHandler(this.angleChooserControl_ValueChanged);
     //
     // cancelButton
     //
     this.cancelButton.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(105, 94);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(75, 24);
     this.cancelButton.TabIndex     = 13;
     this.cancelButton.Click       += new System.EventHandler(this.cancelButton_Click);
     //
     // angleHeader
     //
     this.angleHeader.Location = new System.Drawing.Point(8, 8);
     this.angleHeader.Name     = "angleHeader";
     this.angleHeader.Size     = new System.Drawing.Size(176, 14);
     this.angleHeader.TabIndex = 14;
     this.angleHeader.TabStop  = false;
     this.angleHeader.Text     = "Header";
     //
     // AngleChooserConfigDialog
     //
     this.AcceptButton        = this.okButton;
     this.AutoScaleDimensions = new SizeF(96F, 96F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.CancelButton        = this.cancelButton;
     this.ClientSize          = new System.Drawing.Size(186, 124);
     this.Controls.Add(this.angleHeader);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.degreeLabel);
     this.Controls.Add(this.angleChooserControl);
     this.Controls.Add(this.angleUpDown);
     this.Location = new System.Drawing.Point(0, 0);
     this.Name     = "AngleChooserConfigDialog";
     this.Controls.SetChildIndex(this.angleUpDown, 0);
     this.Controls.SetChildIndex(this.angleChooserControl, 0);
     this.Controls.SetChildIndex(this.degreeLabel, 0);
     this.Controls.SetChildIndex(this.okButton, 0);
     this.Controls.SetChildIndex(this.cancelButton, 0);
     this.Controls.SetChildIndex(this.angleHeader, 0);
     ((System.ComponentModel.ISupportInitialize)(this.angleUpDown)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.seedHeader = new PaintDotNet.HeaderLabel();
     this.reseedButton = new System.Windows.Forms.Button();
     this.headerBlendMode = new PaintDotNet.HeaderLabel();
     this.usageLabel = new Label();
     this.comboBlendModes = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // okButton
     //
     this.okButton.Location = new System.Drawing.Point(101, 284);
     this.okButton.TabIndex = 8;
     //
     // cancelButton
     //
     this.cancelButton.Location = new System.Drawing.Point(188, 284);
     this.cancelButton.TabIndex = 9;
     //
     // seedHeader
     //
     this.seedHeader.Location = new System.Drawing.Point(6, 198);
     this.seedHeader.Name = "seedHeader";
     this.seedHeader.Size = new System.Drawing.Size(170, 14);
     this.seedHeader.TabIndex = 11;
     this.seedHeader.TabStop = false;
     this.seedHeader.Text = "Seed Header";
     //
     // reseedButton
     //
     this.reseedButton.Location = new System.Drawing.Point(188, 196);
     this.reseedButton.Name = "reseedButton";
     this.reseedButton.Size = new System.Drawing.Size(81, 20);
     this.reseedButton.TabIndex = 7;
     this.reseedButton.UseVisualStyleBackColor = true;
     this.reseedButton.Click += new EventHandler(ReseedButton_Click);
     //
     // headerBlendMode
     //
     this.headerBlendMode.Location = new System.Drawing.Point(6, 148);
     this.headerBlendMode.Name = "headerBlendMode";
     this.headerBlendMode.Size = new System.Drawing.Size(271, 14);
     this.headerBlendMode.TabIndex = 12;
     this.headerBlendMode.TabStop = false;
     this.headerBlendMode.Text = "Blend Header";
     //
     // comboBlendModes
     //
     this.comboBlendModes.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBlendModes.FormattingEnabled = true;
     this.comboBlendModes.Location = new System.Drawing.Point(9, 165);
     this.comboBlendModes.Name = "comboBlendModes";
     this.comboBlendModes.Size = new System.Drawing.Size(260, 21);
     this.comboBlendModes.TabIndex = 6;
     this.comboBlendModes.SelectedIndexChanged += new EventHandler(ComboBlendModes_SelectedIndexChanged);
     //
     // usageLabel
     //
     this.usageLabel.Name = "usageLabel";
     this.usageLabel.AutoSize = false;
     this.usageLabel.Location = new System.Drawing.Point(5, 225);
     this.usageLabel.Size = new System.Drawing.Size(260, 55);
     //
     // CloudsEffectConfigDialog
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.ClientSize = new System.Drawing.Size(275, 313);
     this.Controls.Add(this.usageLabel);
     this.Controls.Add(this.comboBlendModes);
     this.Controls.Add(this.headerBlendMode);
     this.Controls.Add(this.seedHeader);
     this.Controls.Add(this.reseedButton);
     this.Location = new System.Drawing.Point(0, 0);
     this.Name = "CloudsEffectConfigDialog";
     this.Controls.SetChildIndex(this.reseedButton, 0);
     this.Controls.SetChildIndex(this.seedHeader, 0);
     this.Controls.SetChildIndex(this.okButton, 0);
     this.Controls.SetChildIndex(this.cancelButton, 0);
     this.Controls.SetChildIndex(this.headerBlendMode, 0);
     this.Controls.SetChildIndex(this.comboBlendModes, 0);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #12
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.okButton               = new System.Windows.Forms.Button();
     this.cancelButton           = new System.Windows.Forms.Button();
     this.keepBackgroundCheckBox = new System.Windows.Forms.CheckBox();
     this.tileSourceCheckBox     = new System.Windows.Forms.CheckBox();
     this.rollControl            = new PaintDotNet.Effects.RollControl();
     this.headerRoll             = new PaintDotNet.HeaderLabel();
     this.headerPan              = new PaintDotNet.HeaderLabel();
     this.panelPan               = new System.Windows.Forms.Panel();
     this.panControl             = new PaintDotNet.Effects.PanControl();
     this.headerZoom             = new PaintDotNet.HeaderLabel();
     this.trackBarZoom           = new System.Windows.Forms.TrackBar();
     this.zoomLabel              = new System.Windows.Forms.Label();
     this.panXLabel              = new System.Windows.Forms.Label();
     this.panYLabel              = new System.Windows.Forms.Label();
     this.panXUpDown             = new System.Windows.Forms.NumericUpDown();
     this.panYUpDown             = new System.Windows.Forms.NumericUpDown();
     this.panResetButton         = new System.Windows.Forms.Button();
     this.angleLabel             = new System.Windows.Forms.Label();
     this.angleUpDown            = new System.Windows.Forms.NumericUpDown();
     this.zoomResetButton        = new System.Windows.Forms.Button();
     this.twistAngleLabel        = new System.Windows.Forms.Label();
     this.twistRadiusLabel       = new System.Windows.Forms.Label();
     this.twistAngleUpDown       = new System.Windows.Forms.NumericUpDown();
     this.twistRadiusUpDown      = new System.Windows.Forms.NumericUpDown();
     this.rollResetButton        = new System.Windows.Forms.Button();
     this.resetAllButton         = new System.Windows.Forms.Button();
     this.fineTuningHeader       = new PaintDotNet.HeaderLabel();
     this.headerLabel1           = new PaintDotNet.HeaderLabel();
     this.panelPan.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.trackBarZoom)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panXUpDown)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panYUpDown)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.angleUpDown)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.twistAngleUpDown)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.twistRadiusUpDown)).BeginInit();
     this.SuspendLayout();
     //
     // okButton
     //
     this.okButton.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.okButton.Location  = new System.Drawing.Point(312, 312);
     this.okButton.Name      = "okButton";
     this.okButton.Size      = new System.Drawing.Size(72, 23);
     this.okButton.TabIndex  = 26;
     this.okButton.Click    += new System.EventHandler(this.OkButton_Click);
     //
     // cancelButton
     //
     this.cancelButton.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.cancelButton.Location     = new System.Drawing.Point(392, 312);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(72, 23);
     this.cancelButton.TabIndex     = 27;
     this.cancelButton.Click       += new System.EventHandler(this.CancelButton_Click);
     //
     // keepBackgroundCheckBox
     //
     this.keepBackgroundCheckBox.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.keepBackgroundCheckBox.Location        = new System.Drawing.Point(9, 316);
     this.keepBackgroundCheckBox.Name            = "keepBackgroundCheckBox";
     this.keepBackgroundCheckBox.Width           = 175;
     this.keepBackgroundCheckBox.TabIndex        = 24;
     this.keepBackgroundCheckBox.FlatStyle       = FlatStyle.System;
     this.keepBackgroundCheckBox.CheckedChanged += new System.EventHandler(this.KeepBackgroundCheckBox_CheckedChanged);
     //
     // tileSourceCheckBox
     //
     this.tileSourceCheckBox.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.tileSourceCheckBox.Location        = new System.Drawing.Point(9, 298);
     this.tileSourceCheckBox.Name            = "tileSourceCheckBox";
     this.tileSourceCheckBox.Width           = 175;
     this.tileSourceCheckBox.TabIndex        = 23;
     this.tileSourceCheckBox.FlatStyle       = FlatStyle.System;
     this.tileSourceCheckBox.CheckedChanged += new System.EventHandler(this.TileSource_CheckedChanged);
     //
     // rollControl
     //
     this.rollControl.Angle         = -70;
     this.rollControl.Location      = new System.Drawing.Point(16, 32);
     this.rollControl.Name          = "rollControl";
     this.rollControl.RollAmount    = 0;
     this.rollControl.RollDirection = 0;
     this.rollControl.Size          = new System.Drawing.Size(112, 120);
     this.rollControl.TabIndex      = 3;
     this.rollControl.TabStop       = false;
     this.rollControl.ValueChanged += new System.EventHandler(this.RollControl_ValueChanged);
     //
     // headerRoll
     //
     this.headerRoll.Location    = new System.Drawing.Point(8, 8);
     this.headerRoll.Name        = "headerRoll";
     this.headerRoll.RightMargin = 0;
     this.headerRoll.Size        = new System.Drawing.Size(168, 14);
     this.headerRoll.TabIndex    = 2;
     this.headerRoll.TabStop     = false;
     //
     // headerPan
     //
     this.headerPan.Location    = new System.Drawing.Point(199, 8);
     this.headerPan.Name        = "headerPan";
     this.headerPan.RightMargin = 0;
     this.headerPan.Size        = new System.Drawing.Size(129, 14);
     this.headerPan.TabIndex    = 5;
     this.headerPan.TabStop     = false;
     //
     // panelPan
     //
     this.panelPan.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panelPan.Controls.Add(this.panControl);
     this.panelPan.Location = new System.Drawing.Point(200, 29);
     this.panelPan.Name     = "panelPan";
     this.panelPan.Size     = new System.Drawing.Size(128, 120);
     this.panelPan.TabIndex = 6;
     //
     // panControl
     //
     this.panControl.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.panControl.Location         = new System.Drawing.Point(0, 0);
     this.panControl.Name             = "panControl";
     this.panControl.Size             = new System.Drawing.Size(124, 116);
     this.panControl.TabIndex         = 0;
     this.panControl.TabStop          = false;
     this.panControl.PositionChanged += new System.EventHandler(this.PanControl_PositionChanged);
     //
     // headerZoom
     //
     this.headerZoom.Location    = new System.Drawing.Point(352, 8);
     this.headerZoom.Name        = "headerZoom";
     this.headerZoom.RightMargin = 0;
     this.headerZoom.Size        = new System.Drawing.Size(112, 14);
     this.headerZoom.TabIndex    = 7;
     this.headerZoom.TabStop     = false;
     //
     // trackBarZoom
     //
     this.trackBarZoom.Location      = new System.Drawing.Point(352, 24);
     this.trackBarZoom.Maximum       = 1024;
     this.trackBarZoom.Name          = "trackBarZoom";
     this.trackBarZoom.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.trackBarZoom.Size          = new System.Drawing.Size(42, 131);
     this.trackBarZoom.TabIndex      = 8;
     this.trackBarZoom.TickFrequency = 64;
     this.trackBarZoom.Value         = 512;
     this.trackBarZoom.ValueChanged += new System.EventHandler(this.TrackBarZoom_ValueChanged);
     //
     // zoomLabel
     //
     this.zoomLabel.Location = new System.Drawing.Point(400, 32);
     this.zoomLabel.Name     = "zoomLabel";
     this.zoomLabel.AutoSize = true;
     this.zoomLabel.Width    = 48;
     this.zoomLabel.TabIndex = 9;
     //
     // panXLabel
     //
     this.panXLabel.Location = new System.Drawing.Point(200, 208);
     this.panXLabel.Name     = "panXLabel";
     this.panXLabel.AutoSize = true;
     this.panXLabel.Width    = 56;
     this.panXLabel.TabIndex = 18;
     //
     // panYLabel
     //
     this.panYLabel.Location = new System.Drawing.Point(200, 232);
     this.panYLabel.Name     = "panYLabel";
     this.panYLabel.AutoSize = true;
     this.panYLabel.Width    = 56;
     this.panYLabel.TabIndex = 19;
     //
     // panXUpDown
     //
     this.panXUpDown.DecimalPlaces = 3;
     this.panXUpDown.Increment     = new System.Decimal(new int[] {
         1,
         0,
         0,
         131072
     });
     this.panXUpDown.Location = new System.Drawing.Point(260, 204);
     this.panXUpDown.Maximum  = new System.Decimal(new int[] {
         1000000000,
         0,
         0,
         0
     });
     this.panXUpDown.Minimum = new System.Decimal(new int[] {
         100000000,
         0,
         0,
         -2147483648
     });
     this.panXUpDown.Name          = "panXUpDown";
     this.panXUpDown.Size          = new System.Drawing.Size(68, 20);
     this.panXUpDown.TabIndex      = 20;
     this.panXUpDown.TextAlign     = System.Windows.Forms.HorizontalAlignment.Right;
     this.panXUpDown.Enter        += new System.EventHandler(this.NumericUpDown_Enter);
     this.panXUpDown.ValueChanged += new System.EventHandler(this.PanXUpDown_ValueChanged);
     this.panXUpDown.Leave        += new System.EventHandler(this.NumericUpDown_Leave);
     //
     // panYUpDown
     //
     this.panYUpDown.DecimalPlaces = 3;
     this.panYUpDown.Increment     = new System.Decimal(new int[] {
         1,
         0,
         0,
         131072
     });
     this.panYUpDown.Location = new System.Drawing.Point(260, 228);
     this.panYUpDown.Maximum  = new System.Decimal(new int[] {
         1000000000,
         0,
         0,
         0
     });
     this.panYUpDown.Minimum = new System.Decimal(new int[] {
         1000000000,
         0,
         0,
         -2147483648
     });
     this.panYUpDown.Name          = "panYUpDown";
     this.panYUpDown.Size          = new System.Drawing.Size(68, 20);
     this.panYUpDown.TabIndex      = 21;
     this.panYUpDown.TextAlign     = System.Windows.Forms.HorizontalAlignment.Right;
     this.panYUpDown.Enter        += new System.EventHandler(this.NumericUpDown_Enter);
     this.panYUpDown.ValueChanged += new System.EventHandler(this.PanYUpDown_ValueChanged);
     this.panYUpDown.Leave        += new System.EventHandler(this.NumericUpDown_Leave);
     //
     // panResetButton
     //
     this.panResetButton.Location  = new System.Drawing.Point(248, 160);
     this.panResetButton.Name      = "panResetButton";
     this.panResetButton.Size      = new System.Drawing.Size(80, 23);
     this.panResetButton.TabIndex  = 6;
     this.panResetButton.FlatStyle = FlatStyle.System;
     this.panResetButton.Click    += new System.EventHandler(this.PanResetButton_Click);
     //
     // angleLabel
     //
     this.angleLabel.Location = new System.Drawing.Point(8, 208);
     this.angleLabel.Name     = "angleLabel";
     this.angleLabel.AutoSize = true;
     this.angleLabel.Width    = 88;
     this.angleLabel.TabIndex = 12;
     //
     // angleUpDown
     //
     this.angleUpDown.DecimalPlaces = 2;
     this.angleUpDown.Location      = new System.Drawing.Point(108, 204);
     this.angleUpDown.Maximum       = new System.Decimal(new int[] {
         360,
         0,
         0,
         0
     });
     this.angleUpDown.Minimum = new System.Decimal(new int[] {
         360,
         0,
         0,
         -2147483648
     });
     this.angleUpDown.Name          = "angleUpDown";
     this.angleUpDown.Size          = new System.Drawing.Size(68, 20);
     this.angleUpDown.TabIndex      = 13;
     this.angleUpDown.TextAlign     = System.Windows.Forms.HorizontalAlignment.Right;
     this.angleUpDown.Enter        += new System.EventHandler(this.NumericUpDown_Enter);
     this.angleUpDown.ValueChanged += new System.EventHandler(this.AngleUpDown_ValueChanged);
     this.angleUpDown.Leave        += new System.EventHandler(this.NumericUpDown_Leave);
     //
     // zoomResetButton
     //
     this.zoomResetButton.Location  = new System.Drawing.Point(384, 160);
     this.zoomResetButton.Name      = "zoomResetButton";
     this.zoomResetButton.Size      = new System.Drawing.Size(80, 23);
     this.zoomResetButton.TabIndex  = 10;
     this.zoomResetButton.FlatStyle = FlatStyle.System;
     this.zoomResetButton.Click    += new System.EventHandler(this.ZoomResetButton_Click);
     //
     // twistAngleLabel
     //
     this.twistAngleLabel.Location = new System.Drawing.Point(8, 232);
     this.twistAngleLabel.Name     = "twistAngleLabel";
     this.twistAngleLabel.AutoSize = true;
     this.twistAngleLabel.Width    = 88;
     this.twistAngleLabel.TabIndex = 14;
     //
     // twistRadiusLabel
     //
     this.twistRadiusLabel.Location = new System.Drawing.Point(8, 256);
     this.twistRadiusLabel.Name     = "twistRadiusLabel";
     this.twistRadiusLabel.AutoSize = true;
     this.twistRadiusLabel.Width    = 88;
     this.twistRadiusLabel.TabIndex = 16;
     //
     // twistAngleUpDown
     //
     this.twistAngleUpDown.DecimalPlaces = 2;
     this.twistAngleUpDown.Location      = new System.Drawing.Point(108, 228);
     this.twistAngleUpDown.Maximum       = new System.Decimal(new int[] {
         360,
         0,
         0,
         0
     });
     this.twistAngleUpDown.Minimum = new System.Decimal(new int[] {
         360,
         0,
         0,
         -2147483648
     });
     this.twistAngleUpDown.Name          = "twistAngleUpDown";
     this.twistAngleUpDown.Size          = new System.Drawing.Size(68, 20);
     this.twistAngleUpDown.TabIndex      = 15;
     this.twistAngleUpDown.TextAlign     = System.Windows.Forms.HorizontalAlignment.Right;
     this.twistAngleUpDown.Enter        += new System.EventHandler(this.NumericUpDown_Enter);
     this.twistAngleUpDown.ValueChanged += new System.EventHandler(this.TwistAngleUpDown_ValueChanged);
     this.twistAngleUpDown.Leave        += new System.EventHandler(this.NumericUpDown_Leave);
     //
     // twistRadiusUpDown
     //
     this.twistRadiusUpDown.DecimalPlaces = 2;
     this.twistRadiusUpDown.Location      = new System.Drawing.Point(108, 252);
     this.twistRadiusUpDown.Maximum       = new System.Decimal(new int[] {
         8995,
         0,
         0,
         131072
     });
     this.twistRadiusUpDown.Name          = "twistRadiusUpDown";
     this.twistRadiusUpDown.Size          = new System.Drawing.Size(68, 20);
     this.twistRadiusUpDown.TabIndex      = 17;
     this.twistRadiusUpDown.TextAlign     = System.Windows.Forms.HorizontalAlignment.Right;
     this.twistRadiusUpDown.Enter        += new System.EventHandler(this.NumericUpDown_Enter);
     this.twistRadiusUpDown.ValueChanged += new System.EventHandler(this.TwistRadiusUpDown_ValueChanged);
     this.twistRadiusUpDown.Leave        += new System.EventHandler(this.NumericUpDown_Leave);
     //
     // rollResetButton
     //
     this.rollResetButton.Location  = new System.Drawing.Point(96, 160);
     this.rollResetButton.Name      = "rollResetButton";
     this.rollResetButton.Size      = new System.Drawing.Size(80, 23);
     this.rollResetButton.TabIndex  = 4;
     this.rollResetButton.FlatStyle = FlatStyle.System;
     this.rollResetButton.Click    += new System.EventHandler(this.RollResetButton_Click);
     //
     // resetAllButton
     //
     this.resetAllButton.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.resetAllButton.Location  = new System.Drawing.Point(200, 312);
     this.resetAllButton.Name      = "resetAllButton";
     this.resetAllButton.Size      = new System.Drawing.Size(104, 23);
     this.resetAllButton.TabIndex  = 25;
     this.resetAllButton.FlatStyle = FlatStyle.System;
     this.resetAllButton.Click    += new System.EventHandler(this.ResetAllButton_Click);
     //
     // fineTuningHeader
     //
     this.fineTuningHeader.Location = new System.Drawing.Point(8, 184);
     this.fineTuningHeader.Name     = "fineTuningHeader";
     this.fineTuningHeader.Size     = new System.Drawing.Size(464, 14);
     this.fineTuningHeader.TabIndex = 11;
     this.fineTuningHeader.TabStop  = false;
     //
     // headerLabel1
     //
     this.headerLabel1.Location = new System.Drawing.Point(8, 280);
     this.headerLabel1.Name     = "headerLabel1";
     this.headerLabel1.Size     = new System.Drawing.Size(464, 14);
     this.headerLabel1.TabIndex = 22;
     this.headerLabel1.TabStop  = false;
     //
     // RotateZoomEffectConfigDialog
     //
     this.AcceptButton        = this.okButton;
     this.AutoScaleDimensions = new SizeF(96F, 96F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.CancelButton        = this.cancelButton;
     this.ClientSize          = new System.Drawing.Size(474, 343);
     this.Controls.Add(this.headerLabel1);
     this.Controls.Add(this.fineTuningHeader);
     this.Controls.Add(this.resetAllButton);
     this.Controls.Add(this.rollResetButton);
     this.Controls.Add(this.twistRadiusUpDown);
     this.Controls.Add(this.twistAngleUpDown);
     this.Controls.Add(this.twistRadiusLabel);
     this.Controls.Add(this.twistAngleLabel);
     this.Controls.Add(this.zoomResetButton);
     this.Controls.Add(this.angleUpDown);
     this.Controls.Add(this.angleLabel);
     this.Controls.Add(this.panResetButton);
     this.Controls.Add(this.panYUpDown);
     this.Controls.Add(this.panXUpDown);
     this.Controls.Add(this.panYLabel);
     this.Controls.Add(this.panXLabel);
     this.Controls.Add(this.zoomLabel);
     this.Controls.Add(this.trackBarZoom);
     this.Controls.Add(this.panelPan);
     this.Controls.Add(this.headerPan);
     this.Controls.Add(this.headerRoll);
     this.Controls.Add(this.keepBackgroundCheckBox);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.tileSourceCheckBox);
     this.Controls.Add(this.rollControl);
     this.Controls.Add(this.headerZoom);
     this.Location = new System.Drawing.Point(0, 0);
     this.Name     = "RotateZoomEffectConfigDialog";
     this.Controls.SetChildIndex(this.headerZoom, 0);
     this.Controls.SetChildIndex(this.rollControl, 0);
     this.Controls.SetChildIndex(this.tileSourceCheckBox, 0);
     this.Controls.SetChildIndex(this.okButton, 0);
     this.Controls.SetChildIndex(this.cancelButton, 0);
     this.Controls.SetChildIndex(this.keepBackgroundCheckBox, 0);
     this.Controls.SetChildIndex(this.headerRoll, 0);
     this.Controls.SetChildIndex(this.headerPan, 0);
     this.Controls.SetChildIndex(this.panelPan, 0);
     this.Controls.SetChildIndex(this.trackBarZoom, 0);
     this.Controls.SetChildIndex(this.zoomLabel, 0);
     this.Controls.SetChildIndex(this.panXLabel, 0);
     this.Controls.SetChildIndex(this.panYLabel, 0);
     this.Controls.SetChildIndex(this.panXUpDown, 0);
     this.Controls.SetChildIndex(this.panYUpDown, 0);
     this.Controls.SetChildIndex(this.panResetButton, 0);
     this.Controls.SetChildIndex(this.angleLabel, 0);
     this.Controls.SetChildIndex(this.angleUpDown, 0);
     this.Controls.SetChildIndex(this.zoomResetButton, 0);
     this.Controls.SetChildIndex(this.twistAngleLabel, 0);
     this.Controls.SetChildIndex(this.twistRadiusLabel, 0);
     this.Controls.SetChildIndex(this.twistAngleUpDown, 0);
     this.Controls.SetChildIndex(this.twistRadiusUpDown, 0);
     this.Controls.SetChildIndex(this.rollResetButton, 0);
     this.Controls.SetChildIndex(this.resetAllButton, 0);
     this.Controls.SetChildIndex(this.fineTuningHeader, 0);
     this.Controls.SetChildIndex(this.headerLabel1, 0);
     this.panelPan.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.trackBarZoom)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panXUpDown)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panYUpDown)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.angleUpDown)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.twistAngleUpDown)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.twistRadiusUpDown)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #13
0
 /// <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 PaintDotNet.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);
 }
コード例 #14
0
 /// <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 PaintDotNet.DocumentStrip();
     this.documentListHeader = new PaintDotNet.HeaderLabel();
     this.hScrollBar         = new System.Windows.Forms.HScrollBar();
     this.saveButton         = new PaintDotNet.CommandLink();
     this.dontSaveButton     = new PaintDotNet.CommandLink();
     this.cancelButton       = new PaintDotNet.CommandLink();
     this.infoLabel          = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // documentStrip
     //
     this.documentStrip.BackColor               = System.Drawing.SystemColors.ButtonHighlight;
     this.documentStrip.DocumentClicked        += new EventHandler <Pair <DocumentWorkspace, DocumentClickAction> >(DocumentList_DocumentClicked);
     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(490, 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();
 }
コード例 #15
0
ファイル: TaskDialog.cs プロジェクト: leejungho2/xynotecgui
 private void InitializeComponent()
 {
     SuspendLayout();
     this.introTextLabel = new Label();
     this.taskImagePB = new PictureBox();
     this.separator = new HeaderLabel();
     //
     // introTextLabel
     //
     this.introTextLabel.Name = "introTextLabel";
     //
     // taskImagePB
     //
     this.taskImagePB.Name = "taskImagePB";
     this.taskImagePB.SizeMode = PictureBoxSizeMode.StretchImage;
     //
     // 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.separator);
     ResumeLayout();
 }
コード例 #16
0
 /// <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 PaintDotNet.SaveConfigWidget();
     this.fileSizeText = new System.Windows.Forms.Label();
     this.previewHeader = new PaintDotNet.HeaderLabel();
     this.documentView = new PaintDotNet.DocumentView();
     this.settingsHeader = new PaintDotNet.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.Location = new System.Drawing.Point(431, 319);
     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.Location = new System.Drawing.Point(511, 319);
     this.baseCancelButton.Name = "baseCancelButton";
     this.baseCancelButton.TabIndex = 3;
     this.baseCancelButton.Click += new System.EventHandler(this.BaseCancelButton_Click);
     //
     // saveConfigPanel
     //
     this.saveConfigPanel.AutoScroll = true;
     this.saveConfigPanel.Location = new System.Drawing.Point(9, 29);
     this.saveConfigPanel.Name = "saveConfigPanel";
     this.saveConfigPanel.Size = new System.Drawing.Size(180, 239);
     this.saveConfigPanel.TabIndex = 0;
     this.saveConfigPanel.TabStop = true;
     //
     // defaultsButton
     //
     this.defaultsButton.Location = new System.Drawing.Point(101, 279);
     this.defaultsButton.Size = new System.Drawing.Size(81, 23);
     this.defaultsButton.Name = "defaultsButton";
     this.defaultsButton.TabIndex = 1;
     this.defaultsButton.Click += new System.EventHandler(this.defaultsButton_Click);
     //
     // saveConfigWidget
     //
     this.saveConfigWidget.Dock = System.Windows.Forms.DockStyle.Fill;
     this.saveConfigWidget.Location = new System.Drawing.Point(0, 0);
     this.saveConfigWidget.Name = "saveConfigWidget";
     this.saveConfigWidget.Size = new System.Drawing.Size(176, 222);
     this.saveConfigWidget.TabIndex = 9;
     this.saveConfigWidget.Token = null;
     //
     // fileSizeText
     //
     this.fileSizeText.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.fileSizeText.Location = new System.Drawing.Point(200, 306);
     this.fileSizeText.Name = "fileSizeText";
     this.fileSizeText.Size = new System.Drawing.Size(160, 16);
     this.fileSizeText.TabIndex = 8;
     //
     // previewHeader
     //
     this.previewHeader.Location = new System.Drawing.Point(198, 8);
     this.previewHeader.Name = "previewHeader";
     this.previewHeader.RightMargin = 0;
     this.previewHeader.Size = new System.Drawing.Size(144, 14);
     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.Location = new System.Drawing.Point(200, 29);
     this.documentView.Name = "documentView";
     this.documentView.PanelAutoScroll = true;
     this.documentView.RulersEnabled = false;
     this.documentView.Size = new System.Drawing.Size(385, 272);
     this.documentView.TabIndex = 12;
     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.Location = new System.Drawing.Point(6, 8);
     this.settingsHeader.Name = "settingsHeader";
     this.settingsHeader.Size = new System.Drawing.Size(192, 14);
     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.ClientSize = new System.Drawing.Size(592, 351);
     this.Controls.Add(this.defaultsButton);
     this.Controls.Add(this.settingsHeader);
     this.Controls.Add(this.previewHeader);
     this.Controls.Add(this.fileSizeText);
     this.Controls.Add(this.documentView);
     this.Controls.Add(this.saveConfigPanel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Sizable;
     this.MaximizeBox = false;
     this.Name = "SaveConfigDialog";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Controls.SetChildIndex(this.saveConfigPanel, 0);
     this.Controls.SetChildIndex(this.documentView, 0);
     this.Controls.SetChildIndex(this.fileSizeText, 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);
 }
コード例 #17
0
ファイル: TaskDialog.cs プロジェクト: herbqiao/paint.net
 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();
 }
コード例 #18
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.okButton = new System.Windows.Forms.Button();
     this.angleUpDown = new System.Windows.Forms.NumericUpDown();
     this.degreeLabel = new System.Windows.Forms.Label();
     this.angleChooserControl = new PaintDotNet.AngleChooserControl();
     this.cancelButton = new System.Windows.Forms.Button();
     this.angleHeader = new PaintDotNet.HeaderLabel();
     ((System.ComponentModel.ISupportInitialize)(this.angleUpDown)).BeginInit();
     this.SuspendLayout();
     //
     // okButton
     //
     this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.okButton.Location = new System.Drawing.Point(24, 94);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(75, 24);
     this.okButton.TabIndex = 0;
     this.okButton.Click += new System.EventHandler(this.okButton_Click);
     //
     // angleUpDown
     //
     this.angleUpDown.DecimalPlaces = 2;
     this.angleUpDown.Location = new System.Drawing.Point(88, 37);
     this.angleUpDown.Maximum = new System.Decimal(new int[] {
                                                                 180,
                                                                 0,
                                                                 0,
                                                                 0});
     this.angleUpDown.Minimum = new System.Decimal(new int[] {
                                                                 180,
                                                                 0,
                                                                 0,
                                                                 -2147483648});
     this.angleUpDown.Name = "angleUpDown";
     this.angleUpDown.Size = new System.Drawing.Size(72, 20);
     this.angleUpDown.TabIndex = 0;
     this.angleUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.angleUpDown.Enter += new System.EventHandler(this.angleUpDown_Enter);
     this.angleUpDown.ValueChanged += new System.EventHandler(this.angleUpDown_ValueChanged);
     this.angleUpDown.Leave += new System.EventHandler(this.angleUpDown_Leave);
     //
     // degreeLabel
     //
     this.degreeLabel.Location = new System.Drawing.Point(161, 37);
     this.degreeLabel.Name = "degreeLabel";
     this.degreeLabel.Size = new System.Drawing.Size(16, 23);
     this.degreeLabel.TabIndex = 15;
     //
     // angleChooserControl
     //
     this.angleChooserControl.Location = new System.Drawing.Point(16, 29);
     this.angleChooserControl.Name = "angleChooserControl";
     this.angleChooserControl.Size = new System.Drawing.Size(56, 56);
     this.angleChooserControl.TabIndex = 0;
     this.angleChooserControl.TabStop = false;
     this.angleChooserControl.Value = 16;
     this.angleChooserControl.ValueDouble = 16;
     this.angleChooserControl.ValueChanged += new System.EventHandler(this.angleChooserControl_ValueChanged);
     //
     // cancelButton
     //
     this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(105, 94);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(75, 24);
     this.cancelButton.TabIndex = 13;
     this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
     //
     // angleHeader
     //
     this.angleHeader.Location = new System.Drawing.Point(8, 8);
     this.angleHeader.Name = "angleHeader";
     this.angleHeader.Size = new System.Drawing.Size(176, 14);
     this.angleHeader.TabIndex = 14;
     this.angleHeader.TabStop = false;
     this.angleHeader.Text = "Header";
     //
     // AngleChooserConfigDialog
     //
     this.AcceptButton = this.okButton;
     this.AutoScaleDimensions = new SizeF(96F, 96F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(186, 124);
     this.Controls.Add(this.angleHeader);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.degreeLabel);
     this.Controls.Add(this.angleChooserControl);
     this.Controls.Add(this.angleUpDown);
     this.Location = new System.Drawing.Point(0, 0);
     this.Name = "AngleChooserConfigDialog";
     this.Controls.SetChildIndex(this.angleUpDown, 0);
     this.Controls.SetChildIndex(this.angleChooserControl, 0);
     this.Controls.SetChildIndex(this.degreeLabel, 0);
     this.Controls.SetChildIndex(this.okButton, 0);
     this.Controls.SetChildIndex(this.cancelButton, 0);
     this.Controls.SetChildIndex(this.angleHeader, 0);
     ((System.ComponentModel.ISupportInitialize)(this.angleUpDown)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #19
0
ファイル: ColorsForm.cs プロジェクト: metadeta96/openpdn
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.valueGradientControl = new PaintDotNet.ColorGradientControl();
            this.colorWheel = new PaintDotNet.ColorWheel();
            this.redUpDown = new System.Windows.Forms.NumericUpDown();
            this.greenUpDown = new System.Windows.Forms.NumericUpDown();
            this.blueUpDown = new System.Windows.Forms.NumericUpDown();
            this.redLabel = new System.Windows.Forms.Label();
            this.blueLabel = new System.Windows.Forms.Label();
            this.greenLabel = new System.Windows.Forms.Label();
            this.saturationLabel = new System.Windows.Forms.Label();
            this.valueLabel = new System.Windows.Forms.Label();
            this.hueLabel = new System.Windows.Forms.Label();
            this.valueUpDown = new System.Windows.Forms.NumericUpDown();
            this.saturationUpDown = new System.Windows.Forms.NumericUpDown();
            this.hueUpDown = new System.Windows.Forms.NumericUpDown();
            this.hexBox = new System.Windows.Forms.TextBox();
            this.hexLabel = new System.Windows.Forms.Label();
            this.whichUserColorBox = new System.Windows.Forms.ComboBox();
            this.alphaUpDown = new System.Windows.Forms.NumericUpDown();
            this.moreLessButton = new System.Windows.Forms.Button();
            this.lessModeButtonSentinel = new System.Windows.Forms.Control();
            this.moreModeButtonSentinel = new System.Windows.Forms.Control();
            this.lessModeHeaderSentinel = new System.Windows.Forms.Control();
            this.moreModeHeaderSentinel = new System.Windows.Forms.Control();
            this.rgbHeader = new PaintDotNet.HeaderLabel();
            this.hsvHeader = new PaintDotNet.HeaderLabel();
            this.alphaHeader = new PaintDotNet.HeaderLabel();
            this.swatchHeader = new PaintDotNet.HeaderLabel();
            this.swatchControl = new PaintDotNet.SwatchControl();
            this.colorDisplayWidget = new PaintDotNet.ColorDisplayWidget();
            this.toolStrip = new PaintDotNet.SystemLayer.ToolStripEx();
            this.colorAddButton = new System.Windows.Forms.ToolStripButton();
            this.colorPalettesButton = new System.Windows.Forms.ToolStripSplitButton();
            this.hueGradientControl = new PaintDotNet.ColorGradientControl();
            this.saturationGradientControl = new PaintDotNet.ColorGradientControl();
            this.alphaGradientControl = new PaintDotNet.ColorGradientControl();
            this.redGradientControl = new PaintDotNet.ColorGradientControl();
            this.greenGradientControl = new PaintDotNet.ColorGradientControl();
            this.blueGradientControl = new PaintDotNet.ColorGradientControl();
            ((System.ComponentModel.ISupportInitialize)(this.redUpDown)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.greenUpDown)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.blueUpDown)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.valueUpDown)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.saturationUpDown)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.hueUpDown)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.alphaUpDown)).BeginInit();
            this.toolStrip.SuspendLayout();
            this.SuspendLayout();
            // 
            // valueGradientControl
            // 
            this.valueGradientControl.Count = 1;
            this.valueGradientControl.CustomGradient = null;
            this.valueGradientControl.DrawFarNub = true;
            this.valueGradientControl.DrawNearNub = false;
            this.valueGradientControl.Location = new System.Drawing.Point(243, 185);
            this.valueGradientControl.MaxColor = System.Drawing.Color.White;
            this.valueGradientControl.MinColor = System.Drawing.Color.Black;
            this.valueGradientControl.Name = "valueGradientControl";
            this.valueGradientControl.Orientation = System.Windows.Forms.Orientation.Horizontal;
            this.valueGradientControl.Size = new System.Drawing.Size(73, 19);
            this.valueGradientControl.TabIndex = 2;
            this.valueGradientControl.TabStop = false;
            this.valueGradientControl.Value = 0;
            this.valueGradientControl.ValueChanged += new PaintDotNet.IndexEventHandler(this.HsvGradientControl_ValueChanged);
            // 
            // colorWheel
            // 
            this.colorWheel.Location = new System.Drawing.Point(65, 35);
            this.colorWheel.Name = "colorWheel";
            this.colorWheel.Size = new System.Drawing.Size(129, 130);
            this.colorWheel.TabIndex = 3;
            this.colorWheel.TabStop = false;
            this.colorWheel.ColorChanged += new System.EventHandler(this.ColorWheel_ColorChanged);
            // 
            // redUpDown
            // 
            this.redUpDown.Location = new System.Drawing.Point(320, 24);
            this.redUpDown.Maximum = new decimal(new int[] {
            255,
            0,
            0,
            0});
            this.redUpDown.Name = "redUpDown";
            this.redUpDown.Size = new System.Drawing.Size(56, 20);
            this.redUpDown.TabIndex = 2;
            this.redUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.redUpDown.Enter += new System.EventHandler(this.UpDown_Enter);
            this.redUpDown.ValueChanged += new System.EventHandler(this.UpDown_ValueChanged);
            this.redUpDown.Leave += new System.EventHandler(this.UpDown_Leave);
            this.redUpDown.KeyUp += new System.Windows.Forms.KeyEventHandler(this.UpDown_KeyUp);
            // 
            // greenUpDown
            // 
            this.greenUpDown.Location = new System.Drawing.Point(320, 48);
            this.greenUpDown.Maximum = new decimal(new int[] {
            255,
            0,
            0,
            0});
            this.greenUpDown.Name = "greenUpDown";
            this.greenUpDown.Size = new System.Drawing.Size(56, 20);
            this.greenUpDown.TabIndex = 3;
            this.greenUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.greenUpDown.Enter += new System.EventHandler(this.UpDown_Enter);
            this.greenUpDown.ValueChanged += new System.EventHandler(this.UpDown_ValueChanged);
            this.greenUpDown.Leave += new System.EventHandler(this.UpDown_Leave);
            this.greenUpDown.KeyUp += new System.Windows.Forms.KeyEventHandler(this.UpDown_KeyUp);
            // 
            // blueUpDown
            // 
            this.blueUpDown.Location = new System.Drawing.Point(320, 72);
            this.blueUpDown.Maximum = new decimal(new int[] {
            255,
            0,
            0,
            0});
            this.blueUpDown.Name = "blueUpDown";
            this.blueUpDown.Size = new System.Drawing.Size(56, 20);
            this.blueUpDown.TabIndex = 4;
            this.blueUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.blueUpDown.Enter += new System.EventHandler(this.UpDown_Enter);
            this.blueUpDown.ValueChanged += new System.EventHandler(this.UpDown_ValueChanged);
            this.blueUpDown.Leave += new System.EventHandler(this.UpDown_Leave);
            this.blueUpDown.KeyUp += new System.Windows.Forms.KeyEventHandler(this.UpDown_KeyUp);
            // 
            // redLabel
            // 
            this.redLabel.AutoSize = true;
            this.redLabel.Location = new System.Drawing.Point(222, 28);
            this.redLabel.Name = "redLabel";
            this.redLabel.Size = new System.Drawing.Size(15, 13);
            this.redLabel.TabIndex = 7;
            this.redLabel.Text = "R";
            this.redLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // blueLabel
            // 
            this.blueLabel.AutoSize = true;
            this.blueLabel.Location = new System.Drawing.Point(222, 76);
            this.blueLabel.Name = "blueLabel";
            this.blueLabel.Size = new System.Drawing.Size(14, 13);
            this.blueLabel.TabIndex = 8;
            this.blueLabel.Text = "B";
            this.blueLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // greenLabel
            // 
            this.greenLabel.AutoSize = true;
            this.greenLabel.Location = new System.Drawing.Point(222, 52);
            this.greenLabel.Name = "greenLabel";
            this.greenLabel.Size = new System.Drawing.Size(15, 13);
            this.greenLabel.TabIndex = 9;
            this.greenLabel.Text = "G";
            this.greenLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // saturationLabel
            // 
            this.saturationLabel.AutoSize = true;
            this.saturationLabel.Location = new System.Drawing.Point(222, 164);
            this.saturationLabel.Name = "saturationLabel";
            this.saturationLabel.Size = new System.Drawing.Size(17, 13);
            this.saturationLabel.TabIndex = 16;
            this.saturationLabel.Text = "S:";
            this.saturationLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // valueLabel
            // 
            this.valueLabel.AutoSize = true;
            this.valueLabel.Location = new System.Drawing.Point(222, 188);
            this.valueLabel.Name = "valueLabel";
            this.valueLabel.Size = new System.Drawing.Size(17, 13);
            this.valueLabel.TabIndex = 15;
            this.valueLabel.Text = "V:";
            this.valueLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // hueLabel
            // 
            this.hueLabel.AutoSize = true;
            this.hueLabel.Location = new System.Drawing.Point(222, 140);
            this.hueLabel.Name = "hueLabel";
            this.hueLabel.Size = new System.Drawing.Size(18, 13);
            this.hueLabel.TabIndex = 14;
            this.hueLabel.Text = "H:";
            this.hueLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // valueUpDown
            // 
            this.valueUpDown.Location = new System.Drawing.Point(320, 184);
            this.valueUpDown.Name = "valueUpDown";
            this.valueUpDown.Size = new System.Drawing.Size(56, 20);
            this.valueUpDown.TabIndex = 8;
            this.valueUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.valueUpDown.Enter += new System.EventHandler(this.UpDown_Enter);
            this.valueUpDown.ValueChanged += new System.EventHandler(this.UpDown_ValueChanged);
            this.valueUpDown.Leave += new System.EventHandler(this.UpDown_Leave);
            this.valueUpDown.KeyUp += new System.Windows.Forms.KeyEventHandler(this.UpDown_KeyUp);
            // 
            // saturationUpDown
            // 
            this.saturationUpDown.Location = new System.Drawing.Point(320, 160);
            this.saturationUpDown.Name = "saturationUpDown";
            this.saturationUpDown.Size = new System.Drawing.Size(56, 20);
            this.saturationUpDown.TabIndex = 7;
            this.saturationUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.saturationUpDown.Enter += new System.EventHandler(this.UpDown_Enter);
            this.saturationUpDown.ValueChanged += new System.EventHandler(this.UpDown_ValueChanged);
            this.saturationUpDown.Leave += new System.EventHandler(this.UpDown_Leave);
            this.saturationUpDown.KeyUp += new System.Windows.Forms.KeyEventHandler(this.UpDown_KeyUp);
            // 
            // hueUpDown
            // 
            this.hueUpDown.Location = new System.Drawing.Point(320, 136);
            this.hueUpDown.Maximum = new decimal(new int[] {
            360,
            0,
            0,
            0});
            this.hueUpDown.Name = "hueUpDown";
            this.hueUpDown.Size = new System.Drawing.Size(56, 20);
            this.hueUpDown.TabIndex = 6;
            this.hueUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.hueUpDown.Enter += new System.EventHandler(this.UpDown_Enter);
            this.hueUpDown.ValueChanged += new System.EventHandler(this.UpDown_ValueChanged);
            this.hueUpDown.Leave += new System.EventHandler(this.UpDown_Leave);
            this.hueUpDown.KeyUp += new System.Windows.Forms.KeyEventHandler(this.UpDown_KeyUp);
            // 
            // hexBox
            // 
            this.hexBox.Location = new System.Drawing.Point(320, 96);
            this.hexBox.Name = "hexBox";
            this.hexBox.Size = new System.Drawing.Size(56, 20);
            this.hexBox.TabIndex = 5;
            this.hexBox.Text = "000000";
            this.hexBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.hexBox.Enter += new System.EventHandler(this.HexUpDown_Enter);
            this.hexBox.Leave += new System.EventHandler(this.HexUpDown_Leave);
            this.hexBox.KeyUp += new System.Windows.Forms.KeyEventHandler(this.HexUpDown_KeyUp);
            this.hexBox.TextChanged += new System.EventHandler(this.UpDown_ValueChanged);
            // 
            // hexLabel
            // 
            this.hexLabel.AutoSize = true;
            this.hexLabel.Location = new System.Drawing.Point(222, 99);
            this.hexLabel.Name = "hexLabel";
            this.hexLabel.Size = new System.Drawing.Size(26, 13);
            this.hexLabel.TabIndex = 13;
            this.hexLabel.Text = "Hex";
            this.hexLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // whichUserColorBox
            // 
            this.whichUserColorBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.whichUserColorBox.Location = new System.Drawing.Point(8, 8);
            this.whichUserColorBox.Name = "whichUserColorBox";
            this.whichUserColorBox.Size = new System.Drawing.Size(112, 21);
            this.whichUserColorBox.TabIndex = 0;
            this.whichUserColorBox.SelectedIndexChanged += new System.EventHandler(this.WhichUserColorBox_SelectedIndexChanged);
            // 
            // alphaUpDown
            // 
            this.alphaUpDown.Location = new System.Drawing.Point(320, 228);
            this.alphaUpDown.Maximum = new decimal(new int[] {
            255,
            0,
            0,
            0});
            this.alphaUpDown.Name = "alphaUpDown";
            this.alphaUpDown.Size = new System.Drawing.Size(56, 20);
            this.alphaUpDown.TabIndex = 10;
            this.alphaUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.alphaUpDown.Enter += new System.EventHandler(this.UpDown_Enter);
            this.alphaUpDown.ValueChanged += new System.EventHandler(this.UpDown_ValueChanged);
            this.alphaUpDown.Leave += new System.EventHandler(this.UpDown_Leave);
            this.alphaUpDown.KeyUp += new System.Windows.Forms.KeyEventHandler(this.UpDown_KeyUp);
            // 
            // moreLessButton
            // 
            this.moreLessButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.moreLessButton.Location = new System.Drawing.Point(126, 7);
            this.moreLessButton.Name = "moreLessButton";
            this.moreLessButton.Size = new System.Drawing.Size(75, 23);
            this.moreLessButton.TabIndex = 1;
            this.moreLessButton.Click += new System.EventHandler(this.MoreLessButton_Click);
            // 
            // lessModeButtonSentinel
            // 
            this.lessModeButtonSentinel.Location = new System.Drawing.Point(128, 7);
            this.lessModeButtonSentinel.Name = "lessModeButtonSentinel";
            this.lessModeButtonSentinel.Size = new System.Drawing.Size(0, 0);
            this.lessModeButtonSentinel.TabIndex = 22;
            this.lessModeButtonSentinel.Text = "we put the lessMore control here when in \"Less\" mode";
            this.lessModeButtonSentinel.Visible = false;
            // 
            // moreModeButtonSentinel
            // 
            this.moreModeButtonSentinel.Location = new System.Drawing.Point(165, 7);
            this.moreModeButtonSentinel.Name = "moreModeButtonSentinel";
            this.moreModeButtonSentinel.Size = new System.Drawing.Size(0, 0);
            this.moreModeButtonSentinel.TabIndex = 23;
            this.moreModeButtonSentinel.Visible = false;
            // 
            // lessModeHeaderSentinel
            // 
            this.lessModeHeaderSentinel.Location = new System.Drawing.Point(8, 40);
            this.lessModeHeaderSentinel.Name = "lessModeHeaderSentinel";
            this.lessModeHeaderSentinel.Size = new System.Drawing.Size(195, 185);
            this.lessModeHeaderSentinel.TabIndex = 24;
            this.lessModeHeaderSentinel.Visible = false;
            // 
            // moreModeHeaderSentinel
            // 
            this.moreModeHeaderSentinel.Location = new System.Drawing.Point(8, 40);
            this.moreModeHeaderSentinel.Name = "moreModeHeaderSentinel";
            this.moreModeHeaderSentinel.Size = new System.Drawing.Size(232, 216);
            this.moreModeHeaderSentinel.TabIndex = 25;
            this.moreModeHeaderSentinel.TabStop = false;
            this.moreModeHeaderSentinel.Visible = false;
            // 
            // rgbHeader
            // 
            this.rgbHeader.Location = new System.Drawing.Point(222, 8);
            this.rgbHeader.Name = "rgbHeader";
            this.rgbHeader.RightMargin = 0;
            this.rgbHeader.Size = new System.Drawing.Size(154, 14);
            this.rgbHeader.TabIndex = 27;
            this.rgbHeader.TabStop = false;
            // 
            // hsvHeader
            // 
            this.hsvHeader.Location = new System.Drawing.Point(222, 120);
            this.hsvHeader.Name = "hsvHeader";
            this.hsvHeader.RightMargin = 0;
            this.hsvHeader.Size = new System.Drawing.Size(154, 14);
            this.hsvHeader.TabIndex = 28;
            this.hsvHeader.TabStop = false;
            // 
            // alphaHeader
            // 
            this.alphaHeader.Location = new System.Drawing.Point(222, 212);
            this.alphaHeader.Name = "alphaHeader";
            this.alphaHeader.RightMargin = 0;
            this.alphaHeader.Size = new System.Drawing.Size(154, 14);
            this.alphaHeader.TabIndex = 29;
            this.alphaHeader.TabStop = false;
            // 
            // swatchHeader
            // 
            this.swatchHeader.Location = new System.Drawing.Point(8, 177);
            this.swatchHeader.Name = "swatchHeader";
            this.swatchHeader.RightMargin = 0;
            this.swatchHeader.Size = new System.Drawing.Size(193, 14);
            this.swatchHeader.TabIndex = 30;
            this.swatchHeader.TabStop = false;
            // 
            // swatchControl
            // 
            this.swatchControl.BlinkHighlight = false;
            this.swatchControl.Colors = new PaintDotNet.ColorBgra[0];
            this.swatchControl.Location = new System.Drawing.Point(8, 189);
            this.swatchControl.Name = "swatchControl";
            this.swatchControl.Size = new System.Drawing.Size(192, 74);
            this.swatchControl.TabIndex = 31;
            this.swatchControl.Text = "swatchControl1";
            this.swatchControl.ColorsChanged += this.SwatchControl_ColorsChanged;
            this.swatchControl.ColorClicked += this.SwatchControl_ColorClicked;
            // 
            // colorDisplayWidget
            // 
            this.colorDisplayWidget.Location = new System.Drawing.Point(4, 32);
            this.colorDisplayWidget.Name = "colorDisplayWidget";
            this.colorDisplayWidget.Size = new System.Drawing.Size(52, 52);
            this.colorDisplayWidget.TabIndex = 32;
            this.colorDisplayWidget.BlackAndWhiteButtonClicked += ColorDisplayWidget_BlackAndWhiteButtonClicked;
            this.colorDisplayWidget.SwapColorsClicked += ColorDisplayWidget_SwapColorsClicked;
            this.colorDisplayWidget.UserPrimaryColorClick += ColorDisplay_PrimaryColorClicked;
            this.colorDisplayWidget.UserSecondaryColorClick += ColorDisplay_SecondaryColorClicked;
            // 
            // toolStrip
            // 
            this.toolStrip.ClickThrough = true;
            this.toolStrip.Dock = System.Windows.Forms.DockStyle.None;
            this.toolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
            this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.colorAddButton,
                this.colorPalettesButton});
            this.toolStrip.Location = new System.Drawing.Point(5, 157);
            this.toolStrip.ManagedFocus = true;
            this.toolStrip.Name = "toolStrip";
            this.toolStrip.Size = new System.Drawing.Size(65, 25);
            this.toolStrip.TabIndex = 33;
            this.toolStrip.Text = "toolStrip";
            // 
            // colorAddButton
            // 
            this.colorAddButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.colorAddButton.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.colorAddButton.Name = "colorAddButton";
            this.colorAddButton.Size = new System.Drawing.Size(23, 22);
            this.colorAddButton.Text = "colorAddButton";
            this.colorAddButton.Click += new System.EventHandler(this.ColorAddButton_Click);
            // 
            // colorPalettesButton
            // 
            this.colorPalettesButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.colorPalettesButton.Name = "colorPalettesButton";
            this.colorPalettesButton.Size = new System.Drawing.Size(16, 22);
            this.colorPalettesButton.Click += new System.EventHandler(this.ColorPalettesButton_Click);
            this.colorPalettesButton.DropDownOpening += new System.EventHandler(this.ColorPalettesButton_DropDownOpening);
            // 
            // hueGradientControl
            // 
            this.hueGradientControl.Count = 1;
            this.hueGradientControl.CustomGradient = null;
            this.hueGradientControl.DrawFarNub = true;
            this.hueGradientControl.DrawNearNub = false;
            this.hueGradientControl.Location = new System.Drawing.Point(243, 137);
            this.hueGradientControl.MaxColor = System.Drawing.Color.White;
            this.hueGradientControl.MinColor = System.Drawing.Color.Black;
            this.hueGradientControl.Name = "hueGradientControl";
            this.hueGradientControl.Orientation = System.Windows.Forms.Orientation.Horizontal;
            this.hueGradientControl.Size = new System.Drawing.Size(73, 19);
            this.hueGradientControl.TabIndex = 34;
            this.hueGradientControl.TabStop = false;
            this.hueGradientControl.Value = 0;
            this.hueGradientControl.ValueChanged += new PaintDotNet.IndexEventHandler(this.HsvGradientControl_ValueChanged);
            // 
            // saturationGradientControl
            // 
            this.saturationGradientControl.Count = 1;
            this.saturationGradientControl.CustomGradient = null;
            this.saturationGradientControl.DrawFarNub = true;
            this.saturationGradientControl.DrawNearNub = false;
            this.saturationGradientControl.Location = new System.Drawing.Point(243, 161);
            this.saturationGradientControl.MaxColor = System.Drawing.Color.White;
            this.saturationGradientControl.MinColor = System.Drawing.Color.Black;
            this.saturationGradientControl.Name = "saturationGradientControl";
            this.saturationGradientControl.Orientation = System.Windows.Forms.Orientation.Horizontal;
            this.saturationGradientControl.Size = new System.Drawing.Size(73, 19);
            this.saturationGradientControl.TabIndex = 35;
            this.saturationGradientControl.TabStop = false;
            this.saturationGradientControl.Value = 0;
            this.saturationGradientControl.ValueChanged += new PaintDotNet.IndexEventHandler(this.HsvGradientControl_ValueChanged);
            // 
            // alphaGradientControl
            // 
            this.alphaGradientControl.Count = 1;
            this.alphaGradientControl.CustomGradient = null;
            this.alphaGradientControl.DrawFarNub = true;
            this.alphaGradientControl.DrawNearNub = false;
            this.alphaGradientControl.Location = new System.Drawing.Point(243, 229);
            this.alphaGradientControl.MaxColor = System.Drawing.Color.White;
            this.alphaGradientControl.MinColor = System.Drawing.Color.Black;
            this.alphaGradientControl.Name = "alphaGradientControl";
            this.alphaGradientControl.Orientation = System.Windows.Forms.Orientation.Horizontal;
            this.alphaGradientControl.Size = new System.Drawing.Size(73, 19);
            this.alphaGradientControl.TabIndex = 36;
            this.alphaGradientControl.TabStop = false;
            this.alphaGradientControl.Value = 0;
            this.alphaGradientControl.ValueChanged += new PaintDotNet.IndexEventHandler(this.UpDown_ValueChanged);
            // 
            // redGradientControl
            // 
            this.redGradientControl.Count = 1;
            this.redGradientControl.CustomGradient = null;
            this.redGradientControl.DrawFarNub = true;
            this.redGradientControl.DrawNearNub = false;
            this.redGradientControl.Location = new System.Drawing.Point(243, 25);
            this.redGradientControl.MaxColor = System.Drawing.Color.White;
            this.redGradientControl.MinColor = System.Drawing.Color.Black;
            this.redGradientControl.Name = "redGradientControl";
            this.redGradientControl.Orientation = System.Windows.Forms.Orientation.Horizontal;
            this.redGradientControl.Size = new System.Drawing.Size(73, 19);
            this.redGradientControl.TabIndex = 37;
            this.redGradientControl.TabStop = false;
            this.redGradientControl.Value = 0;
            this.redGradientControl.ValueChanged += new PaintDotNet.IndexEventHandler(this.RgbGradientControl_ValueChanged);
            // 
            // greenGradientControl
            // 
            this.greenGradientControl.Count = 1;
            this.greenGradientControl.CustomGradient = null;
            this.greenGradientControl.DrawFarNub = true;
            this.greenGradientControl.DrawNearNub = false;
            this.greenGradientControl.Location = new System.Drawing.Point(243, 49);
            this.greenGradientControl.MaxColor = System.Drawing.Color.White;
            this.greenGradientControl.MinColor = System.Drawing.Color.Black;
            this.greenGradientControl.Name = "greenGradientControl";
            this.greenGradientControl.Orientation = System.Windows.Forms.Orientation.Horizontal;
            this.greenGradientControl.Size = new System.Drawing.Size(73, 19);
            this.greenGradientControl.TabIndex = 38;
            this.greenGradientControl.TabStop = false;
            this.greenGradientControl.Value = 0;
            this.greenGradientControl.ValueChanged += new PaintDotNet.IndexEventHandler(this.RgbGradientControl_ValueChanged);
            // 
            // blueGradientControl
            // 
            this.blueGradientControl.Count = 1;
            this.blueGradientControl.CustomGradient = null;
            this.blueGradientControl.DrawFarNub = true;
            this.blueGradientControl.DrawNearNub = false;
            this.blueGradientControl.Location = new System.Drawing.Point(243, 73);
            this.blueGradientControl.MaxColor = System.Drawing.Color.White;
            this.blueGradientControl.MinColor = System.Drawing.Color.Black;
            this.blueGradientControl.Name = "blueGradientControl";
            this.blueGradientControl.Orientation = System.Windows.Forms.Orientation.Horizontal;
            this.blueGradientControl.Size = new System.Drawing.Size(73, 19);
            this.blueGradientControl.TabIndex = 39;
            this.blueGradientControl.TabStop = false;
            this.blueGradientControl.Value = 0;
            this.blueGradientControl.ValueChanged += new PaintDotNet.IndexEventHandler(this.RgbGradientControl_ValueChanged);
            // 
            // ColorsForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
            this.ClientSize = new System.Drawing.Size(386, 266);
            this.Controls.Add(this.valueLabel);
            this.Controls.Add(this.saturationLabel);
            this.Controls.Add(this.hueLabel);
            this.Controls.Add(this.greenLabel);
            this.Controls.Add(this.blueLabel);
            this.Controls.Add(this.redLabel);
            this.Controls.Add(this.hexLabel);
            this.Controls.Add(this.blueGradientControl);
            this.Controls.Add(this.greenGradientControl);
            this.Controls.Add(this.redGradientControl);
            this.Controls.Add(this.alphaGradientControl);
            this.Controls.Add(this.saturationGradientControl);
            this.Controls.Add(this.hueGradientControl);
            this.Controls.Add(this.toolStrip);
            this.Controls.Add(this.colorWheel);
            this.Controls.Add(this.colorDisplayWidget);
            this.Controls.Add(this.swatchControl);
            this.Controls.Add(this.swatchHeader);
            this.Controls.Add(this.alphaHeader);
            this.Controls.Add(this.hsvHeader);
            this.Controls.Add(this.rgbHeader);
            this.Controls.Add(this.valueGradientControl);
            this.Controls.Add(this.moreModeButtonSentinel);
            this.Controls.Add(this.lessModeButtonSentinel);
            this.Controls.Add(this.moreLessButton);
            this.Controls.Add(this.whichUserColorBox);
            this.Controls.Add(this.lessModeHeaderSentinel);
            this.Controls.Add(this.moreModeHeaderSentinel);
            this.Controls.Add(this.blueUpDown);
            this.Controls.Add(this.greenUpDown);
            this.Controls.Add(this.redUpDown);
            this.Controls.Add(this.hexBox);
            this.Controls.Add(this.hueUpDown);
            this.Controls.Add(this.saturationUpDown);
            this.Controls.Add(this.valueUpDown);
            this.Controls.Add(this.alphaUpDown);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
            this.Name = "ColorsForm";
            this.Controls.SetChildIndex(this.alphaUpDown, 0);
            this.Controls.SetChildIndex(this.valueUpDown, 0);
            this.Controls.SetChildIndex(this.saturationUpDown, 0);
            this.Controls.SetChildIndex(this.hueUpDown, 0);
            this.Controls.SetChildIndex(this.hexBox, 0);
            this.Controls.SetChildIndex(this.redUpDown, 0);
            this.Controls.SetChildIndex(this.greenUpDown, 0);
            this.Controls.SetChildIndex(this.blueUpDown, 0);
            this.Controls.SetChildIndex(this.moreModeHeaderSentinel, 0);
            this.Controls.SetChildIndex(this.lessModeHeaderSentinel, 0);
            this.Controls.SetChildIndex(this.whichUserColorBox, 0);
            this.Controls.SetChildIndex(this.moreLessButton, 0);
            this.Controls.SetChildIndex(this.lessModeButtonSentinel, 0);
            this.Controls.SetChildIndex(this.moreModeButtonSentinel, 0);
            this.Controls.SetChildIndex(this.valueGradientControl, 0);
            this.Controls.SetChildIndex(this.rgbHeader, 0);
            this.Controls.SetChildIndex(this.hsvHeader, 0);
            this.Controls.SetChildIndex(this.alphaHeader, 0);
            this.Controls.SetChildIndex(this.swatchHeader, 0);
            this.Controls.SetChildIndex(this.swatchControl, 0);
            this.Controls.SetChildIndex(this.colorDisplayWidget, 0);
            this.Controls.SetChildIndex(this.colorWheel, 0);
            this.Controls.SetChildIndex(this.toolStrip, 0);
            this.Controls.SetChildIndex(this.hueGradientControl, 0);
            this.Controls.SetChildIndex(this.saturationGradientControl, 0);
            this.Controls.SetChildIndex(this.alphaGradientControl, 0);
            this.Controls.SetChildIndex(this.redGradientControl, 0);
            this.Controls.SetChildIndex(this.greenGradientControl, 0);
            this.Controls.SetChildIndex(this.blueGradientControl, 0);
            this.Controls.SetChildIndex(this.hexLabel, 0);
            this.Controls.SetChildIndex(this.redLabel, 0);
            this.Controls.SetChildIndex(this.blueLabel, 0);
            this.Controls.SetChildIndex(this.greenLabel, 0);
            this.Controls.SetChildIndex(this.hueLabel, 0);
            this.Controls.SetChildIndex(this.saturationLabel, 0);
            this.Controls.SetChildIndex(this.valueLabel, 0);
            ((System.ComponentModel.ISupportInitialize)(this.redUpDown)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.greenUpDown)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.blueUpDown)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.valueUpDown)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.saturationUpDown)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.hueUpDown)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.alphaUpDown)).EndInit();
            this.toolStrip.ResumeLayout(false);
            this.toolStrip.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #20
0
 private void InitializeComponent()
 {
     this.rangeFit               = new System.Windows.Forms.RadioButton();
     this.clusterFit             = new System.Windows.Forms.RadioButton();
     this.iterativeFit           = new System.Windows.Forms.RadioButton();
     this.uniformMetric          = new System.Windows.Forms.RadioButton();
     this.perceptualMetric       = new System.Windows.Forms.RadioButton();
     this.generateMipMaps        = new System.Windows.Forms.CheckBox();
     this.weightColourByAlpha    = new System.Windows.Forms.CheckBox();
     this.fileFormatList         = new System.Windows.Forms.ComboBox();
     this.compressorTypeLabel    = new PaintDotNet.HeaderLabel();
     this.errorMetricLabel       = new PaintDotNet.HeaderLabel();
     this.additionalOptionsLabel = new PaintDotNet.HeaderLabel();
     this.compressorTypePanel    = new System.Windows.Forms.Panel();
     this.errorMetricPanel       = new System.Windows.Forms.Panel();
     this.additionalOptionsPanel = new System.Windows.Forms.Panel();
     this.compressorTypePanel.SuspendLayout();
     this.errorMetricPanel.SuspendLayout();
     this.additionalOptionsPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // rangeFit
     //
     this.rangeFit.AutoSize = false;
     this.rangeFit.Name     = "rangeFit";
     this.rangeFit.TabIndex = 0;
     this.rangeFit.TabStop  = true;
     this.rangeFit.Text     = PdnResources.GetString("DdsFileType.SaveConfigWidget.RangeFit.Text"); // "Range fit (Fast/LQ)"
     this.rangeFit.UseVisualStyleBackColor = true;
     this.rangeFit.CheckedChanged         += new System.EventHandler(this.rangeFit_CheckedChanged);
     this.rangeFit.FlatStyle = FlatStyle.System;
     //
     // clusterFit
     //
     this.clusterFit.AutoSize = false;
     this.clusterFit.Name     = "clusterFit";
     this.clusterFit.TabIndex = 1;
     this.clusterFit.TabStop  = true;
     this.clusterFit.Text     = PdnResources.GetString("DdsFileType.SaveConfigWidget.ClusterFit.Text"); // "Cluster fit (Slow/HQ)"
     this.clusterFit.UseVisualStyleBackColor = true;
     this.clusterFit.CheckedChanged         += new System.EventHandler(this.clusterFit_CheckedChanged);
     this.clusterFit.FlatStyle = FlatStyle.System;
     //
     // iterativeFit
     //
     this.iterativeFit.AutoSize = false;
     this.iterativeFit.Name     = "iterativeFit";
     this.iterativeFit.TabIndex = 2;
     this.iterativeFit.TabStop  = true;
     this.iterativeFit.Text     = PdnResources.GetString("DdsFileType.SaveConfigWidget.IterativeFit.Text"); // "Iterative fit (Slowest/HQ)";
     this.iterativeFit.UseVisualStyleBackColor = true;
     this.iterativeFit.CheckedChanged         += new System.EventHandler(this.iterativeFit_CheckedChanged);
     this.iterativeFit.FlatStyle = FlatStyle.System;
     //
     // uniformMetric
     //
     this.uniformMetric.AutoSize = false;
     this.uniformMetric.Name     = "uniformMetric";
     this.uniformMetric.TabIndex = 0;
     this.uniformMetric.TabStop  = true;
     this.uniformMetric.Text     = PdnResources.GetString("DdsFileType.SaveConfigWidget.Uniform.Text"); // "Uniform";
     this.uniformMetric.UseVisualStyleBackColor = true;
     this.uniformMetric.CheckedChanged         += new System.EventHandler(this.uniformMetric_CheckedChanged);
     this.uniformMetric.FlatStyle = FlatStyle.System;
     //
     // perceptualMetric
     //
     this.perceptualMetric.AutoSize = false;
     this.perceptualMetric.Name     = "perceptualMetric";
     this.perceptualMetric.TabIndex = 1;
     this.perceptualMetric.TabStop  = true;
     this.perceptualMetric.Text     = PdnResources.GetString("DdsFileType.SaveConfigWidget.Perceptual.Text"); // "Perceptual";
     this.perceptualMetric.UseVisualStyleBackColor = true;
     this.perceptualMetric.CheckedChanged         += new System.EventHandler(this.perceptualMetric_CheckedChanged);
     this.perceptualMetric.FlatStyle = FlatStyle.System;
     //
     // generateMipMaps
     //
     this.generateMipMaps.AutoSize = false;
     this.generateMipMaps.Name     = "generateMipMaps";
     this.generateMipMaps.TabIndex = 1;
     this.generateMipMaps.Text     = PdnResources.GetString("DdsFileType.SaveConfigWidget.GenerateMipMaps.Text"); // "Generate Mip Maps";
     this.generateMipMaps.UseVisualStyleBackColor = true;
     this.generateMipMaps.CheckedChanged         += new System.EventHandler(this.generateMipLevels_CheckedChanged);
     this.generateMipMaps.FlatStyle = FlatStyle.System;
     //
     // weightColourByAlpha
     //
     this.weightColourByAlpha.AutoSize = false;
     this.weightColourByAlpha.Name     = "weightColourByAlpha";
     this.weightColourByAlpha.TabIndex = 0;
     this.weightColourByAlpha.Text     = PdnResources.GetString("DdsFileType.SaveConfigWidget.WeightColourByAlpha"); // "Weight Colour By Alpha";
     this.weightColourByAlpha.UseVisualStyleBackColor = true;
     this.weightColourByAlpha.CheckedChanged         += new System.EventHandler(this.weightColourByAlpha_CheckedChanged);
     this.weightColourByAlpha.FlatStyle = FlatStyle.System;
     //
     // fileFormatList
     //
     this.fileFormatList.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.fileFormatList.FormattingEnabled = true;
     this.fileFormatList.Items.AddRange(new object[] {
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.DXT1"),     // "DXT1 (Opaque/1-bit Alpha)",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.DXT3"),     // "DXT3 (Explicit Alpha)",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.DXT5"),     // "DXT5 (Interpolated Alpha)",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.A8R8G8B8"), // "A8R8G8B8",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.X8R8G8B8"), // "X8R8G8B8",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.A8B8G8R8"), // "A8B8G8R8",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.X8B8G8R8"), // "X8B8G8R8",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.A1R5G5B5"), // "A1R5G5B5",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.A4R4G4B4"), // "A4R4G4B4",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.R8G8B8"),   // "R8G8B8",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.R5G6B5")    // "R5G6B5"
     });
     this.fileFormatList.Name                  = "fileFormatList";
     this.fileFormatList.TabIndex              = 0;
     this.fileFormatList.SelectedIndexChanged += new System.EventHandler(this.fileFormatList_SelectedIndexChanged);
     this.fileFormatList.FlatStyle             = FlatStyle.System;
     //
     // compressorTypeLabel
     //
     this.compressorTypeLabel.Name        = "compressorTypeLabel";
     this.compressorTypeLabel.RightMargin = 0;
     this.compressorTypeLabel.TabIndex    = 1;
     this.compressorTypeLabel.TabStop     = false;
     this.compressorTypeLabel.Text        = PdnResources.GetString("DdsFileType.SaveConfigWidget.CompressorTypeLabel.Text"); // "Compressor Type";
     //
     // errorMetricLabel
     //
     this.errorMetricLabel.Name        = "errorMetricLabel";
     this.errorMetricLabel.RightMargin = 0;
     this.errorMetricLabel.TabIndex    = 3;
     this.errorMetricLabel.TabStop     = false;
     this.errorMetricLabel.Text        = PdnResources.GetString("DdsFileType.SaveConfigWidget.ErrorMetricLabel.Text"); // "Error Metric";
     //
     // additionalOptionsLabel
     //
     this.additionalOptionsLabel.Name        = "additionalOptionsLabel";
     this.additionalOptionsLabel.RightMargin = 0;
     this.additionalOptionsLabel.TabIndex    = 5;
     this.additionalOptionsLabel.TabStop     = false;
     this.additionalOptionsLabel.Text        = PdnResources.GetString("DdsFileType.SaveConfigWidget.AdditionalOptions.Text"); // "Additional Options";
     //
     // compressorTypePanel
     //
     this.compressorTypePanel.Controls.Add(this.rangeFit);
     this.compressorTypePanel.Controls.Add(this.clusterFit);
     this.compressorTypePanel.Controls.Add(this.iterativeFit);
     this.compressorTypePanel.Name     = "compressorTypePanel";
     this.compressorTypePanel.TabIndex = 2;
     //
     // errorMetricPanel
     //
     this.errorMetricPanel.Controls.Add(this.uniformMetric);
     this.errorMetricPanel.Controls.Add(this.perceptualMetric);
     this.errorMetricPanel.Name     = "errorMetricPanel";
     this.errorMetricPanel.TabIndex = 4;
     //
     // additionalOptionsPanel
     //
     this.additionalOptionsPanel.Controls.Add(this.generateMipMaps);
     this.additionalOptionsPanel.Controls.Add(this.weightColourByAlpha);
     this.additionalOptionsPanel.Name     = "additionalOptionsPanel";
     this.additionalOptionsPanel.TabIndex = 6;
     //
     // DdsSaveConfigWidget
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.Controls.Add(this.fileFormatList);
     this.Controls.Add(this.compressorTypePanel);
     this.Controls.Add(this.compressorTypeLabel);
     this.Controls.Add(this.errorMetricPanel);
     this.Controls.Add(this.errorMetricLabel);
     this.Controls.Add(this.additionalOptionsPanel);
     this.Controls.Add(this.additionalOptionsLabel);
     this.Name = "DdsSaveConfigWidget";
     this.compressorTypePanel.ResumeLayout(false);
     this.compressorTypePanel.PerformLayout();
     this.errorMetricPanel.ResumeLayout(false);
     this.errorMetricPanel.PerformLayout();
     this.additionalOptionsPanel.ResumeLayout(false);
     this.additionalOptionsPanel.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #21
0
        /// <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 PaintDotNet.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);

        }
コード例 #22
0
 /// <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 PaintDotNet.SaveConfigWidget();
     this.fileSizeText     = new System.Windows.Forms.Label();
     this.previewHeader    = new PaintDotNet.HeaderLabel();
     this.documentView     = new PaintDotNet.DocumentView();
     this.settingsHeader   = new PaintDotNet.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.Location  = new System.Drawing.Point(431, 319);
     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.Location  = new System.Drawing.Point(511, 319);
     this.baseCancelButton.Name      = "baseCancelButton";
     this.baseCancelButton.TabIndex  = 3;
     this.baseCancelButton.Click    += new System.EventHandler(this.BaseCancelButton_Click);
     //
     // saveConfigPanel
     //
     this.saveConfigPanel.AutoScroll = true;
     this.saveConfigPanel.Location   = new System.Drawing.Point(9, 29);
     this.saveConfigPanel.Name       = "saveConfigPanel";
     this.saveConfigPanel.Size       = new System.Drawing.Size(180, 239);
     this.saveConfigPanel.TabIndex   = 0;
     this.saveConfigPanel.TabStop    = true;
     //
     // defaultsButton
     //
     this.defaultsButton.Location = new System.Drawing.Point(101, 279);
     this.defaultsButton.Size     = new System.Drawing.Size(81, 23);
     this.defaultsButton.Name     = "defaultsButton";
     this.defaultsButton.TabIndex = 1;
     this.defaultsButton.Click   += new System.EventHandler(this.defaultsButton_Click);
     //
     // saveConfigWidget
     //
     this.saveConfigWidget.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.saveConfigWidget.Location = new System.Drawing.Point(0, 0);
     this.saveConfigWidget.Name     = "saveConfigWidget";
     this.saveConfigWidget.Size     = new System.Drawing.Size(176, 222);
     this.saveConfigWidget.TabIndex = 9;
     this.saveConfigWidget.Token    = null;
     //
     // fileSizeText
     //
     this.fileSizeText.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.fileSizeText.Location = new System.Drawing.Point(200, 306);
     this.fileSizeText.Name     = "fileSizeText";
     this.fileSizeText.Size     = new System.Drawing.Size(160, 16);
     this.fileSizeText.TabIndex = 8;
     //
     // previewHeader
     //
     this.previewHeader.Location    = new System.Drawing.Point(198, 8);
     this.previewHeader.Name        = "previewHeader";
     this.previewHeader.RightMargin = 0;
     this.previewHeader.Size        = new System.Drawing.Size(144, 14);
     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.Location           = new System.Drawing.Point(200, 29);
     this.documentView.Name               = "documentView";
     this.documentView.PanelAutoScroll    = true;
     this.documentView.RulersEnabled      = false;
     this.documentView.Size               = new System.Drawing.Size(385, 272);
     this.documentView.TabIndex           = 12;
     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.Location = new System.Drawing.Point(6, 8);
     this.settingsHeader.Name     = "settingsHeader";
     this.settingsHeader.Size     = new System.Drawing.Size(192, 14);
     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.ClientSize          = new System.Drawing.Size(592, 351);
     this.Controls.Add(this.defaultsButton);
     this.Controls.Add(this.settingsHeader);
     this.Controls.Add(this.previewHeader);
     this.Controls.Add(this.fileSizeText);
     this.Controls.Add(this.documentView);
     this.Controls.Add(this.saveConfigPanel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Sizable;
     this.MaximizeBox     = false;
     this.Name            = "SaveConfigDialog";
     this.SizeGripStyle   = System.Windows.Forms.SizeGripStyle.Show;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Controls.SetChildIndex(this.saveConfigPanel, 0);
     this.Controls.SetChildIndex(this.documentView, 0);
     this.Controls.SetChildIndex(this.fileSizeText, 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);
 }
コード例 #23
0
 private void InitializeComponent()
 {
     this.rangeFit = new System.Windows.Forms.RadioButton();
     this.clusterFit = new System.Windows.Forms.RadioButton();
     this.iterativeFit = new System.Windows.Forms.RadioButton();
     this.uniformMetric = new System.Windows.Forms.RadioButton();
     this.perceptualMetric = new System.Windows.Forms.RadioButton();
     this.generateMipMaps = new System.Windows.Forms.CheckBox();
     this.weightColourByAlpha = new System.Windows.Forms.CheckBox();
     this.fileFormatList = new System.Windows.Forms.ComboBox();
     this.compressorTypeLabel = new PaintDotNet.HeaderLabel();
     this.errorMetricLabel = new PaintDotNet.HeaderLabel();
     this.additionalOptionsLabel = new PaintDotNet.HeaderLabel();
     this.compressorTypePanel = new System.Windows.Forms.Panel();
     this.errorMetricPanel = new System.Windows.Forms.Panel();
     this.additionalOptionsPanel = new System.Windows.Forms.Panel();
     this.compressorTypePanel.SuspendLayout();
     this.errorMetricPanel.SuspendLayout();
     this.additionalOptionsPanel.SuspendLayout();
     this.SuspendLayout();
     // 
     // rangeFit
     // 
     this.rangeFit.AutoSize = false;
     this.rangeFit.Name = "rangeFit";
     this.rangeFit.TabIndex = 0;
     this.rangeFit.TabStop = true;
     this.rangeFit.Text = PdnResources.GetString("DdsFileType.SaveConfigWidget.RangeFit.Text"); // "Range fit (Fast/LQ)"
     this.rangeFit.UseVisualStyleBackColor = true;
     this.rangeFit.CheckedChanged += new System.EventHandler(this.rangeFit_CheckedChanged);
     this.rangeFit.FlatStyle = FlatStyle.System;
     // 
     // clusterFit
     // 
     this.clusterFit.AutoSize = false;
     this.clusterFit.Name = "clusterFit";
     this.clusterFit.TabIndex = 1;
     this.clusterFit.TabStop = true;
     this.clusterFit.Text = PdnResources.GetString("DdsFileType.SaveConfigWidget.ClusterFit.Text"); // "Cluster fit (Slow/HQ)"
     this.clusterFit.UseVisualStyleBackColor = true;
     this.clusterFit.CheckedChanged += new System.EventHandler(this.clusterFit_CheckedChanged);
     this.clusterFit.FlatStyle = FlatStyle.System;
     // 
     // iterativeFit
     // 
     this.iterativeFit.AutoSize = false;
     this.iterativeFit.Name = "iterativeFit";
     this.iterativeFit.TabIndex = 2;
     this.iterativeFit.TabStop = true;
     this.iterativeFit.Text = PdnResources.GetString("DdsFileType.SaveConfigWidget.IterativeFit.Text"); // "Iterative fit (Slowest/HQ)";
     this.iterativeFit.UseVisualStyleBackColor = true;
     this.iterativeFit.CheckedChanged += new System.EventHandler(this.iterativeFit_CheckedChanged);
     this.iterativeFit.FlatStyle = FlatStyle.System;
     // 
     // uniformMetric
     // 
     this.uniformMetric.AutoSize = false;
     this.uniformMetric.Name = "uniformMetric";
     this.uniformMetric.TabIndex = 0;
     this.uniformMetric.TabStop = true;
     this.uniformMetric.Text = PdnResources.GetString("DdsFileType.SaveConfigWidget.Uniform.Text"); // "Uniform";
     this.uniformMetric.UseVisualStyleBackColor = true;
     this.uniformMetric.CheckedChanged += new System.EventHandler(this.uniformMetric_CheckedChanged);
     this.uniformMetric.FlatStyle = FlatStyle.System;
     // 
     // perceptualMetric
     // 
     this.perceptualMetric.AutoSize = false;
     this.perceptualMetric.Name = "perceptualMetric";
     this.perceptualMetric.TabIndex = 1;
     this.perceptualMetric.TabStop = true;
     this.perceptualMetric.Text = PdnResources.GetString("DdsFileType.SaveConfigWidget.Perceptual.Text"); // "Perceptual";
     this.perceptualMetric.UseVisualStyleBackColor = true;
     this.perceptualMetric.CheckedChanged += new System.EventHandler(this.perceptualMetric_CheckedChanged);
     this.perceptualMetric.FlatStyle = FlatStyle.System;
     // 
     // generateMipMaps
     // 
     this.generateMipMaps.AutoSize = false;
     this.generateMipMaps.Name = "generateMipMaps";
     this.generateMipMaps.TabIndex = 1;
     this.generateMipMaps.Text = PdnResources.GetString("DdsFileType.SaveConfigWidget.GenerateMipMaps.Text"); // "Generate Mip Maps";
     this.generateMipMaps.UseVisualStyleBackColor = true;
     this.generateMipMaps.CheckedChanged += new System.EventHandler(this.generateMipLevels_CheckedChanged);
     this.generateMipMaps.FlatStyle = FlatStyle.System;  
     // 
     // weightColourByAlpha
     // 
     this.weightColourByAlpha.AutoSize = false;
     this.weightColourByAlpha.Name = "weightColourByAlpha";
     this.weightColourByAlpha.TabIndex = 0;
     this.weightColourByAlpha.Text = PdnResources.GetString("DdsFileType.SaveConfigWidget.WeightColourByAlpha"); // "Weight Colour By Alpha";
     this.weightColourByAlpha.UseVisualStyleBackColor = true;
     this.weightColourByAlpha.CheckedChanged += new System.EventHandler(this.weightColourByAlpha_CheckedChanged);
     this.weightColourByAlpha.FlatStyle = FlatStyle.System;
     // 
     // fileFormatList
     // 
     this.fileFormatList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.fileFormatList.FormattingEnabled = true;
     this.fileFormatList.Items.AddRange(new object[] {
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.DXT1"),     // "DXT1 (Opaque/1-bit Alpha)",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.DXT3"),     // "DXT3 (Explicit Alpha)",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.DXT5"),     // "DXT5 (Interpolated Alpha)",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.A8R8G8B8"), // "A8R8G8B8",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.X8R8G8B8"), // "X8R8G8B8",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.A8B8G8R8"), // "A8B8G8R8",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.X8B8G8R8"), // "X8B8G8R8",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.A1R5G5B5"), // "A1R5G5B5",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.A4R4G4B4"), // "A4R4G4B4",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.R8G8B8"),   // "R8G8B8",
         PdnResources.GetString("DdsFileType.SaveConfigWidget.FileFormatList.R5G6B5")    // "R5G6B5"
     });
     this.fileFormatList.Name = "fileFormatList";
     this.fileFormatList.TabIndex = 0;
     this.fileFormatList.SelectedIndexChanged += new System.EventHandler(this.fileFormatList_SelectedIndexChanged);
     this.fileFormatList.FlatStyle = FlatStyle.System;
     // 
     // compressorTypeLabel
     // 
     this.compressorTypeLabel.Name = "compressorTypeLabel";
     this.compressorTypeLabel.RightMargin = 0;
     this.compressorTypeLabel.TabIndex = 1;
     this.compressorTypeLabel.TabStop = false;
     this.compressorTypeLabel.Text = PdnResources.GetString("DdsFileType.SaveConfigWidget.CompressorTypeLabel.Text"); // "Compressor Type";
     // 
     // errorMetricLabel
     // 
     this.errorMetricLabel.Name = "errorMetricLabel";
     this.errorMetricLabel.RightMargin = 0;
     this.errorMetricLabel.TabIndex = 3;
     this.errorMetricLabel.TabStop = false;
     this.errorMetricLabel.Text = PdnResources.GetString("DdsFileType.SaveConfigWidget.ErrorMetricLabel.Text"); // "Error Metric";
     // 
     // additionalOptionsLabel
     // 
     this.additionalOptionsLabel.Name = "additionalOptionsLabel";
     this.additionalOptionsLabel.RightMargin = 0;
     this.additionalOptionsLabel.TabIndex = 5;
     this.additionalOptionsLabel.TabStop = false;
     this.additionalOptionsLabel.Text = PdnResources.GetString("DdsFileType.SaveConfigWidget.AdditionalOptions.Text"); // "Additional Options";
     // 
     // compressorTypePanel
     // 
     this.compressorTypePanel.Controls.Add(this.rangeFit);
     this.compressorTypePanel.Controls.Add(this.clusterFit);
     this.compressorTypePanel.Controls.Add(this.iterativeFit);
     this.compressorTypePanel.Name = "compressorTypePanel";
     this.compressorTypePanel.TabIndex = 2;
     // 
     // errorMetricPanel
     // 
     this.errorMetricPanel.Controls.Add(this.uniformMetric);
     this.errorMetricPanel.Controls.Add(this.perceptualMetric);
     this.errorMetricPanel.Name = "errorMetricPanel";
     this.errorMetricPanel.TabIndex = 4;
     // 
     // additionalOptionsPanel
     // 
     this.additionalOptionsPanel.Controls.Add(this.generateMipMaps);
     this.additionalOptionsPanel.Controls.Add(this.weightColourByAlpha);
     this.additionalOptionsPanel.Name = "additionalOptionsPanel";
     this.additionalOptionsPanel.TabIndex = 6;
     // 
     // DdsSaveConfigWidget
     // 
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.Controls.Add(this.fileFormatList);
     this.Controls.Add(this.compressorTypePanel);
     this.Controls.Add(this.compressorTypeLabel);
     this.Controls.Add(this.errorMetricPanel);
     this.Controls.Add(this.errorMetricLabel);
     this.Controls.Add(this.additionalOptionsPanel);
     this.Controls.Add(this.additionalOptionsLabel);
     this.Name = "DdsSaveConfigWidget";
     this.compressorTypePanel.ResumeLayout(false);
     this.compressorTypePanel.PerformLayout();
     this.errorMetricPanel.ResumeLayout(false);
     this.errorMetricPanel.PerformLayout();
     this.additionalOptionsPanel.ResumeLayout(false);
     this.additionalOptionsPanel.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #24
0
 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(450, 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.Sizable;
     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();
 }
コード例 #25
0
 /// <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 PaintDotNet.SaveConfigWidget();
     this.previewHeader    = new PaintDotNet.HeaderLabel();
     this.documentView     = new PaintDotNet.DocumentView();
     this.settingsHeader   = new PaintDotNet.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.RulersEnabled      = false;
     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);
 }