home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 October / CMCD1004.ISO / Software / Shareware / Programare / netxp / netxp.exe / Samples / CS / Bars / Form1.cs < prev    next >
Encoding:
Text File  |  2004-04-03  |  70.9 KB  |  1,559 lines

  1. using System;
  2. using System.Drawing;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.Windows.Forms;
  6. using NETXP.Controls.Bars;
  7. using NETXP.Library;
  8.  
  9. namespace Bars
  10. {
  11.     /// <summary>
  12.     /// Summary description for Form1.
  13.     /// </summary>
  14.     public class Form1 : System.Windows.Forms.Form
  15.     {
  16.         private NETXP.Controls.Bars.CommandBar commandBar1;
  17.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem1;
  18.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem2;
  19.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem3;
  20.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem9;
  21.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem10;
  22.         private NETXP.Controls.Bars.CommandBar commandBar2;
  23.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem11;
  24.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem12;
  25.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem13;
  26.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem14;
  27.         private NETXP.Controls.Bars.CommandBarSeparatorItem commandBarItem15;
  28.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem16;
  29.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem17;
  30.         private NETXP.Controls.Bars.CommandBarSeparatorItem commandBarItem18;
  31.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem19;
  32.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem20;
  33.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem23;
  34.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem22;
  35.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem24;
  36.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem25;
  37.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem26;
  38.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem27;
  39.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem28;
  40.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem29;
  41.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem30;
  42.         private NETXP.Controls.Bars.CommandContextMenu contextMenu2;
  43.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem31;
  44.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem32;
  45.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem33;
  46.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem34;
  47.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem35;
  48.         private NETXP.Controls.Bars.CommandBarSeparatorItem commandBarItem37;
  49.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem38;
  50.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem39;
  51.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem40;
  52.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem41;
  53.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem21;
  54.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem42;
  55.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem43;
  56.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem44;
  57.         private NETXP.Controls.Bars.CommandBarSeparatorItem commandBarItem45;
  58.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem46;
  59.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem47;
  60.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem48;
  61.         private NETXP.Controls.Bars.CommandBarSeparatorItem commandBarItem49;
  62.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem50;
  63.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem51;
  64.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem52;
  65.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem53;
  66.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem54;
  67.         private NETXP.Controls.Bars.CommandBarSeparatorItem commandBarItem55;
  68.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem56;
  69.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem57;
  70.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem4;
  71.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem5;
  72.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem6;
  73.         private NETXP.Controls.Bars.CommandBarSeparatorItem commandBarItem7;
  74.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem8;
  75.         private NETXP.Controls.Bars.CommandBarSeparatorItem commandBarItem58;
  76.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem59;
  77.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem60;
  78.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem61;
  79.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem62;
  80.         private NETXP.Controls.Bars.CommandBarSeparatorItem commandBarItem63;
  81.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem64;
  82.         private NETXP.Controls.Bars.CommandBarSeparatorItem commandBarItem65;
  83.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem66;
  84.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem67;
  85.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem68;
  86.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem69;
  87.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem70;
  88.         private NETXP.Controls.Bars.CommandBarSeparatorItem commandBarItem71;
  89.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem72;
  90.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem73;
  91.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem74;
  92.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem75;
  93.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem76;
  94.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem77;
  95.         private NETXP.Controls.Bars.CommandBarSeparatorItem commandBarItem78;
  96.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem79;
  97.         private NETXP.Controls.Bars.CommandBarSeparatorItem commandBarItem80;
  98.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem81;
  99.         private NETXP.Controls.Bars.CommandBarManager commandBarManager1;
  100.         private NETXP.Controls.Bars.CommandBarDock commandBarDockLeft;
  101.         private NETXP.Controls.Bars.CommandBarDock commandBarDockRight;
  102.         private NETXP.Controls.Bars.CommandBarDock commandBarDockTop;
  103.         private NETXP.Controls.Bars.CommandBarLabelItem commandBarLabelItem1;
  104.         private NETXP.Controls.Bars.CommandBarSeparatorItem commandBarSeparatorItem1;
  105.         private NETXP.Controls.Bars.CommandBarComboItem commandBarComboItem1;
  106.         private NETXP.Controls.Bars.CommandBar commandBar3;
  107.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarButtonItem1;
  108.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarButtonItem2;
  109.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarButtonItem3;
  110.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarButtonItem4;
  111.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarButtonItem5;
  112.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarButtonItem6;
  113.         private NETXP.Controls.Bars.CommandBarSeparatorItem commandBarSeparatorItem2;
  114.         private NETXP.Controls.Bars.CommandBarSeparatorItem commandBarSeparatorItem3;
  115.         private NETXP.Controls.Bars.CommandBarSeparatorItem commandBarSeparatorItem4;
  116.         private NETXP.Controls.Bars.CommandBarSeparatorItem commandBarSeparatorItem5;
  117.         private NETXP.Controls.Bars.CommandBarComboItem commandBarComboItem2;
  118.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarButtonItem7;
  119.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarButtonItem8;
  120.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarButtonItem9;
  121.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarButtonItem10;
  122.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarButtonItem11;
  123.         private NETXP.Controls.Bars.CommandBar commandBar4;
  124.         private NETXP.Controls.Bars.CommandBarComboItem commandBarComboItem3;
  125.         private NETXP.Controls.Bars.CommandBarLabelItem commandBarLabelItem2;
  126.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarButtonItem12;
  127.         private NETXP.Controls.Bars.StatusBar statusBar1;
  128.         private System.Windows.Forms.StatusBarPanel statusBarPanel1;
  129.         private System.Windows.Forms.StatusBarPanel statusBarPanel2;
  130.         private NETXP.Controls.Bars.ProgressPanel progressPanel1;
  131.         private NETXP.Controls.Bars.ListBar listBar1;
  132.         private NETXP.Controls.Bars.ListBarGroup listBarGroup1;
  133.         private NETXP.Controls.Bars.ListBarGroup listBarGroup2;
  134.         private NETXP.Controls.Bars.ListBarGroup listBarGroup3;
  135.         private NETXP.Controls.Bars.ListBarGroup listBarGroup4;
  136.         private NETXP.Controls.Bars.ListBarGroup listBarGroup5;
  137.         private NETXP.Controls.Bars.ListBarItem listBarItem1;
  138.         private NETXP.Controls.Bars.ListBarItem listBarItem2;
  139.         private NETXP.Controls.Bars.ListBarItem listBarItem3;
  140.         private NETXP.Controls.Bars.ListBarItem listBarItem4;
  141.         private NETXP.Components.Extenders.StatusMessages statusMessages1;
  142.         private System.ComponentModel.IContainer components;
  143.         private NETXP.Controls.Bars.CommandBarButtonItem commandBarItem69B;
  144.         private NETXP.Controls.Bars.CommandBarDock commandBarDockBottom;
  145.  
  146.         public Form1()
  147.         {
  148.             InitializeComponent();
  149.         }
  150.  
  151.         /// <summary>
  152.         /// Clean up any resources being used.
  153.         /// </summary>
  154.         protected override void Dispose( bool disposing )
  155.         {
  156.             base.Dispose( disposing );
  157.         }
  158.  
  159.         #region Windows Form Designer generated code
  160.         /// <summary>
  161.         /// Required method for Designer support - do not modify
  162.         /// the contents of this method with the code editor.
  163.         /// </summary>
  164.         private void InitializeComponent()
  165.         {
  166.             this.components = new System.ComponentModel.Container();
  167.             System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
  168.             this.commandBar1 = new NETXP.Controls.Bars.CommandBar();
  169.             this.commandBarItem1 = new NETXP.Controls.Bars.CommandBarButtonItem();
  170.             this.commandBarItem3 = new NETXP.Controls.Bars.CommandBarButtonItem();
  171.             this.commandBarItem20 = new NETXP.Controls.Bars.CommandBarButtonItem();
  172.             this.commandBarItem37 = new NETXP.Controls.Bars.CommandBarSeparatorItem();
  173.             this.commandBarItem38 = new NETXP.Controls.Bars.CommandBarButtonItem();
  174.             this.commandBarItem39 = new NETXP.Controls.Bars.CommandBarButtonItem();
  175.             this.commandBarItem40 = new NETXP.Controls.Bars.CommandBarButtonItem();
  176.             this.commandBarItem41 = new NETXP.Controls.Bars.CommandBarButtonItem();
  177.             this.commandBarItem21 = new NETXP.Controls.Bars.CommandBarButtonItem();
  178.             this.commandBarItem42 = new NETXP.Controls.Bars.CommandBarButtonItem();
  179.             this.commandBarItem43 = new NETXP.Controls.Bars.CommandBarButtonItem();
  180.             this.commandBarItem44 = new NETXP.Controls.Bars.CommandBarButtonItem();
  181.             this.commandBarItem45 = new NETXP.Controls.Bars.CommandBarSeparatorItem();
  182.             this.commandBarItem46 = new NETXP.Controls.Bars.CommandBarButtonItem();
  183.             this.commandBarItem47 = new NETXP.Controls.Bars.CommandBarButtonItem();
  184.             this.commandBarItem48 = new NETXP.Controls.Bars.CommandBarButtonItem();
  185.             this.commandBarItem49 = new NETXP.Controls.Bars.CommandBarSeparatorItem();
  186.             this.commandBarItem50 = new NETXP.Controls.Bars.CommandBarButtonItem();
  187.             this.commandBarItem51 = new NETXP.Controls.Bars.CommandBarButtonItem();
  188.             this.commandBarItem52 = new NETXP.Controls.Bars.CommandBarButtonItem();
  189.             this.commandBarItem53 = new NETXP.Controls.Bars.CommandBarButtonItem();
  190.             this.commandBarItem54 = new NETXP.Controls.Bars.CommandBarButtonItem();
  191.             this.commandBarItem55 = new NETXP.Controls.Bars.CommandBarSeparatorItem();
  192.             this.commandBarItem56 = new NETXP.Controls.Bars.CommandBarButtonItem();
  193.             this.commandBarItem57 = new NETXP.Controls.Bars.CommandBarButtonItem();
  194.             this.commandBarItem9 = new NETXP.Controls.Bars.CommandBarButtonItem();
  195.             this.commandBarItem33 = new NETXP.Controls.Bars.CommandBarButtonItem();
  196.             this.commandBarItem4 = new NETXP.Controls.Bars.CommandBarButtonItem();
  197.             this.commandBarItem5 = new NETXP.Controls.Bars.CommandBarButtonItem();
  198.             this.commandBarItem6 = new NETXP.Controls.Bars.CommandBarButtonItem();
  199.             this.commandBarItem7 = new NETXP.Controls.Bars.CommandBarSeparatorItem();
  200.             this.commandBarItem8 = new NETXP.Controls.Bars.CommandBarButtonItem();
  201.             this.commandBarItem58 = new NETXP.Controls.Bars.CommandBarSeparatorItem();
  202.             this.commandBarItem59 = new NETXP.Controls.Bars.CommandBarButtonItem();
  203.             this.commandBarItem34 = new NETXP.Controls.Bars.CommandBarButtonItem();
  204.             this.commandBarItem60 = new NETXP.Controls.Bars.CommandBarButtonItem();
  205.             this.commandBarItem68 = new NETXP.Controls.Bars.CommandBarButtonItem();
  206.             this.commandBarItem69 = new NETXP.Controls.Bars.CommandBarButtonItem();
  207.             this.commandBarItem69B = new NETXP.Controls.Bars.CommandBarButtonItem();
  208.             this.commandBarItem70 = new NETXP.Controls.Bars.CommandBarButtonItem();
  209.             this.commandBarItem71 = new NETXP.Controls.Bars.CommandBarSeparatorItem();
  210.             this.commandBarItem72 = new NETXP.Controls.Bars.CommandBarButtonItem();
  211.             this.commandBarItem61 = new NETXP.Controls.Bars.CommandBarButtonItem();
  212.             this.commandBarItem62 = new NETXP.Controls.Bars.CommandBarButtonItem();
  213.             this.commandBarItem63 = new NETXP.Controls.Bars.CommandBarSeparatorItem();
  214.             this.commandBarItem64 = new NETXP.Controls.Bars.CommandBarButtonItem();
  215.             this.commandBarItem73 = new NETXP.Controls.Bars.CommandBarButtonItem();
  216.             this.commandBarItem74 = new NETXP.Controls.Bars.CommandBarButtonItem();
  217.             this.commandBarItem75 = new NETXP.Controls.Bars.CommandBarButtonItem();
  218.             this.commandBarItem65 = new NETXP.Controls.Bars.CommandBarSeparatorItem();
  219.             this.commandBarItem66 = new NETXP.Controls.Bars.CommandBarButtonItem();
  220.             this.commandBarItem67 = new NETXP.Controls.Bars.CommandBarButtonItem();
  221.             this.commandBarItem35 = new NETXP.Controls.Bars.CommandBarButtonItem();
  222.             this.commandBarItem76 = new NETXP.Controls.Bars.CommandBarButtonItem();
  223.             this.commandBarItem77 = new NETXP.Controls.Bars.CommandBarButtonItem();
  224.             this.commandBarItem78 = new NETXP.Controls.Bars.CommandBarSeparatorItem();
  225.             this.commandBarItem79 = new NETXP.Controls.Bars.CommandBarButtonItem();
  226.             this.commandBarItem2 = new NETXP.Controls.Bars.CommandBarButtonItem();
  227.             this.commandBarItem81 = new NETXP.Controls.Bars.CommandBarButtonItem();
  228.             this.commandBarItem80 = new NETXP.Controls.Bars.CommandBarSeparatorItem();
  229.             this.commandBarItem10 = new NETXP.Controls.Bars.CommandBarButtonItem();
  230.             this.commandBar2 = new NETXP.Controls.Bars.CommandBar();
  231.             this.commandBarItem12 = new NETXP.Controls.Bars.CommandBarButtonItem();
  232.             this.commandBarItem22 = new NETXP.Controls.Bars.CommandBarButtonItem();
  233.             this.commandBarItem13 = new NETXP.Controls.Bars.CommandBarButtonItem();
  234.             this.commandBarItem29 = new NETXP.Controls.Bars.CommandBarButtonItem();
  235.             this.commandBarItem14 = new NETXP.Controls.Bars.CommandBarButtonItem();
  236.             this.commandBarItem15 = new NETXP.Controls.Bars.CommandBarSeparatorItem();
  237.             this.commandBarItem16 = new NETXP.Controls.Bars.CommandBarButtonItem();
  238.             this.commandBarItem17 = new NETXP.Controls.Bars.CommandBarButtonItem();
  239.             this.commandBarItem18 = new NETXP.Controls.Bars.CommandBarSeparatorItem();
  240.             this.commandBarLabelItem1 = new NETXP.Controls.Bars.CommandBarLabelItem();
  241.             this.commandBarItem19 = new NETXP.Controls.Bars.CommandBarButtonItem();
  242.             this.commandBarItem24 = new NETXP.Controls.Bars.CommandBarButtonItem();
  243.             this.commandBarItem25 = new NETXP.Controls.Bars.CommandBarButtonItem();
  244.             this.commandBarItem26 = new NETXP.Controls.Bars.CommandBarButtonItem();
  245.             this.commandBarItem27 = new NETXP.Controls.Bars.CommandBarButtonItem();
  246.             this.commandBarItem28 = new NETXP.Controls.Bars.CommandBarButtonItem();
  247.             this.commandBarSeparatorItem1 = new NETXP.Controls.Bars.CommandBarSeparatorItem();
  248.             this.commandBarComboItem1 = new NETXP.Controls.Bars.CommandBarComboItem();
  249.             this.commandBarItem23 = new NETXP.Controls.Bars.CommandBarButtonItem();
  250.             this.commandBarItem11 = new NETXP.Controls.Bars.CommandBarButtonItem();
  251.             this.commandBarItem30 = new NETXP.Controls.Bars.CommandBarButtonItem();
  252.             this.commandBarItem31 = new NETXP.Controls.Bars.CommandBarButtonItem();
  253.             this.commandBarItem32 = new NETXP.Controls.Bars.CommandBarButtonItem();
  254.             this.contextMenu2 = new NETXP.Controls.Bars.CommandContextMenu();
  255.             this.commandBarManager1 = new NETXP.Controls.Bars.CommandBarManager();
  256.             this.commandBarDockBottom = new NETXP.Controls.Bars.CommandBarDock();
  257.             this.commandBarDockLeft = new NETXP.Controls.Bars.CommandBarDock();
  258.             this.commandBarDockRight = new NETXP.Controls.Bars.CommandBarDock();
  259.             this.commandBarDockTop = new NETXP.Controls.Bars.CommandBarDock();
  260.             this.commandBar3 = new NETXP.Controls.Bars.CommandBar();
  261.             this.commandBarButtonItem1 = new NETXP.Controls.Bars.CommandBarButtonItem();
  262.             this.commandBarButtonItem2 = new NETXP.Controls.Bars.CommandBarButtonItem();
  263.             this.commandBarButtonItem3 = new NETXP.Controls.Bars.CommandBarButtonItem();
  264.             this.commandBarSeparatorItem4 = new NETXP.Controls.Bars.CommandBarSeparatorItem();
  265.             this.commandBarButtonItem4 = new NETXP.Controls.Bars.CommandBarButtonItem();
  266.             this.commandBarButtonItem7 = new NETXP.Controls.Bars.CommandBarButtonItem();
  267.             this.commandBarButtonItem8 = new NETXP.Controls.Bars.CommandBarButtonItem();
  268.             this.commandBarButtonItem9 = new NETXP.Controls.Bars.CommandBarButtonItem();
  269.             this.commandBarSeparatorItem3 = new NETXP.Controls.Bars.CommandBarSeparatorItem();
  270.             this.commandBarButtonItem5 = new NETXP.Controls.Bars.CommandBarButtonItem();
  271.             this.commandBarSeparatorItem2 = new NETXP.Controls.Bars.CommandBarSeparatorItem();
  272.             this.commandBarButtonItem6 = new NETXP.Controls.Bars.CommandBarButtonItem();
  273.             this.commandBarButtonItem10 = new NETXP.Controls.Bars.CommandBarButtonItem();
  274.             this.commandBarSeparatorItem5 = new NETXP.Controls.Bars.CommandBarSeparatorItem();
  275.             this.commandBarComboItem2 = new NETXP.Controls.Bars.CommandBarComboItem();
  276.             this.commandBarButtonItem11 = new NETXP.Controls.Bars.CommandBarButtonItem();
  277.             this.commandBar4 = new NETXP.Controls.Bars.CommandBar();
  278.             this.commandBarLabelItem2 = new NETXP.Controls.Bars.CommandBarLabelItem();
  279.             this.commandBarComboItem3 = new NETXP.Controls.Bars.CommandBarComboItem();
  280.             this.commandBarButtonItem12 = new NETXP.Controls.Bars.CommandBarButtonItem();
  281.             this.statusBar1 = new NETXP.Controls.Bars.StatusBar();
  282.             this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel();
  283.             this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel();
  284.             this.progressPanel1 = new NETXP.Controls.Bars.ProgressPanel();
  285.             this.listBar1 = new NETXP.Controls.Bars.ListBar();
  286.             this.listBarGroup1 = new NETXP.Controls.Bars.ListBarGroup();
  287.             this.listBarItem2 = new NETXP.Controls.Bars.ListBarItem();
  288.             this.listBarItem3 = new NETXP.Controls.Bars.ListBarItem();
  289.             this.listBarItem1 = new NETXP.Controls.Bars.ListBarItem();
  290.             this.listBarItem4 = new NETXP.Controls.Bars.ListBarItem();
  291.             this.listBarGroup2 = new NETXP.Controls.Bars.ListBarGroup();
  292.             this.listBarGroup3 = new NETXP.Controls.Bars.ListBarGroup();
  293.             this.listBarGroup4 = new NETXP.Controls.Bars.ListBarGroup();
  294.             this.listBarGroup5 = new NETXP.Controls.Bars.ListBarGroup();
  295.             this.statusMessages1 = new NETXP.Components.Extenders.StatusMessages(this.components);
  296.             ((System.ComponentModel.ISupportInitialize)(this.commandBar1)).BeginInit();
  297.             ((System.ComponentModel.ISupportInitialize)(this.commandBar2)).BeginInit();
  298.             this.commandBarDockTop.SuspendLayout();
  299.             ((System.ComponentModel.ISupportInitialize)(this.commandBar3)).BeginInit();
  300.             ((System.ComponentModel.ISupportInitialize)(this.commandBar4)).BeginInit();
  301.             ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
  302.             ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit();
  303.             ((System.ComponentModel.ISupportInitialize)(this.progressPanel1)).BeginInit();
  304.             ((System.ComponentModel.ISupportInitialize)(this.listBar1)).BeginInit();
  305.             this.SuspendLayout();
  306.             // 
  307.             // commandBar1
  308.             // 
  309.             this.commandBar1.AllowClose = false;
  310.             this.commandBar1.BackColor = System.Drawing.Color.Transparent;
  311.             this.commandBar1.Cursor = System.Windows.Forms.Cursors.Default;
  312.             this.commandBar1.CustomizeText = "&Customize Toolbar...";
  313.             this.commandBar1.FullRow = true;
  314.             this.commandBar1.ID = 2976;
  315.             this.commandBar1.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  316.                                                                                          this.commandBarItem1,
  317.                                                                                          this.commandBarItem33,
  318.                                                                                          this.commandBarItem34,
  319.                                                                                          this.commandBarItem35,
  320.                                                                                          this.commandBarItem2});
  321.             this.commandBar1.Location = new System.Drawing.Point(0, 0);
  322.             this.commandBar1.Margins.Bottom = 1;
  323.             this.commandBar1.Margins.Left = 1;
  324.             this.commandBar1.Margins.Right = 1;
  325.             this.commandBar1.Margins.Top = 1;
  326.             this.commandBar1.MdiContainer = this;
  327.             this.commandBar1.Name = "commandBar1";
  328.             this.commandBar1.Size = new System.Drawing.Size(752, 24);
  329.             this.commandBar1.Style = NETXP.Controls.Bars.CommandBarStyle.Menu;
  330.             this.commandBar1.TabIndex = 3;
  331.             this.commandBar1.TabStop = false;
  332.             this.commandBar1.Text = "Menu Bar";
  333.             this.commandBar1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.bar_MouseUp);
  334.             // 
  335.             // commandBarItem1
  336.             // 
  337.             this.commandBarItem1.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  338.                                                                                              this.commandBarItem3,
  339.                                                                                              this.commandBarItem21,
  340.                                                                                              this.commandBarItem42,
  341.                                                                                              this.commandBarItem43,
  342.                                                                                              this.commandBarItem44,
  343.                                                                                              this.commandBarItem45,
  344.                                                                                              this.commandBarItem46,
  345.                                                                                              this.commandBarItem47,
  346.                                                                                              this.commandBarItem48,
  347.                                                                                              this.commandBarItem49,
  348.                                                                                              this.commandBarItem50,
  349.                                                                                              this.commandBarItem54,
  350.                                                                                              this.commandBarItem55,
  351.                                                                                              this.commandBarItem56,
  352.                                                                                              this.commandBarItem57,
  353.                                                                                              this.commandBarItem9});
  354.             this.statusMessages1.SetStatusMessage(this.commandBarItem1, "Contains commands for working with the selected items.");
  355.             this.commandBarItem1.Text = "&File";
  356.             // 
  357.             // commandBarItem3
  358.             // 
  359.             this.commandBarItem3.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem3.Image")));
  360.             this.commandBarItem3.Infrequent = true;
  361.             this.commandBarItem3.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  362.                                                                                              this.commandBarItem20,
  363.                                                                                              this.commandBarItem37,
  364.                                                                                              this.commandBarItem38,
  365.                                                                                              this.commandBarItem39,
  366.                                                                                              this.commandBarItem40,
  367.                                                                                              this.commandBarItem41});
  368.             this.statusMessages1.SetStatusMessage(this.commandBarItem3, "Opens a new document.");
  369.             this.commandBarItem3.Text = "&New";
  370.             // 
  371.             // commandBarItem20
  372.             // 
  373.             this.commandBarItem20.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem20.Image")));
  374.             this.commandBarItem20.Shortcut = System.Windows.Forms.Shortcut.CtrlN;
  375.             this.statusMessages1.SetStatusMessage(this.commandBarItem20, "Opens a new window.");
  376.             this.commandBarItem20.Text = "&Window";
  377.             this.commandBarItem20.Click += new System.EventHandler(this.commandBarItem20_Click);
  378.             // 
  379.             // commandBarItem38
  380.             // 
  381.             this.commandBarItem38.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem38.Image")));
  382.             this.statusMessages1.SetStatusMessage(this.commandBarItem38, "Creates a new mail message.");
  383.             this.commandBarItem38.Text = "&Message";
  384.             this.commandBarItem38.Click += new System.EventHandler(this.commandBarItem38_Click);
  385.             // 
  386.             // commandBarItem39
  387.             // 
  388.             this.commandBarItem39.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem39.Image")));
  389.             this.statusMessages1.SetStatusMessage(this.commandBarItem39, "Post a new article.");
  390.             this.commandBarItem39.Text = "&Post";
  391.             // 
  392.             // commandBarItem40
  393.             // 
  394.             this.commandBarItem40.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem40.Image")));
  395.             this.statusMessages1.SetStatusMessage(this.commandBarItem40, "Create a new contact.");
  396.             this.commandBarItem40.Text = "&Contact";
  397.             // 
  398.             // commandBarItem41
  399.             // 
  400.             this.commandBarItem41.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem41.Image")));
  401.             this.statusMessages1.SetStatusMessage(this.commandBarItem41, "Make a new call.");
  402.             this.commandBarItem41.Text = "&Internet Call";
  403.             // 
  404.             // commandBarItem21
  405.             // 
  406.             this.commandBarItem21.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem21.Image")));
  407.             this.commandBarItem21.Shortcut = System.Windows.Forms.Shortcut.CtrlO;
  408.             this.statusMessages1.SetStatusMessage(this.commandBarItem21, null);
  409.             this.commandBarItem21.Text = "&Open...";
  410.             // 
  411.             // commandBarItem42
  412.             // 
  413.             this.commandBarItem42.Enabled = false;
  414.             this.commandBarItem42.Infrequent = true;
  415.             this.statusMessages1.SetStatusMessage(this.commandBarItem42, null);
  416.             this.commandBarItem42.Text = "&Edit";
  417.             // 
  418.             // commandBarItem43
  419.             // 
  420.             this.commandBarItem43.Enabled = false;
  421.             this.commandBarItem43.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem43.Image")));
  422.             this.commandBarItem43.Shortcut = System.Windows.Forms.Shortcut.CtrlS;
  423.             this.statusMessages1.SetStatusMessage(this.commandBarItem43, null);
  424.             this.commandBarItem43.Text = "&Save";
  425.             // 
  426.             // commandBarItem44
  427.             // 
  428.             this.commandBarItem44.Infrequent = true;
  429.             this.statusMessages1.SetStatusMessage(this.commandBarItem44, null);
  430.             this.commandBarItem44.Text = "Save &As...";
  431.             // 
  432.             // commandBarItem45
  433.             // 
  434.             this.commandBarItem45.Infrequent = true;
  435.             // 
  436.             // commandBarItem46
  437.             // 
  438.             this.commandBarItem46.Infrequent = true;
  439.             this.statusMessages1.SetStatusMessage(this.commandBarItem46, null);
  440.             this.commandBarItem46.Text = "Page Set&up...";
  441.             // 
  442.             // commandBarItem47
  443.             // 
  444.             this.commandBarItem47.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem47.Image")));
  445.             this.commandBarItem47.Shortcut = System.Windows.Forms.Shortcut.CtrlP;
  446.             this.statusMessages1.SetStatusMessage(this.commandBarItem47, null);
  447.             this.commandBarItem47.Text = "&Print...";
  448.             // 
  449.             // commandBarItem48
  450.             // 
  451.             this.commandBarItem48.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem48.Image")));
  452.             this.statusMessages1.SetStatusMessage(this.commandBarItem48, null);
  453.             this.commandBarItem48.Text = "Print Pre&view...";
  454.             // 
  455.             // commandBarItem50
  456.             // 
  457.             this.commandBarItem50.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem50.Image")));
  458.             this.commandBarItem50.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  459.                                                                                               this.commandBarItem51,
  460.                                                                                               this.commandBarItem52,
  461.                                                                                               this.commandBarItem53});
  462.             this.statusMessages1.SetStatusMessage(this.commandBarItem50, null);
  463.             this.commandBarItem50.Text = "S&end";
  464.             // 
  465.             // commandBarItem51
  466.             // 
  467.             this.commandBarItem51.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem51.Image")));
  468.             this.statusMessages1.SetStatusMessage(this.commandBarItem51, null);
  469.             this.commandBarItem51.Text = "&Page by E-mail...";
  470.             // 
  471.             // commandBarItem52
  472.             // 
  473.             this.statusMessages1.SetStatusMessage(this.commandBarItem52, null);
  474.             this.commandBarItem52.Text = "&Link by E-mail...";
  475.             // 
  476.             // commandBarItem53
  477.             // 
  478.             this.statusMessages1.SetStatusMessage(this.commandBarItem53, null);
  479.             this.commandBarItem53.Text = "&Shortcut to Desktop";
  480.             // 
  481.             // commandBarItem54
  482.             // 
  483.             this.commandBarItem54.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem54.Image")));
  484.             this.commandBarItem54.Infrequent = true;
  485.             this.statusMessages1.SetStatusMessage(this.commandBarItem54, null);
  486.             this.commandBarItem54.Text = "&Import and Export...";
  487.             // 
  488.             // commandBarItem56
  489.             // 
  490.             this.commandBarItem56.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem56.Image")));
  491.             this.statusMessages1.SetStatusMessage(this.commandBarItem56, null);
  492.             this.commandBarItem56.Text = "P&roperties";
  493.             // 
  494.             // commandBarItem57
  495.             // 
  496.             this.commandBarItem57.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem57.Image")));
  497.             this.statusMessages1.SetStatusMessage(this.commandBarItem57, null);
  498.             this.commandBarItem57.Text = "&Work Offline";
  499.             // 
  500.             // commandBarItem9
  501.             // 
  502.             this.commandBarItem9.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem9.Image")));
  503.             this.statusMessages1.SetStatusMessage(this.commandBarItem9, null);
  504.             this.commandBarItem9.Text = "E&xit";
  505.             this.commandBarItem9.Click += new System.EventHandler(this.commandBarItem9_Click);
  506.             // 
  507.             // commandBarItem33
  508.             // 
  509.             this.commandBarItem33.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  510.                                                                                               this.commandBarItem4,
  511.                                                                                               this.commandBarItem5,
  512.                                                                                               this.commandBarItem6,
  513.                                                                                               this.commandBarItem7,
  514.                                                                                               this.commandBarItem8,
  515.                                                                                               this.commandBarItem58,
  516.                                                                                               this.commandBarItem59});
  517.             this.statusMessages1.SetStatusMessage(this.commandBarItem33, null);
  518.             this.commandBarItem33.Text = "&Edit";
  519.             // 
  520.             // commandBarItem4
  521.             // 
  522.             this.commandBarItem4.Enabled = false;
  523.             this.commandBarItem4.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem4.Image")));
  524.             this.commandBarItem4.Shortcut = System.Windows.Forms.Shortcut.CtrlX;
  525.             this.statusMessages1.SetStatusMessage(this.commandBarItem4, null);
  526.             this.commandBarItem4.Text = "Cu&t";
  527.             // 
  528.             // commandBarItem5
  529.             // 
  530.             this.commandBarItem5.Enabled = false;
  531.             this.commandBarItem5.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem5.Image")));
  532.             this.commandBarItem5.Shortcut = System.Windows.Forms.Shortcut.CtrlC;
  533.             this.statusMessages1.SetStatusMessage(this.commandBarItem5, null);
  534.             this.commandBarItem5.Text = "&Copy";
  535.             // 
  536.             // commandBarItem6
  537.             // 
  538.             this.commandBarItem6.Enabled = false;
  539.             this.commandBarItem6.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem6.Image")));
  540.             this.commandBarItem6.Shortcut = System.Windows.Forms.Shortcut.CtrlV;
  541.             this.statusMessages1.SetStatusMessage(this.commandBarItem6, null);
  542.             this.commandBarItem6.Text = "&Paste";
  543.             // 
  544.             // commandBarItem8
  545.             // 
  546.             this.commandBarItem8.Shortcut = System.Windows.Forms.Shortcut.CtrlA;
  547.             this.statusMessages1.SetStatusMessage(this.commandBarItem8, null);
  548.             this.commandBarItem8.Text = "Select &All";
  549.             // 
  550.             // commandBarItem59
  551.             // 
  552.             this.commandBarItem59.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem59.Image")));
  553.             this.commandBarItem59.Shortcut = System.Windows.Forms.Shortcut.CtrlF;
  554.             this.statusMessages1.SetStatusMessage(this.commandBarItem59, null);
  555.             this.commandBarItem59.Text = "&Find (on This Page)...";
  556.             // 
  557.             // commandBarItem34
  558.             // 
  559.             this.commandBarItem34.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  560.                                                                                               this.commandBarItem60,
  561.                                                                                               this.commandBarItem61,
  562.                                                                                               this.commandBarItem62,
  563.                                                                                               this.commandBarItem63,
  564.                                                                                               this.commandBarItem64,
  565.                                                                                               this.commandBarItem65,
  566.                                                                                               this.commandBarItem66,
  567.                                                                                               this.commandBarItem67});
  568.             this.statusMessages1.SetStatusMessage(this.commandBarItem34, null);
  569.             this.commandBarItem34.Text = "&View";
  570.             // 
  571.             // commandBarItem60
  572.             // 
  573.             this.commandBarItem60.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  574.                                                                                               this.commandBarItem68,
  575.                                                                                               this.commandBarItem69,
  576.                                                                                               this.commandBarItem69B,
  577.                                                                                               this.commandBarItem70,
  578.                                                                                               this.commandBarItem71,
  579.                                                                                               this.commandBarItem72});
  580.             this.statusMessages1.SetStatusMessage(this.commandBarItem60, null);
  581.             this.commandBarItem60.Text = "&Toolbars";
  582.             // 
  583.             // commandBarItem68
  584.             // 
  585.             this.commandBarItem68.Checked = true;
  586.             this.commandBarItem68.Enabled = false;
  587.             this.statusMessages1.SetStatusMessage(this.commandBarItem68, null);
  588.             this.commandBarItem68.Text = "&Menu";
  589.             // 
  590.             // commandBarItem69
  591.             // 
  592.             this.commandBarItem69.Checked = true;
  593.             this.statusMessages1.SetStatusMessage(this.commandBarItem69, null);
  594.             this.commandBarItem69.Text = "&Toolbar";
  595.             this.commandBarItem69.Click += new System.EventHandler(this.commandBarItem69_Click);
  596.             // 
  597.             // commandBarItem69B
  598.             // 
  599.             this.commandBarItem69B.Checked = true;
  600.             this.statusMessages1.SetStatusMessage(this.commandBarItem69B, null);
  601.             this.commandBarItem69B.Text = "&Formatting";
  602.             this.commandBarItem69B.Click += new System.EventHandler(this.commandBarItem69B_Click);
  603.             // 
  604.             // commandBarItem70
  605.             // 
  606.             this.commandBarItem70.Checked = true;
  607.             this.statusMessages1.SetStatusMessage(this.commandBarItem70, null);
  608.             this.commandBarItem70.Text = "&Address Bar";
  609.             this.commandBarItem70.Click += new System.EventHandler(this.commandBarItem70_Click);
  610.             // 
  611.             // commandBarItem72
  612.             // 
  613.             this.statusMessages1.SetStatusMessage(this.commandBarItem72, null);
  614.             this.commandBarItem72.Text = "&Lock the Toolbars";
  615.             this.commandBarItem72.Click += new System.EventHandler(this.commandBarItem72_Click);
  616.             // 
  617.             // commandBarItem61
  618.             // 
  619.             this.commandBarItem61.Checked = true;
  620.             this.statusMessages1.SetStatusMessage(this.commandBarItem61, null);
  621.             this.commandBarItem61.Text = "&Status Bar";
  622.             this.commandBarItem61.Click += new System.EventHandler(this.commandBarItem61_Click);
  623.             // 
  624.             // commandBarItem62
  625.             // 
  626.             this.commandBarItem62.Checked = true;
  627.             this.statusMessages1.SetStatusMessage(this.commandBarItem62, null);
  628.             this.commandBarItem62.Text = "Out&look Bar";
  629.             this.commandBarItem62.Click += new System.EventHandler(this.commandBarItem62_Click);
  630.             // 
  631.             // commandBarItem64
  632.             // 
  633.             this.commandBarItem64.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  634.                                                                                               this.commandBarItem73,
  635.                                                                                               this.commandBarItem74,
  636.                                                                                               this.commandBarItem75});
  637.             this.statusMessages1.SetStatusMessage(this.commandBarItem64, null);
  638.             this.commandBarItem64.Text = "Display S&tyle";
  639.             // 
  640.             // commandBarItem73
  641.             // 
  642.             this.commandBarItem73.Checked = true;
  643.             this.commandBarItem73.CheckType = NETXP.Controls.Bars.ButtonItemCheckType.Radio;
  644.             this.statusMessages1.SetStatusMessage(this.commandBarItem73, null);
  645.             this.commandBarItem73.Text = "Office 200&3";
  646.             this.commandBarItem73.Click += new System.EventHandler(this.commandBarItem73_Click);
  647.             // 
  648.             // commandBarItem74
  649.             // 
  650.             this.commandBarItem74.CheckType = NETXP.Controls.Bars.ButtonItemCheckType.Radio;
  651.             this.statusMessages1.SetStatusMessage(this.commandBarItem74, null);
  652.             this.commandBarItem74.Text = "Office &XP";
  653.             this.commandBarItem74.Click += new System.EventHandler(this.commandBarItem74_Click);
  654.             // 
  655.             // commandBarItem75
  656.             // 
  657.             this.commandBarItem75.CheckType = NETXP.Controls.Bars.ButtonItemCheckType.Radio;
  658.             this.statusMessages1.SetStatusMessage(this.commandBarItem75, null);
  659.             this.commandBarItem75.Text = "&Windows Default";
  660.             this.commandBarItem75.Click += new System.EventHandler(this.commandBarItem75_Click);
  661.             // 
  662.             // commandBarItem66
  663.             // 
  664.             this.statusMessages1.SetStatusMessage(this.commandBarItem66, null);
  665.             this.commandBarItem66.Text = "St&op";
  666.             // 
  667.             // commandBarItem67
  668.             // 
  669.             this.commandBarItem67.Shortcut = System.Windows.Forms.Shortcut.F5;
  670.             this.statusMessages1.SetStatusMessage(this.commandBarItem67, null);
  671.             this.commandBarItem67.Text = "&Refresh";
  672.             // 
  673.             // commandBarItem35
  674.             // 
  675.             this.commandBarItem35.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  676.                                                                                               this.commandBarItem76,
  677.                                                                                               this.commandBarItem77,
  678.                                                                                               this.commandBarItem78,
  679.                                                                                               this.commandBarItem79});
  680.             this.statusMessages1.SetStatusMessage(this.commandBarItem35, null);
  681.             this.commandBarItem35.Text = "F&avorites";
  682.             // 
  683.             // commandBarItem76
  684.             // 
  685.             this.commandBarItem76.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem76.Image")));
  686.             this.statusMessages1.SetStatusMessage(this.commandBarItem76, null);
  687.             this.commandBarItem76.Text = "&Add to Favorites...";
  688.             // 
  689.             // commandBarItem77
  690.             // 
  691.             this.commandBarItem77.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem77.Image")));
  692.             this.statusMessages1.SetStatusMessage(this.commandBarItem77, null);
  693.             this.commandBarItem77.Text = "&Organize Favorites...";
  694.             // 
  695.             // commandBarItem79
  696.             // 
  697.             this.statusMessages1.SetStatusMessage(this.commandBarItem79, null);
  698.             this.commandBarItem79.Text = "Dacris Software Homepage";
  699.             // 
  700.             // commandBarItem2
  701.             // 
  702.             this.commandBarItem2.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  703.                                                                                              this.commandBarItem81,
  704.                                                                                              this.commandBarItem80,
  705.                                                                                              this.commandBarItem10});
  706.             this.statusMessages1.SetStatusMessage(this.commandBarItem2, null);
  707.             this.commandBarItem2.Text = "&Help";
  708.             // 
  709.             // commandBarItem81
  710.             // 
  711.             this.commandBarItem81.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem81.Image")));
  712.             this.commandBarItem81.Shortcut = System.Windows.Forms.Shortcut.F1;
  713.             this.statusMessages1.SetStatusMessage(this.commandBarItem81, null);
  714.             this.commandBarItem81.Text = "&Contents";
  715.             this.commandBarItem81.Click += new System.EventHandler(this.commandBarItem81_Click);
  716.             // 
  717.             // commandBarItem10
  718.             // 
  719.             this.commandBarItem10.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem10.Image")));
  720.             this.commandBarItem10.Shortcut = System.Windows.Forms.Shortcut.CtrlF1;
  721.             this.statusMessages1.SetStatusMessage(this.commandBarItem10, null);
  722.             this.commandBarItem10.Text = "&About";
  723.             // 
  724.             // commandBar2
  725.             // 
  726.             this.commandBar2.BackColor = System.Drawing.Color.Transparent;
  727.             this.commandBar2.Cursor = System.Windows.Forms.Cursors.Default;
  728.             this.commandBar2.CustomizeText = "&Customize Toolbar...";
  729.             this.commandBar2.ID = 2784;
  730.             this.commandBar2.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  731.                                                                                          this.commandBarItem12,
  732.                                                                                          this.commandBarItem13,
  733.                                                                                          this.commandBarItem14,
  734.                                                                                          this.commandBarItem15,
  735.                                                                                          this.commandBarItem16,
  736.                                                                                          this.commandBarItem17,
  737.                                                                                          this.commandBarItem18,
  738.                                                                                          this.commandBarLabelItem1,
  739.                                                                                          this.commandBarItem19,
  740.                                                                                          this.commandBarSeparatorItem1,
  741.                                                                                          this.commandBarComboItem1});
  742.             this.commandBar2.Location = new System.Drawing.Point(0, 24);
  743.             this.commandBar2.Margins.Bottom = 1;
  744.             this.commandBar2.Margins.Left = 1;
  745.             this.commandBar2.Margins.Right = 1;
  746.             this.commandBar2.Margins.Top = 1;
  747.             this.commandBar2.Name = "commandBar2";
  748.             this.commandBar2.RowNumber = 1;
  749.             this.commandBar2.Size = new System.Drawing.Size(439, 25);
  750.             this.commandBar2.TabIndex = 3;
  751.             this.commandBar2.TabStop = false;
  752.             this.commandBar2.Text = "Standard Toolbar";
  753.             this.commandBar2.VisibleChanged += new System.EventHandler(this.commandBar2_VisibleChanged);
  754.             this.commandBar2.MouseUp += new System.Windows.Forms.MouseEventHandler(this.bar_MouseUp);
  755.             // 
  756.             // commandBarItem12
  757.             // 
  758.             this.commandBarItem12.HotImage = ((System.Drawing.Image)(resources.GetObject("commandBarItem12.HotImage")));
  759.             this.commandBarItem12.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem12.Image")));
  760.             this.commandBarItem12.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  761.                                                                                               this.commandBarItem22});
  762.             this.commandBarItem12.ShowText = true;
  763.             this.statusMessages1.SetStatusMessage(this.commandBarItem12, null);
  764.             this.commandBarItem12.Text = "Back";
  765.             // 
  766.             // commandBarItem22
  767.             // 
  768.             this.commandBarItem22.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem22.Image")));
  769.             this.statusMessages1.SetStatusMessage(this.commandBarItem22, null);
  770.             this.commandBarItem22.Text = "Desktop";
  771.             // 
  772.             // commandBarItem13
  773.             // 
  774.             this.commandBarItem13.Enabled = false;
  775.             this.commandBarItem13.HotImage = ((System.Drawing.Image)(resources.GetObject("commandBarItem13.HotImage")));
  776.             this.commandBarItem13.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem13.Image")));
  777.             this.commandBarItem13.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  778.                                                                                               this.commandBarItem29});
  779.             this.statusMessages1.SetStatusMessage(this.commandBarItem13, null);
  780.             this.commandBarItem13.Text = "Forward";
  781.             // 
  782.             // commandBarItem29
  783.             // 
  784.             this.commandBarItem29.HotImage = ((System.Drawing.Image)(resources.GetObject("commandBarItem29.HotImage")));
  785.             this.commandBarItem29.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem29.Image")));
  786.             this.statusMessages1.SetStatusMessage(this.commandBarItem29, null);
  787.             this.commandBarItem29.Text = "Windows &Update";
  788.             // 
  789.             // commandBarItem14
  790.             // 
  791.             this.commandBarItem14.HotImage = ((System.Drawing.Image)(resources.GetObject("commandBarItem14.HotImage")));
  792.             this.commandBarItem14.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem14.Image")));
  793.             this.statusMessages1.SetStatusMessage(this.commandBarItem14, null);
  794.             this.commandBarItem14.Text = "Up One Level";
  795.             // 
  796.             // commandBarItem16
  797.             // 
  798.             this.commandBarItem16.HotImage = ((System.Drawing.Image)(resources.GetObject("commandBarItem16.HotImage")));
  799.             this.commandBarItem16.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem16.Image")));
  800.             this.commandBarItem16.ShowText = true;
  801.             this.statusMessages1.SetStatusMessage(this.commandBarItem16, null);
  802.             this.commandBarItem16.Text = "Search";
  803.             this.commandBarItem16.Click += new System.EventHandler(this.commandBarItem16_Click);
  804.             // 
  805.             // commandBarItem17
  806.             // 
  807.             this.commandBarItem17.HotImage = ((System.Drawing.Image)(resources.GetObject("commandBarItem17.HotImage")));
  808.             this.commandBarItem17.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem17.Image")));
  809.             this.commandBarItem17.ShowText = true;
  810.             this.statusMessages1.SetStatusMessage(this.commandBarItem17, null);
  811.             this.commandBarItem17.Text = "Folders";
  812.             this.commandBarItem17.Click += new System.EventHandler(this.commandBarItem17_Click);
  813.             // 
  814.             // commandBarLabelItem1
  815.             // 
  816.             this.commandBarLabelItem1.Text = "Test";
  817.             // 
  818.             // commandBarItem19
  819.             // 
  820.             this.commandBarItem19.HotImage = ((System.Drawing.Image)(resources.GetObject("commandBarItem19.HotImage")));
  821.             this.commandBarItem19.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem19.Image")));
  822.             this.commandBarItem19.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  823.                                                                                               this.commandBarItem24,
  824.                                                                                               this.commandBarItem25,
  825.                                                                                               this.commandBarItem26,
  826.                                                                                               this.commandBarItem27,
  827.                                                                                               this.commandBarItem28});
  828.             this.statusMessages1.SetStatusMessage(this.commandBarItem19, null);
  829.             this.commandBarItem19.Style = NETXP.Controls.Bars.ButtonItemStyle.DropDown;
  830.             this.commandBarItem19.Text = "Views";
  831.             // 
  832.             // commandBarItem24
  833.             // 
  834.             this.commandBarItem24.CheckType = NETXP.Controls.Bars.ButtonItemCheckType.Radio;
  835.             this.statusMessages1.SetStatusMessage(this.commandBarItem24, null);
  836.             this.commandBarItem24.Text = "Thumbnails";
  837.             // 
  838.             // commandBarItem25
  839.             // 
  840.             this.commandBarItem25.CheckType = NETXP.Controls.Bars.ButtonItemCheckType.Radio;
  841.             this.statusMessages1.SetStatusMessage(this.commandBarItem25, null);
  842.             this.commandBarItem25.Text = "Tiles";
  843.             // 
  844.             // commandBarItem26
  845.             // 
  846.             this.commandBarItem26.Checked = true;
  847.             this.commandBarItem26.CheckType = NETXP.Controls.Bars.ButtonItemCheckType.Radio;
  848.             this.statusMessages1.SetStatusMessage(this.commandBarItem26, null);
  849.             this.commandBarItem26.Text = "Icons";
  850.             // 
  851.             // commandBarItem27
  852.             // 
  853.             this.commandBarItem27.CheckType = NETXP.Controls.Bars.ButtonItemCheckType.Radio;
  854.             this.statusMessages1.SetStatusMessage(this.commandBarItem27, null);
  855.             this.commandBarItem27.Text = "List";
  856.             // 
  857.             // commandBarItem28
  858.             // 
  859.             this.commandBarItem28.CheckType = NETXP.Controls.Bars.ButtonItemCheckType.Radio;
  860.             this.statusMessages1.SetStatusMessage(this.commandBarItem28, null);
  861.             this.commandBarItem28.Text = "Details";
  862.             // 
  863.             // commandBarComboItem1
  864.             // 
  865.             this.commandBarComboItem1.ComboText = "test";
  866.             this.commandBarComboItem1.Items.AddRange(new object[] {
  867.                                                                       "def",
  868.                                                                       "ghi",
  869.                                                                       "aaaaa"});
  870.             this.commandBarComboItem1.Text = "Combo Box";
  871.             this.commandBarComboItem1.Width = 80;
  872.             // 
  873.             // commandBarItem23
  874.             // 
  875.             this.commandBarItem23.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem23.Image")));
  876.             this.commandBarItem23.ShowText = true;
  877.             this.statusMessages1.SetStatusMessage(this.commandBarItem23, null);
  878.             this.commandBarItem23.Text = "Go";
  879.             // 
  880.             // commandBarItem11
  881.             // 
  882.             this.statusMessages1.SetStatusMessage(this.commandBarItem11, null);
  883.             this.commandBarItem11.Text = null;
  884.             // 
  885.             // commandBarItem30
  886.             // 
  887.             this.statusMessages1.SetStatusMessage(this.commandBarItem30, null);
  888.             this.commandBarItem30.Text = null;
  889.             // 
  890.             // commandBarItem31
  891.             // 
  892.             this.commandBarItem31.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem31.Image")));
  893.             this.statusMessages1.SetStatusMessage(this.commandBarItem31, null);
  894.             this.commandBarItem31.Text = "Dock Form &1";
  895.             // 
  896.             // commandBarItem32
  897.             // 
  898.             this.commandBarItem32.Image = ((System.Drawing.Image)(resources.GetObject("commandBarItem32.Image")));
  899.             this.statusMessages1.SetStatusMessage(this.commandBarItem32, null);
  900.             this.commandBarItem32.Text = "Dock Form &2";
  901.             // 
  902.             // contextMenu2
  903.             // 
  904.             this.contextMenu2.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  905.                                                                                           this.commandBarItem31,
  906.                                                                                           this.commandBarItem32});
  907.             // 
  908.             // commandBarManager1
  909.             // 
  910.             this.commandBarManager1.BottomDock = this.commandBarDockBottom;
  911.             this.commandBarManager1.Form = this;
  912.             this.commandBarManager1.LeftDock = this.commandBarDockLeft;
  913.             this.commandBarManager1.RightDock = this.commandBarDockRight;
  914.             this.commandBarManager1.TopDock = this.commandBarDockTop;
  915.             // 
  916.             // commandBarDockBottom
  917.             // 
  918.             this.commandBarDockBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
  919.             this.commandBarDockBottom.Location = new System.Drawing.Point(0, 578);
  920.             this.commandBarDockBottom.Manager = this.commandBarManager1;
  921.             this.commandBarDockBottom.Name = "commandBarDockBottom";
  922.             this.commandBarDockBottom.Size = new System.Drawing.Size(752, 0);
  923.             this.commandBarDockBottom.TabIndex = 3;
  924.             this.commandBarDockBottom.Text = "CommandBarDock";
  925.             // 
  926.             // commandBarDockLeft
  927.             // 
  928.             this.commandBarDockLeft.Dock = System.Windows.Forms.DockStyle.Left;
  929.             this.commandBarDockLeft.Location = new System.Drawing.Point(0, 74);
  930.             this.commandBarDockLeft.Manager = this.commandBarManager1;
  931.             this.commandBarDockLeft.Name = "commandBarDockLeft";
  932.             this.commandBarDockLeft.Size = new System.Drawing.Size(0, 504);
  933.             this.commandBarDockLeft.TabIndex = 0;
  934.             this.commandBarDockLeft.Text = "CommandBarDock";
  935.             // 
  936.             // commandBarDockRight
  937.             // 
  938.             this.commandBarDockRight.Dock = System.Windows.Forms.DockStyle.Right;
  939.             this.commandBarDockRight.Location = new System.Drawing.Point(752, 74);
  940.             this.commandBarDockRight.Manager = this.commandBarManager1;
  941.             this.commandBarDockRight.Name = "commandBarDockRight";
  942.             this.commandBarDockRight.Size = new System.Drawing.Size(0, 504);
  943.             this.commandBarDockRight.TabIndex = 1;
  944.             this.commandBarDockRight.Text = "CommandBarDock";
  945.             // 
  946.             // commandBarDockTop
  947.             // 
  948.             this.commandBarDockTop.Controls.Add(this.commandBar3);
  949.             this.commandBarDockTop.Controls.Add(this.commandBar4);
  950.             this.commandBarDockTop.Controls.Add(this.commandBar2);
  951.             this.commandBarDockTop.Controls.Add(this.commandBar1);
  952.             this.commandBarDockTop.Location = new System.Drawing.Point(0, 0);
  953.             this.commandBarDockTop.Manager = this.commandBarManager1;
  954.             this.commandBarDockTop.Name = "commandBarDockTop";
  955.             this.commandBarDockTop.Size = new System.Drawing.Size(752, 74);
  956.             this.commandBarDockTop.TabIndex = 2;
  957.             this.commandBarDockTop.Text = "CommandBarDock";
  958.             // 
  959.             // commandBar3
  960.             // 
  961.             this.commandBar3.BackColor = System.Drawing.Color.Transparent;
  962.             this.commandBar3.Cursor = System.Windows.Forms.Cursors.Default;
  963.             this.commandBar3.CustomizeText = "&Customize Toolbar...";
  964.             this.commandBar3.ID = 10279;
  965.             this.commandBar3.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  966.                                                                                          this.commandBarButtonItem1,
  967.                                                                                          this.commandBarButtonItem2,
  968.                                                                                          this.commandBarButtonItem3,
  969.                                                                                          this.commandBarSeparatorItem4,
  970.                                                                                          this.commandBarButtonItem4,
  971.                                                                                          this.commandBarSeparatorItem3,
  972.                                                                                          this.commandBarButtonItem5,
  973.                                                                                          this.commandBarSeparatorItem2,
  974.                                                                                          this.commandBarButtonItem6,
  975.                                                                                          this.commandBarSeparatorItem5,
  976.                                                                                          this.commandBarComboItem2,
  977.                                                                                          this.commandBarButtonItem11});
  978.             this.commandBar3.Location = new System.Drawing.Point(0, 49);
  979.             this.commandBar3.Margins.Bottom = 1;
  980.             this.commandBar3.Margins.Left = 1;
  981.             this.commandBar3.Margins.Right = 1;
  982.             this.commandBar3.Margins.Top = 1;
  983.             this.commandBar3.Name = "commandBar3";
  984.             this.commandBar3.RowNumber = 2;
  985.             this.commandBar3.Size = new System.Drawing.Size(403, 25);
  986.             this.commandBar3.TabIndex = 4;
  987.             this.commandBar3.TabStop = false;
  988.             this.commandBar3.Text = "Formatting Toolbar";
  989.             this.commandBar3.VisibleChanged += new System.EventHandler(this.commandBar3_VisibleChanged);
  990.             this.commandBar3.MouseUp += new System.Windows.Forms.MouseEventHandler(this.bar_MouseUp);
  991.             // 
  992.             // commandBarButtonItem1
  993.             // 
  994.             this.commandBarButtonItem1.HotImage = ((System.Drawing.Image)(resources.GetObject("commandBarButtonItem1.HotImage")));
  995.             this.commandBarButtonItem1.Image = ((System.Drawing.Image)(resources.GetObject("commandBarButtonItem1.Image")));
  996.             this.commandBarButtonItem1.Shortcut = System.Windows.Forms.Shortcut.CtrlX;
  997.             this.statusMessages1.SetStatusMessage(this.commandBarButtonItem1, null);
  998.             this.commandBarButtonItem1.Text = "Cut";
  999.             // 
  1000.             // commandBarButtonItem2
  1001.             // 
  1002.             this.commandBarButtonItem2.HotImage = ((System.Drawing.Image)(resources.GetObject("commandBarButtonItem2.HotImage")));
  1003.             this.commandBarButtonItem2.Image = ((System.Drawing.Image)(resources.GetObject("commandBarButtonItem2.Image")));
  1004.             this.commandBarButtonItem2.Shortcut = System.Windows.Forms.Shortcut.CtrlC;
  1005.             this.statusMessages1.SetStatusMessage(this.commandBarButtonItem2, null);
  1006.             this.commandBarButtonItem2.Text = "Copy";
  1007.             // 
  1008.             // commandBarButtonItem3
  1009.             // 
  1010.             this.commandBarButtonItem3.Enabled = false;
  1011.             this.commandBarButtonItem3.HotImage = ((System.Drawing.Image)(resources.GetObject("commandBarButtonItem3.HotImage")));
  1012.             this.commandBarButtonItem3.Image = ((System.Drawing.Image)(resources.GetObject("commandBarButtonItem3.Image")));
  1013.             this.commandBarButtonItem3.Shortcut = System.Windows.Forms.Shortcut.CtrlV;
  1014.             this.statusMessages1.SetStatusMessage(this.commandBarButtonItem3, null);
  1015.             this.commandBarButtonItem3.Text = "Paste";
  1016.             // 
  1017.             // commandBarButtonItem4
  1018.             // 
  1019.             this.commandBarButtonItem4.HotImage = ((System.Drawing.Image)(resources.GetObject("commandBarButtonItem4.HotImage")));
  1020.             this.commandBarButtonItem4.Image = ((System.Drawing.Image)(resources.GetObject("commandBarButtonItem4.Image")));
  1021.             this.commandBarButtonItem4.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  1022.                                                                                                    this.commandBarButtonItem7,
  1023.                                                                                                    this.commandBarButtonItem8,
  1024.                                                                                                    this.commandBarButtonItem9});
  1025.             this.commandBarButtonItem4.ShowText = true;
  1026.             this.statusMessages1.SetStatusMessage(this.commandBarButtonItem4, null);
  1027.             this.commandBarButtonItem4.Style = NETXP.Controls.Bars.ButtonItemStyle.DropDown;
  1028.             this.commandBarButtonItem4.Text = "Encoding";
  1029.             // 
  1030.             // commandBarButtonItem7
  1031.             // 
  1032.             this.commandBarButtonItem7.Checked = true;
  1033.             this.commandBarButtonItem7.CheckType = NETXP.Controls.Bars.ButtonItemCheckType.Radio;
  1034.             this.statusMessages1.SetStatusMessage(this.commandBarButtonItem7, null);
  1035.             this.commandBarButtonItem7.Text = "UTF-8";
  1036.             // 
  1037.             // commandBarButtonItem8
  1038.             // 
  1039.             this.commandBarButtonItem8.CheckType = NETXP.Controls.Bars.ButtonItemCheckType.Radio;
  1040.             this.statusMessages1.SetStatusMessage(this.commandBarButtonItem8, null);
  1041.             this.commandBarButtonItem8.Text = "Unicode";
  1042.             // 
  1043.             // commandBarButtonItem9
  1044.             // 
  1045.             this.commandBarButtonItem9.CheckType = NETXP.Controls.Bars.ButtonItemCheckType.Radio;
  1046.             this.statusMessages1.SetStatusMessage(this.commandBarButtonItem9, null);
  1047.             this.commandBarButtonItem9.Text = "ANSI";
  1048.             // 
  1049.             // commandBarButtonItem5
  1050.             // 
  1051.             this.commandBarButtonItem5.HotImage = ((System.Drawing.Image)(resources.GetObject("commandBarButtonItem5.HotImage")));
  1052.             this.commandBarButtonItem5.Image = ((System.Drawing.Image)(resources.GetObject("commandBarButtonItem5.Image")));
  1053.             this.statusMessages1.SetStatusMessage(this.commandBarButtonItem5, null);
  1054.             this.commandBarButtonItem5.Text = "Print Preview";
  1055.             // 
  1056.             // commandBarButtonItem6
  1057.             // 
  1058.             this.commandBarButtonItem6.HotImage = ((System.Drawing.Image)(resources.GetObject("commandBarButtonItem6.HotImage")));
  1059.             this.commandBarButtonItem6.Image = ((System.Drawing.Image)(resources.GetObject("commandBarButtonItem6.Image")));
  1060.             this.commandBarButtonItem6.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  1061.                                                                                                    this.commandBarButtonItem10});
  1062.             this.statusMessages1.SetStatusMessage(this.commandBarButtonItem6, null);
  1063.             this.commandBarButtonItem6.Style = NETXP.Controls.Bars.ButtonItemStyle.DropDown;
  1064.             this.commandBarButtonItem6.Text = "Related";
  1065.             // 
  1066.             // commandBarButtonItem10
  1067.             // 
  1068.             this.commandBarButtonItem10.Enabled = false;
  1069.             this.statusMessages1.SetStatusMessage(this.commandBarButtonItem10, null);
  1070.             this.commandBarButtonItem10.Text = "(Empty)";
  1071.             // 
  1072.             // commandBarComboItem2
  1073.             // 
  1074.             this.commandBarComboItem2.ComboText = "";
  1075.             this.commandBarComboItem2.Items.AddRange(new object[] {
  1076.                                                                       "topic1",
  1077.                                                                       "topic2",
  1078.                                                                       "topic3"});
  1079.             this.commandBarComboItem2.Style = System.Windows.Forms.ComboBoxStyle.DropDownList;
  1080.             this.commandBarComboItem2.Text = "Help Topics";
  1081.             this.commandBarComboItem2.Width = 128;
  1082.             // 
  1083.             // commandBarButtonItem11
  1084.             // 
  1085.             this.commandBarButtonItem11.Image = ((System.Drawing.Image)(resources.GetObject("commandBarButtonItem11.Image")));
  1086.             this.statusMessages1.SetStatusMessage(this.commandBarButtonItem11, null);
  1087.             this.commandBarButtonItem11.Text = "Test";
  1088.             // 
  1089.             // commandBar4
  1090.             // 
  1091.             this.commandBar4.BackColor = System.Drawing.Color.Transparent;
  1092.             this.commandBar4.Cursor = System.Windows.Forms.Cursors.Default;
  1093.             this.commandBar4.CustomizeText = "&Customize Toolbar...";
  1094.             this.commandBar4.ID = 11625;
  1095.             this.commandBar4.Items.AddRange(new NETXP.Controls.Bars.CommandBarItem[] {
  1096.                                                                                          this.commandBarLabelItem2,
  1097.                                                                                          this.commandBarComboItem3,
  1098.                                                                                          this.commandBarButtonItem12});
  1099.             this.commandBar4.Location = new System.Drawing.Point(403, 49);
  1100.             this.commandBar4.Margins.Bottom = 1;
  1101.             this.commandBar4.Margins.Left = 1;
  1102.             this.commandBar4.Margins.Right = 1;
  1103.             this.commandBar4.Margins.Top = 1;
  1104.             this.commandBar4.Name = "commandBar4";
  1105.             this.commandBar4.Position = 100;
  1106.             this.commandBar4.RowNumber = 2;
  1107.             this.commandBar4.Size = new System.Drawing.Size(277, 25);
  1108.             this.commandBar4.TabIndex = 5;
  1109.             this.commandBar4.TabStop = false;
  1110.             this.commandBar4.Text = "Address Bar";
  1111.             this.commandBar4.VisibleChanged += new System.EventHandler(this.commandBar4_VisibleChanged);
  1112.             this.commandBar4.MouseUp += new System.Windows.Forms.MouseEventHandler(this.bar_MouseUp);
  1113.             // 
  1114.             // commandBarLabelItem2
  1115.             // 
  1116.             this.commandBarLabelItem2.Text = "Address:";
  1117.             // 
  1118.             // commandBarComboItem3
  1119.             // 
  1120.             this.commandBarComboItem3.ComboText = "http://www.dacris.com";
  1121.             this.commandBarComboItem3.Text = "Enter URL";
  1122.             this.commandBarComboItem3.Width = 160;
  1123.             // 
  1124.             // commandBarButtonItem12
  1125.             // 
  1126.             this.commandBarButtonItem12.Image = ((System.Drawing.Image)(resources.GetObject("commandBarButtonItem12.Image")));
  1127.             this.commandBarButtonItem12.ShowText = true;
  1128.             this.statusMessages1.SetStatusMessage(this.commandBarButtonItem12, null);
  1129.             this.commandBarButtonItem12.Text = "Go";
  1130.             // 
  1131.             // statusBar1
  1132.             // 
  1133.             this.statusBar1.Location = new System.Drawing.Point(0, 578);
  1134.             this.statusBar1.Name = "statusBar1";
  1135.             this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
  1136.                                                                                           this.statusBarPanel1,
  1137.                                                                                           this.statusBarPanel2,
  1138.                                                                                           this.progressPanel1});
  1139.             this.statusBar1.ShowPanels = true;
  1140.             this.statusBar1.Size = new System.Drawing.Size(752, 20);
  1141.             this.statusBar1.TabIndex = 5;
  1142.             this.statusBar1.VisibleChanged += new System.EventHandler(this.statusBar1_VisibleChanged);
  1143.             // 
  1144.             // statusBarPanel1
  1145.             // 
  1146.             this.statusBarPanel1.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
  1147.             this.statusBarPanel1.Style = System.Windows.Forms.StatusBarPanelStyle.OwnerDraw;
  1148.             this.statusBarPanel1.Text = "Ready.";
  1149.             this.statusBarPanel1.Width = 534;
  1150.             // 
  1151.             // statusBarPanel2
  1152.             // 
  1153.             this.statusBarPanel2.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
  1154.             this.statusBarPanel2.Icon = ((System.Drawing.Icon)(resources.GetObject("statusBarPanel2.Icon")));
  1155.             this.statusBarPanel2.Style = System.Windows.Forms.StatusBarPanelStyle.OwnerDraw;
  1156.             this.statusBarPanel2.Text = "Internet Zone";
  1157.             this.statusBarPanel2.Width = 102;
  1158.             // 
  1159.             // progressPanel1
  1160.             // 
  1161.             this.progressPanel1.Maximum = 100;
  1162.             this.progressPanel1.Minimum = 1;
  1163.             this.progressPanel1.Style = System.Windows.Forms.StatusBarPanelStyle.OwnerDraw;
  1164.             this.progressPanel1.Value = 50;
  1165.             // 
  1166.             // listBar1
  1167.             // 
  1168.             this.listBar1.AllowDrop = true;
  1169.             this.listBar1.Cursor = System.Windows.Forms.Cursors.Default;
  1170.             this.listBar1.Dock = System.Windows.Forms.DockStyle.Left;
  1171.             this.listBar1.Groups.AddRange(new NETXP.Controls.Bars.ListBarGroup[] {
  1172.                                                            this.listBarGroup1,
  1173.                                                            this.listBarGroup2,
  1174.                                                            this.listBarGroup3,
  1175.                                                            this.listBarGroup4,
  1176.                                                            this.listBarGroup5});
  1177.             this.listBar1.Location = new System.Drawing.Point(0, 74);
  1178.             this.listBar1.Name = "listBar1";
  1179.             this.listBar1.Size = new System.Drawing.Size(176, 504);
  1180.             this.listBar1.TabIndex = 7;
  1181.             this.listBar1.ToolTip = null;
  1182.             this.listBar1.VisibleChanged += new System.EventHandler(this.listBar1_VisibleChanged);
  1183.             // 
  1184.             // listBarGroup1
  1185.             // 
  1186.             this.listBarGroup1.Caption = "Test1";
  1187.             this.listBarGroup1.Items.AddRange(new NETXP.Controls.Bars.ListBarItem[] {
  1188.                                                                                         this.listBarItem2,
  1189.                                                                                         this.listBarItem3,
  1190.                                                                                         this.listBarItem1,
  1191.                                                                                         this.listBarItem4});
  1192.             this.listBarGroup1.Key = "";
  1193.             this.listBarGroup1.ToolTipText = "";
  1194.             this.listBarGroup1.View = NETXP.Controls.Bars.ListBarGroupView.TextRight;
  1195.             // 
  1196.             // listBarItem2
  1197.             // 
  1198.             this.listBarItem2.Caption = "3D Bar Chart";
  1199.             this.listBarItem2.Image = ((System.Drawing.Image)(resources.GetObject("listBarItem2.Image")));
  1200.             this.listBarItem2.Key = "";
  1201.             this.listBarItem2.Tag = "";
  1202.             this.listBarItem2.ToolTipText = "";
  1203.             // 
  1204.             // listBarItem3
  1205.             // 
  1206.             this.listBarItem3.Caption = "3D Clustered Column Chart";
  1207.             this.listBarItem3.Enabled = false;
  1208.             this.listBarItem3.Image = ((System.Drawing.Image)(resources.GetObject("listBarItem3.Image")));
  1209.             this.listBarItem3.Key = "";
  1210.             this.listBarItem3.Tag = "";
  1211.             this.listBarItem3.ToolTipText = "";
  1212.             // 
  1213.             // listBarItem1
  1214.             // 
  1215.             this.listBarItem1.Caption = "3D Area Chart";
  1216.             this.listBarItem1.Image = ((System.Drawing.Image)(resources.GetObject("listBarItem1.Image")));
  1217.             this.listBarItem1.Key = "";
  1218.             this.listBarItem1.Tag = "";
  1219.             this.listBarItem1.ToolTipText = "";
  1220.             // 
  1221.             // listBarItem4
  1222.             // 
  1223.             this.listBarItem4.Caption = "3D Column Chart";
  1224.             this.listBarItem4.Image = ((System.Drawing.Image)(resources.GetObject("listBarItem4.Image")));
  1225.             this.listBarItem4.Key = "";
  1226.             this.listBarItem4.Tag = "";
  1227.             this.listBarItem4.ToolTipText = "";
  1228.             // 
  1229.             // listBarGroup2
  1230.             // 
  1231.             this.listBarGroup2.Caption = "Test2";
  1232.             this.listBarGroup2.Key = "";
  1233.             this.listBarGroup2.ToolTipText = "";
  1234.             this.listBarGroup2.View = NETXP.Controls.Bars.ListBarGroupView.TextUnderneath;
  1235.             // 
  1236.             // listBarGroup3
  1237.             // 
  1238.             this.listBarGroup3.Caption = "Test3";
  1239.             this.listBarGroup3.Key = "";
  1240.             this.listBarGroup3.ToolTipText = "";
  1241.             this.listBarGroup3.View = NETXP.Controls.Bars.ListBarGroupView.NoText;
  1242.             // 
  1243.             // listBarGroup4
  1244.             // 
  1245.             this.listBarGroup4.Caption = "Test4";
  1246.             this.listBarGroup4.Key = "";
  1247.             this.listBarGroup4.ToolTipText = "";
  1248.             this.listBarGroup4.View = NETXP.Controls.Bars.ListBarGroupView.NoText;
  1249.             // 
  1250.             // listBarGroup5
  1251.             // 
  1252.             this.listBarGroup5.Caption = "Test5";
  1253.             this.listBarGroup5.Key = "";
  1254.             this.listBarGroup5.ToolTipText = "";
  1255.             this.listBarGroup5.View = NETXP.Controls.Bars.ListBarGroupView.TextUnderneath;
  1256.             // 
  1257.             // statusMessages1
  1258.             // 
  1259.             this.statusMessages1.StatusBar = this.statusBar1;
  1260.             // 
  1261.             // Form1
  1262.             // 
  1263.             this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
  1264.             this.ClientSize = new System.Drawing.Size(752, 598);
  1265.             this.Controls.Add(this.listBar1);
  1266.             this.Controls.Add(this.commandBarDockLeft);
  1267.             this.Controls.Add(this.commandBarDockRight);
  1268.             this.Controls.Add(this.commandBarDockTop);
  1269.             this.Controls.Add(this.commandBarDockBottom);
  1270.             this.Controls.Add(this.statusBar1);
  1271.             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  1272.             this.IsMdiContainer = true;
  1273.             this.Name = "Form1";
  1274.             this.Text = "Test Application";
  1275.             this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing);
  1276.             this.Load += new System.EventHandler(this.Form1_Load);
  1277.             ((System.ComponentModel.ISupportInitialize)(this.commandBar1)).EndInit();
  1278.             ((System.ComponentModel.ISupportInitialize)(this.commandBar2)).EndInit();
  1279.             this.commandBarDockTop.ResumeLayout(false);
  1280.             ((System.ComponentModel.ISupportInitialize)(this.commandBar3)).EndInit();
  1281.             ((System.ComponentModel.ISupportInitialize)(this.commandBar4)).EndInit();
  1282.             ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
  1283.             ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit();
  1284.             ((System.ComponentModel.ISupportInitialize)(this.progressPanel1)).EndInit();
  1285.             ((System.ComponentModel.ISupportInitialize)(this.listBar1)).EndInit();
  1286.             this.ResumeLayout(false);
  1287.  
  1288.         }
  1289.         #endregion
  1290.  
  1291.         /// <summary>
  1292.         /// The main entry point for the application.
  1293.         /// </summary>
  1294.         [STAThread]
  1295.         static void Main() 
  1296.         {
  1297.             Application.Run(new Form1());
  1298.         }
  1299.  
  1300.         private void Form1_Load(object sender, System.EventArgs e)
  1301.         {
  1302.             //control items can only be added at runtime
  1303.             CommandBarControlItem ctlItem = new CommandBarControlItem();
  1304.             this.commandBar2.Items.Add(ctlItem);
  1305.             ctlItem.Control = new Button();
  1306.             ctlItem.Control.Text = "Button Item";
  1307.             ctlItem.Width = 70;
  1308.             ctlItem.Height = 20;
  1309.             (ctlItem.Control as Button).FlatStyle = FlatStyle.System;
  1310.  
  1311.             foreach(CommandBar bar in this.commandBarManager1.GetCommandBars())
  1312.             {
  1313.                 bar.ShowGripperChanged += new EventHandler(bar_ShowGripperChanged);
  1314.             }
  1315.  
  1316.             Microsoft.Win32.RegistryKey key = null;
  1317.             try
  1318.             {
  1319.                 key = Microsoft.Win32.Registry.CurrentUser.CreateSubKey("Software\\RebarTestApp");
  1320.                 this.commandBarManager1.LoadLayout(key);
  1321.             }
  1322.             catch(Exception x)
  1323.             {
  1324.                 System.Diagnostics.Debug.WriteLine(x.ToString());
  1325.             }
  1326.             finally
  1327.             {
  1328.                 if(key != null)
  1329.                 {
  1330.                     key.Close();
  1331.                 }
  1332.             }
  1333.         }
  1334.  
  1335.         private void commandBarItem9_Click(object sender, System.EventArgs e)
  1336.         {
  1337.             this.Close();
  1338.         }
  1339.  
  1340.  
  1341.         private void bar_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
  1342.         {
  1343.             if(e.Button == MouseButtons.Right)
  1344.             {
  1345.                 CommandContextMenu contextMenu1;
  1346.                 contextMenu1 = new CommandContextMenu();
  1347.                 contextMenu1.Items = commandBarItem60.Items;
  1348.                 contextMenu1.Renderer = commandBarManager1.Renderer;
  1349.                 contextMenu1.Show(sender as Control, new Point(e.X, e.Y));
  1350.             }
  1351.         }
  1352.  
  1353.         private void commandBarItem20_Click(object sender, System.EventArgs e)
  1354.         {
  1355.             MdiChild child = new MdiChild();
  1356.             child.MdiParent = this;
  1357.             child.SetManager(this.commandBarManager1);
  1358.             child.Show();
  1359.         }
  1360.  
  1361.         private void commandBarItem17_Click(object sender, System.EventArgs e)
  1362.         {
  1363.             commandBarItem17.Checked = !commandBarItem17.Checked;
  1364.         }
  1365.  
  1366.         private void commandBarItem74_Click(object sender, System.EventArgs e)
  1367.         {
  1368.             //office xp
  1369.             if(!commandBarItem74.Checked)
  1370.             {
  1371.                 this.commandBarManager1.Renderer = new NETXP.Controls.Bars.CommandBarRenderers.OfficeXP();
  1372.                 this.listBar1.Renderer = new NETXP.Controls.Bars.ListBarRenderers.OfficeXP();
  1373.                 this.statusBar1.Renderer = new NETXP.Controls.Bars.StatusBarRenderers.OfficeXP();
  1374.                 commandBarItem73.Checked = false;
  1375.                 commandBarItem74.Checked = true;
  1376.                 commandBarItem75.Checked = false;
  1377.                 Refresh();
  1378.             }
  1379.         }
  1380.  
  1381.         private void commandBarItem73_Click(object sender, System.EventArgs e)
  1382.         {
  1383.             //office 2003
  1384.             if(!commandBarItem73.Checked)
  1385.             {
  1386.                 this.commandBarManager1.Renderer = new NETXP.Controls.Bars.CommandBarRenderers.Office2003();
  1387.                 this.listBar1.Renderer = new NETXP.Controls.Bars.ListBarRenderers.Office2003();
  1388.                 this.statusBar1.Renderer = new NETXP.Controls.Bars.StatusBarRenderers.Office2003();
  1389.                 commandBarItem73.Checked = true;
  1390.                 commandBarItem74.Checked = false;
  1391.                 commandBarItem75.Checked = false;
  1392.                 Refresh();
  1393.             }
  1394.         }
  1395.  
  1396.         private void commandBarItem75_Click(object sender, System.EventArgs e)
  1397.         {
  1398.             //windows xp
  1399.             if(!commandBarItem75.Checked)
  1400.             {
  1401.                 this.commandBarManager1.Renderer = new NETXP.Controls.Bars.CommandBarRenderers.WindowsDefault();
  1402.                 this.listBar1.Renderer = new NETXP.Controls.Bars.ListBarRenderers.WindowsDefault();
  1403.                 this.statusBar1.Renderer = new NETXP.Controls.Bars.StatusBarRenderers.WindowsDefault();
  1404.                 commandBarItem73.Checked = false;
  1405.                 commandBarItem74.Checked = false;
  1406.                 commandBarItem75.Checked = true;
  1407.                 Refresh();
  1408.             }        
  1409.         }
  1410.  
  1411.         private void commandBarItem38_Click(object sender, System.EventArgs e)
  1412.         {
  1413.             commandBarItem1.Items.Add(new CommandBarButtonItem("Test Item"));
  1414.         }
  1415.  
  1416.         private void commandBarItem69_Click(object sender, System.EventArgs e)
  1417.         {
  1418.             if(this.commandBarItem69.Checked)
  1419.             {
  1420.                 this.commandBar2.HideBar();
  1421.                 this.commandBarItem69.Checked = false;
  1422.             }
  1423.             else
  1424.             {
  1425.                 this.commandBar2.ShowBar();
  1426.                 this.commandBarItem69.Checked = true;
  1427.             }
  1428.         }
  1429.  
  1430.         private void commandBarItem70_Click(object sender, System.EventArgs e)
  1431.         {
  1432.             if(this.commandBarItem70.Checked)
  1433.             {
  1434.                 this.commandBar4.HideBar();
  1435.                 this.commandBarItem70.Checked = false;
  1436.             }
  1437.             else
  1438.             {
  1439.                 this.commandBar4.ShowBar();
  1440.                 this.commandBarItem70.Checked = true;
  1441.             }
  1442.         }
  1443.  
  1444.         private void commandBarItem72_Click(object sender, System.EventArgs e)
  1445.         {
  1446.             if(this.commandBarItem72.Checked == false)
  1447.             {
  1448.                 foreach(CommandBar bar in this.commandBarManager1.GetCommandBars())
  1449.                 {
  1450.                     bar.ShowGripper = false;
  1451.                 }
  1452.                 this.commandBarItem72.Checked = true;
  1453.             }
  1454.             else
  1455.             {
  1456.                 foreach(CommandBar bar in this.commandBarManager1.GetCommandBars())
  1457.                 {
  1458.                     bar.ShowGripper = true;
  1459.                 }
  1460.                 this.commandBarItem72.Checked = false;
  1461.             }
  1462.         }
  1463.  
  1464.         private void commandBarItem61_Click(object sender, System.EventArgs e)
  1465.         {
  1466.             commandBarItem61.Checked = !commandBarItem61.Checked;
  1467.             this.statusBar1.Visible = !this.statusBar1.Visible;
  1468.         }
  1469.  
  1470.         private void commandBarItem62_Click(object sender, System.EventArgs e)
  1471.         {
  1472.             commandBarItem62.Checked = !commandBarItem62.Checked;
  1473.             this.listBar1.Visible = !this.listBar1.Visible;
  1474.         }
  1475.  
  1476.         private void Form1_Closing(object sender, System.ComponentModel.CancelEventArgs e)
  1477.         {
  1478.             Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.CurrentUser.CreateSubKey("Software\\RebarTestApp");
  1479.             this.commandBarManager1.SaveLayout(key);
  1480.             key.Close();
  1481.         }
  1482.  
  1483.         private void commandBarItem81_Click(object sender, System.EventArgs e)
  1484.         {
  1485.             Form frm = new Form();
  1486.             frm.Show();
  1487.         }
  1488.  
  1489.         private void commandBarItem16_Click(object sender, System.EventArgs e)
  1490.         {
  1491.             //run benchmark test
  1492.             CommandContextMenu menu;
  1493.             int start = System.Environment.TickCount;
  1494.             for(int i = 0; i < 100; i++)
  1495.             {
  1496.                 menu = new CommandContextMenu();
  1497.                 menu.Animate = false;
  1498.                 menu.Items = (this.commandBar1.Items[0] as CommandBarButtonItem).Items;
  1499.                 menu.Shown += new EventHandler(menu_Shown);
  1500.                 menu.Show(this.commandBar1, new Point(0, 0));
  1501.                 menu.Dispose();
  1502.                 menu = null;
  1503.             }
  1504.             int time = System.Environment.TickCount - start;
  1505.             MessageBox.Show(time.ToString());
  1506.         }
  1507.  
  1508.         private void menu_Shown(object sender, EventArgs e)
  1509.         {
  1510.             CommandContextMenu menu = (CommandContextMenu)sender;
  1511.             menu.Dismiss();
  1512.         }
  1513.  
  1514.         private void bar_ShowGripperChanged(object sender, EventArgs e)
  1515.         {
  1516.             this.commandBarItem72.Checked = !(sender as CommandBar).ShowGripper;
  1517.         }
  1518.  
  1519.         private void commandBar4_VisibleChanged(object sender, System.EventArgs e)
  1520.         {
  1521.             this.commandBarItem70.Checked = (sender as Control).Visible;
  1522.         }
  1523.  
  1524.         private void commandBar2_VisibleChanged(object sender, System.EventArgs e)
  1525.         {
  1526.             this.commandBarItem69.Checked = (sender as Control).Visible;        
  1527.         }
  1528.  
  1529.         private void commandBarItem69B_Click(object sender, System.EventArgs e)
  1530.         {
  1531.             if(this.commandBarItem69B.Checked)
  1532.             {
  1533.                 this.commandBar3.HideBar();
  1534.                 this.commandBarItem69B.Checked = false;
  1535.             }
  1536.             else
  1537.             {
  1538.                 this.commandBar3.ShowBar();
  1539.                 this.commandBarItem69B.Checked = true;
  1540.             }
  1541.         }
  1542.  
  1543.         private void commandBar3_VisibleChanged(object sender, System.EventArgs e)
  1544.         {
  1545.             this.commandBarItem69B.Checked = (sender as Control).Visible;
  1546.         }
  1547.  
  1548.         private void statusBar1_VisibleChanged(object sender, System.EventArgs e)
  1549.         {
  1550.             this.commandBarItem61.Checked = this.statusBar1.Visible;
  1551.         }
  1552.  
  1553.         private void listBar1_VisibleChanged(object sender, System.EventArgs e)
  1554.         {
  1555.             this.commandBarItem62.Checked = this.listBar1.Visible;
  1556.         }
  1557.     }
  1558. }
  1559.