상속: ToolStripDropDownItem
예제 #1
0
 public ToolStripItem CreateButton()
 {
     ToolStripDropDownButton menu = new ToolStripDropDownButton (Label);
     foreach (IUserInterfaceItem item in ChildNodes)
         menu.DropDownItems.Add (item.CreateMenuItem ());
     return menu;
 }
예제 #2
0
        public InputEncodingToolStrip()
        {
            this.toolStripLabel1   = new System.Windows.Forms.ToolStripLabel();
            this.tsddInputEncoding = new System.Windows.Forms.ToolStripDropDownButton();

            this.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.toolStripLabel1,
                this.tsddInputEncoding
            });

            //
            // toolStripLabel1
            //
            this.toolStripLabel1.Name = "toolStripLabel1";
            this.toolStripLabel1.Size = new System.Drawing.Size(91, 22);
            this.toolStripLabel1.Text = "Input Encoding:";
            //
            // tsddInputEncoding
            //
            this.tsddInputEncoding.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            //this.tsddInputEncoding.Image = ((System.Drawing.Image)(resources.GetObject("tsddInputEncoding.Image")));
            //this.tsddInputEncoding.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.tsddInputEncoding.Name = "tsddInputEncoding";
            this.tsddInputEncoding.Size = new System.Drawing.Size(114, 22);
            this.tsddInputEncoding.Text = "Arabic (Windows)";
        }
예제 #3
0
        public EditorToolStrip()
        {
            var dropDown = new ToolStripDropDownButton();
            dropDown.Text = "Style";
            dropDown.Alignment = ToolStripItemAlignment.Right;
            dropDown.DropDownItems.Add("Default");
            dropDown.DropDownItems.Add("GitHub");

            var items = new ToolStripItem[] {
                dropDown,
                new ToolStripMenuItem("Some Button")
            };

            this._dataSourceMock = new Mock<IEditorToolStripDataSource>();
            this._dataSourceMock.Setup(m => m.NumberOfEditorToolStripItems(It.IsAny<Model.EditorToolStrip>()))
                .Returns(items.Length)
                .Verifiable();

            this._dataSourceMock.Setup(m => m.EditorToolStripItemForIndex(It.IsAny<Model.EditorToolStrip>(), It.IsAny<int>()))
                .Returns<Model.EditorToolStrip, int>((inst, index) =>
                {
                    return items[index];
                })
                .Verifiable();

            this._subject = new Model.EditorToolStrip(this._dataSourceMock.Object, null);
        }
예제 #4
0
        public void InitMainMenu()
        {
            ToolStripDropDownButton tsddbFile = new ToolStripDropDownButton("操作(&F)");
            this.menuBar.Items.Add(tsddbFile);
            tsmiNew = new ToolStripMenuItem("新窗口(&N)");
            tsddbFile.DropDownItems.Add(tsmiNew);
            tsmiNew.Click += new EventHandler(tsmiNew_Click);
            tsmiClose = new ToolStripMenuItem("关闭(&E)");
            tsddbFile.DropDownItems.Add(tsmiClose);
            tsmiClose.Click += new EventHandler(tsmiClose_Click);

            ToolStripDropDownButton tsddbGragh = new ToolStripDropDownButton("趋势图(&G)");
            this.menuBar.Items.Add(tsddbGragh);
            tsmiDayLine = new ToolStripMenuItem("日K线(&D)");
            tsddbGragh.DropDownItems.Add(tsmiDayLine);
            tsmiDayLine.Click += new EventHandler(tsmiToDayLine);
            tsmiFiveMinsLine = new ToolStripMenuItem("5分钟线(&M)");
            tsddbGragh.DropDownItems.Add(tsmiFiveMinsLine);
            tsmiFiveMinsLine.Click += new EventHandler(tsmiToFiveMinsLine);

            ToolStripDropDownButton tsddbTools = new ToolStripDropDownButton("工具(&T)");
            this.menuBar.Items.Add(tsddbTools);
            tsmiFormulaEditor = new ToolStripMenuItem("公式编辑器(&D)");
            tsddbTools.DropDownItems.Add(tsmiFormulaEditor);
            tsmiFormulaEditor.Click += new EventHandler(tsmiOpenFormulaEditor);
        }
 /// <summary>
 /// Initializes a new instance of the 'ToolStripDropDownButtonPresentation' class.
 /// </summary>
 /// <param name="toolStripDropDownButton">ToolStripDropDownButton control.</param>
 public ToolStripDropDownButtonPresentation(ToolStripDropDownButton toolStripDropDownButton)
 {
     mToolStripDropDownButton = toolStripDropDownButton;
     if (mToolStripDropDownButton != null)
     {
         mToolStripDropDownButton.Click += new System.EventHandler(HandleDropDownButtonClick);
     }
 }
예제 #6
0
 public TTSFormManager(System.Windows.Forms.Form mdiparent, System.Windows.Forms.ToolStripDropDownButton workspacedropdown, System.Windows.Forms.ToolStripDropDownButton windowdropdown)
 {
     this.MDIParent = mdiparent;
     this.WorkspaceDropDown = workspacedropdown;
     this.WindowDropDown = windowdropdown;
     this.ClearWindows();
     this.ClearWorkspace();
     this.AddWorkspace(this.CurrentWorkspace, true);
     this.WindowDropDown.Text = "Windows (0)";
 }
