Exemplo n.º 1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     C1.Win.C1Win7Pack.C1CustomButton c1CustomButton1         = new C1.Win.C1Win7Pack.C1CustomButton();
     C1.Win.C1Win7Pack.C1CustomButton c1CustomButton2         = new C1.Win.C1Win7Pack.C1CustomButton();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PreviewForm));
     this.rpc       = new C1.Win.C1RibbonPreview.C1RibbonPreview();
     this.atb       = new C1.Win.C1Win7Pack.C1TaskbarButton(this.components);
     this.extRegDlg = new C1.Win.C1Win7Pack.C1TaskDialog(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.rpc)).BeginInit();
     this.SuspendLayout();
     //
     // rpc
     //
     this.rpc.AutoScrollMargin  = new System.Drawing.Size(0, 0);
     this.rpc.AutoScrollMinSize = new System.Drawing.Size(0, 0);
     this.rpc.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.rpc.Location        = new System.Drawing.Point(0, 0);
     this.rpc.Name            = "rpc";
     this.rpc.Size            = new System.Drawing.Size(735, 442);
     this.rpc.TabIndex        = 0;
     this.rpc.TextSearchStyle = C1.Win.C1Preview.TextSearchUIStyle.ToolBar;
     this.rpc.UserAction     += new System.EventHandler <C1.Win.C1RibbonPreview.UserRibbonPreviewActionEventArgs>(this.rpc_UserAction);
     //
     // atb
     //
     this.atb.ContainerForm  = this;
     this.atb.RegistryProgID = "RibbonPreviewControlDemo";
     this.atb.WindowAppID    = "C1PrintDocViewer";
     //
     // extRegDlg
     //
     this.extRegDlg.CheckBoxText = "Don\'t ask me again";
     this.extRegDlg.Content      = "\'.c1dx\', \'.c1d\', \'.c1mdx\' file types are not registered.";
     c1CustomButton1.ID          = 9;
     c1CustomButton1.Name        = "registerButton";
     c1CustomButton1.Note        = "Register .c1dx, .c1d, and .c1mdx files with this application to use the Recent Do" +
                                   "cuments list.";
     c1CustomButton1.Text = "Register file types for this application";
     c1CustomButton2.ID   = 10;
     c1CustomButton2.Name = "ignoreButton";
     c1CustomButton2.Note = "You can work without the registration, with empty Recent Documents list.";
     c1CustomButton2.Text = "Do not register the file types";
     this.extRegDlg.CustomButtons.AddRange(new C1.Win.C1Win7Pack.C1CustomButton[] {
         c1CustomButton1,
         c1CustomButton2
     });
     this.extRegDlg.MainCommonIcon  = C1.Win.C1Win7Pack.TaskDialogCommonIcon.Information;
     this.extRegDlg.MainInstruction = "This application needs to register .c1dx, .c1d, .c1mdx files as associated files " +
                                      "to apply changes to the Jump List.";
     this.extRegDlg.NextID      = 11;
     this.extRegDlg.WindowTitle = "C1PrintDocument Viewer Destinations";
     //
     // PreviewForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize          = new System.Drawing.Size(735, 442);
     this.Controls.Add(this.rpc);
     this.Font              = new System.Drawing.Font("Segoe UI", 9F);
     this.Icon              = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin            = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.Name              = "PreviewForm";
     this.Text              = "C1PrintDocument Viewer";
     this.VisualStyleHolder = C1.Win.C1Ribbon.VisualStyle.Custom;
     this.Shown            += new System.EventHandler(this.PreviewForm_Shown);
     ((System.ComponentModel.ISupportInitialize)(this.rpc)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     C1.Win.C1Win7Pack.C1CustomButton c1CustomButton1         = new C1.Win.C1Win7Pack.C1CustomButton();
     C1.Win.C1Win7Pack.C1CustomButton c1CustomButton2         = new C1.Win.C1Win7Pack.C1CustomButton();
     C1.Win.C1Win7Pack.C1CustomButton c1CustomButton3         = new C1.Win.C1Win7Pack.C1CustomButton();
     C1.Win.C1Win7Pack.C1CustomButton c1CustomButton4         = new C1.Win.C1Win7Pack.C1CustomButton();
     C1.Win.C1Win7Pack.C1CustomButton c1CustomButton5         = new C1.Win.C1Win7Pack.C1CustomButton();
     C1.Win.C1Win7Pack.C1RadioButton  c1RadioButton1          = new C1.Win.C1Win7Pack.C1RadioButton();
     C1.Win.C1Win7Pack.C1CustomButton c1CustomButton6         = new C1.Win.C1Win7Pack.C1CustomButton();
     C1.Win.C1Win7Pack.C1CustomButton c1CustomButton7         = new C1.Win.C1Win7Pack.C1CustomButton();
     C1.Win.C1Win7Pack.C1CustomButton c1CustomButton8         = new C1.Win.C1Win7Pack.C1CustomButton();
     C1.Win.C1Win7Pack.C1RadioButton  c1RadioButton2          = new C1.Win.C1Win7Pack.C1RadioButton();
     C1.Win.C1Win7Pack.C1RadioButton  c1RadioButton3          = new C1.Win.C1Win7Pack.C1RadioButton();
     C1.Win.C1Win7Pack.C1RadioButton  c1RadioButton4          = new C1.Win.C1Win7Pack.C1RadioButton();
     C1.Win.C1Win7Pack.C1RadioButton  c1RadioButton5          = new C1.Win.C1Win7Pack.C1RadioButton();
     C1.Win.C1Win7Pack.C1RadioButton  c1RadioButton6          = new C1.Win.C1Win7Pack.C1RadioButton();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.dialogCommonButtons = new C1.Win.C1Win7Pack.C1TaskDialog(this.components);
     this.linkCommonButtons   = new System.Windows.Forms.LinkLabel();
     this.linkCustomButtons   = new System.Windows.Forms.LinkLabel();
     this.linkEnableDisable   = new System.Windows.Forms.LinkLabel();
     this.linkElevation       = new System.Windows.Forms.LinkLabel();
     this.linkError           = new System.Windows.Forms.LinkLabel();
     this.linkIcons           = new System.Windows.Forms.LinkLabel();
     this.linkProgress1       = new System.Windows.Forms.LinkLabel();
     this.linkProgress2       = new System.Windows.Forms.LinkLabel();
     this.linkTimer           = new System.Windows.Forms.LinkLabel();
     this.btnClose            = new System.Windows.Forms.Button();
     this.dialogCustomButtons = new C1.Win.C1Win7Pack.C1TaskDialog(this.components);
     this.dialogEnableDisable = new C1.Win.C1Win7Pack.C1TaskDialog(this.components);
     this.dialogElevation     = new C1.Win.C1Win7Pack.C1TaskDialog(this.components);
     this.dialogError         = new C1.Win.C1Win7Pack.C1TaskDialog(this.components);
     this.dialogIcons         = new C1.Win.C1Win7Pack.C1TaskDialog(this.components);
     this.dialogProgress1     = new C1.Win.C1Win7Pack.C1TaskDialog(this.components);
     this.dialogProgress2     = new C1.Win.C1Win7Pack.C1TaskDialog(this.components);
     this.dialogTimer         = new C1.Win.C1Win7Pack.C1TaskDialog(this.components);
     this.SuspendLayout();
     //
     // dialogCommonButtons
     //
     this.dialogCommonButtons.CommonButtons = ((C1.Win.C1Win7Pack.TaskDialogCommonButtons)((((((C1.Win.C1Win7Pack.TaskDialogCommonButtons.Ok | C1.Win.C1Win7Pack.TaskDialogCommonButtons.Yes)
                                                                                               | C1.Win.C1Win7Pack.TaskDialogCommonButtons.No)
                                                                                              | C1.Win.C1Win7Pack.TaskDialogCommonButtons.Cancel)
                                                                                             | C1.Win.C1Win7Pack.TaskDialogCommonButtons.Retry)
                                                                                            | C1.Win.C1Win7Pack.TaskDialogCommonButtons.Close)));
     this.dialogCommonButtons.MainInstruction = "Click on any of the buttons below to get a specific message box.";
     this.dialogCommonButtons.WindowTitle     = "Common Buttons Sample";
     //
     // linkCommonButtons
     //
     this.linkCommonButtons.AutoSize     = true;
     this.linkCommonButtons.Location     = new System.Drawing.Point(21, 18);
     this.linkCommonButtons.Name         = "linkCommonButtons";
     this.linkCommonButtons.Size         = new System.Drawing.Size(137, 13);
     this.linkCommonButtons.TabIndex     = 0;
     this.linkCommonButtons.TabStop      = true;
     this.linkCommonButtons.Text         = "Common Buttons Sample";
     this.linkCommonButtons.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkCommonButtons_LinkClicked);
     //
     // linkCustomButtons
     //
     this.linkCustomButtons.AutoSize     = true;
     this.linkCustomButtons.Location     = new System.Drawing.Point(21, 43);
     this.linkCustomButtons.Name         = "linkCustomButtons";
     this.linkCustomButtons.Size         = new System.Drawing.Size(130, 13);
     this.linkCustomButtons.TabIndex     = 1;
     this.linkCustomButtons.TabStop      = true;
     this.linkCustomButtons.Text         = "Custom Buttons Sample";
     this.linkCustomButtons.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkCustomButtons_LinkClicked);
     //
     // linkEnableDisable
     //
     this.linkEnableDisable.AutoSize     = true;
     this.linkEnableDisable.Location     = new System.Drawing.Point(21, 68);
     this.linkEnableDisable.Name         = "linkEnableDisable";
     this.linkEnableDisable.Size         = new System.Drawing.Size(124, 13);
     this.linkEnableDisable.TabIndex     = 2;
     this.linkEnableDisable.TabStop      = true;
     this.linkEnableDisable.Text         = "Enable/Disable Sample";
     this.linkEnableDisable.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkEnableDisable_LinkClicked);
     //
     // linkElevation
     //
     this.linkElevation.AutoSize     = true;
     this.linkElevation.Location     = new System.Drawing.Point(21, 93);
     this.linkElevation.Name         = "linkElevation";
     this.linkElevation.Size         = new System.Drawing.Size(144, 13);
     this.linkElevation.TabIndex     = 3;
     this.linkElevation.TabStop      = true;
     this.linkElevation.Text         = "Elevation Required Sample";
     this.linkElevation.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkElevation_LinkClicked);
     //
     // linkError
     //
     this.linkError.AutoSize     = true;
     this.linkError.Location     = new System.Drawing.Point(21, 118);
     this.linkError.Name         = "linkError";
     this.linkError.Size         = new System.Drawing.Size(72, 13);
     this.linkError.TabIndex     = 4;
     this.linkError.TabStop      = true;
     this.linkError.Text         = "Error Sample";
     this.linkError.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkError_LinkClicked);
     //
     // linkIcons
     //
     this.linkIcons.AutoSize     = true;
     this.linkIcons.Location     = new System.Drawing.Point(21, 143);
     this.linkIcons.Name         = "linkIcons";
     this.linkIcons.Size         = new System.Drawing.Size(74, 13);
     this.linkIcons.TabIndex     = 5;
     this.linkIcons.TabStop      = true;
     this.linkIcons.Text         = "Icons Sample";
     this.linkIcons.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkIcons_LinkClicked);
     //
     // linkProgress1
     //
     this.linkProgress1.AutoSize     = true;
     this.linkProgress1.Location     = new System.Drawing.Point(21, 168);
     this.linkProgress1.Name         = "linkProgress1";
     this.linkProgress1.Size         = new System.Drawing.Size(91, 13);
     this.linkProgress1.TabIndex     = 6;
     this.linkProgress1.TabStop      = true;
     this.linkProgress1.Text         = "Progress Sample";
     this.linkProgress1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkProgress1_LinkClicked);
     //
     // linkProgress2
     //
     this.linkProgress2.AutoSize     = true;
     this.linkProgress2.Location     = new System.Drawing.Point(21, 193);
     this.linkProgress2.Name         = "linkProgress2";
     this.linkProgress2.Size         = new System.Drawing.Size(128, 13);
     this.linkProgress2.TabIndex     = 7;
     this.linkProgress2.TabStop      = true;
     this.linkProgress2.Text         = "Progress Effects Sample";
     this.linkProgress2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkProgress2_LinkClicked);
     //
     // linkTimer
     //
     this.linkTimer.AutoSize     = true;
     this.linkTimer.Location     = new System.Drawing.Point(21, 218);
     this.linkTimer.Name         = "linkTimer";
     this.linkTimer.Size         = new System.Drawing.Size(74, 13);
     this.linkTimer.TabIndex     = 8;
     this.linkTimer.TabStop      = true;
     this.linkTimer.Text         = "Timer Sample";
     this.linkTimer.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkTimer_LinkClicked);
     //
     // btnClose
     //
     this.btnClose.Location = new System.Drawing.Point(196, 225);
     this.btnClose.Name     = "btnClose";
     this.btnClose.Size     = new System.Drawing.Size(75, 23);
     this.btnClose.TabIndex = 9;
     this.btnClose.Text     = "Close";
     this.btnClose.UseVisualStyleBackColor = true;
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
     //
     // dialogCustomButtons
     //
     c1CustomButton1.ID   = 9;
     c1CustomButton1.Name = "Button1";
     c1CustomButton1.Text = "Custom Button 1";
     c1CustomButton2.ID   = 10;
     c1CustomButton2.Name = "Button2";
     c1CustomButton2.Text = "Custom Button 2";
     c1CustomButton3.ID   = 11;
     c1CustomButton3.Name = "Button3";
     c1CustomButton3.Text = "Custom Close Button";
     this.dialogCustomButtons.CustomButtons.AddRange(new C1.Win.C1Win7Pack.C1CustomButton[] {
         c1CustomButton1,
         c1CustomButton2,
         c1CustomButton3
     });
     this.dialogCustomButtons.MainInstruction = "Click on any of the following buttons to display a specific message box.";
     this.dialogCustomButtons.NextID          = 12;
     this.dialogCustomButtons.WindowTitle     = "Custom Buttons Sample";
     this.dialogCustomButtons.ButtonClick    += new C1.Win.C1Win7Pack.TaskDialogButtonClickEventHandler(this.dialogCustomButtons_ButtonClick);
     //
     // dialogEnableDisable
     //
     c1CustomButton4.ID      = 9;
     c1CustomButton4.Name    = "enableButton";
     c1CustomButton4.Text    = "Enable";
     c1CustomButton5.Enabled = false;
     c1CustomButton5.ID      = 10;
     c1CustomButton5.Name    = "disableButton";
     c1CustomButton5.Text    = "Disable";
     this.dialogEnableDisable.CustomButtons.AddRange(new C1.Win.C1Win7Pack.C1CustomButton[] {
         c1CustomButton4,
         c1CustomButton5
     });
     this.dialogEnableDisable.MainInstruction = "Click on the buttons below to enable or disable the radio button.";
     this.dialogEnableDisable.NextID          = 12;
     c1RadioButton1.Enabled = false;
     c1RadioButton1.ID      = 11;
     c1RadioButton1.Name    = "Radio1";
     c1RadioButton1.Text    = "Sample Radio button";
     this.dialogEnableDisable.RadioButtons.AddRange(new C1.Win.C1Win7Pack.C1RadioButton[] {
         c1RadioButton1
     });
     this.dialogEnableDisable.UseCommandLinks = false;
     this.dialogEnableDisable.WindowTitle     = "Enable/Disable Sample";
     this.dialogEnableDisable.ButtonClick    += new C1.Win.C1Win7Pack.TaskDialogButtonClickEventHandler(this.dialogEnableDisable_ButtonClick);
     //
     // dialogElevation
     //
     this.dialogElevation.Content      = "Click the Admin Stuff button to close the dialog box.";
     c1CustomButton6.ID                = 9;
     c1CustomButton6.Name              = "adminTaskButton";
     c1CustomButton6.Note              = "Run some admin tasks";
     c1CustomButton6.ShowElevationIcon = true;
     c1CustomButton6.Text              = "Admin stuff";
     this.dialogElevation.CustomButtons.AddRange(new C1.Win.C1Win7Pack.C1CustomButton[] {
         c1CustomButton6
     });
     this.dialogElevation.NextID      = 10;
     this.dialogElevation.WindowTitle = "Elevated task example";
     //
     // dialogError
     //
     this.dialogError.CheckBoxText         = "Don\'t ask me again";
     this.dialogError.CheckedByDefault     = true;
     this.dialogError.CollapsedControlText = "Show details";
     this.dialogError.Content = "Error message goes here...";
     c1CustomButton7.ID       = 9;
     c1CustomButton7.Name     = "sendButton";
     c1CustomButton7.Note     = "I\'m in a giving mood.";
     c1CustomButton7.Text     = "Send Feedback";
     c1CustomButton8.ID       = 10;
     c1CustomButton8.Name     = "dontSendButton";
     c1CustomButton8.Note     = "I don\'t feel like being helpful.";
     c1CustomButton8.Text     = "No Thanks";
     this.dialogError.CustomButtons.AddRange(new C1.Win.C1Win7Pack.C1CustomButton[] {
         c1CustomButton7,
         c1CustomButton8
     });
     this.dialogError.ExpandedControlText = "Hide details";
     this.dialogError.ExpandedInformation = "Stack trace goes here...";
     this.dialogError.ExpandFooterArea    = true;
     this.dialogError.MainCommonIcon      = C1.Win.C1Win7Pack.TaskDialogCommonIcon.Error;
     this.dialogError.MainInstruction     = "An unexpected error occurred. Please send feedback now!";
     this.dialogError.NextID       = 11;
     this.dialogError.WindowTitle  = "Error Sample";
     this.dialogError.ButtonClick += new C1.Win.C1Win7Pack.TaskDialogButtonClickEventHandler(this.dialogError_ButtonClick);
     //
     // dialogIcons
     //
     this.dialogIcons.FooterText      = "Footer Text";
     this.dialogIcons.MainInstruction = "Select one of the following radio buttons to change the main and footer icons.";
     this.dialogIcons.NextID          = 14;
     c1RadioButton2.ID   = 9;
     c1RadioButton2.Name = "radioNone";
     c1RadioButton2.Text = "None";
     c1RadioButton3.ID   = 10;
     c1RadioButton3.Name = "radioError";
     c1RadioButton3.Text = "Error";
     c1RadioButton4.ID   = 11;
     c1RadioButton4.Name = "radioWarning";
     c1RadioButton4.Text = "Warning";
     c1RadioButton5.ID   = 12;
     c1RadioButton5.Name = "radioInformation";
     c1RadioButton5.Text = "Information";
     c1RadioButton6.ID   = 13;
     c1RadioButton6.Name = "radioShield";
     c1RadioButton6.Text = "Shield";
     this.dialogIcons.RadioButtons.AddRange(new C1.Win.C1Win7Pack.C1RadioButton[] {
         c1RadioButton2,
         c1RadioButton3,
         c1RadioButton4,
         c1RadioButton5,
         c1RadioButton6
     });
     this.dialogIcons.WindowTitle       = "Icons Sample";
     this.dialogIcons.RadioButtonClick += new System.EventHandler(this.dialogIcons_RadioButtonClick);
     //
     // dialogProgress1
     //
     this.dialogProgress1.EnableTimer         = true;
     this.dialogProgress1.ProgressBar.Maximum = 5000;
     this.dialogProgress1.ProgressBar.Visible = true;
     this.dialogProgress1.WindowTitle         = "Progress Sample";
     this.dialogProgress1.TimerTick          += new C1.Win.C1Win7Pack.TaskDialogTimerTickEventHandler(this.dialogProgress1_TimerTick);
     //
     // dialogProgress2
     //
     this.dialogProgress2.MainInstruction     = "A marquee-style progress indicator:";
     this.dialogProgress2.ProgressBar.State   = C1.Win.C1Win7Pack.TaskDialogProgressBarState.Indeterminate;
     this.dialogProgress2.ProgressBar.Visible = true;
     this.dialogProgress2.WindowTitle         = "Progress Effects Sample";
     //
     // dialogTimer
     //
     this.dialogTimer.EnableTimer = true;
     this.dialogTimer.WindowTitle = "Timer Sample";
     this.dialogTimer.TimerTick  += new C1.Win.C1Win7Pack.TaskDialogTimerTickEventHandler(this.dialogTimer_TimerTick);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(284, 262);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.linkTimer);
     this.Controls.Add(this.linkProgress2);
     this.Controls.Add(this.linkProgress1);
     this.Controls.Add(this.linkIcons);
     this.Controls.Add(this.linkError);
     this.Controls.Add(this.linkElevation);
     this.Controls.Add(this.linkEnableDisable);
     this.Controls.Add(this.linkCustomButtons);
     this.Controls.Add(this.linkCommonButtons);
     this.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "C1TaskDialog Samples";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     C1.Win.C1Win7Pack.C1CustomButton c1CustomButton1         = new C1.Win.C1Win7Pack.C1CustomButton();
     C1.Win.C1Win7Pack.C1CustomButton c1CustomButton2         = new C1.Win.C1Win7Pack.C1CustomButton();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Win7PackMainForm));
     this.groupBox1           = new System.Windows.Forms.GroupBox();
     this.pictureBox1         = new System.Windows.Forms.PictureBox();
     this.btnThumbnailButtons = new System.Windows.Forms.Button();
     this.btnProgressDemo     = new System.Windows.Forms.Button();
     this.btnJumpTaskDemo     = new System.Windows.Forms.Button();
     this.groupBox2           = new System.Windows.Forms.GroupBox();
     this.pictureBox2         = new System.Windows.Forms.PictureBox();
     this.btnDialogDemo       = new System.Windows.Forms.Button();
     this.dialogError         = new C1.Win.C1Win7Pack.C1TaskDialog(this.components);
     this.panel1 = new System.Windows.Forms.Panel();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.pictureBox1);
     this.groupBox1.Controls.Add(this.btnThumbnailButtons);
     this.groupBox1.Controls.Add(this.btnProgressDemo);
     this.groupBox1.Controls.Add(this.btnJumpTaskDemo);
     this.groupBox1.Location = new System.Drawing.Point(12, 12);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(516, 177);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "C1TaskbarButton Demos";
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(19, 26);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(197, 145);
     this.pictureBox1.TabIndex = 4;
     this.pictureBox1.TabStop  = false;
     //
     // btnThumbnailButtons
     //
     this.btnThumbnailButtons.Location = new System.Drawing.Point(222, 110);
     this.btnThumbnailButtons.Name     = "btnThumbnailButtons";
     this.btnThumbnailButtons.Size     = new System.Drawing.Size(175, 23);
     this.btnThumbnailButtons.TabIndex = 3;
     this.btnThumbnailButtons.Text     = "Launch Thumbnail Button Demo";
     this.btnThumbnailButtons.UseVisualStyleBackColor = true;
     this.btnThumbnailButtons.Click += new System.EventHandler(this.btnThumbnailButtons_Click);
     //
     // btnProgressDemo
     //
     this.btnProgressDemo.Location = new System.Drawing.Point(222, 68);
     this.btnProgressDemo.Name     = "btnProgressDemo";
     this.btnProgressDemo.Size     = new System.Drawing.Size(175, 23);
     this.btnProgressDemo.TabIndex = 2;
     this.btnProgressDemo.Text     = "Launch Progress Indicator Demo";
     this.btnProgressDemo.UseVisualStyleBackColor = true;
     this.btnProgressDemo.Click += new System.EventHandler(this.btnProgressDemo_Click);
     //
     // btnJumpTaskDemo
     //
     this.btnJumpTaskDemo.Location = new System.Drawing.Point(222, 26);
     this.btnJumpTaskDemo.Name     = "btnJumpTaskDemo";
     this.btnJumpTaskDemo.Size     = new System.Drawing.Size(175, 23);
     this.btnJumpTaskDemo.TabIndex = 0;
     this.btnJumpTaskDemo.Text     = "Launch Jump List Demo";
     this.btnJumpTaskDemo.UseVisualStyleBackColor = true;
     this.btnJumpTaskDemo.Click += new System.EventHandler(this.btnJumpTaskDemo_Click);
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.panel1);
     this.groupBox2.Location = new System.Drawing.Point(12, 195);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(516, 172);
     this.groupBox2.TabIndex = 1;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "C1TaskDialog Demos";
     //
     // pictureBox2
     //
     this.pictureBox2.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
     this.pictureBox2.Location = new System.Drawing.Point(16, 18);
     this.pictureBox2.Name     = "pictureBox2";
     this.pictureBox2.Size     = new System.Drawing.Size(197, 129);
     this.pictureBox2.TabIndex = 1;
     this.pictureBox2.TabStop  = false;
     //
     // btnDialogDemo
     //
     this.btnDialogDemo.Location = new System.Drawing.Point(222, 37);
     this.btnDialogDemo.Name     = "btnDialogDemo";
     this.btnDialogDemo.Size     = new System.Drawing.Size(175, 23);
     this.btnDialogDemo.TabIndex = 0;
     this.btnDialogDemo.Text     = "Launch Windows Dialog Demo";
     this.btnDialogDemo.UseVisualStyleBackColor = true;
     this.btnDialogDemo.Click += new System.EventHandler(this.btnDialogDemo_Click);
     //
     // dialogError
     //
     this.dialogError.CheckBoxText         = "Don\'t ask me again";
     this.dialogError.CheckedByDefault     = true;
     this.dialogError.CollapsedControlText = "Show details";
     this.dialogError.Content = "With C1TaskDialog you can create custom Windows styled message boxes " +
                                "with rich features like this one.";
     c1CustomButton1.ID   = 9;
     c1CustomButton1.Name = "sendButton";
     c1CustomButton1.Note = "Shows progress dialog";
     c1CustomButton1.Text = "Send Feedback";
     c1CustomButton2.ID   = 10;
     c1CustomButton2.Name = "dontSendButton";
     c1CustomButton2.Note = "Closes the dialog";
     c1CustomButton2.Text = "No Thanks";
     this.dialogError.CustomButtons.AddRange(new C1.Win.C1Win7Pack.C1CustomButton[] {
         c1CustomButton1,
         c1CustomButton2
     });
     this.dialogError.ExpandedControlText = "Hide details";
     this.dialogError.ExpandedInformation = "There is no real error! This is only a demo.";
     this.dialogError.ExpandFooterArea    = true;
     this.dialogError.MainCommonIcon      = C1.Win.C1Win7Pack.TaskDialogCommonIcon.Error;
     this.dialogError.MainInstruction     = "An unexpected error occured. Please send feedback now!";
     this.dialogError.NextID       = 13;
     this.dialogError.WindowTitle  = "Custom Dialog Demo";
     this.dialogError.ButtonClick += new C1.Win.C1Win7Pack.TaskDialogButtonClickEventHandler(this.dialogError_ButtonClick);
     //
     // panel1
     //
     this.panel1.AutoScroll = true;
     this.panel1.Controls.Add(this.pictureBox2);
     this.panel1.Controls.Add(this.btnDialogDemo);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(3, 16);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(516, 172);
     this.panel1.TabIndex = 2;
     //
     // Win7PackMainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(540, 379);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Name = "Win7PackMainForm";
     this.Text = "Win7PackMainForm";
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     C1.Win.C1Win7Pack.C1CustomButton c1CustomButton1 = new C1.Win.C1Win7Pack.C1CustomButton();
     C1.Win.C1Win7Pack.C1CustomButton c1CustomButton2 = new C1.Win.C1Win7Pack.C1CustomButton();
     this.groupBox1           = new System.Windows.Forms.GroupBox();
     this.rbKnownAfterCustom  = new System.Windows.Forms.RadioButton();
     this.rbKnownBeforeCustom = new System.Windows.Forms.RadioButton();
     this.comboKnownCategory  = new System.Windows.Forms.ComboBox();
     this.label1             = new System.Windows.Forms.Label();
     this.btnAddJumpPath     = new System.Windows.Forms.Button();
     this.btnAddJumpLink     = new System.Windows.Forms.Button();
     this.btnRegister        = new System.Windows.Forms.Button();
     this.btnUnregister      = new System.Windows.Forms.Button();
     this.btnApplyChanges    = new System.Windows.Forms.Button();
     this.btnClearKnown      = new System.Windows.Forms.Button();
     this.btnClearCustom     = new System.Windows.Forms.Button();
     this.label2             = new System.Windows.Forms.Label();
     this.rejectedListBox    = new System.Windows.Forms.ListBox();
     this.label3             = new System.Windows.Forms.Label();
     this.removedListBox     = new System.Windows.Forms.ListBox();
     this.label4             = new System.Windows.Forms.Label();
     this.knownListBox       = new System.Windows.Forms.ListBox();
     this.comboGetKnown      = new System.Windows.Forms.ComboBox();
     this.btnGetKnown        = new System.Windows.Forms.Button();
     this.taskbarButton      = new C1.Win.C1Win7Pack.C1TaskbarButton(this.components);
     this.registrationDialog = new C1.Win.C1Win7Pack.C1TaskDialog(this.components);
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.rbKnownAfterCustom);
     this.groupBox1.Controls.Add(this.rbKnownBeforeCustom);
     this.groupBox1.Controls.Add(this.comboKnownCategory);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(12, 12);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(316, 78);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Known Categories";
     //
     // rbKnownAfterCustom
     //
     this.rbKnownAfterCustom.AutoSize = true;
     this.rbKnownAfterCustom.Checked  = true;
     this.rbKnownAfterCustom.Location = new System.Drawing.Point(148, 45);
     this.rbKnownAfterCustom.Name     = "rbKnownAfterCustom";
     this.rbKnownAfterCustom.Size     = new System.Drawing.Size(150, 17);
     this.rbKnownAfterCustom.TabIndex = 3;
     this.rbKnownAfterCustom.TabStop  = true;
     this.rbKnownAfterCustom.Text     = "After Custom Categories";
     this.rbKnownAfterCustom.UseVisualStyleBackColor = true;
     this.rbKnownAfterCustom.Click += new System.EventHandler(this.rbKnownAfterCustom_Click);
     //
     // rbKnownBeforeCustom
     //
     this.rbKnownBeforeCustom.AutoSize = true;
     this.rbKnownBeforeCustom.Location = new System.Drawing.Point(148, 20);
     this.rbKnownBeforeCustom.Name     = "rbKnownBeforeCustom";
     this.rbKnownBeforeCustom.Size     = new System.Drawing.Size(159, 17);
     this.rbKnownBeforeCustom.TabIndex = 2;
     this.rbKnownBeforeCustom.Text     = "Before Custom Categories";
     this.rbKnownBeforeCustom.UseVisualStyleBackColor = true;
     this.rbKnownBeforeCustom.Click += new System.EventHandler(this.rbKnownBeforeCustom_Click);
     //
     // comboKnownCategory
     //
     this.comboKnownCategory.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboKnownCategory.FormattingEnabled = true;
     this.comboKnownCategory.Items.AddRange(new object[] {
         "Neither",
         "Recent",
         "Frequent"
     });
     this.comboKnownCategory.Location              = new System.Drawing.Point(16, 40);
     this.comboKnownCategory.Name                  = "comboKnownCategory";
     this.comboKnownCategory.Size                  = new System.Drawing.Size(108, 21);
     this.comboKnownCategory.TabIndex              = 1;
     this.comboKnownCategory.SelectedIndexChanged += new System.EventHandler(this.comboKnownCategory_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(13, 24);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(36, 13);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Show";
     //
     // btnAddJumpPath
     //
     this.btnAddJumpPath.Location = new System.Drawing.Point(15, 115);
     this.btnAddJumpPath.Name     = "btnAddJumpPath";
     this.btnAddJumpPath.Size     = new System.Drawing.Size(185, 62);
     this.btnAddJumpPath.TabIndex = 3;
     this.btnAddJumpPath.Text     = "Add \"JumpPath Category\" (consists of C1JumpPath objects that addresses .txt files" +
                                    ")";
     this.btnAddJumpPath.UseVisualStyleBackColor = true;
     this.btnAddJumpPath.Click += new System.EventHandler(this.btnAddJumpPath_Click);
     //
     // btnAddJumpLink
     //
     this.btnAddJumpLink.Location = new System.Drawing.Point(15, 191);
     this.btnAddJumpLink.Name     = "btnAddJumpLink";
     this.btnAddJumpLink.Size     = new System.Drawing.Size(185, 62);
     this.btnAddJumpLink.TabIndex = 4;
     this.btnAddJumpLink.Text     = "Add \"JumpLink Category\" (consists of C1JumpLink objects that addresses .ico files" +
                                    ")";
     this.btnAddJumpLink.UseVisualStyleBackColor = true;
     this.btnAddJumpLink.Click += new System.EventHandler(this.btnAddJumpLink_Click);
     //
     // btnRegister
     //
     this.btnRegister.Location = new System.Drawing.Point(343, 25);
     this.btnRegister.Name     = "btnRegister";
     this.btnRegister.Size     = new System.Drawing.Size(185, 23);
     this.btnRegister.TabIndex = 1;
     this.btnRegister.Text     = "Register \'.txt\' File Type";
     this.btnRegister.UseVisualStyleBackColor = true;
     this.btnRegister.Click += new System.EventHandler(this.btnRegister_Click);
     //
     // btnUnregister
     //
     this.btnUnregister.Location = new System.Drawing.Point(343, 58);
     this.btnUnregister.Name     = "btnUnregister";
     this.btnUnregister.Size     = new System.Drawing.Size(185, 23);
     this.btnUnregister.TabIndex = 2;
     this.btnUnregister.Text     = "Unregister \'.txt\' File Type";
     this.btnUnregister.UseVisualStyleBackColor = true;
     this.btnUnregister.Click += new System.EventHandler(this.btnUnregister_Click);
     //
     // btnApplyChanges
     //
     this.btnApplyChanges.Location = new System.Drawing.Point(15, 275);
     this.btnApplyChanges.Name     = "btnApplyChanges";
     this.btnApplyChanges.Size     = new System.Drawing.Size(185, 23);
     this.btnApplyChanges.TabIndex = 5;
     this.btnApplyChanges.Text     = "Apply Changes to Jump List";
     this.btnApplyChanges.UseVisualStyleBackColor = true;
     this.btnApplyChanges.Click += new System.EventHandler(this.btnApplyChanges_Click);
     //
     // btnClearKnown
     //
     this.btnClearKnown.Location = new System.Drawing.Point(378, 275);
     this.btnClearKnown.Name     = "btnClearKnown";
     this.btnClearKnown.Size     = new System.Drawing.Size(150, 23);
     this.btnClearKnown.TabIndex = 11;
     this.btnClearKnown.Text     = "Clear Known Categories";
     this.btnClearKnown.UseVisualStyleBackColor = true;
     this.btnClearKnown.Click += new System.EventHandler(this.btnClearKnown_Click);
     //
     // btnClearCustom
     //
     this.btnClearCustom.Location = new System.Drawing.Point(212, 275);
     this.btnClearCustom.Name     = "btnClearCustom";
     this.btnClearCustom.Size     = new System.Drawing.Size(150, 23);
     this.btnClearCustom.TabIndex = 10;
     this.btnClearCustom.Text     = "Clear Custom Categories";
     this.btnClearCustom.UseVisualStyleBackColor = true;
     this.btnClearCustom.Click += new System.EventHandler(this.btnClearCustom_Click);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(212, 99);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(84, 13);
     this.label2.TabIndex = 6;
     this.label2.Text     = "Rejected Items:";
     //
     // rejectedListBox
     //
     this.rejectedListBox.FormattingEnabled = true;
     this.rejectedListBox.Location          = new System.Drawing.Point(212, 115);
     this.rejectedListBox.Name     = "rejectedListBox";
     this.rejectedListBox.Size     = new System.Drawing.Size(316, 69);
     this.rejectedListBox.TabIndex = 7;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(212, 194);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(87, 13);
     this.label3.TabIndex = 8;
     this.label3.Text     = "Removed Items:";
     //
     // removedListBox
     //
     this.removedListBox.FormattingEnabled = true;
     this.removedListBox.Location          = new System.Drawing.Point(212, 210);
     this.removedListBox.Name     = "removedListBox";
     this.removedListBox.Size     = new System.Drawing.Size(316, 43);
     this.removedListBox.TabIndex = 9;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(122, 312);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(114, 13);
     this.label4.TabIndex = 14;
     this.label4.Text     = "Known Destinations:";
     //
     // knownListBox
     //
     this.knownListBox.FormattingEnabled = true;
     this.knownListBox.Location          = new System.Drawing.Point(122, 328);
     this.knownListBox.Name     = "knownListBox";
     this.knownListBox.Size     = new System.Drawing.Size(406, 56);
     this.knownListBox.TabIndex = 15;
     //
     // comboGetKnown
     //
     this.comboGetKnown.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboGetKnown.FormattingEnabled = true;
     this.comboGetKnown.Items.AddRange(new object[] {
         "Recent",
         "Frequent"
     });
     this.comboGetKnown.Location = new System.Drawing.Point(15, 328);
     this.comboGetKnown.Name     = "comboGetKnown";
     this.comboGetKnown.Size     = new System.Drawing.Size(93, 21);
     this.comboGetKnown.TabIndex = 12;
     //
     // btnGetKnown
     //
     this.btnGetKnown.Location = new System.Drawing.Point(15, 361);
     this.btnGetKnown.Name     = "btnGetKnown";
     this.btnGetKnown.Size     = new System.Drawing.Size(93, 23);
     this.btnGetKnown.TabIndex = 13;
     this.btnGetKnown.Text     = "Get Items";
     this.btnGetKnown.UseVisualStyleBackColor = true;
     this.btnGetKnown.Click += new System.EventHandler(this.btnGetKnown_Click);
     //
     // taskbarButton
     //
     this.taskbarButton.ContainerForm            = this;
     this.taskbarButton.RegistryProgID           = "C1TaskbarDemo";
     this.taskbarButton.WindowAppID              = "JumpItemDemo";
     this.taskbarButton.JumpItemsRemovedByUser  += new C1.Win.C1Win7Pack.JumpItemsRemovedEventHandler(this.taskbarButton_JumpItemsRemovedByUser);
     this.taskbarButton.ApplyingJumpListChanges += new System.ComponentModel.CancelEventHandler(this.taskbarButton_ApplyingJumpListChanges);
     this.taskbarButton.JumpItemsRejected       += new C1.Win.C1Win7Pack.JumpItemsRejectedEventHandler(this.taskbarButton_JumpItemsRejected);
     //
     // registrationDialog
     //
     this.registrationDialog.CheckBoxText = "Don\'t ask me again";
     this.registrationDialog.Content      = "\'.txt\' file type is not registered.";
     c1CustomButton1.ID   = 9;
     c1CustomButton1.Name = "registerButton";
     c1CustomButton1.Note = "Register .txt files with this application to run this demo application correctly." +
                            "";
     c1CustomButton1.ShowElevationIcon = true;
     c1CustomButton1.Text = "Register file type for this application";
     c1CustomButton2.ID   = 10;
     c1CustomButton2.Name = "ignoreButton";
     c1CustomButton2.Note = "You can try to apply changes without the registration.";
     c1CustomButton2.Text = "Do not register the file type";
     this.registrationDialog.CustomButtons.AddRange(new C1.Win.C1Win7Pack.C1CustomButton[] {
         c1CustomButton1,
         c1CustomButton2
     });
     this.registrationDialog.MainCommonIcon  = C1.Win.C1Win7Pack.TaskDialogCommonIcon.Information;
     this.registrationDialog.MainInstruction = "This demo application needs to register .txt files as associated files to apply c" +
                                               "hanges to the Jump List.";
     this.registrationDialog.NextID      = 11;
     this.registrationDialog.WindowTitle = "C1JumpList Destinations";
     //
     // Form1
     //
     this.AcceptButton        = this.btnApplyChanges;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(542, 402);
     this.Controls.Add(this.btnGetKnown);
     this.Controls.Add(this.comboGetKnown);
     this.Controls.Add(this.knownListBox);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.removedListBox);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.rejectedListBox);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.btnClearCustom);
     this.Controls.Add(this.btnClearKnown);
     this.Controls.Add(this.btnApplyChanges);
     this.Controls.Add(this.btnUnregister);
     this.Controls.Add(this.btnRegister);
     this.Controls.Add(this.btnAddJumpLink);
     this.Controls.Add(this.btnAddJumpPath);
     this.Controls.Add(this.groupBox1);
     this.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "C1JumpList Destinations";
     this.Load           += new System.EventHandler(this.Form1_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     C1.Win.C1Win7Pack.C1CustomButton c1CustomButton1         = new C1.Win.C1Win7Pack.C1CustomButton();
     C1.Win.C1Win7Pack.C1CustomButton c1CustomButton2         = new C1.Win.C1Win7Pack.C1CustomButton();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PreviewForm));
     this.fv        = new C1.Win.FlexViewer.C1FlexViewer();
     this.atb       = new C1.Win.C1Win7Pack.C1TaskbarButton(this.components);
     this.extRegDlg = new C1.Win.C1Win7Pack.C1TaskDialog(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.fv)).BeginInit();
     this.SuspendLayout();
     //
     // fv
     //
     this.fv.AutoScrollMargin  = new System.Drawing.Size(0, 0);
     this.fv.AutoScrollMinSize = new System.Drawing.Size(0, 0);
     this.fv.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.fv.Location = new System.Drawing.Point(0, 0);
     this.fv.Name     = "fv";
     this.fv.Size     = new System.Drawing.Size(902, 545);
     this.fv.TabIndex = 0;
     //
     // atb
     //
     this.atb.ContainerForm  = this;
     this.atb.RegistryProgID = "FlexReportViewer";
     this.atb.WindowAppID    = "FlexReportViewer";
     //
     // extRegDlg
     //
     this.extRegDlg.CheckBoxText = "Don\'t ask me again";
     this.extRegDlg.Content      = "\'.flxr\' file type is not registered.";
     c1CustomButton1.ID          = 9;
     c1CustomButton1.Name        = "registerButton";
     c1CustomButton1.Note        = "Register .flxr files with this application to use the Recent Documents list.";
     c1CustomButton1.Text        = "Register file type for this application";
     c1CustomButton2.ID          = 10;
     c1CustomButton2.Name        = "ignoreButton";
     c1CustomButton2.Note        = "You can work without the registration, with empty Recent Documents list.";
     c1CustomButton2.Text        = "Do not register the file types";
     this.extRegDlg.CustomButtons.AddRange(new C1.Win.C1Win7Pack.C1CustomButton[] {
         c1CustomButton1,
         c1CustomButton2
     });
     this.extRegDlg.MainCommonIcon  = C1.Win.C1Win7Pack.TaskDialogCommonIcon.Information;
     this.extRegDlg.MainInstruction = "This application needs to register .flxr files as associated files to apply chang" +
                                      "es to the Jump List.";
     this.extRegDlg.NextID      = 11;
     this.extRegDlg.WindowTitle = "FlexReport Viewer Destinations";
     //
     // PreviewForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize          = new System.Drawing.Size(902, 545);
     this.Controls.Add(this.fv);
     this.Font         = new System.Drawing.Font("Segoe UI", 9F);
     this.Icon         = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin       = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.Name         = "PreviewForm";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.PreviewForm_FormClosing);
     this.Shown       += new System.EventHandler(this.PreviewForm_Shown);
     ((System.ComponentModel.ISupportInitialize)(this.fv)).EndInit();
     this.ResumeLayout(false);
 }