public override void ViewDidLoad() { base.ViewDidLoad(); string contentText = SettingsPage5ViewModel.SETTINGS_PAGE_5_CONTENT + " " + SettingsPage5ViewModel.SETTINGS_PAGE_5_LINK; HeaderLabel.SetAttributedText(SettingsPage5ViewModel.SETTINGS_PAGE_5_HEADER); HeaderLabel.AccessibilityTraits = UIAccessibilityTrait.Header; InitTextViewWithSpacing(ContentText, FontType.FontRegular, contentText, 1.28, 16, 22); /* Necessary to unify horizontal alignment due to bug in iOS ** https://stackoverflow.com/questions/746670/how-to-lose-margin-padding-in-uitextview */ ContentText.ContentInset = UIEdgeInsets.Zero; ContentText.TextContainerInset = UIEdgeInsets.Zero; ContentText.TextContainer.LineFragmentPadding = 0; ContentText.AccessibilityTraits = UIAccessibilityTrait.Link; ContentText.WeakDelegate = new OpenTextViewUrlInWebviewDelegate(this); //ForegroundColor sets the color of the links. UnderlineStyle determins if the link is underlined, 0 without underline 1 with underline. ContentText.WeakLinkTextAttributes = new NSDictionary(UIStringAttributeKey.ForegroundColor, ColorHelper.LINK_COLOR, UIStringAttributeKey.UnderlineStyle, new NSNumber(1)); InitLabelWithSpacing(BuildVersionLbl, FontType.FontRegular, SettingsPage5ViewModel.GetVersionInfo(), 1.14, 14, 16); BackButton.AccessibilityLabel = SettingsViewModel.BACK_BUTTON_ACCESSIBILITY_TEXT; ContentText.IsAccessibilityElement = true; ContentText.ScrollEnabled = false; InitAccessibilityStatementButton(); SetupStyling(); }
void IDeviceSpecificDesigner.InitHeader(int mergingContext) { HeaderPanel panel = new HeaderPanel(); HeaderLabel lblDescription = new HeaderLabel(); lblDescription.TabIndex = 0; lblDescription.Height = 24; lblDescription.Width = 204; panel.Height = 28; panel.Width = 204; panel.Controls.Add(lblDescription); switch (mergingContext) { case MobileControlDesigner.MergingContextTemplates: { lblDescription.Text = SR.GetString(SR.TemplateableDesigner_SettingTemplatingChoiceDescription); break; } default: { lblDescription.Text = SR.GetString(SR.TemplateableDesigner_SettingGenericChoiceDescription); break; } } _header = panel; }
public BooleanCheckBoxPropertyControl(PropertyControlInfo propInfo) : base(propInfo) { SuspendLayout(); this.header = new HeaderLabel(); this.header.Name = "header"; this.header.RightMargin = 0; this.header.Text = this.DisplayName; this.checkBox = new CheckBox(); this.checkBox.Name = "checkBox"; this.checkBox.CheckedChanged += new EventHandler(CheckBox_CheckedChanged); this.checkBox.FlatStyle = FlatStyle.System; this.checkBox.Text = string.IsNullOrEmpty(this.Description) ? this.DisplayName : this.Description; this.Controls.AddRange( new Control[] { this.header, this.checkBox }); ResumeLayout(false); }
void SetTexts() { HeaderLabel.SetAttributedText(SettingsPage2ViewModel.SETTINGS_PAGE_2_HEADER); InitLabel(IntroLabel, FontType.FontRegular, SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_INTRO, 16, 20); InitLabel(Header1Label, FontType.FontBold, SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_1_TITLE, 16, 20); InitLabel(Paragraph1Label1, FontType.FontRegular, SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_1_CONTENT, 16, 20); InitLabel(Paragraph1Label2, FontType.FontRegular, SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_1_CONTENT2, 16, 20); InitLabel(Header2Label, FontType.FontBold, SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_2_TITLE, 16, 20); InitLabel(Paragraph2Label1, FontType.FontRegular, SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_2_CONTENT, 16, 20); InitLabel(Paragraph2Label2, FontType.FontRegular, SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_2_CONTENT2, 16, 20); InitLabel(Paragraph2Label3, FontType.FontRegular, SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_2_CONTENT3, 16, 20); InitLabel(Paragraph2Label4, FontType.FontRegular, SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_2_CONTENT4, 16, 20); InitLabel(Header3Label, FontType.FontBold, SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_3_TITLE, 16, 20); InitLabel(Paragraph3Label1, FontType.FontRegular, SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_3_CONTENT, 16, 20); InitLabel(Header4Label, FontType.FontBold, SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_4_TITLE, 16, 20); InitLabel(Paragraph4Label1, FontType.FontRegular, SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_4_CONTENT, 16, 20); InitLabel(Paragraph4Label2, FontType.FontRegular, SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_4_CONTENT2, 16, 20); HeaderLabel.AccessibilityTraits = UIAccessibilityTrait.Header; Header1Label.AccessibilityTraits = UIAccessibilityTrait.Header; Header2Label.AccessibilityTraits = UIAccessibilityTrait.Header; Header3Label.AccessibilityTraits = UIAccessibilityTrait.Header; Header4Label.AccessibilityTraits = UIAccessibilityTrait.Header; NSMutableAttributedString text = new NSMutableAttributedString(); text.Append(ApplyStylingToText(SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_4_CONTENT3, FontType.FontRegular)); // Necessary to unify horizontal alignment with the rest of the text on the page Paragraph4Label3.TextContainerInset = UIEdgeInsets.Zero; Paragraph4Label3.TextContainer.LineFragmentPadding = 0; Paragraph4Label3.AccessibilityTraits = UIAccessibilityTrait.Link; Paragraph4Label3.WeakDelegate = new OpenTextViewUrlInWebviewDelegate(this); Paragraph4Label3.AttributedText = text; Paragraph4Label3.WeakLinkTextAttributes = new NSDictionary( UIStringAttributeKey.ForegroundColor, ColorHelper.LINK_COLOR, UIStringAttributeKey.UnderlineStyle, new NSNumber(1)); //Accessibility BackButton.AccessibilityLabel = SettingsViewModel.BACK_BUTTON_ACCESSIBILITY_TEXT; HeaderLabel.AccessibilityAttributedLabel = AccessibilityUtils.RemovePoorlySpokenSymbols(SettingsPage2ViewModel.SETTINGS_PAGE_2_HEADER); Header1Label.AccessibilityLabel = AccessibilityUtils.RemovePoorlySpokenSymbolsString(SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_1_TITLE); Paragraph1Label1.AccessibilityLabel = AccessibilityUtils.RemovePoorlySpokenSymbolsString(SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_1_CONTENT); Paragraph1Label2.AccessibilityLabel = AccessibilityUtils.RemovePoorlySpokenSymbolsString(SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_1_CONTENT2); Header2Label.AccessibilityLabel = AccessibilityUtils.RemovePoorlySpokenSymbolsString(SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_2_TITLE); Paragraph2Label1.AccessibilityLabel = AccessibilityUtils.RemovePoorlySpokenSymbolsString(SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_2_CONTENT); Paragraph2Label2.AccessibilityLabel = AccessibilityUtils.RemovePoorlySpokenSymbolsString(SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_2_CONTENT2); Paragraph2Label3.AccessibilityLabel = AccessibilityUtils.RemovePoorlySpokenSymbolsString(SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_2_CONTENT3); Paragraph2Label4.AccessibilityLabel = AccessibilityUtils.RemovePoorlySpokenSymbolsString(SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_2_CONTENT4); Header3Label.AccessibilityLabel = AccessibilityUtils.RemovePoorlySpokenSymbolsString(SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_3_TITLE); Paragraph3Label1.AccessibilityLabel = AccessibilityUtils.RemovePoorlySpokenSymbolsString(SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_3_CONTENT); Header4Label.AccessibilityLabel = AccessibilityUtils.RemovePoorlySpokenSymbolsString(SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_4_TITLE); Paragraph4Label1.AccessibilityLabel = AccessibilityUtils.RemovePoorlySpokenSymbolsString(SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_4_CONTENT); Paragraph4Label2.AccessibilityLabel = AccessibilityUtils.RemovePoorlySpokenSymbolsString(SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_4_CONTENT2); Paragraph4Label3.AccessibilityIdentifier = "contentTextIdentifier"; Paragraph4Label3.IsAccessibilityElement = true; }
private void initCompression(ToolTip toolTip, TableLayoutPanel main) { HeaderLabel colorHeader = newHeader("Compression settings"); main.Controls.Add(colorHeader); TableLayoutPanel lz77Comp = new TableLayoutPanel { Dock = DockStyle.Fill, AutoSize = true, Margin = secondIndent }; lz77CompLabel = new Label { Anchor = AnchorStyles.Left, AutoSize = true, Text = "&LZ77 Compressed:", Margin = Padding.Empty }; lz77Comp.Controls.Add(lz77CompLabel, 0, 0); lz77CompCheckBox = new CheckBox { Width = NUD_WIDTH, Margin = Padding.Empty }; lz77CompCheckBox.CheckedChanged += tokenChanged; lz77Comp.Controls.Add(lz77CompCheckBox, 1, 0); main.Controls.Add(lz77Comp); }
internal MergedUI() { this.LblStyles = new System.Windows.Forms.Label(); this.CbStyles = new System.Windows.Forms.ComboBox(); this.BtnEdit = new System.Windows.Forms.Button(); this.LblHeader = new HeaderLabel(); // this.LblStyles.Anchor = ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) // | System.Windows.Forms.AnchorStyles.Right); this.LblStyles.Location = new System.Drawing.Point(0, 24); this.LblStyles.Size = new System.Drawing.Size(160, 16); // this.CbStyles.Anchor = ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) // | System.Windows.Forms.AnchorStyles.Right); this.CbStyles.DropDownWidth = 124; this.CbStyles.Location = new System.Drawing.Point(0, 40); this.CbStyles.Size = new System.Drawing.Size(160, 21); // this.BtnEdit.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.BtnEdit.Location = new System.Drawing.Point(164, 39); this.BtnEdit.Size = new System.Drawing.Size(75, 23); this.LblHeader.Location = new System.Drawing.Point(0, 0); this.LblHeader.Size = new System.Drawing.Size(240, 16); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.CbStyles, this.LblStyles, this.BtnEdit, this.LblHeader }); this.Size = new System.Drawing.Size(240, 70); this.Location = new System.Drawing.Point(5, 6); }
void ReleaseDesignerOutlets() { if (Calendar != null) { Calendar.Dispose(); Calendar = null; } if (HeaderLabel != null) { HeaderLabel.Dispose(); HeaderLabel = null; } if (TodayButton != null) { TodayButton.Dispose(); TodayButton = null; } if (ViewModePicker != null) { ViewModePicker.Dispose(); ViewModePicker = null; } }
public Int32IncrementButtonPropertyControl(PropertyControlInfo propInfo) : base(propInfo) { SuspendLayout(); this.header = new HeaderLabel(); this.header.Name = "header"; this.header.Text = this.DisplayName; this.header.RightMargin = 0; this.incrementButton = new Button(); this.incrementButton.Name = "incrementButton"; this.incrementButton.AutoSize = true; this.incrementButton.FlatStyle = FlatStyle.System; this.incrementButton.Text = (string)propInfo.ControlProperties[ControlInfoPropertyNames.ButtonText].Value; this.incrementButton.Click += new EventHandler(IncrementButton_Click); this.descriptionText = new Label(); this.descriptionText.Name = "descriptionText"; this.descriptionText.AutoSize = false; this.descriptionText.Text = this.Description; this.Controls.AddRange( new Control[] { this.header, this.incrementButton, this.descriptionText }); ResumeLayout(false); PerformLayout(); }
void ReleaseDesignerOutlets() { if (BackButton != null) { BackButton.Dispose(); BackButton = null; } if (ContentText != null) { ContentText.Dispose(); ContentText = null; } if (CustomView != null) { CustomView.Dispose(); CustomView = null; } if (HeaderLabel != null) { HeaderLabel.Dispose(); HeaderLabel = null; } if (ScrollView != null) { ScrollView.Dispose(); ScrollView = null; } }
void ReleaseDesignerOutlets() { if (BackButton != null) { BackButton.Dispose(); BackButton = null; } if (ButtonView != null) { ButtonView.Dispose(); ButtonView = null; } if (ContentText != null) { ContentText.Dispose(); ContentText = null; } if (HeaderLabel != null) { HeaderLabel.Dispose(); HeaderLabel = null; } if (UrlLabel != null) { UrlLabel.Dispose(); UrlLabel = null; } }
public StringTextBoxPropertyControl(PropertyControlInfo propInfo) : base(propInfo) { SuspendLayout(); this.header = new HeaderLabel(); this.textBox = new TextBox(); this.description = new Label(); this.header.Name = "header"; this.header.Text = DisplayName; this.header.RightMargin = 0; this.description.Name = "description"; this.description.Text = this.Description; this.textBox.Name = "textBox"; this.textBox.TextChanged += new EventHandler(TextBox_TextChanged); this.textBox.MaxLength = Property.MaxLength; this.baseTextBoxHeight = this.textBox.Height; this.Multiline = (bool)propInfo.ControlProperties[ControlInfoPropertyNames.Multiline].Value; this.Controls.AddRange( new Control[] { this.header, this.textBox, this.description }); ResumeLayout(false); }
private void initColors(ToolTip toolTip, TableLayoutPanel main) { HeaderLabel colorHeader = newHeader("Color settings"); main.Controls.Add(colorHeader); palette = createBaseRadioBtn(); palette.Text = "&Palette"; palette.Margin = firstIndent; toolTip.SetToolTip(palette, "No more than 256 distinct colors"); palette.CheckedChanged += tokenChanged; main.Controls.Add(palette); TableLayoutPanel dithering = new TableLayoutPanel { Dock = DockStyle.Fill, AutoSize = true, Margin = secondIndent }; ditheringLabel = new Label { Anchor = AnchorStyles.Left, AutoSize = true, Text = "&Dithering level:", Margin = Padding.Empty }; dithering.Controls.Add(ditheringLabel, 0, 0); ditheringLevel = new NumericUpDown { Width = NUD_WIDTH, Margin = Padding.Empty, Maximum = 8 }; ditheringLevel.ValueChanged += tokenChanged; dithering.Controls.Add(ditheringLevel, 1, 0); transThreshLabel = new Label { Anchor = AnchorStyles.Left, AutoSize = true, Text = "&Transparency threshold:", Margin = Padding.Empty }; dithering.Controls.Add(transThreshLabel, 0, 1); transThresh = new NumericUpDown { Width = NUD_WIDTH, Margin = new Padding(0, 3, 0, 0), Maximum = 255 }; toolTip.SetToolTip(transThresh, "Pixels with an alpha value less than the threshold will be fully transparent."); transThresh.ValueChanged += tokenChanged; dithering.Controls.Add(transThresh, 1, 1); main.Controls.Add(dithering); }
/// <summary> /// Appends a heading with the specified text. /// </summary> /// <param name="htmlText">An <see cref="IHtmlText"/> representing the HTML control.</param> /// <param name="text">A <see cref="String"/> representing the text to append.</param> public static void AppendHeading(this IHtmlText htmlText, string text) { var label = new HeaderLabel() { Text = text, }; htmlText.Items.Add(label); }
/// <summary> /// Appends a secondary sub heading with the specified text. /// </summary> /// <param name="htmlText">An <see cref="IHtmlText"/> representing the HTML control.</param> /// <param name="text">A <see cref="String"/> representing the text to append.</param> public static void AppendSecondarySubHeading(this IHtmlText htmlText, string text) { var label = new HeaderLabel() { Text = text, Style = { HeaderLevel = 4, }, }; htmlText.Items.Add(label); }
public override void DidReceiveMemoryWarning() { Calendar.RemoveFromSuperview(); HeaderLabel.RemoveFromSuperview(); TodayButton.RemoveFromSuperview(); ViewModePicker.RemoveFromSuperview(); ReleaseDesignerOutlets(); base.DidReceiveMemoryWarning(); }
private void initCompression(ToolTip toolTip, TableLayoutPanel main) { HeaderLabel compressionHeader = newHeader(L10nStrings.Compression); main.Controls.Add(compressionHeader); optimize = createBaseChkBox(); optimize.Text = L10nStrings.Optimize; optimize.Margin = firstIndent; toolTip.SetToolTip(optimize, L10nStrings.OptimizeDescription); optimize.CheckedChanged += tokenChanged; main.Controls.Add(optimize); TableLayoutPanel compressionPanel = new TableLayoutPanel { Dock = DockStyle.Fill, AutoSize = true, Margin = firstIndent }; compression = new NumericUpDown { Width = NUD_WIDTH, Maximum = 7, Minimum = 1, Margin = Padding.Empty }; toolTip.SetToolTip(compression, L10nStrings.CompressionDescription); compression.ValueChanged += tokenChanged; compression.ValueChanged += compression_ValueChanged; compressionPanel.Controls.Add(compression, 0, 0); compressionComment = new Label { Anchor = AnchorStyles.Left, AutoSize = true, Margin = Padding.Empty }; compressionPanel.Controls.Add(compressionComment, 1, 0); main.Controls.Add(compressionPanel); interlace = createBaseChkBox(); interlace.Text = L10nStrings.Interlace; interlace.Margin = firstIndent; toolTip.SetToolTip(interlace, L10nStrings.InterlaceDescription); interlace.CheckedChanged += tokenChanged; main.Controls.Add(interlace); quiet = createBaseChkBox(); quiet.Text = L10nStrings.QuietMode; quiet.Margin = firstIndent; toolTip.SetToolTip(quiet, L10nStrings.QuietModeDescription); quiet.CheckedChanged += tokenChanged; main.Controls.Add(quiet); }
public AngleChooserPropertyControl(PropertyControlInfo propInfo) : base(propInfo) { DoubleProperty doubleProp = (DoubleProperty)propInfo.Property; if (!((doubleProp.MinValue == -180 && doubleProp.MaxValue == +180) || (doubleProp.MinValue == 0 && doubleProp.MaxValue == 360))) { throw new ArgumentException("Only two min/max ranges are allowed for the AngleChooser control type: [-180, +180] and [0, 360]"); } this.header = new HeaderLabel(); this.header.Name = "header"; this.header.RightMargin = 0; this.header.Text = this.DisplayName; this.angleChooser = new AngleChooserControl(); this.angleChooser.Name = "angleChooser"; this.angleChooser.ValueChanged += new EventHandler(AngleChooser_ValueChanged); this.valueNud = new NumericUpDown(); this.valueNud.Name = "numericUpDown"; this.valueNud.Minimum = (decimal)Property.MinValue; this.valueNud.Maximum = (decimal)Property.MaxValue; this.valueNud.DecimalPlaces = 2; this.valueNud.ValueChanged += new EventHandler(ValueNud_ValueChanged); this.valueNud.TextAlign = HorizontalAlignment.Right; this.resetButton = new Button(); this.resetButton.Name = "resetButton"; this.resetButton.FlatStyle = FlatStyle.Standard; this.resetButton.Click += new EventHandler(ResetButton_Click); this.resetButton.Image = PdnResources.GetImageResource("Icons.ResetIcon.png").Reference; this.resetButton.Visible = (bool)propInfo.ControlProperties[ControlInfoPropertyNames.ShowResetButton].Value; this.ToolTip.SetToolTip(this.resetButton, PdnResources.GetString("Form.ResetButton.Text").Replace("&", "")); this.description = new Label(); this.description.Name = "descriptionText"; this.description.AutoSize = false; this.description.Text = this.Description; SuspendLayout(); this.Controls.AddRange( new Control[] { this.header, this.angleChooser, this.valueNud, this.resetButton, this.description }); ResumeLayout(false); PerformLayout(); }
void ReleaseDesignerOutlets() { if (AttackButton != null) { AttackButton.Dispose(); AttackButton = null; } if (BackgroundView != null) { BackgroundView.Dispose(); BackgroundView = null; } if (CancelButton != null) { CancelButton.Dispose(); CancelButton = null; } if (CountButton != null) { CountButton.Dispose(); CountButton = null; } if (DamageButton != null) { DamageButton.Dispose(); DamageButton = null; } if (HeaderLabel != null) { HeaderLabel.Dispose(); HeaderLabel = null; } if (HeaderView != null) { HeaderView.Dispose(); HeaderView = null; } if (OKButton != null) { OKButton.Dispose(); OKButton = null; } if (PlusButton != null) { PlusButton.Dispose(); PlusButton = null; } }
void ReleaseDesignerOutlets() { if (AddDieButton != null) { AddDieButton.Dispose(); AddDieButton = null; } if (BackgroundView != null) { BackgroundView.Dispose(); BackgroundView = null; } if (CancelButton != null) { CancelButton.Dispose(); CancelButton = null; } if (DieTableView != null) { DieTableView.Dispose(); DieTableView = null; } if (HeaderLabel != null) { HeaderLabel.Dispose(); HeaderLabel = null; } if (HeaderView != null) { HeaderView.Dispose(); HeaderView = null; } if (ModButton != null) { ModButton.Dispose(); ModButton = null; } if (ModView != null) { ModView.Dispose(); ModView = null; } if (OKButton != null) { OKButton.Dispose(); OKButton = null; } }
public void OpenPostRoundMenu() { SetClass("fade-in", true); ContainerPanel.SetClass("pop-in", true); ContentLabel.UpdateTranslation(new TranslationData("WIN.DESCRIPTION")); HeaderLabel.UpdateTranslation(new TranslationData(Utils.GetTranslationKey(_stats.WinningTeam, "WIN"))); HeaderLabel.Style.FontColor = _stats.WinningColor; }
private void SetTexts() { HeaderLabel.SetAttributedText(HEADER_TEXT); BodyText1.SetAttributedText(CONSENT3_BODYTEXT_1); StyleUtil.InitLabel(ShareHeader, StyleUtil.FontType.FontBold, CONSENT3_SHAREDATA_HEADER, 16, 22); BodyText2.SetAttributedText(CONSENT3_BODYTEXT_2); ConsentEU_Explanation.SetAttributedText(CONSENT3_EU_CONSENT_BUTTON_BODYTEXT); Consent_onlyNorway_Explanation.SetAttributedText(CONSENT3_ONLY_NORWAY_CONSENT_BUTTON_BODYTEXT); StyleUtil.InitLabel(ConsentText, StyleUtil.FontType.FontItalic, CONSENT3_CONSENTTOSHARE, 16, 22); }
private void SetTexts() { HeaderLabel.SetAttributedText(InformationAndConsentViewModel.INFORMATION_CONSENT_HEADER_TEXT); DescriptionLabel.SetAttributedText(InformationAndConsentViewModel.INFOCONSENT_DESCRIPTION); LookUp_Header.SetAttributedText(InformationAndConsentViewModel.INFOCONSENT_LOOKUP_HEADER, StyleUtil.FontType.FontBold); LookUp_Text.SetAttributedText(InformationAndConsentViewModel.INFOCONSENT_LOOKUP_TEXT); Notification_Header.SetAttributedText(InformationAndConsentViewModel.INFOCONSENT_NOTIFICATION_HEADER, StyleUtil.FontType.FontBold); Notification_Text.SetAttributedText(InformationAndConsentViewModel.INFOCONSENT_NOTIFICATION_TEXT); Consent_BeAware_Text.SetAttributedText(InformationAndConsentViewModel.INFOCONSENT_CONSENT_BEAWARE_TEXT); Consent_Explanation_Text.SetAttributedText(InformationAndConsentViewModel.INFOCONSENT_CONSENT_EXPLANATION_TEXT, StyleUtil.FontType.FontItalic); }
void IDeviceSpecificDesigner.InitHeader(int mergingContext) { HeaderPanel panel = new HeaderPanel(); HeaderLabel lblDescription = new HeaderLabel(); lblDescription.TabIndex = 0; lblDescription.Text = SR.GetString(SR.MobileControl_SettingGenericChoiceDescription); panel.Height = lblDescription.Height; panel.Width = lblDescription.Width; panel.Controls.Add(lblDescription); _header = panel; }
protected override void SetupLayoutConstraints() { base.SetupLayoutConstraints(); this.SubviewsDoNotTranslateAutoresizingMaskIntoConstraints(); this.AddConstraints( HeaderLabel.WithSameCenterX(this), HeaderLabel.WithSameCenterY(this)); this.AddConstraints( NextButton.Below(HeaderLabel, 24), NextButton.WithSameCenterX(this)); }
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(); }
void SetTexts() { string intro = SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_INTRO; string par1Title = SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_1_TITLE; string par1Content = SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_1_CONTENT; string par2Title = SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_2_TITLE; string par2Content = SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_2_CONTENT; string par3Title = SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_3_TITLE; string par3Content = SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_3_CONTENT; string contentText = SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_INTRO + SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_1_TITLE + SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_1_CONTENT + SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_2_TITLE + SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_2_CONTENT + SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_3_TITLE + SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_3_CONTENT; HeaderLabel.SetAttributedText(SettingsPage2ViewModel.SETTINGS_PAGE_2_HEADER); ContentText.TextContainerInset = new UIEdgeInsets(0, 20, 20, 40); BackButton.AccessibilityLabel = SettingsViewModel.SETTINGS_CHILD_PAGE_ACCESSIBILITY_BACK_BUTTON; NSMutableAttributedString text = new NSMutableAttributedString(); text.Append(ApplyStylingToText(intro, FontType.FontRegular)); text.Append(ApplyStylingToText(par1Title, FontType.FontBold)); text.Append(ApplyStylingToText(par1Content, FontType.FontRegular)); text.Append(ApplyStylingToText(par2Title, FontType.FontBold)); text.Append(ApplyStylingToText(par2Content, FontType.FontRegular)); text.Append(ApplyStylingToText(par3Title, FontType.FontBold)); text.Append(ApplyStylingToText(par3Content, FontType.FontRegular)); ContentText.WeakDelegate = new OpenTextViewUrlInWebviewDelegate(this); ContentText.AttributedText = text; ContentText.WeakLinkTextAttributes = new NSDictionary( UIStringAttributeKey.ForegroundColor, ColorHelper.TEXT_COLOR_ON_BACKGROUND, UIStringAttributeKey.UnderlineStyle, new NSNumber(1)); //Accessibility HeaderLabel.AccessibilityAttributedLabel = AccessibilityUtils.RemovePoorlySpokenSymbols(SettingsPage2ViewModel.SETTINGS_PAGE_2_HEADER); ContentText.AccessibilityLabel = AccessibilityUtils.RemovePoorlySpokenSymbolsString(contentText); ContentText.AccessibilityIdentifier = "contentTextIdentifier"; ContentText.IsAccessibilityElement = true; }
void SetTexts() { string intro = SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_INTRO; string par1Title = SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_1_TITLE; string par1Content = SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_1_CONTENT; string par2Title = SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_2_TITLE; string par2Content = SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_2_CONTENT; string par3Title = SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_3_TITLE; string par3Content = SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_3_CONTENT; string par4Title = SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_4_TITLE; string par4Content = SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_4_CONTENT; string contentText = SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_INTRO + SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_1_TITLE + SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_1_CONTENT + SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_2_TITLE + SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_2_CONTENT + SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_3_TITLE + SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_3_CONTENT + SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_4_TITLE + SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_4_CONTENT; HeaderLabel.SetAttributedText(SettingsPage2ViewModel.SETTINGS_PAGE_2_HEADER); ContentText.TextContainerInset = new UIEdgeInsets(0, 20, 20, 40); BackButton.AccessibilityLabel = SettingsViewModel.SETTINGS_CHILD_PAGE_ACCESSIBILITY_BACK_BUTTON; InitLabel(UrlLabel, FontType.FontRegular, SettingsPage2ViewModel.SETTINGS_PAGE_2_CONTENT_TEXT_PARAGRAPH_4_LINK_TEXT, 16, 28); NSMutableAttributedString text = new NSMutableAttributedString(); text.Append(ApplyStylingToText(intro, FontType.FontRegular, 1.28, 16, 22, false)); text.Append(ApplyStylingToText(par1Title, FontType.FontBold, 1.28, 16, 22, false)); text.Append(ApplyStylingToText(par1Content, FontType.FontRegular, 1.28, 16, 22, false)); text.Append(ApplyStylingToText(par2Title, FontType.FontBold, 1.28, 16, 22, false)); text.Append(ApplyStylingToText(par2Content, FontType.FontRegular, 1.28, 16, 22, false)); text.Append(ApplyStylingToText(par3Title, FontType.FontBold, 1.28, 16, 22, false)); text.Append(ApplyStylingToText(par3Content, FontType.FontRegular, 1.28, 16, 22, false)); text.Append(ApplyStylingToText(par4Title, FontType.FontBold, 1.28, 16, 22, false)); text.Append(ApplyStylingToText(par4Content, FontType.FontRegular, 1.28, 16, 22, false)); ContentText.AttributedText = text; //Accessibility HeaderLabel.AccessibilityAttributedLabel = AccessibilityUtils.RemovePoorlySpokenSymbols(SettingsPage2ViewModel.SETTINGS_PAGE_2_HEADER); ContentText.AccessibilityLabel = AccessibilityUtils.RemovePoorlySpokenSymbolsString(contentText); ContentText.AccessibilityIdentifier = "contentTextIdentifier"; ContentText.IsAccessibilityElement = true; }
void ReleaseDesignerOutlets() { if (HttpPrefixLabel != null) { HttpPrefixLabel.Dispose(); HttpPrefixLabel = null; } if (ConnectButton != null) { ConnectButton.Dispose(); ConnectButton = null; } if (ConnectingSpinner != null) { ConnectingSpinner.Dispose(); ConnectingSpinner = null; } if (ErrorLabel != null) { ErrorLabel.Dispose(); ErrorLabel = null; } if (HeaderLabel != null) { HeaderLabel.Dispose(); HeaderLabel = null; } if (HelpText != null) { HelpText.Dispose(); HelpText = null; } if (UrlInput != null) { UrlInput.Dispose(); UrlInput = null; } }
void ReleaseDesignerOutlets() { if (BackgroundView != null) { BackgroundView.Dispose(); BackgroundView = null; } if (CancelButton != null) { CancelButton.Dispose(); CancelButton = null; } if (HeaderLabel != null) { HeaderLabel.Dispose(); HeaderLabel = null; } if (HeaderView != null) { HeaderView.Dispose(); HeaderView = null; } if (OKButton != null) { OKButton.Dispose(); OKButton = null; } if (TextField != null) { TextField.Dispose(); TextField = null; } if (TextView != null) { TextView.Dispose(); TextView = null; } }
void ReleaseDesignerOutlets() { if (AddNewIdButton != null) { AddNewIdButton.Dispose(); AddNewIdButton = null; } if (DeleteIdButton != null) { DeleteIdButton.Dispose(); DeleteIdButton = null; } if (HeaderLabel != null) { HeaderLabel.Dispose(); HeaderLabel = null; } if (IDText != null) { IDText.Dispose(); IDText = null; } if (mainTableView != null) { mainTableView.Dispose(); mainTableView = null; } if (ShowFeedButton != null) { ShowFeedButton.Dispose(); ShowFeedButton = null; } if (TextLabel != null) { TextLabel.Dispose(); TextLabel = null; } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.qualitySlider = new System.Windows.Forms.TrackBar(); this.qualityLabel = new System.Windows.Forms.Label(); this.qualityUpDown = new System.Windows.Forms.NumericUpDown(); this.panel1 = new System.Windows.Forms.Panel(); this.bpp32RB = new System.Windows.Forms.RadioButton(); this.bpp24RB = new System.Windows.Forms.RadioButton(); this.bppHeader = new PaintDotNet.HeaderLabel(); ((System.ComponentModel.ISupportInitialize)(this.qualitySlider)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.qualityUpDown)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // qualitySlider // this.qualitySlider.Location = new System.Drawing.Point(0, 24); this.qualitySlider.Maximum = 100; this.qualitySlider.Minimum = 1; this.qualitySlider.Name = "qualitySlider"; this.qualitySlider.Size = new System.Drawing.Size(180, 45); this.qualitySlider.TabIndex = 1; this.qualitySlider.TickFrequency = 10; this.qualitySlider.Value = 1; this.qualitySlider.ValueChanged += new System.EventHandler(this.QualitySlider_ValueChanged); // // qualityLabel // this.qualityLabel.AutoSize = true; this.qualityLabel.Location = new System.Drawing.Point(4, 3); this.qualityLabel.Name = "qualityLabel"; this.qualityLabel.Size = new System.Drawing.Size(39, 13); this.qualityLabel.TabIndex = 1; this.qualityLabel.Text = "Quality"; // // qualityUpDown // this.qualityUpDown.Location = new System.Drawing.Point(115, 0); this.qualityUpDown.Minimum = new decimal(new int[] { 1, 0, 0, 0}); this.qualityUpDown.Name = "qualityUpDown"; this.qualityUpDown.Size = new System.Drawing.Size(56, 20); this.qualityUpDown.TabIndex = 0; this.qualityUpDown.Value = new decimal(new int[] { 1, 0, 0, 0}); this.qualityUpDown.Enter += new System.EventHandler(this.QualityUpDown_Enter); this.qualityUpDown.ValueChanged += new System.EventHandler(this.QualityUpDown_ValueChanged); this.qualityUpDown.Leave += new System.EventHandler(this.QualityUpDown_Leave); // // panel1 // this.panel1.Controls.Add(this.bpp32RB); this.panel1.Controls.Add(this.bpp24RB); this.panel1.Location = new System.Drawing.Point(0, 87); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(180, 59); this.panel1.TabIndex = 2; // // bpp32RB // this.bpp32RB.AutoSize = true; this.bpp32RB.Location = new System.Drawing.Point(10, 28); this.bpp32RB.Name = "bpp32RB"; this.bpp32RB.Size = new System.Drawing.Size(51, 17); this.bpp32RB.TabIndex = 1; this.bpp32RB.TabStop = true; this.bpp32RB.Text = "32-bit"; this.bpp32RB.UseVisualStyleBackColor = true; this.bpp32RB.CheckedChanged += new System.EventHandler(this.bpp32RB_CheckedChanged); // // bpp24RB // this.bpp24RB.AutoSize = true; this.bpp24RB.Location = new System.Drawing.Point(10, 4); this.bpp24RB.Name = "bpp24RB"; this.bpp24RB.Size = new System.Drawing.Size(51, 17); this.bpp24RB.TabIndex = 0; this.bpp24RB.TabStop = true; this.bpp24RB.Text = "24-bit"; this.bpp24RB.UseVisualStyleBackColor = true; this.bpp24RB.CheckedChanged += new System.EventHandler(this.bpp24RB_CheckedChanged); // // bppHeader // this.bppHeader.Location = new System.Drawing.Point(4, 67); this.bppHeader.Name = "bppHeader"; this.bppHeader.RightMargin = 0; this.bppHeader.Size = new System.Drawing.Size(173, 14); this.bppHeader.TabIndex = 3; this.bppHeader.TabStop = false; this.bppHeader.Text = "Bit-depth"; // // HDPhotoSaveConfigWidget // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.Controls.Add(this.bppHeader); this.Controls.Add(this.panel1); this.Controls.Add(this.qualityUpDown); this.Controls.Add(this.qualityLabel); this.Controls.Add(this.qualitySlider); this.Name = "HDPhotoSaveConfigWidget"; this.Size = new System.Drawing.Size(180, 148); ((System.ComponentModel.ISupportInitialize)(this.qualitySlider)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.qualityUpDown)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); PaintDotNet.HistogramRgb histogramRgb1 = new PaintDotNet.HistogramRgb(); PaintDotNet.HistogramRgb histogramRgb2 = new PaintDotNet.HistogramRgb(); this.redMaskCheckBox = new System.Windows.Forms.CheckBox(); this.greenMaskCheckBox = new System.Windows.Forms.CheckBox(); this.blueMaskCheckBox = new System.Windows.Forms.CheckBox(); this.okButton = new System.Windows.Forms.Button(); this.cancelButton = new System.Windows.Forms.Button(); this.autoButton = new System.Windows.Forms.Button(); this.resetButton = new System.Windows.Forms.Button(); this.tooltipProvider = new System.Windows.Forms.ToolTip(this.components); this.tableMain = new System.Windows.Forms.TableLayoutPanel(); this.headerHistogramOutput = new PaintDotNet.HeaderLabel(); this.headerControlsOutput = new PaintDotNet.HeaderLabel(); this.headerControlsInput = new PaintDotNet.HeaderLabel(); this.headerHistogramInput = new PaintDotNet.HeaderLabel(); this.swatchInLow = new System.Windows.Forms.Panel(); this.inputHiUpDown = new System.Windows.Forms.NumericUpDown(); this.swatchInHigh = new System.Windows.Forms.Panel(); this.inputLoUpDown = new System.Windows.Forms.NumericUpDown(); this.swatchOutLow = new System.Windows.Forms.Panel(); this.outputGammaUpDown = new System.Windows.Forms.NumericUpDown(); this.swatchOutHigh = new System.Windows.Forms.Panel(); this.outputHiUpDown = new System.Windows.Forms.NumericUpDown(); this.gradientInput = new PaintDotNet.ColorGradientControl(); this.swatchOutMid = new System.Windows.Forms.Panel(); this.gradientOutput = new PaintDotNet.ColorGradientControl(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.histogramInput = new PaintDotNet.HistogramControl(); this.histogramOutput = new PaintDotNet.HistogramControl(); this.outputLowUpDown = new System.Windows.Forms.NumericUpDown(); this.tableMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.inputHiUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.inputLoUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.outputGammaUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.outputHiUpDown)).BeginInit(); this.tableLayoutPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.outputLowUpDown)).BeginInit(); this.SuspendLayout(); // // redMaskCheckBox // this.redMaskCheckBox.Checked = true; this.redMaskCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; this.redMaskCheckBox.Dock = System.Windows.Forms.DockStyle.Fill; this.redMaskCheckBox.Location = new System.Drawing.Point(165, 3); this.redMaskCheckBox.Name = "redMaskCheckBox"; this.redMaskCheckBox.Size = new System.Drawing.Size(34, 23); this.redMaskCheckBox.TabIndex = 8; this.redMaskCheckBox.Click += new System.EventHandler(this.redMaskCheckBox_CheckedChanged); this.redMaskCheckBox.CheckedChanged += new System.EventHandler(this.redMaskCheckBox_CheckedChanged); // // greenMaskCheckBox // this.greenMaskCheckBox.Checked = true; this.greenMaskCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; this.greenMaskCheckBox.Dock = System.Windows.Forms.DockStyle.Fill; this.greenMaskCheckBox.Location = new System.Drawing.Point(205, 3); this.greenMaskCheckBox.Name = "greenMaskCheckBox"; this.greenMaskCheckBox.Size = new System.Drawing.Size(34, 23); this.greenMaskCheckBox.TabIndex = 9; this.greenMaskCheckBox.Click += new System.EventHandler(this.greenMaskCheckBox_CheckedChanged); this.greenMaskCheckBox.CheckedChanged += new System.EventHandler(this.greenMaskCheckBox_CheckedChanged); // // blueMaskCheckBox // this.blueMaskCheckBox.Checked = true; this.blueMaskCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; this.blueMaskCheckBox.Dock = System.Windows.Forms.DockStyle.Fill; this.blueMaskCheckBox.Location = new System.Drawing.Point(245, 3); this.blueMaskCheckBox.Name = "blueMaskCheckBox"; this.blueMaskCheckBox.Size = new System.Drawing.Size(34, 23); this.blueMaskCheckBox.TabIndex = 10; this.blueMaskCheckBox.Click += new System.EventHandler(this.blueMaskCheckBox_CheckedChanged); this.blueMaskCheckBox.CheckedChanged += new System.EventHandler(this.blueMaskCheckBox_CheckedChanged); // // okButton // this.okButton.Dock = System.Windows.Forms.DockStyle.Fill; this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.okButton.Location = new System.Drawing.Point(285, 3); this.okButton.Name = "okButton"; this.okButton.Size = new System.Drawing.Size(75, 23); this.okButton.TabIndex = 11; this.okButton.Click += new System.EventHandler(this.okButton_Click); // // cancelButton // this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.Dock = System.Windows.Forms.DockStyle.Fill; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.cancelButton.Location = new System.Drawing.Point(366, 3); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(77, 23); this.cancelButton.TabIndex = 12; this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click); // // autoButton // this.autoButton.Dock = System.Windows.Forms.DockStyle.Fill; this.autoButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.autoButton.Location = new System.Drawing.Point(3, 3); this.autoButton.Name = "autoButton"; this.autoButton.Size = new System.Drawing.Size(75, 23); this.autoButton.TabIndex = 6; this.autoButton.Click += new System.EventHandler(this.autoButton_Click); // // resetButton // this.resetButton.Dock = System.Windows.Forms.DockStyle.Fill; this.resetButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.resetButton.Location = new System.Drawing.Point(84, 3); this.resetButton.Name = "resetButton"; this.resetButton.Size = new System.Drawing.Size(75, 23); this.resetButton.TabIndex = 7; this.resetButton.Click += new System.EventHandler(this.resetButton_Click); // // tableMain // this.tableMain.ColumnCount = 6; this.tableMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 50F)); this.tableMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 40F)); this.tableMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 40F)); this.tableMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 50F)); this.tableMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableMain.Controls.Add(this.headerHistogramOutput, 5, 0); this.tableMain.Controls.Add(this.headerControlsOutput, 3, 0); this.tableMain.Controls.Add(this.headerControlsInput, 1, 0); this.tableMain.Controls.Add(this.headerHistogramInput, 0, 0); this.tableMain.Controls.Add(this.swatchInLow, 1, 7); this.tableMain.Controls.Add(this.inputHiUpDown, 1, 1); this.tableMain.Controls.Add(this.swatchInHigh, 1, 2); this.tableMain.Controls.Add(this.inputLoUpDown, 1, 8); this.tableMain.Controls.Add(this.swatchOutLow, 4, 7); this.tableMain.Controls.Add(this.outputGammaUpDown, 4, 4); this.tableMain.Controls.Add(this.swatchOutHigh, 4, 2); this.tableMain.Controls.Add(this.outputHiUpDown, 4, 1); this.tableMain.Controls.Add(this.gradientInput, 2, 1); this.tableMain.Controls.Add(this.swatchOutMid, 4, 5); this.tableMain.Controls.Add(this.gradientOutput, 3, 1); this.tableMain.Controls.Add(this.tableLayoutPanel2, 0, 9); this.tableMain.Controls.Add(this.histogramInput, 0, 1); this.tableMain.Controls.Add(this.histogramOutput, 5, 1); this.tableMain.Controls.Add(this.outputLowUpDown, 4, 8); this.tableMain.Dock = System.Windows.Forms.DockStyle.Fill; this.tableMain.Location = new System.Drawing.Point(0, 0); this.tableMain.Name = "tableMain"; this.tableMain.RowCount = 10; this.tableMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F)); this.tableMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F)); this.tableMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F)); this.tableMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F)); this.tableMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F)); this.tableMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F)); this.tableMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F)); this.tableMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableMain.Size = new System.Drawing.Size(452, 211); this.tableMain.TabStop = false; // // headerHistogramOutput // this.headerHistogramOutput.Dock = System.Windows.Forms.DockStyle.Fill; this.headerHistogramOutput.Location = new System.Drawing.Point(319, 3); this.headerHistogramOutput.Name = "headerHistogramOutput"; this.headerHistogramOutput.RightMargin = 3; this.headerHistogramOutput.Size = new System.Drawing.Size(130, 14); this.headerHistogramOutput.TabStop = false; // // headerControlsOutput // this.tableMain.SetColumnSpan(this.headerControlsOutput, 2); this.headerControlsOutput.Dock = System.Windows.Forms.DockStyle.Fill; this.headerControlsOutput.Location = new System.Drawing.Point(229, 3); this.headerControlsOutput.Name = "headerControlsOutput"; this.headerControlsOutput.RightMargin = 3; this.headerControlsOutput.Size = new System.Drawing.Size(84, 14); this.headerControlsOutput.TabStop = false; // // headerControlsInput // this.tableMain.SetColumnSpan(this.headerControlsInput, 2); this.headerControlsInput.Dock = System.Windows.Forms.DockStyle.Fill; this.headerControlsInput.Location = new System.Drawing.Point(139, 3); this.headerControlsInput.Name = "headerControlsInput"; this.headerControlsInput.RightMargin = 3; this.headerControlsInput.Size = new System.Drawing.Size(84, 14); this.headerControlsInput.TabStop = false; // // headerHistogramInput // this.headerHistogramInput.Dock = System.Windows.Forms.DockStyle.Fill; this.headerHistogramInput.Location = new System.Drawing.Point(3, 3); this.headerHistogramInput.Name = "headerHistogramInput"; this.headerHistogramInput.RightMargin = 3; this.headerHistogramInput.Size = new System.Drawing.Size(130, 14); this.headerHistogramInput.TabStop = false; // // swatchInLow // this.swatchInLow.BackColor = System.Drawing.Color.Black; this.swatchInLow.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.swatchInLow.Dock = System.Windows.Forms.DockStyle.Fill; this.swatchInLow.Location = new System.Drawing.Point(139, 127); this.swatchInLow.Name = "swatchInLow"; this.swatchInLow.Size = new System.Drawing.Size(44, 20); this.swatchInLow.TabStop = false; // // inputHiUpDown // this.inputHiUpDown.Dock = System.Windows.Forms.DockStyle.Fill; this.inputHiUpDown.Location = new System.Drawing.Point(139, 23); this.inputHiUpDown.Maximum = new decimal(new int[] { 255, 0, 0, 0}); this.inputHiUpDown.Name = "inputHiUpDown"; this.inputHiUpDown.Size = new System.Drawing.Size(44, 20); this.inputHiUpDown.Value = new decimal(new int[] { 1, 0, 0, 0}); this.inputHiUpDown.ValueChanged += new System.EventHandler(this.txtInputHi_ValueChanged); this.inputHiUpDown.Validating += new System.ComponentModel.CancelEventHandler(this.txtInputHi_Validating); this.inputHiUpDown.TabIndex = 1; // // swatchInHigh // this.swatchInHigh.BackColor = System.Drawing.Color.White; this.swatchInHigh.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.swatchInHigh.Dock = System.Windows.Forms.DockStyle.Fill; this.swatchInHigh.Location = new System.Drawing.Point(139, 49); this.swatchInHigh.Name = "swatchInHigh"; this.swatchInHigh.Size = new System.Drawing.Size(44, 20); this.swatchInHigh.TabStop = false; // // inputLoUpDown // this.inputLoUpDown.Dock = System.Windows.Forms.DockStyle.Fill; this.inputLoUpDown.Location = new System.Drawing.Point(139, 153); this.inputLoUpDown.Maximum = new decimal(new int[] { 255, 0, 0, 0}); this.inputLoUpDown.Name = "inputLoUpDown"; this.inputLoUpDown.Size = new System.Drawing.Size(44, 20); this.inputLoUpDown.TabIndex = 4; this.inputLoUpDown.ValueChanged += new System.EventHandler(this.txtInputLo_ValueChanged); this.inputLoUpDown.Validating += new System.ComponentModel.CancelEventHandler(this.txtInputLo_Validating); // // swatchOutLow // this.swatchOutLow.BackColor = System.Drawing.Color.Black; this.swatchOutLow.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.swatchOutLow.Dock = System.Windows.Forms.DockStyle.Fill; this.swatchOutLow.Location = new System.Drawing.Point(269, 127); this.swatchOutLow.Name = "swatchOutLow"; this.swatchOutLow.Size = new System.Drawing.Size(44, 20); this.swatchOutLow.TabStop = false; // // outputGammaUpDown // this.outputGammaUpDown.DecimalPlaces = 2; this.outputGammaUpDown.Dock = System.Windows.Forms.DockStyle.Fill; this.outputGammaUpDown.Increment = new decimal(new int[] { 1, 0, 0, 65536}); this.outputGammaUpDown.Location = new System.Drawing.Point(269, 75); this.outputGammaUpDown.Maximum = new decimal(new int[] { 100, 0, 0, 65536}); this.outputGammaUpDown.Minimum = new decimal(new int[] { 1, 0, 0, 65536}); this.outputGammaUpDown.Name = "outputGammaUpDown"; this.outputGammaUpDown.Size = new System.Drawing.Size(44, 20); this.outputGammaUpDown.TabIndex = 3; this.outputGammaUpDown.Value = new decimal(new int[] { 1, 0, 0, 0}); this.outputGammaUpDown.Validating += new System.ComponentModel.CancelEventHandler(this.outputGammaUpDown_Validating); // // swatchOutHigh // this.swatchOutHigh.BackColor = System.Drawing.Color.White; this.swatchOutHigh.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.swatchOutHigh.Dock = System.Windows.Forms.DockStyle.Fill; this.swatchOutHigh.Location = new System.Drawing.Point(269, 49); this.swatchOutHigh.Name = "swatchOutHigh"; this.swatchOutHigh.Size = new System.Drawing.Size(44, 20); this.swatchOutLow.TabStop = false; // // outputHiUpDown // this.outputHiUpDown.Dock = System.Windows.Forms.DockStyle.Fill; this.outputHiUpDown.Location = new System.Drawing.Point(269, 23); this.outputHiUpDown.Maximum = new decimal(new int[] { 255, 0, 0, 0}); this.outputHiUpDown.Name = "outputHiUpDown"; this.outputHiUpDown.Size = new System.Drawing.Size(44, 20); this.outputHiUpDown.TabIndex = 2; this.outputHiUpDown.Value = new decimal(new int[] { 255, 0, 0, 0}); this.outputHiUpDown.Validating += new System.ComponentModel.CancelEventHandler(this.outputHiUpDown_Validating); // // gradientInput // this.gradientInput.MinColor = System.Drawing.Color.Black; this.gradientInput.Count = 2; this.gradientInput.Dock = System.Windows.Forms.DockStyle.Fill; this.gradientInput.Location = new System.Drawing.Point(189, 23); this.gradientInput.Name = "gradientInput"; this.tableMain.SetRowSpan(this.gradientInput, 8); this.gradientInput.Size = new System.Drawing.Size(34, 150); this.gradientInput.MaxColor = System.Drawing.Color.White; this.gradientInput.Value = 0; this.gradientInput.ValueChanged += new PaintDotNet.IndexEventHandler(this.gradientInput_ValueChanged); this.swatchOutLow.TabStop = false; // // swatchOutMid // this.swatchOutMid.BackColor = System.Drawing.Color.White; this.swatchOutMid.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.swatchOutMid.Dock = System.Windows.Forms.DockStyle.Fill; this.swatchOutMid.Location = new System.Drawing.Point(269, 101); this.swatchOutMid.Name = "swatchOutMid"; this.swatchOutMid.Size = new System.Drawing.Size(44, 20); this.swatchOutMid.TabStop = false; // // gradientOutput // this.gradientOutput.MinColor = System.Drawing.Color.Black; this.gradientOutput.Count = 3; this.gradientOutput.Dock = System.Windows.Forms.DockStyle.Fill; this.gradientOutput.Location = new System.Drawing.Point(229, 23); this.gradientOutput.Name = "gradientOutput"; this.tableMain.SetRowSpan(this.gradientOutput, 8); this.gradientOutput.Size = new System.Drawing.Size(34, 150); this.gradientOutput.MaxColor = System.Drawing.Color.White; this.gradientOutput.Value = 0; this.gradientOutput.ValueChanged += new PaintDotNet.IndexEventHandler(this.gradientOutput_ValueChanged); this.gradientOutput.TabStop = false; // // tableLayoutPanel2 // this.tableLayoutPanel2.ColumnCount = 9; this.tableMain.SetColumnSpan(this.tableLayoutPanel2, 6); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 81F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 81F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 40F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 40F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 40F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 81F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 83F)); this.tableLayoutPanel2.Controls.Add(this.blueMaskCheckBox, 5, 0); this.tableLayoutPanel2.Controls.Add(this.greenMaskCheckBox, 4, 0); this.tableLayoutPanel2.Controls.Add(this.redMaskCheckBox, 3, 0); this.tableLayoutPanel2.Controls.Add(this.autoButton, 0, 0); this.tableLayoutPanel2.Controls.Add(this.resetButton, 1, 0); this.tableLayoutPanel2.Controls.Add(this.okButton, 7, 0); this.tableLayoutPanel2.Controls.Add(this.cancelButton, 8, 0); this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 179); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 1; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.Size = new System.Drawing.Size(446, 29); // // histogramInput // this.histogramInput.Dock = System.Windows.Forms.DockStyle.Fill; this.histogramInput.FlipHorizontal = true; this.histogramInput.FlipVertical = false; this.histogramInput.Histogram = histogramRgb1; this.histogramInput.Location = new System.Drawing.Point(3, 23); this.histogramInput.Name = "histogramInput"; this.tableMain.SetRowSpan(this.histogramInput, 8); this.histogramInput.Size = new System.Drawing.Size(130, 150); this.histogramInput.TabStop = false; // // histogramOutput // this.histogramOutput.Dock = System.Windows.Forms.DockStyle.Fill; this.histogramOutput.FlipHorizontal = false; this.histogramOutput.FlipVertical = false; this.histogramOutput.Histogram = histogramRgb2; this.histogramOutput.Location = new System.Drawing.Point(319, 23); this.histogramOutput.Name = "histogramOutput"; this.tableMain.SetRowSpan(this.histogramOutput, 8); this.histogramOutput.Size = new System.Drawing.Size(130, 150); this.histogramOutput.TabStop = false; // // outputLowUpDown // this.outputLowUpDown.Dock = System.Windows.Forms.DockStyle.Fill; this.outputLowUpDown.Location = new System.Drawing.Point(269, 153); this.outputLowUpDown.Maximum = new decimal(new int[] { 255, 0, 0, 0}); this.outputLowUpDown.Name = "outputLowUpDown"; this.outputLowUpDown.Size = new System.Drawing.Size(44, 20); this.outputLowUpDown.TabIndex = 5; this.outputLowUpDown.ValueChanged += new System.EventHandler(this.outputLowUpDown_ValueChanged); this.outputLowUpDown.Validating += new System.ComponentModel.CancelEventHandler(this.outputLowUpDown_Validating); // // LevelsEffectConfigDialog // this.AcceptButton = this.okButton; this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleDimensions = new SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(452, 211); this.Controls.Add(this.tableMain); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Sizable; this.MaximizeBox = true; this.MinimumSize = new System.Drawing.Size(460, 245); this.Name = "LevelsEffectConfigDialog"; this.Load += new System.EventHandler(this.LevelsEffectConfigDialog_Load); this.Controls.SetChildIndex(this.tableMain, 0); this.tableMain.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.inputHiUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.inputLoUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.outputGammaUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.outputHiUpDown)).EndInit(); this.tableLayoutPanel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.outputLowUpDown)).EndInit(); this.ResumeLayout(false); }
/// <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.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.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.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.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.Text = "paint.net Updates"; this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.saveButton = new System.Windows.Forms.Button(); this.autoCheckBox = new System.Windows.Forms.CheckBox(); this.betaCheckBox = new System.Windows.Forms.CheckBox(); this.allUsersNoticeLabel = new System.Windows.Forms.Label(); this.cancelButton = new System.Windows.Forms.Button(); this.headerLabel1 = new PaintDotNet.HeaderLabel(); this.SuspendLayout(); // // saveButton // this.saveButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.saveButton.Location = new System.Drawing.Point(236, 95); this.saveButton.Name = "saveButton"; this.saveButton.Size = new System.Drawing.Size(75, 23); this.saveButton.TabIndex = 0; this.saveButton.Text = ".save"; this.saveButton.UseVisualStyleBackColor = true; this.saveButton.Click += new System.EventHandler(this.SaveButton_Click); // // autoCheckBox // this.autoCheckBox.AutoSize = true; this.autoCheckBox.Location = new System.Drawing.Point(8, 9); this.autoCheckBox.Name = "autoCheckBox"; this.autoCheckBox.Size = new System.Drawing.Size(80, 17); this.autoCheckBox.TabIndex = 1; this.autoCheckBox.Text = "checkBox1"; this.autoCheckBox.UseVisualStyleBackColor = true; this.autoCheckBox.CheckedChanged += new System.EventHandler(this.AutoCheckBox_CheckedChanged); // // betaCheckBox // this.betaCheckBox.AutoSize = true; this.betaCheckBox.Location = new System.Drawing.Point(26, 33); this.betaCheckBox.Name = "betaCheckBox"; this.betaCheckBox.Size = new System.Drawing.Size(80, 17); this.betaCheckBox.TabIndex = 2; this.betaCheckBox.Text = "checkBox1"; this.betaCheckBox.UseVisualStyleBackColor = true; // // allUsersNoticeLabel // this.allUsersNoticeLabel.AutoSize = true; this.allUsersNoticeLabel.Location = new System.Drawing.Point(7, 63); this.allUsersNoticeLabel.Name = "allUsersNoticeLabel"; this.allUsersNoticeLabel.Size = new System.Drawing.Size(78, 13); this.allUsersNoticeLabel.TabIndex = 4; this.allUsersNoticeLabel.Text = ".allUsersNotice"; // // 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(316, 95); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(75, 23); this.cancelButton.TabIndex = 5; this.cancelButton.Text = ".cancel"; this.cancelButton.UseVisualStyleBackColor = true; this.cancelButton.Click += new System.EventHandler(this.CancelButton_Click); // // headerLabel1 // this.headerLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.headerLabel1.Location = new System.Drawing.Point(7, 80); this.headerLabel1.Name = "headerLabel1"; this.headerLabel1.RightMargin = 0; this.headerLabel1.Size = new System.Drawing.Size(384, 14); this.headerLabel1.TabIndex = 6; this.headerLabel1.TabStop = false; // // UpdatesOptionsDialog // this.AcceptButton = this.saveButton; this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(398, 125); this.Controls.Add(this.headerLabel1); this.Controls.Add(this.cancelButton); this.Controls.Add(this.betaCheckBox); this.Controls.Add(this.autoCheckBox); this.Controls.Add(this.saveButton); this.Controls.Add(this.allUsersNoticeLabel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "UpdatesOptionsDialog"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "UpdatesOptionsDialog"; this.Controls.SetChildIndex(this.allUsersNoticeLabel, 0); this.Controls.SetChildIndex(this.saveButton, 0); this.Controls.SetChildIndex(this.autoCheckBox, 0); this.Controls.SetChildIndex(this.betaCheckBox, 0); this.Controls.SetChildIndex(this.cancelButton, 0); this.Controls.SetChildIndex(this.headerLabel1, 0); this.ResumeLayout(false); this.PerformLayout(); }