예제 #7
0
        protected override void CreateStatusBarItem()
        {
            var tempStatusBarItem = new ToolStripDropDownButton();
            tempStatusBarItem.Text = _serialPort.Baud.ToString();
            foreach (var baudRate in BaudRates)
                tempStatusBarItem.DropDownItems.Add(baudRate.ToString());

            tempStatusBarItem.DropDownItemClicked += (sender, args) => SetBaudTo(args.ClickedItem.Text);
            _statusBarItem = tempStatusBarItem;
        }
 private void InitializeComponent()
 {
     ComponentResourceManager manager = new ComponentResourceManager(typeof(PropertyVersionFilterControl));
     this.tsTop = new ToolStrip();
     this.tslField = new ToolStripLabel();
     this.tslPropertyName = new ToolStripLabel();
     this.tslIs = new ToolStripLabel();
     this.tsddValueOperation = new ToolStripDropDownButton();
     this.tsmiOperationEquals = new ToolStripMenuItem();
     this.tsmiOperationNotEquals = new ToolStripMenuItem();
     this.tsmiOperationSmaller = new ToolStripMenuItem();
     this.tsmiOperationLarger = new ToolStripMenuItem();
     this.tstbValue = new ToolStripTextBox();
     this.tsTop.SuspendLayout();
     base.SuspendLayout();
     this.tsTop.BackColor = Color.Transparent;
     manager.ApplyResources(this.tsTop, "tsTop");
     this.tsTop.GripStyle = ToolStripGripStyle.Hidden;
     this.tsTop.Items.AddRange(new ToolStripItem[] { this.tslField, this.tslPropertyName, this.tslIs, this.tsddValueOperation, this.tstbValue });
     this.tsTop.Name = "tsTop";
     this.tslField.Name = "tslField";
     manager.ApplyResources(this.tslField, "tslField");
     this.tslPropertyName.Name = "tslPropertyName";
     manager.ApplyResources(this.tslPropertyName, "tslPropertyName");
     this.tslIs.Name = "tslIs";
     manager.ApplyResources(this.tslIs, "tslIs");
     this.tsddValueOperation.DisplayStyle = ToolStripItemDisplayStyle.Text;
     this.tsddValueOperation.DropDownItems.AddRange(new ToolStripItem[] { this.tsmiOperationEquals, this.tsmiOperationNotEquals, this.tsmiOperationSmaller, this.tsmiOperationLarger });
     this.tsddValueOperation.Name = "tsddValueOperation";
     manager.ApplyResources(this.tsddValueOperation, "tsddValueOperation");
     this.tsmiOperationEquals.Name = "tsmiOperationEquals";
     manager.ApplyResources(this.tsmiOperationEquals, "tsmiOperationEquals");
     this.tsmiOperationEquals.Click += new EventHandler(this.tsmiOperationEquals_Click);
     this.tsmiOperationNotEquals.Name = "tsmiOperationNotEquals";
     manager.ApplyResources(this.tsmiOperationNotEquals, "tsmiOperationNotEquals");
     this.tsmiOperationNotEquals.Click += new EventHandler(this.tsmiOperationEquals_Click);
     this.tsmiOperationSmaller.Name = "tsmiOperationSmaller";
     manager.ApplyResources(this.tsmiOperationSmaller, "tsmiOperationSmaller");
     this.tsmiOperationSmaller.Click += new EventHandler(this.tsmiOperationEquals_Click);
     this.tsmiOperationLarger.Name = "tsmiOperationLarger";
     manager.ApplyResources(this.tsmiOperationLarger, "tsmiOperationLarger");
     this.tsmiOperationLarger.Click += new EventHandler(this.tsmiOperationEquals_Click);
     this.tstbValue.BorderStyle = BorderStyle.FixedSingle;
     manager.ApplyResources(this.tstbValue, "tstbValue");
     this.tstbValue.Name = "tstbValue";
     this.tstbValue.TextChanged += new EventHandler(this.tstbValue_TextChanged);
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     base.Controls.Add(this.tsTop);
     base.Name = "PropertyVersionFilterControl";
     this.tsTop.ResumeLayout(false);
     this.tsTop.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
 public ToolStripMenuItem GetClipboardContentTsmi(ToolStripDropDownButton tsddb, ClipboardContentEnum et)
 {
     foreach (ToolStripMenuItem tsmi in tsddb.DropDownItems)
     {
         if ((ClipboardContentEnum)tsmi.Tag == et)
         {
             return tsmi;
         }
     }
     return new ToolStripMenuItem();
 }
예제 #10
0
        void cms_Opening(object sender, System.ComponentModel.CancelEventArgs e)
        {
            _notifyIcon.ContextMenuStrip.Items.Clear();
            Forms.ToolStripItem open = new Forms.ToolStripButton("Open");
            open.Click += Open;
            _notifyIcon.ContextMenuStrip.Items.Add(open);
            Forms.ToolStripItem close = new Forms.ToolStripButton("Close");
            close.Click += ShutDown;
            _notifyIcon.ContextMenuStrip.Items.Add(close);


            string  _path        = Directory.GetCurrentDirectory() + "\\usersettings.json";
            string  jsonFromFile = File.ReadAllText(_path);
            dynamic jsonObj      = JsonConvert.DeserializeObject(jsonFromFile);

            if (jsonObj["mute"] == null)
            {
                Forms.ToolStripItem fifteen = new Forms.ToolStripButton("For 15 Minutes");
                fifteen.Click += Fifteen_Click;
                Forms.ToolStripItem hour = new Forms.ToolStripButton("For 1 Hour");
                hour.Click += Hour_Click;
                Forms.ToolStripItem eightHours = new Forms.ToolStripButton("For 8 Hours");
                eightHours.Click += EightHours_Click;
                Forms.ToolStripItem day = new Forms.ToolStripButton("For 15 Hours");

                day.Click += Day_Click;
                //Forms.ToolStripItem day = new Forms.ToolStripButton("For 15 Hours");
                //day.Click += Day_Click;
                Forms.ToolStripItem dropDown = new Forms.ToolStripDropDownButton("Mute", null,
                                                                                 fifteen,
                                                                                 hour,
                                                                                 eightHours,
                                                                                 day
                                                                                 );
                _notifyIcon.ContextMenuStrip.Items.Add(
                    dropDown
                    );
            }
            else
            {
                Forms.ToolStripItem unMute = new Forms.ToolStripButton("Unmute");
                _notifyIcon.ContextMenuStrip.Items.Add(
                    unMute
                    );
                unMute.Click += UnMute_Click;
                _notifyIcon.ContextMenuStrip.Items.Add(
                    unMute
                    );
            }


            _notifyIcon.ContextMenuStrip.ItemClicked += new Forms.ToolStripItemClickedEventHandler(contexMenu_ItemClicked);
        }
        public MyTrainingProgressComponent()
        {
            this.tdbMyTrainings        = new System.Windows.Forms.ToolStripDropDownButton();
            this.slCurrentTraining     = new System.Windows.Forms.ToolStripStatusLabel();
            this.tpbMyTrainingProgress = new System.Windows.Forms.ToolStripProgressBar();

            this.tdbMyTrainings.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;



            slCurrentTraining.Visible     = false;
            tpbMyTrainingProgress.Visible = false;
        }
예제 #12
0
        public StreamDetailsControl()
        {
            SuspendLayout();

            _lastWriteTime = new ToolStripLabel();
            _fileSize = new ToolStripLabel();
            _contentType = new ToolStripDropDownButton
            {
                DisplayStyle = ToolStripItemDisplayStyle.Text
            };
            _encoding = new ToolStripLabel();
            _bom = new ToolStripLabel
            {
                Text = "BOM"
            };
            _lineEnding = new ToolStripLabel();

            Items.AddRange(new ToolStripItem[]
            {
                _lastWriteTime,
                _fileSize,
                _contentType,
                _encoding,
                _bom,
                _lineEnding
            });
            Renderer = ToolStripSimpleRenderer.Instance;

            LastWriteTime = null;
            FileSize = null;
            HaveBom = false;
            LineTermination = null;
            Encoding = null;
            ContentType = null;

            ResumeLayout(false);
            PerformLayout();

            foreach (string name in _highlighterNames)
            {
                var item = new ToolStripMenuItem
                {
                    Text = name == _defaultHighlighterName ? Labels.PlainText : name,
                    Tag = name
                };

                item.Click += item_Click;

                _contentType.DropDownItems.Add(item);
            }
        }
예제 #13
0
 public RecentProjectsMenu() : base(TextHelper.GetString("Label.RecentProjects"))
 {
     ToolbarSelector = new ToolStripDropDownButton();
     ToolbarSelector.Text = TextHelper.GetString("Label.RecentProjects").Replace("&", "");
     ToolbarSelector.DisplayStyle = ToolStripItemDisplayStyle.Image;
     ToolbarSelector.Image = Icons.Project.Img;
     ToolbarSelector.Enabled = false;
     string text = TextHelper.GetString("Label.ClearRecentProjects");
     clearItemMenu = new ToolStripMenuItem(text);
     clearItemMenu.Click += delegate{ ClearAllItems(); };
     clearItemToolbar = new ToolStripMenuItem(text);
     clearItemToolbar.Click += delegate { ClearAllItems(); };
     RebuildList();
 }
예제 #14
0
 public void NuevaBotonDesplegable(String Nombre, Bitmap Imagen)
 {
     Titulo();
     tsdListaDesplegable = new ToolStripDropDownButton();
     tsdListaDesplegable.Name = Nombre;
     tsdListaDesplegable.Text = "  " + Nombre;
     tsdListaDesplegable.Font = new Font("Century Gothic", 12);
     tsdListaDesplegable.TextAlign = ContentAlignment.MiddleLeft;
     tsdListaDesplegable.Click += new EventHandler(CargarFormulario);
     tsdListaDesplegable.Image = Imagen;
     tsdListaDesplegable.ImageScaling = ToolStripItemImageScaling.None;
     tsdListaDesplegable.ImageAlign = ContentAlignment.MiddleLeft;
     tsdListaDesplegable.ForeColor = Color.LightGray;
     this.MenuAdmin.Items.Add(tsdListaDesplegable);
 }
예제 #15
0
        public FilterBranchHelper(ToolStripComboBox toolStripBranches, ToolStripDropDownButton toolStripDropDownButton2, RevisionGrid RevisionGrid)
            : this()
        {
            this._NO_TRANSLATE_toolStripBranches = toolStripBranches;
            this._NO_TRANSLATE_toolStripDropDownButton2 = toolStripDropDownButton2;
            this._NO_TRANSLATE_RevisionGrid = RevisionGrid;

            this._NO_TRANSLATE_toolStripDropDownButton2.DropDownItems.AddRange(new ToolStripItem[] {
                this.localToolStripMenuItem,
                this.remoteToolStripMenuItem});

            this._NO_TRANSLATE_toolStripBranches.DropDown += this.toolStripBranches_DropDown;
            this._NO_TRANSLATE_toolStripBranches.TextUpdate += this.toolStripBranches_TextUpdate;
            this._NO_TRANSLATE_toolStripBranches.Leave += this.toolStripBranches_Leave;
            this._NO_TRANSLATE_toolStripBranches.KeyUp += this.toolStripBranches_KeyUp;
        }
        public static void SetText(ToolStripDropDownButton dropdownButton, string text)
        {
            MethodInvoker miSetText = delegate
            {
                dropdownButton.Text = text;
            };

            if (dropdownButton.Owner.InvokeRequired)
            {
                dropdownButton.Owner.Invoke(miSetText);
            }
            else
            {
                miSetText();
            }
        }
예제 #17
0
        /// <summary>Initializes a new instance of the <see cref="PathHistoryToolbar"/> class.</summary>
        /// <param name="view">Host history view.</param>
        public PathHistoryToolbar(PathHistoryView view)
        {
            _view = view;

            _view.LogOptionsChanged += OnLogOptionsChanged;

            Items.AddRange(
                new ToolStripItem[]
                {
                    // left-aligned
                    _btnRefresh = new ToolStripButton(Resources.StrRefresh, CachedResources.Bitmaps["ImgRefresh"], OnRefreshButtonClick)
                        {
                            DisplayStyle = ToolStripItemDisplayStyle.Image,
                        },
                    new ToolStripSeparator(),
                    _btnDateOrder = new ToolStripButton(Resources.StrDateOrder, CachedResources.Bitmaps["ImgDateOrder"], OnDateOrderButtonClick)
                        {
                            Checked = _view.LogOptions.Order == RevisionQueryOrder.DateOrder,
                            DisplayStyle = ToolStripItemDisplayStyle.Image,
                        },
                    _btnTopoOrder = new ToolStripButton(Resources.StrTopoOrder, CachedResources.Bitmaps["ImgTopoOrder"], OnTopoOrderButtonClick)
                        {
                            Checked = _view.LogOptions.Order == RevisionQueryOrder.TopoOrder,
                            DisplayStyle = ToolStripItemDisplayStyle.Image,
                        },
                    new ToolStripSeparator(),
                    _btnLimit = new ToolStripDropDownButton(string.Empty, null,
                        new ToolStripItem[]
                        {
                            new ToolStripMenuItem(Resources.StrlUnlimited, null, OnLimitOptionClick) { Tag = 0 },
                            new ToolStripMenuItem( "100 " + Resources.StrlCommits, null, OnLimitOptionClick) { Tag = 100 },
                            new ToolStripMenuItem( "500 " + Resources.StrlCommits, null, OnLimitOptionClick) { Tag = 500 },
                            new ToolStripMenuItem("1000 " + Resources.StrlCommits, null, OnLimitOptionClick) { Tag = 1000 },
                            new ToolStripMenuItem("2000 " + Resources.StrlCommits, null, OnLimitOptionClick) { Tag = 2000 },
                            new ToolStripMenuItem("5000 " + Resources.StrlCommits, null, OnLimitOptionClick) { Tag = 5000 },
                        }),
                    // right-aligned
                    _btnShowDetails = new ToolStripButton(Resources.StrAutoShowDiff, CachedResources.Bitmaps["ImgDiff"], OnShowDetailsButtonClick)
                        {
                            Checked = _view.ShowDetails,
                            DisplayStyle = ToolStripItemDisplayStyle.ImageAndText,
                            Alignment = ToolStripItemAlignment.Right,
                        }
                });
            UpdateLimitButtonText();
        }
예제 #18
0
        public StandardToolbar()
        {
            _assembly = System.Reflection.Assembly.GetExecutingAssembly();

            _tbNewProject = CreateButton("New Project (Ctrl+N)", "Treefrog.Icons._16.applications-blue--asterisk.png");
            _tbNewItem = CreateDropDownButton("Add New Item", "Treefrog.Icons._16.map--asterisk.png");
            _tbNewItem.DropDownItems.AddRange(new ToolStripItem[] {
                DropDownMenuItem("Add New Level", "Treefrog.Icons._16.map--asterisk.png"),
                DropDownMenuItem("Add New Tile Pool", "Treefrog.Icons.color-swatch16.png"),
            });
            _tbOpen = CreateButton("Open Project (Ctrl+O)", "Treefrog.Icons.folder-horizontal-open16.png");
            _tbSave = CreateButton("Save Project (Ctrl+S)", "Treefrog.Icons.disk16.png");
            _tbCut = CreateButton("Cut (Ctrl+X)", "Treefrog.Icons.scissors16.png");
            _tbCopy = CreateButton("Copy (Ctrl+C)", "Treefrog.Icons.document-copy16.png");
            _tbPaste = CreateButton("Paste (Ctrl+V)", "Treefrog.Icons.clipboard-paste16.png");
            _tbUndo = CreateButton("Undo (Ctrl+Z)", "Treefrog.Icons.arrow-turn-180-left16.png");
            _tbRedo = CreateButton("Redo (Ctrl+Y)", "Treefrog.Icons.arrow-turn16.png");
            _tbCompile = CreateButton("Compile", "Treefrog.Icons._16.compile.png");

            _strip = new ToolStrip();
            _strip.Items.AddRange(new ToolStripItem[] {
                _tbNewProject, _tbOpen, _tbSave, new ToolStripSeparator(),
                _tbCut, _tbCopy, _tbPaste, new ToolStripSeparator(),
                _tbUndo, _tbRedo, new ToolStripSeparator(),
                _tbCompile,
            });

            _commandMap = new Mapper<CommandKey, ToolStripButton>() {
                { CommandKey.NewProject, _tbNewProject },
                { CommandKey.OpenProject, _tbOpen },
                { CommandKey.Save, _tbSave },

                { CommandKey.Undo, _tbUndo },
                { CommandKey.Redo, _tbRedo },
                { CommandKey.Cut, _tbCut },
                { CommandKey.Copy, _tbCopy },
                { CommandKey.Paste, _tbPaste },
            };

            foreach (ToolStripButton item in _commandMap.Values)
                item.Click += BoundButtonClickHandler;

            _tbCompile.Enabled = false;
            _tbCompile.Click += ButtonCompileClickHandler;
        }
예제 #19
0
        public FilterBranchHelper(ToolStripComboBox toolStripBranches, ToolStripDropDownButton toolStripDropDownButton2, RevisionGrid RevisionGrid)
            : this()
        {
            this._NO_TRANSLATE_toolStripBranches = toolStripBranches;
            this._NO_TRANSLATE_toolStripDropDownButton2 = toolStripDropDownButton2;
            this._NO_TRANSLATE_RevisionGrid = RevisionGrid;

            this._NO_TRANSLATE_toolStripDropDownButton2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.localToolStripMenuItem,
            this.remoteToolStripMenuItem});

            this._NO_TRANSLATE_toolStripBranches.DropDown += new System.EventHandler(this.toolStripBranches_DropDown);
            this._NO_TRANSLATE_toolStripBranches.TextUpdate += new System.EventHandler(this.toolStripBranches_TextUpdate);
            this._NO_TRANSLATE_toolStripBranches.Leave += new System.EventHandler(this.toolStripBranches_Leave);
            this._NO_TRANSLATE_toolStripBranches.KeyUp += new System.Windows.Forms.KeyEventHandler(this.toolStripBranches_KeyUp);

            InitToolStripBranchFilter();
        }
 private void InitializeComponent()
 {
     ComponentResourceManager manager = new ComponentResourceManager(typeof(NameFilterControl));
     this.tsName = new ToolStrip();
     this.tslName = new ToolStripLabel();
     this.tsddNameCondition = new ToolStripDropDownButton();
     this.tsmiConditionEqual = new ToolStripMenuItem();
     this.tsmiConditionNotEqual = new ToolStripMenuItem();
     this.tslMask = new ToolStripLabel();
     this.tstbMask = new ToolStripTextBox();
     this.tsName.SuspendLayout();
     base.SuspendLayout();
     this.tsName.BackColor = Color.Transparent;
     manager.ApplyResources(this.tsName, "tsName");
     this.tsName.GripStyle = ToolStripGripStyle.Hidden;
     this.tsName.Items.AddRange(new ToolStripItem[] { this.tslName, this.tsddNameCondition, this.tslMask, this.tstbMask });
     this.tsName.Name = "tsName";
     this.tslName.Name = "tslName";
     manager.ApplyResources(this.tslName, "tslName");
     this.tsddNameCondition.DisplayStyle = ToolStripItemDisplayStyle.Text;
     this.tsddNameCondition.DropDownItems.AddRange(new ToolStripItem[] { this.tsmiConditionEqual, this.tsmiConditionNotEqual });
     manager.ApplyResources(this.tsddNameCondition, "tsddNameCondition");
     this.tsddNameCondition.Name = "tsddNameCondition";
     this.tsmiConditionEqual.Name = "tsmiConditionEqual";
     manager.ApplyResources(this.tsmiConditionEqual, "tsmiConditionEqual");
     this.tsmiConditionEqual.Click += new EventHandler(this.tsmiConditionEqual_Click);
     this.tsmiConditionNotEqual.Name = "tsmiConditionNotEqual";
     manager.ApplyResources(this.tsmiConditionNotEqual, "tsmiConditionNotEqual");
     this.tsmiConditionNotEqual.Click += new EventHandler(this.tsmiConditionEqual_Click);
     this.tslMask.Name = "tslMask";
     manager.ApplyResources(this.tslMask, "tslMask");
     this.tstbMask.BorderStyle = BorderStyle.FixedSingle;
     manager.ApplyResources(this.tstbMask, "tstbMask");
     this.tstbMask.Name = "tstbMask";
     this.tstbMask.TextChanged += new EventHandler(this.tstbMask_TextChanged);
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     base.Controls.Add(this.tsName);
     base.Name = "NameFilterControl";
     this.tsName.ResumeLayout(false);
     this.tsName.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
예제 #21
0
        public StandardToolbar()
        {
            _tbNewProject = CreateButton("New Project (Ctrl+N)", Properties.Resources.ApplicationsBlueAst);
            _tbNewItem = CreateDropDownButton("Add New Item", Properties.Resources.MapAsterisk);
            _tbNewItem.DropDownItems.AddRange(new ToolStripItem[] {
                DropDownMenuItem("Add New Level", Properties.Resources.MapAsterisk),
                DropDownMenuItem("Add New Tile Pool", Properties.Resources.ColorSwatch),
            });
            _tbOpen = CreateButton("Open Project (Ctrl+O)", Properties.Resources.FolderHorizontalOpen);
            _tbSave = CreateButton("Save Project (Ctrl+S)", Properties.Resources.Disk);
            _tbCut = CreateButton("Cut (Ctrl+X)", Properties.Resources.Scissors);
            _tbCopy = CreateButton("Copy (Ctrl+C)", Properties.Resources.Documents);
            _tbPaste = CreateButton("Paste (Ctrl+V)", Properties.Resources.ClipboardPaste);
            _tbUndo = CreateButton("Undo (Ctrl+Z)", Properties.Resources.ArrowTurn180Left);
            _tbRedo = CreateButton("Redo (Ctrl+Y)", Properties.Resources.ArrowTurn);
            _tbCompile = CreateButton("Compile", Properties.Resources.Compile);

            _strip = new ToolStrip();
            _strip.Items.AddRange(new ToolStripItem[] {
                _tbNewProject, _tbOpen, _tbSave, new ToolStripSeparator(),
                _tbCut, _tbCopy, _tbPaste, new ToolStripSeparator(),
                _tbUndo, _tbRedo, new ToolStripSeparator(),
                _tbCompile,
            });

            _commandMap = new Mapper<CommandKey, ToolStripButton>() {
                { CommandKey.NewProject, _tbNewProject },
                { CommandKey.OpenProject, _tbOpen },
                { CommandKey.Save, _tbSave },

                { CommandKey.Undo, _tbUndo },
                { CommandKey.Redo, _tbRedo },
                { CommandKey.Cut, _tbCut },
                { CommandKey.Copy, _tbCopy },
                { CommandKey.Paste, _tbPaste },
            };

            foreach (ToolStripButton item in _commandMap.Values)
                item.Click += BoundButtonClickHandler;

            _tbCompile.Enabled = false;
            _tbCompile.Click += ButtonCompileClickHandler;
        }
        public FilterRevisionsHelper(ToolStripTextBox toolStripTextBoxFilter, ToolStripDropDownButton toolStripDropDownButton1, RevisionGrid RevisionGrid, ToolStripLabel toolStripLabel2, Form form)
            : this()
        {
            this._NO_TRANSLATE_toolStripDropDownButton1 = toolStripDropDownButton1;
            this._NO_TRANSLATE_toolStripTextBoxFilter = toolStripTextBoxFilter;
            this._NO_TRANSLATE_RevisionGrid = RevisionGrid;
            this._NO_TRANSLATE_toolStripLabel2 = toolStripLabel2;
            this._NO_TRANSLATE_form = form;

            this._NO_TRANSLATE_toolStripDropDownButton1.DropDownItems.AddRange(new ToolStripItem[] {
                this.commitToolStripMenuItem1,
                this.committerToolStripMenuItem,
                this.authorToolStripMenuItem,
                this.diffContainsToolStripMenuItem});

            this._NO_TRANSLATE_toolStripLabel2.Click += this.ToolStripLabel2Click;
            this._NO_TRANSLATE_toolStripTextBoxFilter.Leave += this.ToolStripTextBoxFilterLeave;
            this._NO_TRANSLATE_toolStripTextBoxFilter.KeyPress += this.ToolStripTextBoxFilterKeyPress;
        }
예제 #23
0
        public static void InitCopyDropDown(this ListView lvwuse,ToolStripDropDownButton tsbutton,String ContentsName,String GroupColumnName,
            Action<String, DropDownItemListViewCopyData> ActionDelegate)
        {
            //set image and text of the dropdownbutton.
            tsbutton.Image = JobClockConfig.Imageman.GetLoadedImage("copy_s");
            //set text...
            tsbutton.Text = "Copy";

            //add a ghost item to the drop down, so it will fire the DropDownOpeningEvent. Actually come to think of it this might not be necessary. Best not to ask
            //too many questions, though.

            tsbutton.DropDownItems.Add("GHOST");

            //hook the "DropDownOpening" event.
            tsbutton.DropDownOpening += new EventHandler(tsbutton_DropDownOpening);

            //set the button's tag to a new data object, which will be used in the DropDown and succeeding button Click Events.
            tsbutton.Tag = new DropDownListViewCopyData(lvwuse, tsbutton, ContentsName,GroupColumnName,ActionDelegate);
            //That's IT!
        }
        public static void UpdateToolStripDest(ToolStripDropDownButton tsdd)
        {
            string descr = tsdd.Tag as string;
            List<string> dest = new List<string>();

            foreach (var obj in tsdd.DropDownItems)
            {
                if (obj is ToolStripMenuItem)
                {
                    ToolStripMenuItem gtsmi = (ToolStripMenuItem)obj;

                    if (gtsmi.Checked)
                    {
                        dest.Add(((Enum)gtsmi.Tag).GetDescription());
                    }
                }
            }

            if (dest.Count == 0)
            {
                tsdd.Text = descr + ": None";
            }
            else if (dest.Count == 1)
            {
                tsdd.Text = descr + ": " + dest[0];
            }
            else if (dest.Count == 2)
            {
                tsdd.Text = descr + ": " + dest[0] + " and " + dest[1];
            }
            else if (dest.Count == 3)
            {
                tsdd.Text = string.Format("{0}: {1}, {2} and {3}", descr, dest[0], dest[1], dest[2]);
            }
            else if (dest.Count > 3)
            {
                tsdd.Text = string.Format("{0}: {1}, {2} and {3} more", descr, dest[0], dest[1], dest.Count - 2);
            }
        }
예제 #25
0
        public ToolStripLogsGui()
        {
            this.mButtonFormat = new ToolStripDropDownButton()
            {
                Text = "Format",
            };

            this.mButtonColors = new ToolStripDropDownButton()
            {
                Text = "Colors",
            };

            this.mButtonClear = new ToolStripButton()
            {
                Text = "Clear"
            };
            this.mButtonClear.Click += new EventHandler(mButtonClear_Click);

            this.Items.AddRange(new ToolStripItem[] { this.mButtonFormat, this.mButtonColors, this.mButtonClear });

            this.mLogger = null;
        }
예제 #26
0
   public static ToolStrip Create(ToolStrip strip
                                         , OutlinerSplitContainer container
                                         , OutlinerTree::TreeView tree
                                         , TreeMode treeMode)
   {
      OutlinerGUP outliner = OutlinerGUP.Instance;
      OutlinerColorScheme colorScheme = outliner.ColorScheme;

      strip.LayoutStyle = ToolStripLayoutStyle.HorizontalStackWithOverflow;
      strip.Tag = new Tuple<OutlinerSplitContainer, OutlinerTree::TreeView, TreeMode>(container, tree, treeMode);
      strip.Padding = new Padding(3, 2, 1, 1);
      strip.Renderer = new OutlinerToolStripRenderer(colorScheme.ContextMenuColorTable);


      ToolStripDropDownButton preset_btn = new ToolStripDropDownButton(ContextMenuResources.Context_Preset);
      OutlinerPreset currentPreset = OutlinerGUP.Instance.GetActivePreset(tree);
      preset_btn.Image = currentPreset.Image24;
      preset_btn.DropDownDirection = ToolStripDropDownDirection.BelowRight;
      IEnumerable<OutlinerPreset> presets = Configurations.GetConfigurations<OutlinerPreset>(OutlinerPaths.PresetsDir);
      foreach (OutlinerPreset preset in presets.Where(p => p.IsDefaultPreset))
      {
         //ToolStripMenuItem item = AddDropDownItem(preset_btn.DropDownItems, preset.Text, preset.Image16, preset_btn_click, preset);
         //item.Checked = preset.Text == currentPreset.Text;
      }
      preset_btn.DropDownItems.Add(new ToolStripSeparator());
      foreach (OutlinerPreset preset in presets.Where(p => !p.IsDefaultPreset))
      {
         //ToolStripMenuItem item = AddDropDownItem(preset_btn.DropDownItems, preset.Text, preset.Image16, preset_btn_click, preset);
         //item.Checked = preset.Text == currentPreset.Text;
      }

      strip.Items.Add(preset_btn);
      strip.Items.Add(new ToolStripSeparator());


      SetDefaultItemProperties(strip);

      return strip;
   }
예제 #27
0
        // Armo los menues y submenues
        private void ArmaFormularios(int grupo, ToolStripDropDownButton Menu_Modulos, Modelo_Entidades.Modulo oModulo)
        {
            // Le solicito a la controladora la lista de funciones de un módulo determinado.
            // Defino un objeto ToolStripMenuItem para asignar los permisos recuperados.
            ToolStripMenuItem SubMenu_Formularios;

            // Recorro el listado de los permisos según el perfil

            foreach (Modelo_Entidades.Formulario oFormulario in cPerfil.ObtenerFormulariosPorModulo(oModulo))
                {
                    // Creo el objeto ToolStripMenuItem para cargar la funcion recibida
                    SubMenu_Formularios = new ToolStripMenuItem();
                    SubMenu_Formularios.Name = oFormulario.descripcion.ToString();
                    SubMenu_Formularios.Text = oFormulario.nombredemuestra;
                    SubMenu_Formularios.Tag = oFormulario.descripcion;

                    // Agrego la función al módulo asociado
                    Menu_Modulos.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { SubMenu_Formularios });

                    // Le asigno el método que tiene que ejecutar cuando se dispare el evento click de la función.
                    SubMenu_Formularios.Click += new EventHandler(this.ItemClick);
                }
        }
예제 #28
0
        public static void Init(DockPanel panel, ToolStripDropDownButton menu)
        {
            foreach (var type in typeof(ModuleAtribute).Assembly.GetTypes())
            {
                foreach (var a in type.GetCustomAttributes(typeof(ModuleAtribute), false))
                {
                    ModuleAtribute atrib = a as ModuleAtribute;
                    DockContent form = type.GetConstructor(new Type[] { }).Invoke(null) as DockContent;

                    ToolStripMenuItem btn = new ToolStripMenuItem(atrib.dysplayName);
                    menu.DropDownItems.Add(btn);
                    btn.Click += (s, e) =>
                    {
                        if (form.Visible)
                            form.Hide();
                        else
                            Show(type);
                    };

                    form.TabText = atrib.dysplayName;
                    form.FormClosing += (s, e) =>
                    {
                        e.Cancel = true;
                        form.Hide();
                    };
                    forms.Add(type, new key()
                    {
                        form = form,
                        dock = atrib.dock,
                        panel = panel
                    });

                    if (atrib.defaultShow)
                        Show(type);
                }
            }
        }
예제 #29
0
        /// <summary>
        /// Constructor</summary>
        public StringSearchInputUI()
        {
            m_patternTextRegex = string.Empty;

            Visible = true;
            GripStyle = ToolStripGripStyle.Hidden;
            RenderMode = ToolStripRenderMode.System;

            ToolStripDropDownButton dropDownButton = new ToolStripDropDownButton();
            dropDownButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
            dropDownButton.Image = ResourceUtil.GetImage16(Resources.SearchImage);
            dropDownButton.ImageTransparentColor = System.Drawing.Color.Magenta;
            dropDownButton.Name = "SearchButton";
            dropDownButton.Size = new System.Drawing.Size(29, 22);
            dropDownButton.Text = "Search".Localize("'Search' is a verb");

            ToolStripButton clearSearchButton = new ToolStripButton();
            clearSearchButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
            clearSearchButton.Image = ResourceUtil.GetImage16(Resources.DeleteImage);
            dropDownButton.ImageTransparentColor = System.Drawing.Color.Magenta;
            clearSearchButton.Name = "ClearSearchButton";
            clearSearchButton.Size = new System.Drawing.Size(29, 22);
            clearSearchButton.Text = "Clear Search".Localize("'Clear' is a verb");
            clearSearchButton.Click += clearSearchButton_Click;

            m_patternTextBox = new ToolStripAutoFitTextBox();
            m_patternTextBox.KeyUp += patternTextBox_KeyUp;
            m_patternTextBox.TextChanged += patternTextBox_TextChanged;
            m_patternTextBox.TextBox.PreviewKeyDown += textBox_PreviewKeyDown;
            m_patternTextBox.MaximumWidth = 1080;

            Items.AddRange(new ToolStripItem[] { 
                    dropDownButton, 
                    m_patternTextBox,
                    clearSearchButton
                    });
        }
        public ToolStripDataSenderGuiConsole()
        {
            this.Stretch = true;

            this.mComboBoxConsole = new ToolStripComboBoxStretched();
            this.mComboBoxConsole.ComboBox.KeyUp += new KeyEventHandler(ComboBox_KeyUp);

            this.mButtonLineEnd = new ToolStripDropDownButton()
            {
                Alignment = ToolStripItemAlignment.Right,
                Text = "\\n",
                AutoSize = false,
                Width = 50,
                ToolTipText = "Line endings"
            };

            this.mButtonFormat = new ToolStripDropDownButton()
            {
                Alignment = ToolStripItemAlignment.Right,
                Text = "None",
                AutoSize = false,
                Width = 50,
                ToolTipText = "Send format"
            };

            this.mButtonSend = new ToolStripButton()
            {
                Alignment = ToolStripItemAlignment.Right,
                Text = "Send"
            };
            this.mButtonSend.Click += new EventHandler(mButtonSend_Click);

            this.Items.AddRange(new ToolStripItem[] { this.mComboBoxConsole, this.mButtonSend, this.mButtonLineEnd, this.mButtonFormat });

            this.mSender = null;
        }
예제 #31
0
        public void InitToolBar()
        {
            toolStrip1.Items.Clear();

            transformMenu = CreateToolStripMenu("transformMenu", Properties.Resources.function_category);
            transformMenu.Tag = typeof(MyTransform);

            toolStrip1.Items.Add(transformMenu);

            HashSet<string> enabledNodes = new HashSet<string>();

            if (Properties.Settings.Default.ToolBarNodes != null)
            {
                foreach (string nodeTypeName in Properties.Settings.Default.ToolBarNodes)
                {
                    enabledNodes.Add(nodeTypeName);
                }
            }

            foreach (MyNodeConfig nodeInfo in MyConfiguration.KnownNodes.Values)
            {
                bool isTransform =
                    typeof(MyTransform).IsAssignableFrom(nodeInfo.NodeType) ||
                    typeof(MyFork).IsAssignableFrom(nodeInfo.NodeType) ||
                    typeof(MyJoin).IsAssignableFrom(nodeInfo.NodeType) ||
                    typeof(MyGateInput).IsAssignableFrom(nodeInfo.NodeType) ||
                    typeof(MyDataGate).IsAssignableFrom(nodeInfo.NodeType);

                if (nodeInfo.CanBeAdded && (enabledNodes.Contains(nodeInfo.NodeType.Name) || nodeInfo.IsBasicNode))
                {
                    AddNodeButton(nodeInfo, isTransform);
                }
            }

            toolStrip1.Items.Add(new ToolStripSeparator());
        }
예제 #32
0
        public FilterRevisionsHelper(ToolStripTextBox textBox, ToolStripDropDownButton dropDownButton, RevisionGrid revisionGrid, ToolStripLabel label, ToolStripButton showFirstParentButton, Form form)
            : this()
        {
            this._NO_TRANSLATE_dropDownButton = dropDownButton;
            this._NO_TRANSLATE_textBox = textBox;
            this._NO_TRANSLATE_revisionGrid = revisionGrid;
            this._NO_TRANSLATE_label = label;
            this._NO_TRANSLATE_showFirstParentButton = showFirstParentButton;
            this._NO_TRANSLATE_form = form;

            this._NO_TRANSLATE_dropDownButton.DropDownItems.AddRange(new ToolStripItem[] {
                this.commitToolStripMenuItem,
                this.committerToolStripMenuItem,
                this.authorToolStripMenuItem,
                this.diffContainsToolStripMenuItem});

            this._NO_TRANSLATE_showFirstParentButton.Checked = AppSettings.ShowFirstParent;

            this._NO_TRANSLATE_label.Click += this.ToolStripLabelClick;
            this._NO_TRANSLATE_textBox.Leave += this.ToolStripTextBoxFilterLeave;
            this._NO_TRANSLATE_textBox.KeyPress += this.ToolStripTextBoxFilterKeyPress;
            this._NO_TRANSLATE_showFirstParentButton.Click += this.ToolStripShowFirstParentButtonClick;
            this._NO_TRANSLATE_revisionGrid.ShowFirstParentsToggled += this.RevisionGridShowFirstParentsToggled;       
        }
예제 #33
0
        /// <summary>
        /// Draws a Toolstrip button
        /// </summary>
        /// <param name="Item">The Toolstrip button</param>
        /// <param name="Link">The Graphics object to handle</param>
        /// <param name="Parent">The parent Toolstrip</param>
        public void IDrawDropDownButton(ToolStripDropDownButton Item, Graphics Link, ToolStrip Parent)
        {
            Rectangle Area = new Rectangle(
                                new Point(0, 0),
                                new Size(Item.Bounds.Size.Width - 1, Item.Bounds.Size.Height - 1)
                            );

            Blend BackBlend = GetBlend(Item, ButtonType.DropDownButton);
            Color[] Render = GetButtonBackColor(Item, ButtonType.DropDownButton);

            using (GraphicsPath Path = CreateDrawingPath(Area, _btnManager.Curve))
            {
                Link.SetClip(Path);

                PaintBackground(
                            Link,
                            Area,
                            Render[0],
                            Render[1],
                            _btnManager.BackgroundAngle,
                            BackBlend
                            );

                Link.ResetClip();

                Link.SmoothingMode = SmoothingMode.AntiAlias;

                using (GraphicsPath OBPath = CreateDrawingPath(Area, _btnManager.Curve))
                {
                    PaintBorder(
                                Link,
                                OBPath,
                                Area,
                                _btnManager.BorderTop,
                                _btnManager.BorderBottom,
                                _btnManager.BorderAngle,
                                _btnManager.BorderBlend
                                );

                    OBPath.Dispose();
                }

                if (!Item.Pressed)
                {
                    Area.Inflate(-1, -1);

                    using (GraphicsPath IBPath = CreateDrawingPath(Area, _dBtnManager.Curve))
                    {
                        using (SolidBrush InnerBorder = new SolidBrush(_dBtnManager.InnerBorder))
                        {
                            PaintBorder(
                                        Link,
                                        IBPath,
                                        InnerBorder
                                        );

                            InnerBorder.Dispose();
                        }
                    }
                }

                Link.SmoothingMode = SmoothingMode.Default;
            }
        }
예제 #34
0
 public ToolStripDropDownButtonAccessibleObject(ToolStripDropDownButton ownerItem)
     : base(ownerItem)
 {
     this.ownerItem = ownerItem;
 }
 public ToolStripDropDownButtonInternalLayout(ToolStripDropDownButton ownerItem) : base(ownerItem)
 {
     this.dropDownArrowRect = Rectangle.Empty;
     this.ownerItem         = ownerItem;
 }
예제 #36
0
        ToolStrip CreateToolBar()
        {
            ImageList image_list = new ImageList();

            image_list.Images.Add(ResourceImageLoader.Get("32_printer.png"));
            image_list.Images.Add(ResourceImageLoader.Get("22_page-magnifier.png"));
            image_list.Images.Add(ResourceImageLoader.Get("1-up.png"));
            image_list.Images.Add(ResourceImageLoader.Get("2-up.png"));
            image_list.Images.Add(ResourceImageLoader.Get("3-up.png"));
            image_list.Images.Add(ResourceImageLoader.Get("4-up.png"));
            image_list.Images.Add(ResourceImageLoader.Get("6-up.png"));

            ToolStripMenuItem mi;

            ToolStrip               toolbar    = new ToolStrip();
            ToolStripButton         print      = new ToolStripButton();
            ToolStripDropDownButton zoom       = new ToolStripDropDownButton();
            ToolStripSeparator      separator1 = new ToolStripSeparator();

            ToolStripButton    one_page   = new ToolStripButton();
            ToolStripButton    two_page   = new ToolStripButton();
            ToolStripButton    three_page = new ToolStripButton();
            ToolStripButton    four_page  = new ToolStripButton();
            ToolStripButton    six_page   = new ToolStripButton();
            ToolStripSeparator separator2 = new ToolStripSeparator();

            Button close = new Button();
            Label  label = new Label();

            pageUpDown = new NumericUpDown();

            toolbar.ImageList        = image_list;
            toolbar.Size             = new Size(792, 26);
            toolbar.Dock             = DockStyle.Top;
            toolbar.ShowItemToolTips = true;
            toolbar.TabStop          = true;
            toolbar.Items.AddRange(new ToolStripItem[] { print, zoom, separator1, one_page, two_page, three_page, four_page, six_page, separator2 });
            toolbar.ItemClicked += new ToolStripItemClickedEventHandler(OnClickToolBarButton);

            /* print button */
            print.ImageIndex  = 0;
            print.Tag         = 0;
            print.ToolTipText = "Print";

            /* magnify dropdown */
            zoom.ImageIndex  = 1;
            zoom.Tag         = 1;
            zoom.ToolTipText = "Zoom";

            mi         = (ToolStripMenuItem)zoom.DropDownItems.Add("Auto", null, new EventHandler(OnClickPageMagnifierItem));
            mi.Checked = true;
            previous_checked_menu_item = mi;
            auto_zoom_item             = mi;

            zoom.DropDownItems.Add("500%", null, new EventHandler(OnClickPageMagnifierItem));
            zoom.DropDownItems.Add("200%", null, new EventHandler(OnClickPageMagnifierItem));
            zoom.DropDownItems.Add("150%", null, new EventHandler(OnClickPageMagnifierItem));
            zoom.DropDownItems.Add("100%", null, new EventHandler(OnClickPageMagnifierItem));
            zoom.DropDownItems.Add("75%", null, new EventHandler(OnClickPageMagnifierItem));
            zoom.DropDownItems.Add("50%", null, new EventHandler(OnClickPageMagnifierItem));
            zoom.DropDownItems.Add("25%", null, new EventHandler(OnClickPageMagnifierItem));
            zoom.DropDownItems.Add("10%", null, new EventHandler(OnClickPageMagnifierItem));

            /* n-up icons */
            one_page.ImageIndex  = 2;
            one_page.Tag         = 2;
            one_page.ToolTipText = "One page";

            two_page.ImageIndex  = 3;
            two_page.Tag         = 3;
            two_page.ToolTipText = "Two pages";

            three_page.ImageIndex  = 4;
            three_page.Tag         = 4;
            three_page.ToolTipText = "Three pages";

            four_page.ImageIndex  = 5;
            four_page.Tag         = 5;
            four_page.ToolTipText = "Four pages";

            six_page.ImageIndex  = 6;
            six_page.Tag         = 6;
            six_page.ToolTipText = "Six pages";

            /* Page label */
            label.Text      = "Page";
            label.TabStop   = false;
            label.Size      = new Size(50, 18);
            label.TextAlign = ContentAlignment.MiddleLeft;
            label.Dock      = DockStyle.Right;

            /* the page number updown */
            pageUpDown.Dock          = DockStyle.Right;
            pageUpDown.TextAlign     = HorizontalAlignment.Right;
            pageUpDown.DecimalPlaces = 0;
            pageUpDown.TabIndex      = 1;
            pageUpDown.Text          = "1";
            pageUpDown.Minimum       = 0;
            pageUpDown.Maximum       = 1000;
            pageUpDown.Size          = new Size(64, 14);
            pageUpDown.Dock          = DockStyle.Right;
//			pageUpDown.Location = new Point(568, 0);
            pageUpDown.ValueChanged += new EventHandler(OnPageUpDownValueChanged);

            /* close button */
            close.Location  = new Point(196, 2);
            close.Size      = new Size(50, 20);
            close.TabIndex  = 0;
            close.FlatStyle = FlatStyle.Popup;
            close.Text      = "Close";
            close.Click    += new EventHandler(CloseButtonClicked);

            toolbar.Controls.Add(label);
            toolbar.Controls.Add(pageUpDown);
            toolbar.Controls.Add(close);

//			close.Location = new Point (b.Rectangle.X + b.Rectangle.Width, toolbar.Height / 2 - close.Height / 2);
//			MinimumSize = new Size (close.Location.X + close.Width + label.Width + pageUpDown.Width, 220);

            return(toolbar);
        }
예제 #37
0
 public ToolbarButton(System.Windows.Forms.ToolStripDropDownButton button)
 {
     m_Button = button;
 }
예제 #38
0
 public ToolStripDropDownButtonAccessibleObject(ToolStripDropDownButton ownerItem)
     : base(ownerItem)
 {
     _owningToolStripDropDownButton = ownerItem;
 }
예제 #39
0
 private void InitializeComponent()
 {
     System.Windows.Forms.StatusStrip       _StatusBar;
     System.Windows.Forms.ToolStripButton   _OpenButton;
     System.Windows.Forms.ToolStrip         _MenuBar;
     System.Windows.Forms.ToolStripMenuItem _ColorBlackMenuItem;
     System.Windows.Forms.ToolStripMenuItem _ColorBySpeedMenuItem;
     System.Windows.Forms.ToolStripMenuItem _ColorByAltitudeMenuItem;
     this._ZoomLabel        = new System.Windows.Forms.ToolStripStatusLabel();
     this._CoordinatesLabel = new System.Windows.Forms.ToolStripStatusLabel();
     this._DownloadsLabel   = new System.Windows.Forms.ToolStripStatusLabel();
     this._ColoringMenuItem = new System.Windows.Forms.ToolStripDropDownButton();
     this._ColorByAltitudeDifferenceMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._OpacityTrackbar = new System.Windows.Forms.TrackBar();
     this._Map             = new System.Windows.Forms.DataMap();
     _StatusBar            = new System.Windows.Forms.StatusStrip();
     _OpenButton           = new System.Windows.Forms.ToolStripButton();
     _MenuBar                 = new System.Windows.Forms.ToolStrip();
     _ColorBlackMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     _ColorBySpeedMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     _ColorByAltitudeMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     _StatusBar.SuspendLayout();
     _MenuBar.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._OpacityTrackbar)).BeginInit();
     this.SuspendLayout();
     //
     // _StatusBar
     //
     _StatusBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this._ZoomLabel,
         this._CoordinatesLabel,
         this._DownloadsLabel
     });
     _StatusBar.Location = new System.Drawing.Point(0, 508);
     _StatusBar.Name     = "_StatusBar";
     _StatusBar.Size     = new System.Drawing.Size(844, 22);
     _StatusBar.TabIndex = 3;
     _StatusBar.Text     = "statusStrip1";
     //
     // _ZoomLabel
     //
     this._ZoomLabel.Name = "_ZoomLabel";
     this._ZoomLabel.Size = new System.Drawing.Size(59, 17);
     this._ZoomLabel.Text = "Zoom: XX";
     //
     // _CoordinatesLabel
     //
     this._CoordinatesLabel.Name = "_CoordinatesLabel";
     this._CoordinatesLabel.Size = new System.Drawing.Size(71, 17);
     this._CoordinatesLabel.Text = "Coordinates";
     //
     // _DownloadsLabel
     //
     this._DownloadsLabel.Name = "_DownloadsLabel";
     this._DownloadsLabel.Size = new System.Drawing.Size(13, 17);
     this._DownloadsLabel.Text = "0";
     //
     // _OpenButton
     //
     _OpenButton.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     _OpenButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     _OpenButton.Name   = "_OpenButton";
     _OpenButton.Size   = new System.Drawing.Size(40, 22);
     _OpenButton.Text   = "Open";
     _OpenButton.Click += new System.EventHandler(this._OnOpenButtonClicked);
     //
     // _MenuBar
     //
     _MenuBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         _OpenButton,
         this._ColoringMenuItem
     });
     _MenuBar.Location = new System.Drawing.Point(0, 0);
     _MenuBar.Name     = "_MenuBar";
     _MenuBar.Size     = new System.Drawing.Size(844, 25);
     _MenuBar.TabIndex = 5;
     _MenuBar.Text     = "toolStrip1";
     //
     // _ColoringMenuItem
     //
     this._ColoringMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this._ColoringMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         _ColorBlackMenuItem,
         _ColorBySpeedMenuItem,
         _ColorByAltitudeMenuItem,
         this._ColorByAltitudeDifferenceMenuItem
     });
     this._ColoringMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     this._ColoringMenuItem.Name = "_ColoringMenuItem";
     this._ColoringMenuItem.Size = new System.Drawing.Size(66, 22);
     this._ColoringMenuItem.Text = "Coloring";
     //
     // _ColorBlackMenuItem
     //
     _ColorBlackMenuItem.Name   = "_ColorBlackMenuItem";
     _ColorBlackMenuItem.Size   = new System.Drawing.Size(189, 22);
     _ColorBlackMenuItem.Text   = "Black";
     _ColorBlackMenuItem.Click += new System.EventHandler(this._OnColorBlackMenuItemClicked);
     //
     // _ColorBySpeedMenuItem
     //
     _ColorBySpeedMenuItem.Name   = "_ColorBySpeedMenuItem";
     _ColorBySpeedMenuItem.Size   = new System.Drawing.Size(189, 22);
     _ColorBySpeedMenuItem.Text   = "by Speed";
     _ColorBySpeedMenuItem.Click += new System.EventHandler(this._OnColorBySpeedMenuItemClicked);
     //
     // _ColorByAltitudeMenuItem
     //
     _ColorByAltitudeMenuItem.Name   = "_ColorByAltitudeMenuItem";
     _ColorByAltitudeMenuItem.Size   = new System.Drawing.Size(189, 22);
     _ColorByAltitudeMenuItem.Text   = "by Altitude";
     _ColorByAltitudeMenuItem.Click += new System.EventHandler(this._OnColorByAltitudeMenuItemClicked);
     //
     // _ColorByAltitudeDifferenceMenuItem
     //
     this._ColorByAltitudeDifferenceMenuItem.Name   = "_ColorByAltitudeDifferenceMenuItem";
     this._ColorByAltitudeDifferenceMenuItem.Size   = new System.Drawing.Size(189, 22);
     this._ColorByAltitudeDifferenceMenuItem.Text   = "by Altitude Difference";
     this._ColorByAltitudeDifferenceMenuItem.Click += new System.EventHandler(this._OnColorByAltitudeDifferenceMenuItemClicked);
     //
     // _OpacityTrackbar
     //
     this._OpacityTrackbar.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._OpacityTrackbar.BackColor = System.Drawing.SystemColors.Control;
     this._OpacityTrackbar.Location  = new System.Drawing.Point(728, 41);
     this._OpacityTrackbar.Maximum   = 100;
     this._OpacityTrackbar.Name      = "_OpacityTrackbar";
     this._OpacityTrackbar.Size      = new System.Drawing.Size(104, 45);
     this._OpacityTrackbar.TabIndex  = 6;
     this._OpacityTrackbar.TabStop   = false;
     this._OpacityTrackbar.TickStyle = System.Windows.Forms.TickStyle.None;
     this._OpacityTrackbar.Value     = 50;
     this._OpacityTrackbar.Scroll   += new System.EventHandler(this._OnOpacityTrackbarScrolled);
     this._OpacityTrackbar.Enter    += new System.EventHandler(this._OnOpacityTrackbarFocusEntered);
     //
     // _Map
     //
     this._Map.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                               | System.Windows.Forms.AnchorStyles.Left)
                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this._Map.BackColor   = System.Drawing.Color.Black;
     this._Map.Location    = new System.Drawing.Point(0, 25);
     this._Map.MapProvider = null;
     this._Map.Margin      = new System.Windows.Forms.Padding(0);
     this._Map.Name        = "_Map";
     this._Map.Opacity     = 1F;
     this._Map.Size        = new System.Drawing.Size(844, 483);
     this._Map.TabIndex    = 4;
     this._Map.TranslateX  = 0;
     this._Map.TranslateY  = 0;
     this._Map.MouseDown  += new System.Windows.Forms.MouseEventHandler(this._OnMapControlMouseDown);
     this._Map.MouseMove  += new System.Windows.Forms.MouseEventHandler(this._OnMapControlMouseMoved);
     this._Map.MouseUp    += new System.Windows.Forms.MouseEventHandler(this._OnMapControlMouseUp);
     //
     // MainWindow
     //
     this.ClientSize = new System.Drawing.Size(844, 530);
     this.Controls.Add(this._OpacityTrackbar);
     this.Controls.Add(_MenuBar);
     this.Controls.Add(this._Map);
     this.Controls.Add(_StatusBar);
     this.Name  = "MainWindow";
     this.Text  = "Mapper";
     this.Load += new System.EventHandler(this._OnLoaded);
     _StatusBar.ResumeLayout(false);
     _StatusBar.PerformLayout();
     _MenuBar.ResumeLayout(false);
     _MenuBar.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this._OpacityTrackbar)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #40
0
 private void InitializeComponent()
 {
     this.cmbMes                        = new System.Windows.Forms.ComboBox();
     this.cmbAno                        = new System.Windows.Forms.ComboBox();
     this.Toolbar1                      = new System.Windows.Forms.ToolStrip();
     this._Toolbar1_Button1             = new System.Windows.Forms.ToolStripDropDownButton();
     this._Toolbar1_Button1_ButtonMenu1 = new System.Windows.Forms.ToolStripMenuItem();
     this._Toolbar1_Button1_ButtonMenu2 = new System.Windows.Forms.ToolStripMenuItem();
     this._Toolbar1_Button2             = new System.Windows.Forms.ToolStripButton();
     this._Toolbar1_Button3             = new System.Windows.Forms.ToolStripSeparator();
     this._Toolbar1_Button4             = new System.Windows.Forms.ToolStripButton();
     this.Label4                        = new System.Windows.Forms.Label();
     this.DataGridView1                 = new System.Windows.Forms.DataGridView();
     this.Toolbar1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // cmbMes
     //
     this.cmbMes.BackColor   = System.Drawing.SystemColors.Window;
     this.cmbMes.Cursor      = System.Windows.Forms.Cursors.Default;
     this.cmbMes.ForeColor   = System.Drawing.SystemColors.WindowText;
     this.cmbMes.Location    = new System.Drawing.Point(88, 120);
     this.cmbMes.Name        = "cmbMes";
     this.cmbMes.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.cmbMes.Size        = new System.Drawing.Size(121, 21);
     this.cmbMes.TabIndex    = 1;
     this.cmbMes.Text        = "cmbMes";
     //
     // cmbAno
     //
     this.cmbAno.BackColor   = System.Drawing.SystemColors.Window;
     this.cmbAno.Cursor      = System.Windows.Forms.Cursors.Default;
     this.cmbAno.ForeColor   = System.Drawing.SystemColors.WindowText;
     this.cmbAno.Location    = new System.Drawing.Point(232, 120);
     this.cmbAno.Name        = "cmbAno";
     this.cmbAno.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.cmbAno.Size        = new System.Drawing.Size(121, 21);
     this.cmbAno.TabIndex    = 0;
     this.cmbAno.Text        = "cmbAno";
     //
     // Toolbar1
     //
     this.Toolbar1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this._Toolbar1_Button1,
         this._Toolbar1_Button2,
         this._Toolbar1_Button3,
         this._Toolbar1_Button4
     });
     this.Toolbar1.Location = new System.Drawing.Point(0, 0);
     this.Toolbar1.Name     = "Toolbar1";
     this.Toolbar1.Size     = new System.Drawing.Size(1016, 40);
     this.Toolbar1.TabIndex = 4;
     //
     // _Toolbar1_Button1
     //
     this._Toolbar1_Button1.AutoSize = false;
     this._Toolbar1_Button1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this._Toolbar1_Button1_ButtonMenu1,
         this._Toolbar1_Button1_ButtonMenu2
     });
     this._Toolbar1_Button1.ImageScaling      = System.Windows.Forms.ToolStripItemImageScaling.None;
     this._Toolbar1_Button1.Name              = "_Toolbar1_Button1";
     this._Toolbar1_Button1.Size              = new System.Drawing.Size(88, 37);
     this._Toolbar1_Button1.Text              = "[Actualizar]";
     this._Toolbar1_Button1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     //
     // _Toolbar1_Button1_ButtonMenu1
     //
     this._Toolbar1_Button1_ButtonMenu1.Name = "_Toolbar1_Button1_ButtonMenu1";
     this._Toolbar1_Button1_ButtonMenu1.Size = new System.Drawing.Size(67, 22);
     //
     // _Toolbar1_Button1_ButtonMenu2
     //
     this._Toolbar1_Button1_ButtonMenu2.Name = "_Toolbar1_Button1_ButtonMenu2";
     this._Toolbar1_Button1_ButtonMenu2.Size = new System.Drawing.Size(67, 22);
     //
     // _Toolbar1_Button2
     //
     this._Toolbar1_Button2.AutoSize          = false;
     this._Toolbar1_Button2.ImageScaling      = System.Windows.Forms.ToolStripItemImageScaling.None;
     this._Toolbar1_Button2.Name              = "_Toolbar1_Button2";
     this._Toolbar1_Button2.Size              = new System.Drawing.Size(75, 37);
     this._Toolbar1_Button2.Text              = "[Imprimir]";
     this._Toolbar1_Button2.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     //
     // _Toolbar1_Button3
     //
     this._Toolbar1_Button3.AutoSize = false;
     this._Toolbar1_Button3.Name     = "_Toolbar1_Button3";
     this._Toolbar1_Button3.Size     = new System.Drawing.Size(75, 37);
     //
     // _Toolbar1_Button4
     //
     this._Toolbar1_Button4.AutoSize          = false;
     this._Toolbar1_Button4.ImageScaling      = System.Windows.Forms.ToolStripItemImageScaling.None;
     this._Toolbar1_Button4.Name              = "_Toolbar1_Button4";
     this._Toolbar1_Button4.Size              = new System.Drawing.Size(75, 37);
     this._Toolbar1_Button4.Text              = "Enviar a Excel";
     this._Toolbar1_Button4.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     //
     // Label4
     //
     this.Label4.BackColor   = System.Drawing.SystemColors.Control;
     this.Label4.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label4.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label4.Location    = new System.Drawing.Point(24, 120);
     this.Label4.Name        = "Label4";
     this.Label4.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label4.Size        = new System.Drawing.Size(57, 17);
     this.Label4.TabIndex    = 3;
     this.Label4.Text        = "Fecha";
     //
     // DataGridView1
     //
     this.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.DataGridView1.Location = new System.Drawing.Point(27, 186);
     this.DataGridView1.Name     = "DataGridView1";
     this.DataGridView1.Size     = new System.Drawing.Size(240, 150);
     this.DataGridView1.TabIndex = 5;
     //
     // frmContadorRecibos
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.Control;
     this.ClientSize          = new System.Drawing.Size(1016, 734);
     this.Controls.Add(this.DataGridView1);
     this.Controls.Add(this.cmbMes);
     this.Controls.Add(this.cmbAno);
     this.Controls.Add(this.Toolbar1);
     this.Controls.Add(this.Label4);
     this.Cursor        = System.Windows.Forms.Cursors.Default;
     this.Location      = new System.Drawing.Point(4, 30);
     this.Name          = "frmContadorRecibos";
     this.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.StartPosition = System.Windows.Forms.FormStartPosition.WindowsDefaultBounds;
     this.Text          = "Listado de Recibos";
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.Toolbar1.ResumeLayout(false);
     this.Toolbar1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DataGridView1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #41
0
        private void InitializeComponent()
        {
            this.toolStrip1            = new System.Windows.Forms.ToolStrip();
            this.closeToolStripButton  = new System.Windows.Forms.ToolStripButton();
            this.windowsDropDownButton = new System.Windows.Forms.ToolStripDropDownButton();
            this.hostPanel             = new System.Windows.Forms.Panel();
            this.toolStrip1.SuspendLayout();

            //
            // toolStrip1
            //
            this.toolStrip1.GripStyle     = System.Windows.Forms.ToolStripGripStyle.Hidden;
            this.toolStrip1.Location      = new System.Drawing.Point(0, 0);
            this.toolStrip1.Name          = "toolStrip1";
            this.toolStrip1.TabIndex      = 0;
            this.toolStrip1.Text          = "toolStrip1";
            this.toolStrip1.TextDirection = ToolStripTextDirection.Vertical90;
            this.toolStrip1.AutoSize      = false;
            this.toolStrip1.Size          = new Size(23, this.toolStrip1.Height);
            ((ToolStripDropDownMenu)this.windowsDropDownButton.DropDown).ShowCheckMargin = true;
            this.toolStrip1.AllowItemReorder = true;
            this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.closeToolStripButton,
                this.windowsDropDownButton
            });

            //
            // closeToolStripButton
            //
            this.closeToolStripButton.AutoSize     = false;
            this.closeToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.closeToolStripButton.Font         = new System.Drawing.Font("Marlett", 7F);
            this.closeToolStripButton.Name         = "closeToolStripButton";
            this.closeToolStripButton.Size         = new System.Drawing.Size(21, 22);
            this.closeToolStripButton.Text         = "r";
            this.closeToolStripButton.ToolTipText  = "Closes the current tool window";
            this.closeToolStripButton.Click       += new EventHandler(this.closeToolStripButton_Click);

            //
            // windowsDropDownButton
            //
            this.windowsDropDownButton.DoubleClickEnabled = true;
            this.windowsDropDownButton.Name = "windowsDropDownButton";
            this.windowsDropDownButton.DropDownDirection = ToolStripDropDownDirection.Right;

            //
            // hostPanel
            //
            this.hostPanel.BackColor = ProfessionalColors.RaftingContainerGradientEnd;
            this.hostPanel.Dock      = System.Windows.Forms.DockStyle.Fill;
            this.hostPanel.Location  = new System.Drawing.Point(402, 25);
            this.hostPanel.Name      = "hostPanel";
            this.hostPanel.Padding   = new System.Windows.Forms.Padding(1, 4, 4, 4);
            this.hostPanel.Size      = new System.Drawing.Size(163, 418);
            this.hostPanel.TabIndex  = 5;
            this.hostPanel.Paint    += new System.Windows.Forms.PaintEventHandler(this.hostPanel_Paint);
            this.Controls.Add(hostPanel);

            this.Controls.Add(this.toolStrip1);
            this.DockChanged += new EventHandler(ToolWindowHost_DockChanged);
            this.SizeChanged += new EventHandler(ToolWindowHost_SizeChanged);

            this.toolStrip1.ResumeLayout();
        }
예제 #42
0
 public ToolStripDropDownButtonInternalLayout(ToolStripDropDownButton ownerItem) : base(ownerItem)
 {
     this.ownerItem = ownerItem;
 }
예제 #43
0
 /// <summary> 
 /// Méthode requise pour la prise en charge du concepteur - ne modifiez pas 
 /// le contenu de cette méthode avec l'éditeur de code.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MetadataDocumentGenerator));
     this.toolStripMenu = new System.Windows.Forms.ToolStrip();
     this.tssbLoadEntities = new System.Windows.Forms.ToolStripSplitButton();
     this.tsmiLoadEntitiesFromSolution = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbGenerate = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.settingsToolStripDropDownButton = new System.Windows.Forms.ToolStripDropDownButton();
     this.saveCurrentSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.loadSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolImageList = new System.Windows.Forms.ImageList(this.components);
     this.panel1 = new System.Windows.Forms.Panel();
     this.gbOptions = new System.Windows.Forms.GroupBox();
     this.chkAddFormLocation = new System.Windows.Forms.CheckBox();
     this.chkDisplayEntityList = new System.Windows.Forms.CheckBox();
     this.chkAddValidForAf = new System.Windows.Forms.CheckBox();
     this.chkAddRequiredLevel = new System.Windows.Forms.CheckBox();
     this.chkAddFls = new System.Windows.Forms.CheckBox();
     this.chkAddAudit = new System.Windows.Forms.CheckBox();
     this.chkOneSheet = new System.Windows.Forms.CheckBox();
     this.gbAttributeSelection = new System.Windows.Forms.GroupBox();
     this.chkFilterByPrefix = new System.Windows.Forms.CheckBox();
     this.btnEdit = new System.Windows.Forms.Button();
     this.txtPrefixes = new System.Windows.Forms.TextBox();
     this.chkSelectAll = new System.Windows.Forms.CheckBox();
     this.lblSubSelect = new System.Windows.Forms.Label();
     this.lblEntities = new System.Windows.Forms.Label();
     this.lvEntities = new System.Windows.Forms.ListView();
     this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.label1 = new System.Windows.Forms.Label();
     this.cbbSelectionType = new System.Windows.Forms.ComboBox();
     this.lvForms = new System.Windows.Forms.ListView();
     this.columnHeader8 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.lvAttributes = new System.Windows.Forms.ListView();
     this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.gbOutput = new System.Windows.Forms.GroupBox();
     this.lblLcid = new System.Windows.Forms.Label();
     this.cbbLcid = new System.Windows.Forms.ComboBox();
     this.btnBrowseFilePath = new System.Windows.Forms.Button();
     this.txtOutputFilePath = new System.Windows.Forms.TextBox();
     this.lblOutputFilePath = new System.Windows.Forms.Label();
     this.lblOutputType = new System.Windows.Forms.Label();
     this.cbbOutputType = new System.Windows.Forms.ComboBox();
     this.toolStripMenu.SuspendLayout();
     this.panel1.SuspendLayout();
     this.gbOptions.SuspendLayout();
     this.gbAttributeSelection.SuspendLayout();
     this.gbOutput.SuspendLayout();
     this.SuspendLayout();
     //
     // toolStripMenu
     //
     this.toolStripMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.tssbLoadEntities,
     this.toolStripSeparator1,
     this.tsbGenerate,
     this.toolStripSeparator2,
     this.settingsToolStripDropDownButton});
     this.toolStripMenu.Location = new System.Drawing.Point(0, 0);
     this.toolStripMenu.Name = "toolStripMenu";
     this.toolStripMenu.Padding = new System.Windows.Forms.Padding(0, 0, 2, 0);
     this.toolStripMenu.Size = new System.Drawing.Size(1366, 32);
     this.toolStripMenu.TabIndex = 2;
     this.toolStripMenu.Text = "toolStrip1";
     //
     // tssbLoadEntities
     //
     this.tssbLoadEntities.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.tsmiLoadEntitiesFromSolution});
     this.tssbLoadEntities.Image = global::MsCrmTools.MetadataDocumentGenerator.Properties.Resources.ico_16_0;
     this.tssbLoadEntities.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tssbLoadEntities.Name = "tssbLoadEntities";
     this.tssbLoadEntities.Size = new System.Drawing.Size(157, 29);
     this.tssbLoadEntities.Text = "Load Entities";
     this.tssbLoadEntities.ToolTipText = "Load all entities from the connected organization";
     this.tssbLoadEntities.ButtonClick += new System.EventHandler(this.tssbLoadEntities_ButtonClick);
     //
     // tsmiLoadEntitiesFromSolution
     //
     this.tsmiLoadEntitiesFromSolution.Name = "tsmiLoadEntitiesFromSolution";
     this.tsmiLoadEntitiesFromSolution.Size = new System.Drawing.Size(327, 30);
     this.tsmiLoadEntitiesFromSolution.Text = "Load Entities from solution(s)";
     this.tsmiLoadEntitiesFromSolution.Click += new System.EventHandler(this.tsmiLoadEntitiesFromSolution_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(6, 32);
     //
     // tsbGenerate
     //
     this.tsbGenerate.Enabled = false;
     this.tsbGenerate.Image = ((System.Drawing.Image)(resources.GetObject("tsbGenerate.Image")));
     this.tsbGenerate.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbGenerate.Name = "tsbGenerate";
     this.tsbGenerate.Size = new System.Drawing.Size(196, 29);
     this.tsbGenerate.Text = "Generate document";
     this.tsbGenerate.Click += new System.EventHandler(this.TsbGenerateClick);
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(6, 32);
     //
     // settingsToolStripDropDownButton
     //
     this.settingsToolStripDropDownButton.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.saveCurrentSettingsToolStripMenuItem,
     this.loadSettingsToolStripMenuItem});
     this.settingsToolStripDropDownButton.Enabled = false;
     this.settingsToolStripDropDownButton.Image = ((System.Drawing.Image)(resources.GetObject("settingsToolStripDropDownButton.Image")));
     this.settingsToolStripDropDownButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.settingsToolStripDropDownButton.Name = "settingsToolStripDropDownButton";
     this.settingsToolStripDropDownButton.Size = new System.Drawing.Size(207, 29);
     this.settingsToolStripDropDownButton.Text = "Generation settings";
     //
     // saveCurrentSettingsToolStripMenuItem
     //
     this.saveCurrentSettingsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveCurrentSettingsToolStripMenuItem.Image")));
     this.saveCurrentSettingsToolStripMenuItem.Name = "saveCurrentSettingsToolStripMenuItem";
     this.saveCurrentSettingsToolStripMenuItem.Size = new System.Drawing.Size(350, 30);
     this.saveCurrentSettingsToolStripMenuItem.Text = "Save current generation settings";
     this.saveCurrentSettingsToolStripMenuItem.Click += new System.EventHandler(this.SaveCurrentSettingsToolStripMenuItemClick);
     //
     // loadSettingsToolStripMenuItem
     //
     this.loadSettingsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadSettingsToolStripMenuItem.Image")));
     this.loadSettingsToolStripMenuItem.Name = "loadSettingsToolStripMenuItem";
     this.loadSettingsToolStripMenuItem.Size = new System.Drawing.Size(350, 30);
     this.loadSettingsToolStripMenuItem.Text = "Load generation settings";
     this.loadSettingsToolStripMenuItem.Click += new System.EventHandler(this.LoadSettingsToolStripMenuItemClick);
     //
     // toolImageList
     //
     this.toolImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("toolImageList.ImageStream")));
     this.toolImageList.TransparentColor = System.Drawing.Color.Transparent;
     this.toolImageList.Images.SetKeyName(0, "Icon.png");
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.AutoScroll = true;
     this.panel1.Controls.Add(this.gbOptions);
     this.panel1.Controls.Add(this.gbAttributeSelection);
     this.panel1.Controls.Add(this.gbOutput);
     this.panel1.Location = new System.Drawing.Point(0, 38);
     this.panel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(1366, 885);
     this.panel1.TabIndex = 3;
     //
     // gbOptions
     //
     this.gbOptions.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.gbOptions.Controls.Add(this.chkAddFormLocation);
     this.gbOptions.Controls.Add(this.chkDisplayEntityList);
     this.gbOptions.Controls.Add(this.chkAddValidForAf);
     this.gbOptions.Controls.Add(this.chkAddRequiredLevel);
     this.gbOptions.Controls.Add(this.chkAddFls);
     this.gbOptions.Controls.Add(this.chkAddAudit);
     this.gbOptions.Controls.Add(this.chkOneSheet);
     this.gbOptions.Enabled = false;
     this.gbOptions.Location = new System.Drawing.Point(4, 689);
     this.gbOptions.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.gbOptions.Name = "gbOptions";
     this.gbOptions.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.gbOptions.Size = new System.Drawing.Size(1307, 200);
     this.gbOptions.TabIndex = 8;
     this.gbOptions.TabStop = false;
     this.gbOptions.Text = "Options";
     //
     // chkAddFormLocation
     //
     this.chkAddFormLocation.AutoSize = true;
     this.chkAddFormLocation.Location = new System.Drawing.Point(390, 65);
     this.chkAddFormLocation.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.chkAddFormLocation.Name = "chkAddFormLocation";
     this.chkAddFormLocation.Size = new System.Drawing.Size(276, 24);
     this.chkAddFormLocation.TabIndex = 5;
     this.chkAddFormLocation.Text = "Include Attribute location in Forms";
     this.chkAddFormLocation.UseVisualStyleBackColor = true;
     //
     // chkDisplayEntityList
     //
     this.chkDisplayEntityList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.chkDisplayEntityList.AutoSize = true;
     this.chkDisplayEntityList.Location = new System.Drawing.Point(903, 29);
     this.chkDisplayEntityList.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.chkDisplayEntityList.Name = "chkDisplayEntityList";
     this.chkDisplayEntityList.Size = new System.Drawing.Size(344, 24);
     this.chkDisplayEntityList.TabIndex = 4;
     this.chkDisplayEntityList.Text = "Gather entities list in a summary (Excel only)";
     this.chkDisplayEntityList.UseVisualStyleBackColor = true;
     //
     // chkAddValidForAf
     //
     this.chkAddValidForAf.AutoSize = true;
     this.chkAddValidForAf.Location = new System.Drawing.Point(390, 29);
     this.chkAddValidForAf.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.chkAddValidForAf.Name = "chkAddValidForAf";
     this.chkAddValidForAf.Size = new System.Drawing.Size(342, 24);
     this.chkAddValidForAf.TabIndex = 3;
     this.chkAddValidForAf.Text = "Include Valid for Advanced Find information";
     this.chkAddValidForAf.UseVisualStyleBackColor = true;
     //
     // chkAddRequiredLevel
     //
     this.chkAddRequiredLevel.AutoSize = true;
     this.chkAddRequiredLevel.Location = new System.Drawing.Point(9, 100);
     this.chkAddRequiredLevel.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.chkAddRequiredLevel.Name = "chkAddRequiredLevel";
     this.chkAddRequiredLevel.Size = new System.Drawing.Size(301, 24);
     this.chkAddRequiredLevel.TabIndex = 2;
     this.chkAddRequiredLevel.Text = "Include Requirement level information";
     this.chkAddRequiredLevel.UseVisualStyleBackColor = true;
     //
     // chkAddFls
     //
     this.chkAddFls.AutoSize = true;
     this.chkAddFls.Location = new System.Drawing.Point(9, 65);
     this.chkAddFls.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.chkAddFls.Name = "chkAddFls";
     this.chkAddFls.Size = new System.Drawing.Size(310, 24);
     this.chkAddFls.TabIndex = 1;
     this.chkAddFls.Text = "Include Field Level Security information";
     this.chkAddFls.UseVisualStyleBackColor = true;
     //
     // chkAddAudit
     //
     this.chkAddAudit.AutoSize = true;
     this.chkAddAudit.Location = new System.Drawing.Point(9, 29);
     this.chkAddAudit.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.chkAddAudit.Name = "chkAddAudit";
     this.chkAddAudit.Size = new System.Drawing.Size(211, 24);
     this.chkAddAudit.TabIndex = 0;
     this.chkAddAudit.Text = "Include Audit information";
     this.chkAddAudit.UseVisualStyleBackColor = true;
     //
     // chkOneSheet
     //
     this.chkOneSheet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.chkOneSheet.AutoSize = true;
     this.chkOneSheet.Location = new System.Drawing.Point(903, 65);
     this.chkOneSheet.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.chkOneSheet.Name = "chkOneSheet";
     this.chkOneSheet.Size = new System.Drawing.Size(346, 24);
     this.chkOneSheet.TabIndex = 1;
     this.chkOneSheet.Text = "Export all attributes in one sheet (Excel only)";
     this.chkOneSheet.UseVisualStyleBackColor = true;
     //
     // gbAttributeSelection
     //
     this.gbAttributeSelection.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.gbAttributeSelection.Controls.Add(this.chkFilterByPrefix);
     this.gbAttributeSelection.Controls.Add(this.btnEdit);
     this.gbAttributeSelection.Controls.Add(this.txtPrefixes);
     this.gbAttributeSelection.Controls.Add(this.chkSelectAll);
     this.gbAttributeSelection.Controls.Add(this.lblSubSelect);
     this.gbAttributeSelection.Controls.Add(this.lblEntities);
     this.gbAttributeSelection.Controls.Add(this.lvEntities);
     this.gbAttributeSelection.Controls.Add(this.label1);
     this.gbAttributeSelection.Controls.Add(this.cbbSelectionType);
     this.gbAttributeSelection.Controls.Add(this.lvForms);
     this.gbAttributeSelection.Controls.Add(this.lvAttributes);
     this.gbAttributeSelection.Enabled = false;
     this.gbAttributeSelection.Location = new System.Drawing.Point(4, 177);
     this.gbAttributeSelection.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.gbAttributeSelection.Name = "gbAttributeSelection";
     this.gbAttributeSelection.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.gbAttributeSelection.Size = new System.Drawing.Size(1307, 503);
     this.gbAttributeSelection.TabIndex = 7;
     this.gbAttributeSelection.TabStop = false;
     this.gbAttributeSelection.Text = "Attributes Selection";
     //
     // chkFilterByPrefix
     //
     this.chkFilterByPrefix.AutoSize = true;
     this.chkFilterByPrefix.Location = new System.Drawing.Point(612, 32);
     this.chkFilterByPrefix.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.chkFilterByPrefix.Name = "chkFilterByPrefix";
     this.chkFilterByPrefix.Size = new System.Drawing.Size(259, 24);
     this.chkFilterByPrefix.TabIndex = 89;
     this.chkFilterByPrefix.Text = "Filter custom attributes by prefix";
     this.chkFilterByPrefix.UseVisualStyleBackColor = true;
     this.chkFilterByPrefix.CheckedChanged += new System.EventHandler(this.chkFilterByPrefix_CheckedChanged);
     //
     // btnEdit
     //
     this.btnEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnEdit.Enabled = false;
     this.btnEdit.Image = ((System.Drawing.Image)(resources.GetObject("btnEdit.Image")));
     this.btnEdit.Location = new System.Drawing.Point(1262, 26);
     this.btnEdit.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.btnEdit.Name = "btnEdit";
     this.btnEdit.Size = new System.Drawing.Size(34, 35);
     this.btnEdit.TabIndex = 88;
     this.btnEdit.UseVisualStyleBackColor = true;
     this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click);
     //
     // txtPrefixes
     //
     this.txtPrefixes.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtPrefixes.Enabled = false;
     this.txtPrefixes.Location = new System.Drawing.Point(914, 29);
     this.txtPrefixes.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.txtPrefixes.Name = "txtPrefixes";
     this.txtPrefixes.Size = new System.Drawing.Size(339, 26);
     this.txtPrefixes.TabIndex = 87;
     //
     // chkSelectAll
     //
     this.chkSelectAll.AutoSize = true;
     this.chkSelectAll.Location = new System.Drawing.Point(424, 78);
     this.chkSelectAll.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.chkSelectAll.Name = "chkSelectAll";
     this.chkSelectAll.Size = new System.Drawing.Size(166, 24);
     this.chkSelectAll.TabIndex = 85;
     this.chkSelectAll.Text = "Select/Unselect all";
     this.chkSelectAll.UseVisualStyleBackColor = true;
     this.chkSelectAll.CheckedChanged += new System.EventHandler(this.chkSelectAll_CheckedChanged);
     //
     // lblSubSelect
     //
     this.lblSubSelect.AutoSize = true;
     this.lblSubSelect.Location = new System.Drawing.Point(608, 80);
     this.lblSubSelect.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblSubSelect.Name = "lblSubSelect";
     this.lblSubSelect.Size = new System.Drawing.Size(78, 20);
     this.lblSubSelect.TabIndex = 83;
     this.lblSubSelect.Text = "Attributes";
     this.lblSubSelect.Visible = false;
     //
     // lblEntities
     //
     this.lblEntities.AutoSize = true;
     this.lblEntities.Location = new System.Drawing.Point(14, 80);
     this.lblEntities.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblEntities.Name = "lblEntities";
     this.lblEntities.Size = new System.Drawing.Size(62, 20);
     this.lblEntities.TabIndex = 82;
     this.lblEntities.Text = "Entities";
     //
     // lvEntities
     //
     this.lvEntities.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)));
     this.lvEntities.CheckBoxes = true;
     this.lvEntities.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
     this.columnHeader4,
     this.columnHeader7});
     this.lvEntities.FullRowSelect = true;
     this.lvEntities.GridLines = true;
     this.lvEntities.HideSelection = false;
     this.lvEntities.Location = new System.Drawing.Point(14, 105);
     this.lvEntities.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.lvEntities.Name = "lvEntities";
     this.lvEntities.Size = new System.Drawing.Size(583, 387);
     this.lvEntities.Sorting = System.Windows.Forms.SortOrder.Ascending;
     this.lvEntities.TabIndex = 80;
     this.lvEntities.UseCompatibleStateImageBehavior = false;
     this.lvEntities.View = System.Windows.Forms.View.Details;
     this.lvEntities.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.ListViewsColumnClick);
     this.lvEntities.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.LvEntitiesItemChecked);
     this.lvEntities.SelectedIndexChanged += new System.EventHandler(this.LvEntitiesSelectedIndexChanged);
     //
     // columnHeader4
     //
     this.columnHeader4.Text = "Display name";
     this.columnHeader4.Width = 200;
     //
     // columnHeader7
     //
     this.columnHeader7.Text = "Schema name";
     this.columnHeader7.Width = 160;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(9, 34);
     this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(100, 20);
     this.label1.TabIndex = 3;
     this.label1.Text = "Generate for";
     //
     // cbbSelectionType
     //
     this.cbbSelectionType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbbSelectionType.FormattingEnabled = true;
     this.cbbSelectionType.Items.AddRange(new object[] {
     "All attributes",
     "All attributes contained in forms",
     "All attributes NOT contained in forms",
     "Option Sets, Boolean, State and Status attributes",
     "Selected attributes",
     "Unmanaged attributes"});
     this.cbbSelectionType.Location = new System.Drawing.Point(177, 29);
     this.cbbSelectionType.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.cbbSelectionType.Name = "cbbSelectionType";
     this.cbbSelectionType.Size = new System.Drawing.Size(420, 28);
     this.cbbSelectionType.TabIndex = 2;
     this.cbbSelectionType.SelectedIndexChanged += new System.EventHandler(this.CbbSelectionTypeSelectedIndexChanged);
     //
     // lvForms
     //
     this.lvForms.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.lvForms.CheckBoxes = true;
     this.lvForms.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
     this.columnHeader8});
     this.lvForms.FullRowSelect = true;
     this.lvForms.GridLines = true;
     this.lvForms.HideSelection = false;
     this.lvForms.Location = new System.Drawing.Point(608, 105);
     this.lvForms.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.lvForms.Name = "lvForms";
     this.lvForms.Size = new System.Drawing.Size(688, 387);
     this.lvForms.Sorting = System.Windows.Forms.SortOrder.Ascending;
     this.lvForms.TabIndex = 84;
     this.lvForms.UseCompatibleStateImageBehavior = false;
     this.lvForms.View = System.Windows.Forms.View.Details;
     this.lvForms.Visible = false;
     this.lvForms.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.ListViewsColumnClick);
     this.lvForms.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.LvFormsItemChecked);
     //
     // columnHeader8
     //
     this.columnHeader8.Text = "Form name";
     this.columnHeader8.Width = 400;
     //
     // lvAttributes
     //
     this.lvAttributes.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.lvAttributes.CheckBoxes = true;
     this.lvAttributes.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
     this.columnHeader2,
     this.columnHeader1});
     this.lvAttributes.FullRowSelect = true;
     this.lvAttributes.GridLines = true;
     this.lvAttributes.HideSelection = false;
     this.lvAttributes.Location = new System.Drawing.Point(608, 105);
     this.lvAttributes.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.lvAttributes.Name = "lvAttributes";
     this.lvAttributes.Size = new System.Drawing.Size(688, 387);
     this.lvAttributes.Sorting = System.Windows.Forms.SortOrder.Ascending;
     this.lvAttributes.TabIndex = 81;
     this.lvAttributes.UseCompatibleStateImageBehavior = false;
     this.lvAttributes.View = System.Windows.Forms.View.Details;
     this.lvAttributes.Visible = false;
     this.lvAttributes.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.ListViewsColumnClick);
     this.lvAttributes.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.LvAttributesItemChecked);
     //
     // columnHeader2
     //
     this.columnHeader2.Text = "Attribute Display Name";
     this.columnHeader2.Width = 200;
     //
     // columnHeader1
     //
     this.columnHeader1.Text = "Attribute Logical Name";
     this.columnHeader1.Width = 200;
     //
     // gbOutput
     //
     this.gbOutput.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.gbOutput.Controls.Add(this.lblLcid);
     this.gbOutput.Controls.Add(this.cbbLcid);
     this.gbOutput.Controls.Add(this.btnBrowseFilePath);
     this.gbOutput.Controls.Add(this.txtOutputFilePath);
     this.gbOutput.Controls.Add(this.lblOutputFilePath);
     this.gbOutput.Controls.Add(this.lblOutputType);
     this.gbOutput.Controls.Add(this.cbbOutputType);
     this.gbOutput.Enabled = false;
     this.gbOutput.Location = new System.Drawing.Point(4, 5);
     this.gbOutput.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.gbOutput.Name = "gbOutput";
     this.gbOutput.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.gbOutput.Size = new System.Drawing.Size(1307, 163);
     this.gbOutput.TabIndex = 6;
     this.gbOutput.TabStop = false;
     this.gbOutput.Text = "Output";
     //
     // lblLcid
     //
     this.lblLcid.AutoSize = true;
     this.lblLcid.Location = new System.Drawing.Point(9, 117);
     this.lblLcid.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblLcid.Name = "lblLcid";
     this.lblLcid.Size = new System.Drawing.Size(81, 20);
     this.lblLcid.TabIndex = 6;
     this.lblLcid.Text = "Language";
     //
     // cbbLcid
     //
     this.cbbLcid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.cbbLcid.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbbLcid.FormattingEnabled = true;
     this.cbbLcid.Location = new System.Drawing.Point(177, 112);
     this.cbbLcid.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.cbbLcid.Name = "cbbLcid";
     this.cbbLcid.Size = new System.Drawing.Size(1119, 28);
     this.cbbLcid.TabIndex = 5;
     //
     // btnBrowseFilePath
     //
     this.btnBrowseFilePath.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnBrowseFilePath.Location = new System.Drawing.Point(1236, 68);
     this.btnBrowseFilePath.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.btnBrowseFilePath.Name = "btnBrowseFilePath";
     this.btnBrowseFilePath.Size = new System.Drawing.Size(60, 35);
     this.btnBrowseFilePath.TabIndex = 4;
     this.btnBrowseFilePath.Text = "...";
     this.btnBrowseFilePath.UseVisualStyleBackColor = true;
     this.btnBrowseFilePath.Click += new System.EventHandler(this.BtnBrowseFilePathClick);
     //
     // txtOutputFilePath
     //
     this.txtOutputFilePath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtOutputFilePath.Location = new System.Drawing.Point(177, 71);
     this.txtOutputFilePath.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.txtOutputFilePath.Name = "txtOutputFilePath";
     this.txtOutputFilePath.ReadOnly = true;
     this.txtOutputFilePath.Size = new System.Drawing.Size(1048, 26);
     this.txtOutputFilePath.TabIndex = 3;
     //
     // lblOutputFilePath
     //
     this.lblOutputFilePath.AutoSize = true;
     this.lblOutputFilePath.Location = new System.Drawing.Point(9, 75);
     this.lblOutputFilePath.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblOutputFilePath.Name = "lblOutputFilePath";
     this.lblOutputFilePath.Size = new System.Drawing.Size(70, 20);
     this.lblOutputFilePath.TabIndex = 2;
     this.lblOutputFilePath.Text = "File path";
     //
     // lblOutputType
     //
     this.lblOutputType.AutoSize = true;
     this.lblOutputType.Location = new System.Drawing.Point(9, 34);
     this.lblOutputType.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblOutputType.Name = "lblOutputType";
     this.lblOutputType.Size = new System.Drawing.Size(133, 20);
     this.lblOutputType.TabIndex = 1;
     this.lblOutputType.Text = "Document format";
     //
     // cbbOutputType
     //
     this.cbbOutputType.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.cbbOutputType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbbOutputType.FormattingEnabled = true;
     this.cbbOutputType.Items.AddRange(new object[] {
     "Excel Workbook",
     "Word Document"});
     this.cbbOutputType.Location = new System.Drawing.Point(177, 29);
     this.cbbOutputType.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.cbbOutputType.Name = "cbbOutputType";
     this.cbbOutputType.Size = new System.Drawing.Size(1119, 28);
     this.cbbOutputType.TabIndex = 0;
     this.cbbOutputType.SelectedIndexChanged += new System.EventHandler(this.CbbOutputTypeSelectedIndexChanged);
     //
     // MetadataDocumentGenerator
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.toolStripMenu);
     this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.Name = "MetadataDocumentGenerator";
     this.Size = new System.Drawing.Size(1366, 923);
     this.toolStripMenu.ResumeLayout(false);
     this.toolStripMenu.PerformLayout();
     this.panel1.ResumeLayout(false);
     this.gbOptions.ResumeLayout(false);
     this.gbOptions.PerformLayout();
     this.gbAttributeSelection.ResumeLayout(false);
     this.gbAttributeSelection.PerformLayout();
     this.gbOutput.ResumeLayout(false);
     this.gbOutput.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }