示例#1
0
    public PanelRunning()
    {
        this.AccessibleName = this.Name = "Running";
        _c = new _TreeViewAdv();
        _c.AccessibleName = _c.Name = "Running_list";
        _c.BorderStyle    = BorderStyle.None;
        _c.Dock           = DockStyle.Fill;

        _c.ShowLines        = false;
        _c.ShowPlusMinus    = false;
        _c.ShowNodeToolTips = true;
        _c.FullRowSelect    = true;

        _ccIcon = new NodeIcon();
        _c.NodeControls.Add(_ccIcon);
        _ccIcon.ScaleMode   = ImageScaleMode.ScaleUp;
        _ccIcon.DpiStretch  = true;
        _ccIcon.ValueNeeded = node => (node.Tag as RunningTask).f.GetIcon();

        _ccName = new NodeTextBox();
        _c.NodeControls.Add(_ccName);
        //_ccName.Trimming = StringTrimming.EllipsisCharacter;
        _ccName.ValueNeeded = node => (node.Tag as RunningTask).f.DisplayName;
        _ccName.DrawText   += _ccName_DrawText;

        _c.NodeMouseClick += _c_NodeMouseClick;

        this.Controls.Add(_c);
    }
示例#2
0
        public void InitTree()
        {
            NodeIcon ctrlIcon = new NodeIcon();

            ctrlIcon.DataPropertyName = "Image";
            ctrlIcon.ToType           = null;
            this.NodeControls.Add(ctrlIcon);

            NodeTextBox ctrlTB = new NodeTextBox();

            ctrlTB.DataPropertyName = "Text";
            ctrlTB.ToType           = null;
            this.NodeControls.Add(ctrlTB);

            NodeNumericUpDown ctrlNum = new NodeNumericUpDown();

            //ctrlNum.LeftMargin = 1;
            ctrlNum.ToType = typeof(BomNode);
            //ctrlNum.
            ctrlNum.DataPropertyName = "Quantity";
            this.NodeControls.Add(ctrlNum);

            BomTreeModel model = new BomTreeModel();

            model.InitModel();

            //_childFont = new Font(treeViewAdv1.Font.FontFamily, 18, FontStyle.Bold);
            this.Model = model;

            this.ItemDrag             += new System.Windows.Forms.ItemDragEventHandler(this._tree_ItemDrag);
            this.NodeMouseDoubleClick += new System.EventHandler <Aga.Controls.Tree.TreeNodeAdvMouseEventArgs>(this._tree_NodeMouseDoubleClick);
            this.SelectionChanged     += new System.EventHandler(this._tree_SelectionChanged);
            this.DragDrop             += new System.Windows.Forms.DragEventHandler(this._tree_DragDrop);
            this.DragOver             += new System.Windows.Forms.DragEventHandler(this._tree_DragOver);
        }
示例#3
0
 public NodeIcon AddIconControl(string dataPropertyName)
 {
     iconControl              = new NodeIcon();
     iconControl.LeftMargin   = 1;
     iconControl.ParentColumn = null;
     iconControl.ScaleMode    = ImageScaleMode.Clip;
     AddNodeControl(dataPropertyName, iconControl);
     return(iconControl);
 }
示例#4
0
        /// <summary>
        /// Defines a new NodeGroup which will be shown in the node explorer.
        /// </summary>
        /// <param name="name">The displayed name of the group.</param>
        /// <param name="icon">The displayed icon of the group and its children.</param>
        /// <param name="parent">The parent of the group, can be null.</param>
        public NodeGroup(string name, NodeIcon icon, NodeGroup parent)
        {
            _name = name;
            _icon = icon;

            if (parent != null)
            {
                parent.Children.Add(this);
            }
        }
示例#5
0
        private void InitializeColumnControls()
        {
            //
            // ncProcessIcon
            //
            _ncProcessIcon = new NodeIcon
            {
                DataPropertyName = "Icon",
                LeftMargin       = 1,
                ParentColumn     = _tcProcessIcon,
                ScaleMode        = ImageScaleMode.Clip
            };
            //
            // nodeProcessName
            //
            _ncProcessName = new NodeTextBox
            {
                DataPropertyName         = "Text",
                IncrementalSearchEnabled = true,
                LeftMargin   = 3,
                ParentColumn = _tcProcessIcon
            };
            //_ncProcessName.ParentColumn = _tcProcessName;

            //
            // ncProcessGroup
            //
            _ncProcessCategory = new NodeCategoryTitle
            {
                DataPropertyName         = "CategoryTitle",
                IncrementalSearchEnabled = true,
                LeftMargin            = 1,
                ParentColumn          = _tcProcessIcon,
                FirstRowVerticalAlign = VerticalAlignment.Top
            };
            //
            // ncCategoryTitleSize
            //
            _ncProcessCategoryTitleSize = new NodeSizeControl(new Size(0, 45), new Size(0, 30),
                                                              new List <Type>
            {
                typeof(ProcessCategoryNode),
                typeof(NodeWithUniqueChildren)
            });
            //
            // nodeProcessPid
            //
            _ncProcessPid = new NodeTextBox
            {
                DataPropertyName         = "Pid",
                IncrementalSearchEnabled = true,
                LeftMargin   = 3,
                ParentColumn = _tcProcessPid
            };
        }
        private void TreeViewImage_MouseClick(object sender, MouseEventArgs e)
        {
            string   noArgumentsMessage = "[No arguments to display]";
            Point    mouseLocation      = new Point(e.X, e.Y);
            NodeIcon selectedIcon       = GetMatchingNodeIcon(mouseLocation);

            if (selectedIcon != null)
            {
                if (_currentToolTip != null)
                {
                    _currentToolTip.Hide(treeViewImage);
                    _currentToolTip.Dispose();
                    _currentToolTip = null;
                }

                string text = string.Empty;
                if (selectedIcon is TreeNodeIcon)
                {
                    TreeNodeIcon treeIcon = selectedIcon as TreeNodeIcon;
                    text = FormatText(treeIcon.Node.Arguments);
                    if (string.IsNullOrEmpty(text))
                    {
                        text = noArgumentsMessage;
                    }

                    text = treeIcon.Node.OperationName + Environment.NewLine + text;
                }
                else if (selectedIcon is MemoNodeIcon)
                {
                    MemoNodeIcon memoIcon = selectedIcon as MemoNodeIcon;
                    text = FormatText(memoIcon.Node.Arguments);
                    if (string.IsNullOrEmpty(text))
                    {
                        text = noArgumentsMessage;
                    }

                    text = memoIcon.Node.OperationName + Environment.NewLine + text;
                }

                text = text.Trim();

                int numberOfLines = text.Count(c => c == '\r') + 1;

                _currentToolTip           = new ToolTip();
                _currentToolTip.IsBalloon = true;
                _currentToolTip.Show(
                    text,
                    treeViewImage,
                    selectedIcon.Left + selectedIcon.Width - 25,
                    selectedIcon.Top - 44 - 13 * numberOfLines);
                _toolTipMouseLocation = mouseLocation;
                _currentNodeIcon      = selectedIcon;
            }
        }
        protected GrtListModel(TreeViewAdv ListView, MySQL.Grt.ListModelWrapper GrtList, NodeIcon NodeIcon,
                               bool DynamicContextMenu)
            : this(ListView, GrtList, DynamicContextMenu)
        {
            nodeIcon = NodeIcon;

            // Ensure that the VirtualMode is enabled
            nodeIcon.VirtualMode = true;

            // Assign virtual value events for displaying and processing the edited value content
            nodeIcon.ValueNeeded += new EventHandler <NodeControlValueEventArgs>(IconNeeded);
        }
示例#8
0
        /// <summary>
        /// Constructor that initializes the model with the given objects
        /// </summary>
        /// <param name="TreeView">The TreeViewAdv control this model belongs to</param>
        /// <param name="GrtTree">The GRT tree this model belongs to</param>
        /// <param name="NodeStateIcon">The NodeStateIcon NodeControl that displays the icon</param>
        public DbMysqlTableColumnsListModel(IModelChangeListener listener, TreeViewAdv tree,
                                            MySQLTableColumnsListWrapper grtList,
                                            NodeIcon columnIconNodeControl, AdvNodeTextBox nameNodeControl, AdvNodeComboBox datatypeComboBoxNodeControl,
                                            NodeCheckBox pkNodeControl, NodeCheckBox nnNodeControl, NodeCheckBox uqNodeControl, NodeCheckBox binNodeControl,
                                            NodeCheckBox unNodeControl, NodeCheckBox zfNodeControl, NodeCheckBox aiNodeControl,
                                            NodeCheckBox gNodeControl, AdvNodeTextBox defaultNodeControl, MySQLTableEditorWrapper wrapper)
            : base(tree, grtList, columnIconNodeControl, true)
        {
            this.listener = listener;

            this.nameNodeControl             = nameNodeControl;
            this.datatypeComboBoxNodeControl = datatypeComboBoxNodeControl;
            this.pkNodeControl           = pkNodeControl;
            this.nnNodeControl           = nnNodeControl;
            this.uqNodeControl           = uqNodeControl;
            this.binNodeControl          = binNodeControl;
            this.unNodeControl           = unNodeControl;
            this.zfNodeControl           = zfNodeControl;
            this.aiNodeControl           = aiNodeControl;
            this.gNodeControl            = gNodeControl;
            this.defaultNodeControl      = defaultNodeControl;
            this.mySQLTableEditorWrapper = wrapper;

            // assign virtual value events for displaying and processing the edited value content
            nameNodeControl.EditorInitialize             += new EditorInitializeEventHandler(EditorInitialize);
            nameNodeControl.ValueNeeded                  += new EventHandler <NodeControlValueEventArgs>(ValueNeeded);
            nameNodeControl.ValuePushed                  += new EventHandler <NodeControlValueEventArgs>(ValuePushed);
            datatypeComboBoxNodeControl.EditorInitialize += new EditorInitializeEventHandler(EditorInitialize);
            datatypeComboBoxNodeControl.ValueNeeded      += new EventHandler <NodeControlValueEventArgs>(ValueNeeded);
            datatypeComboBoxNodeControl.ValuePushed      += new EventHandler <NodeControlValueEventArgs>(ValuePushed);

            pkNodeControl.ValueNeeded  += new EventHandler <NodeControlValueEventArgs>(ValueNeeded);
            pkNodeControl.ValuePushed  += new EventHandler <NodeControlValueEventArgs>(ValuePushed);
            nnNodeControl.ValueNeeded  += new EventHandler <NodeControlValueEventArgs>(ValueNeeded);
            nnNodeControl.ValuePushed  += new EventHandler <NodeControlValueEventArgs>(ValuePushed);
            uqNodeControl.ValueNeeded  += new EventHandler <NodeControlValueEventArgs>(ValueNeeded);
            uqNodeControl.ValuePushed  += new EventHandler <NodeControlValueEventArgs>(ValuePushed);
            binNodeControl.ValueNeeded += new EventHandler <NodeControlValueEventArgs>(ValueNeeded);
            binNodeControl.ValuePushed += new EventHandler <NodeControlValueEventArgs>(ValuePushed);
            unNodeControl.ValueNeeded  += new EventHandler <NodeControlValueEventArgs>(ValueNeeded);
            unNodeControl.ValuePushed  += new EventHandler <NodeControlValueEventArgs>(ValuePushed);
            zfNodeControl.ValueNeeded  += new EventHandler <NodeControlValueEventArgs>(ValueNeeded);
            zfNodeControl.ValuePushed  += new EventHandler <NodeControlValueEventArgs>(ValuePushed);
            aiNodeControl.ValueNeeded  += new EventHandler <NodeControlValueEventArgs>(ValueNeeded);
            aiNodeControl.ValuePushed  += new EventHandler <NodeControlValueEventArgs>(ValuePushed);
            gNodeControl.ValueNeeded   += new EventHandler <NodeControlValueEventArgs>(ValueNeeded);
            gNodeControl.ValuePushed   += new EventHandler <NodeControlValueEventArgs>(ValuePushed);

            defaultNodeControl.EditorInitialize += new EditorInitializeEventHandler(EditorInitialize);
            defaultNodeControl.ValueNeeded      += new EventHandler <NodeControlValueEventArgs>(ValueNeeded);
            defaultNodeControl.ValuePushed      += new EventHandler <NodeControlValueEventArgs>(ValuePushed);
        }
示例#9
0
文件: PopupList.cs 项目: alexfordc/Au
            public _Control(PopupList p)
            {
                _p = p;

                this.BorderStyle = BorderStyle.FixedSingle;
                this.SetStyle(ControlStyles.Selectable                 //prevent focusing control and activating window on click
                              , false);

                this.ShowNodeToolTips = true;
                this.FullRowSelect    = true;
                this.ShowPlusMinus    = false; this.ShowLines = false;
                this.GridLineStyle    = GridLineStyle.Horizontal;
                //this.AutoRowHeight=false;

                _ccCheck                      = new NodeCheckBox();
                _ccCheck.LeftMargin           = 4;
                _ccCheck.IsVisibleValueNeeded = o => o.Tag is IPopupListItem e && e.CheckType != default;
                _ccCheck.ValueNeeded          = o => o.Tag is IPopupListItem e && e.Checked ? CheckState.Checked : default;
                NodeControls.Add(_ccCheck);

                _ccIcon                      = new NodeIcon();
                _ccIcon.LeftMargin           = 4;
                _ccIcon.ScaleMode            = ImageScaleMode.ScaleUp;
                _ccIcon.DpiStretch           = true;
                _ccIcon.IsVisibleValueNeeded = o => o.Tag is IPopupListItem e && e.Icon != null;
                _ccIcon.ValueNeeded          = o => o.Tag is IPopupListItem e ? e.Icon : null;
                NodeControls.Add(_ccIcon);

                _ccText = new NodeTextBox();
                //_ccText.LeftMargin = 0; //default 1
                _ccText.Trimming          = StringTrimming.EllipsisCharacter;
                _ccText.ValueNeeded       = node => node.Tag;
                _ccText.FontNeeded        = node => (node.Tag is IPopupListItem x && x.BoldFont) ? _p._w.FontBold : _p._w.Font;
                _ccText.DrawText         += _ccText_DrawText;
                _ccText.NeedDrawTextEvent = node => node.Tag is IPopupListItem x && (x.TextColor != default || (x.Disabled && x.BackColor == default));
                NodeControls.Add(_ccText);

#if false //test column header and multiple columns
                UseColumns = true;
                var _columnName = new TreeColumn("Name", 50);
                this.Columns.Add(_columnName);
                _ccText.ParentColumn = _columnName;

                //var _cc2 = new NodeTextBox();
                //_cc2.ValueNeeded = node => "2";
                //NodeControls.Add(_cc2);
                //var _col2 = new TreeColumn("Two", 50);
                //this.Columns.Add(_col2);
                //_cc2.ParentColumn = _col2;
#endif
            }
        public static void ColumnsToTreeViewAdv(TreeViewAdv treeViewAdv, List <ColumnData> columns)
        {
            treeViewAdv.Columns.Clear();
            treeViewAdv.NodeControls.Clear();
            foreach (ColumnData columnData in columns)
            {
                NamedTreeColumn treeColumn = new NamedTreeColumn();
                treeColumn.Name        = columnData.Name;
                treeColumn.Header      = columnData.Header;
                treeColumn.SortOrder   = columnData.SortOrder;
                treeColumn.TooltipText = columnData.TooltipText;
                treeColumn.Width       = columnData.Width;
                treeViewAdv.Columns.Add(treeColumn);

                foreach (var columnItem in columnData.Items)
                {
                    switch (columnItem.Type)
                    {
                    case ColumnItemType.NodeCheckBox:
                        NodeCheckBox nodeCheckBox = new NodeCheckBox();
                        nodeCheckBox.DataPropertyName = columnItem.DataPropertyName;
                        nodeCheckBox.EditEnabled      = columnItem.EditEnabled;
                        nodeCheckBox.LeftMargin       = columnItem.LeftMargin;
                        nodeCheckBox.HorizontalAlign  = columnItem.HorizontalAlign;
                        nodeCheckBox.ParentColumn     = treeColumn;
                        treeViewAdv.NodeControls.Add(nodeCheckBox);
                        break;

                    case ColumnItemType.NodeIcon:
                        NodeIcon nodeIcon = new NodeIcon();
                        nodeIcon.DataPropertyName = columnItem.DataPropertyName;
                        nodeIcon.LeftMargin       = columnItem.LeftMargin;
                        nodeIcon.HorizontalAlign  = columnItem.HorizontalAlign;
                        nodeIcon.ScaleMode        = columnItem.ImageScaleMode;
                        nodeIcon.ParentColumn     = treeColumn;
                        treeViewAdv.NodeControls.Add(nodeIcon);
                        break;

                    case ColumnItemType.NodeTextBox:
                        NodeTextBox nodeTextBox = new NodeTextBox();
                        nodeTextBox.DataPropertyName         = columnItem.DataPropertyName;
                        nodeTextBox.IncrementalSearchEnabled = columnItem.IncrementalSearchEnabled;
                        nodeTextBox.LeftMargin   = columnItem.LeftMargin;
                        nodeTextBox.ParentColumn = treeColumn;
                        nodeTextBox.UseCompatibleTextRendering = true;
                        treeViewAdv.NodeControls.Add(nodeTextBox);
                        break;
                    }
                }
            }
        }
        private void NewNodeGroup(string name, NodeIcon icon, Type baseType)
        {
            NodeGroup group = new NodeGroup(name, icon, null);

            _nodeGroups.Add(group);
            foreach (Type type in Assembly.GetCallingAssembly().GetTypes())
            {
                if (!type.IsClass || type.IsAbstract || !baseType.IsAssignableFrom(type))
                {
                    continue;
                }
                group.Items.Add(type);
            }
        }
示例#12
0
        public PluginTreeView()
        {
            var nodeCheckBox = new NodeCheckBox();

            NodeControls.Add(nodeCheckBox);

            var nodeIcon = new NodeIcon
            {
                DataPropertyName = "Image",
            };

            NodeControls.Add(nodeIcon);

            NodeControls.Add(new NodeTextBox());
        }
        public int AddColumn(NodeIcon treeControl, int grtIndex)
        {
            ColumnContent column = new ColumnContent();

            column.editable = false;
            column.index    = grtIndex;
            column.control  = treeControl;

            treeControl.VirtualMode  = true;
            treeControl.ValueNeeded += new EventHandler <NodeControlValueEventArgs>(StateIconNeeded);

            columns.Add(column);

            return(column.index);
        }
        // ========================================================================
        // Fields

        #region === Fields

        #endregion

        // ========================================================================
        // Con- / Destructors

        #region === Con- / Destructors

        /// <summary>
        /// Initializes a new instance of <see cref="ObjectComparePanel"/>.
        /// </summary>
        public ObjectComparePanel()
        {
            InitializeComponent();

            toolStripButtonSynchronizeTrees.CheckState  = Settings.Default.ObjectComparePanelSynchronizeTrees;
            toolStripButtonAutoResizeColumns.CheckState = Settings.Default.ObjectComparePanelAutoResizeColumnsCheckState;
            toolStripButtonAutoResizeColumns_Click(null, null);

            TreeColumn treeColumnResult  = new TreeColumn("Result", Resources.Equal.Width);
            NodeIcon   nodeControlResult = new NodeIcon {
                VirtualMode = true, ParentColumn = treeColumnResult, VerticalAlign = VerticalAlignment.Center
            };

            treeColumnResult.Width        += 2 * nodeControlResult.LeftMargin;
            nodeControlResult.ValueNeeded += nodeControlResult_ValueNeeded;
            expectedObjectTree.AddExtraColumn(treeColumnResult, nodeControlResult);

            TreeColumn treeColumnPercent = new TreeColumn("Percent", 50);
            ComparePercentageNodeControl nodeControlPercent = new ComparePercentageNodeControl {
                VirtualMode = true, ParentColumn = treeColumnPercent
            };

            nodeControlPercent.ValueNeeded += nodeControlPercent_ValueNeeded;
            expectedObjectTree.AddExtraColumn(treeColumnPercent, nodeControlPercent);

            TreeColumn treeColumnResultCurrent  = new TreeColumn("Result", Resources.Equal.Width);
            NodeIcon   nodeControlResultCurrent = new NodeIcon {
                VirtualMode = true, ParentColumn = treeColumnResultCurrent, VerticalAlign = VerticalAlignment.Center
            };

            treeColumnResultCurrent.Width        += 2 * nodeControlResult.LeftMargin;
            nodeControlResultCurrent.ValueNeeded += nodeControlResult_ValueNeeded;
            currentObjectTree.AddExtraColumn(2, treeColumnResultCurrent, nodeControlResultCurrent);

            TreeColumn treeColumnPercentCurrent = new TreeColumn("Percent", 50);
            ComparePercentageNodeControl nodeControlPercentCurrent = new ComparePercentageNodeControl {
                VirtualMode = true, ParentColumn = treeColumnPercentCurrent
            };

            nodeControlPercentCurrent.ValueNeeded += nodeControlPercent_ValueNeeded;
            currentObjectTree.AddExtraColumn(3, treeColumnPercentCurrent, nodeControlPercentCurrent);

            Comparer = new ObjectTreeModelComparer();
            Comparer.CompareFields += TestCaseRunner.Instance.Comparer_CompareFields;
        }
        private void TreeViewImage_MouseMove(object sender, MouseEventArgs e)
        {
            if (_currentToolTip != null)
            {
                Point    mouseLocation = new Point(e.X, e.Y);
                NodeIcon selectedIcon  = GetMatchingNodeIcon(mouseLocation);
                if (selectedIcon == null ||
                    selectedIcon != _currentNodeIcon)
                {
                    _currentToolTip.Hide(treeViewImage);
                    _currentToolTip.Dispose();
                    _currentToolTip = null;
                }
            }

            // Check for mouse wheel movement
            if (e.Delta != 0)
            {
            }
        }
示例#16
0
        public void Constructor_Test()
        {
            ProjectTreeView projectTreeView = new ProjectTreeView();

            Assert.Count(2, projectTreeView.NodeControls);

            NodeIcon nodeIcon = (NodeIcon)projectTreeView.NodeControls[0];

            Assert.AreEqual("Image", nodeIcon.DataPropertyName);
            Assert.AreEqual(1, nodeIcon.LeftMargin);
            Assert.IsNull(nodeIcon.ParentColumn);

            NodeTextBox nodeTextBox = (NodeTextBox)projectTreeView.NodeControls[1];

            Assert.AreEqual("Text", nodeTextBox.DataPropertyName);
            Assert.IsTrue(nodeTextBox.IncrementalSearchEnabled);
            Assert.IsFalse(nodeTextBox.EditEnabled);
            Assert.AreEqual(3, nodeTextBox.LeftMargin);
            Assert.IsNull(nodeTextBox.ParentColumn);
        }
示例#17
0
        private void InitTree()
        {
            NodeIcon ctrlIcon = new NodeIcon();

            ctrlIcon.DataPropertyName = "Image";
            ctrlIcon.ToType           = null;
            this.NodeControls.Add(ctrlIcon);

            NodeTextBox ctrlTB = new NodeTextBox();

            ctrlTB.DataPropertyName = "Text";
            ctrlTB.ToType           = null;
            this.NodeControls.Add(ctrlTB);

            NodeNumericUpDown ctrlNum = new NodeNumericUpDown();

            //ctrlNum.LeftMargin = 1;
            ctrlNum.DataPropertyName = "Count";
            ctrlNum.ToType           = typeof(PartNode);
            this.NodeControls.Add(ctrlNum);

            NodeIntegerTextBox ctrlInt = new NodeIntegerTextBox();

            //ctrlInt.LeftMargin = 1;
            ctrlInt.DataPropertyName = "Sequence";
            ctrlInt.ToType           = typeof(ProcessNode);
            this.NodeControls.Add(ctrlInt);
            //treeViewAdv1.NodeMouseClick += new EventHandler<TreeNodeAdvMouseEventArgs>(_tree_NodeMouseClick);

            PPRTreeModel model = new PPRTreeModel();

            model.InitModel();

            //_childFont = new Font(treeViewAdv1.Font.FontFamily, 18, FontStyle.Bold);
            this.Model = model;
        }
示例#18
0
 public void QualifyNode(NodeIcon option)
 {
     IconsCombobox.Add(Icons[^ 1]);
示例#19
0
        //状态检测
        private void CheckSymbolStatus()
        {
            NodeIcon StatusIco = new NodeIcon();

            while (true)
            {
                for (int i = 0; i < SymbolStatusParameterList.Count; i++)
                {
                    if (SymbolStatusParameterList[i].ComponentSymbolName == JsonInterFace.SystemThreadsStatusParameters.SymbolType.AppHeartThreadName)
                    {
                        if (JsonInterFace.SystemThreadsStatusParameters.AppHeartThreadStatus)
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.LeafAllReadyNodeIcon;
                        }
                        else
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.ErrorNodeIcon;
                        }
                    }
                    else if (SymbolStatusParameterList[i].ComponentSymbolName == JsonInterFace.SystemThreadsStatusParameters.SymbolType.StickDataPackageThreadName)
                    {
                        if (JsonInterFace.SystemThreadsStatusParameters.StickDataPackageThreadStatus)
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.LeafAllReadyNodeIcon;
                        }
                        else
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.ErrorNodeIcon;
                        }
                    }
                    else if (SymbolStatusParameterList[i].ComponentSymbolName == JsonInterFace.SystemThreadsStatusParameters.SymbolType.AnalysisDataThreadName)
                    {
                        if (JsonInterFace.SystemThreadsStatusParameters.AnalysisDataThreadStatus)
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.LeafAllReadyNodeIcon;
                        }
                        else
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.ErrorNodeIcon;
                        }
                    }
                    else if (SymbolStatusParameterList[i].ComponentSymbolName == JsonInterFace.SystemThreadsStatusParameters.SymbolType.InfoStatisticThreadName)
                    {
                        if (JsonInterFace.SystemThreadsStatusParameters.InfoStatisticThreadStatus)
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.LeafAllReadyNodeIcon;
                        }
                        else
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.ErrorNodeIcon;
                        }
                    }
                    else if (SymbolStatusParameterList[i].ComponentSymbolName == JsonInterFace.SystemThreadsStatusParameters.SymbolType.GettingUnknownDeviceListThreadName)
                    {
                        if (JsonInterFace.SystemThreadsStatusParameters.GettingUnknownDeviceListThreadStatus)
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.LeafAllReadyNodeIcon;
                        }
                        else
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.ErrorNodeIcon;
                        }
                    }
                    else if (SymbolStatusParameterList[i].ComponentSymbolName == JsonInterFace.SystemThreadsStatusParameters.SymbolType.RemoteReconnectTheadName)
                    {
                        if (JsonInterFace.SystemThreadsStatusParameters.RemoteReconnectTheadStatus)
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.LeafAllReadyNodeIcon;
                        }
                        else
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.ErrorNodeIcon;
                        }
                    }
                    else if (SymbolStatusParameterList[i].ComponentSymbolName == JsonInterFace.SystemThreadsStatusParameters.SymbolType.SetUnknownTipsWindowThreadName)
                    {
                        if (JsonInterFace.SystemThreadsStatusParameters.SetUnknownTipsWindowThreadStatus)
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.LeafAllReadyNodeIcon;
                        }
                        else
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.ErrorNodeIcon;
                        }
                    }
                    else if (SymbolStatusParameterList[i].ComponentSymbolName == JsonInterFace.SystemThreadsStatusParameters.SymbolType.CheckNetWorkInterfaceTheadName)
                    {
                        if (JsonInterFace.SystemThreadsStatusParameters.CheckNetWorkInterfaceTheadStatus)
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.LeafAllReadyNodeIcon;
                        }
                        else
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.ErrorNodeIcon;
                        }
                    }
                    else if (SymbolStatusParameterList[i].ComponentSymbolName == JsonInterFace.SystemThreadsStatusParameters.SymbolType.ScannerWarningSoundTheadName)
                    {
                        if (JsonInterFace.SystemThreadsStatusParameters.ScannerWarningSoundTheadStatus)
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.LeafAllReadyNodeIcon;
                        }
                        else
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.ErrorNodeIcon;
                        }
                    }
                    else if (SymbolStatusParameterList[i].ComponentSymbolName == JsonInterFace.SystemThreadsStatusParameters.SymbolType.ScannerReportRealTimeThreadName)
                    {
                        if (JsonInterFace.SystemThreadsStatusParameters.ScannerReportRealTimeThreadStatus)
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.LeafAllReadyNodeIcon;
                        }
                        else
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.ErrorNodeIcon;
                        }
                    }
                    else if (SymbolStatusParameterList[i].ComponentSymbolName == JsonInterFace.SystemThreadsStatusParameters.SymbolType.MeasReportBlackListThreadName)
                    {
                        if (JsonInterFace.SystemThreadsStatusParameters.MeasReportBlackListThreadStatus)
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.LeafAllReadyNodeIcon;
                        }
                        else
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.ErrorNodeIcon;
                        }
                    }
                    else if (SymbolStatusParameterList[i].ComponentSymbolName == JsonInterFace.SystemThreadsStatusParameters.SymbolType.GSMPhoneNumberRecordInfoThreadName)
                    {
                        if (JsonInterFace.SystemThreadsStatusParameters.GSMPhoneNumberRecordInfoThreadStatus)
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.LeafAllReadyNodeIcon;
                        }
                        else
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.ErrorNodeIcon;
                        }
                    }
                    else if (SymbolStatusParameterList[i].ComponentSymbolName == JsonInterFace.SystemThreadsStatusParameters.SymbolType.GSMSMSRecordInfoThreadName)
                    {
                        if (JsonInterFace.SystemThreadsStatusParameters.GSMSMSRecordInfoThreadStatus)
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.LeafAllReadyNodeIcon;
                        }
                        else
                        {
                            SymbolStatusParameterList[i].StatusIcon = StatusIco.ErrorNodeIcon;
                        }
                    }
                }

                Thread.Sleep(5000);
            }
        }
示例#20
0
        /// <summary>
        /// Defines a new NodeGroup which will be shown in the node explorer.
        /// </summary>
        /// <param name="name">The displayed name of the group.</param>
        /// <param name="icon">The displayed icon of the group and its children.</param>
        /// <param name="parent">The parent of the group, can be null.</param>
        public NodeGroup(string name, NodeIcon icon, NodeGroup parent)
        {
            _name= name;
            _icon= icon;

            if(parent !=null)
                parent.Children.Add(this);
        }
        /// <summary>
        /// Initialize all windows forms components.
        /// </summary>
        private void InitializeDesigner()
        {
            NodeCheckBox entryCheckBox = new NodeCheckBox();

            entryCheckBox.DataPropertyName          = "IsChecked";
            entryCheckBox.EditEnabled               = true;
            entryCheckBox.LeftMargin                = 0;
            entryCheckBox.ParentColumn              = null;
            entryCheckBox.IsEditEnabledValueNeeded += this.CheckIndex;

            NodeIcon entryIcon = new NodeIcon();

            entryIcon.DataPropertyName = "EntryIcon";
            entryIcon.LeftMargin       = 1;
            entryIcon.ParentColumn     = null;
            entryIcon.ScaleMode        = ImageScaleMode.Clip;

            NodeTextBox entryDescription = new NodeTextBox();

            entryDescription.DataPropertyName         = "EntryDescription";
            entryDescription.IncrementalSearchEnabled = true;
            entryDescription.LeftMargin   = 3;
            entryDescription.ParentColumn = null;
            entryDescription.DrawText    += this.EntryDescriptionDrawText;

            NodeTextBox entryValuePreview = new NodeTextBox();

            entryValuePreview.DataPropertyName         = "EntryValuePreview";
            entryValuePreview.IncrementalSearchEnabled = true;
            entryValuePreview.LeftMargin   = 3;
            entryValuePreview.ParentColumn = null;
            entryValuePreview.DrawText    += this.EntryValuePreviewDrawText;

            this.projectItemToolTip       = new ToolTip();
            this.toggleSelectionMenuItem  = new ToolStripMenuItem("Toggle");
            this.compileSelectionMenuItem = new ToolStripMenuItem("Compile");
            this.addNewItemMenuItem       = new ToolStripMenuItem("Add New...");
            this.deleteSelectionMenuItem  = new ToolStripMenuItem("Delete");
            this.copySelectionMenuItem    = new ToolStripMenuItem("Copy");
            this.cutSelectionMenuItem     = new ToolStripMenuItem("Cut");
            this.pasteSelectionMenuItem   = new ToolStripMenuItem("Paste");
            this.addNewFolderMenuItem     = new ToolStripMenuItem("Add Folder", ImageUtils.BitmapImageToBitmap(Images.Open));
            this.addNewAddressMenuItem    = new ToolStripMenuItem("Add Address", ImageUtils.BitmapImageToBitmap(Images.CollectValues));
            this.addNewScriptMenuItem     = new ToolStripMenuItem("Add Script", ImageUtils.BitmapImageToBitmap(Images.CollectValues));
            this.contextMenuStrip         = new ContextMenuStrip();

            KeysConverter keysConverter = new KeysConverter();

            this.toggleSelectionMenuItem.ShortcutKeyDisplayString = keysConverter.ConvertToString(Keys.Space);
            this.copySelectionMenuItem.ShortcutKeyDisplayString   = keysConverter.ConvertToString(Keys.Control | Keys.C);
            this.cutSelectionMenuItem.ShortcutKeyDisplayString    = keysConverter.ConvertToString(Keys.Control | Keys.X);
            this.pasteSelectionMenuItem.ShortcutKeyDisplayString  = keysConverter.ConvertToString(Keys.Control | Keys.V);
            this.deleteSelectionMenuItem.ShortcutKeyDisplayString = keysConverter.ConvertToString(Keys.Delete);

            this.toggleSelectionMenuItem.Click  += this.ToggleSelectionMenuItemClick;
            this.compileSelectionMenuItem.Click += this.CompileSelectionMenuItemClick;
            this.deleteSelectionMenuItem.Click  += this.DeleteSelectionMenuItemClick;
            this.copySelectionMenuItem.Click    += this.CopySelectionMenuItemClick;
            this.cutSelectionMenuItem.Click     += this.CutSelectionMenuItemClick;
            this.pasteSelectionMenuItem.Click   += this.PasteSelectionMenuItemClick;
            this.addNewFolderMenuItem.Click     += this.AddNewFolderMenuItemClick;
            this.addNewAddressMenuItem.Click    += this.AddNewAddressMenuItemClick;
            this.addNewScriptMenuItem.Click     += this.AddNewScriptMenuItemClick;
            this.contextMenuStrip.Opening       += this.ContextMenuStripOpening;

            this.addNewItemMenuItem.DropDownItems.Add(this.addNewFolderMenuItem);
            this.addNewItemMenuItem.DropDownItems.Add(this.addNewAddressMenuItem);
            this.addNewItemMenuItem.DropDownItems.Add(this.addNewScriptMenuItem);

            this.contextMenuStrip.Items.Add(this.toggleSelectionMenuItem);
            this.contextMenuStrip.Items.Add(this.compileSelectionMenuItem);
            this.contextMenuStrip.Items.Add(this.addNewItemMenuItem);
            this.contextMenuStrip.Items.Add(this.deleteSelectionMenuItem);
            this.contextMenuStrip.Items.Add(new ToolStripSeparator());
            this.contextMenuStrip.Items.Add(this.copySelectionMenuItem);
            this.contextMenuStrip.Items.Add(this.cutSelectionMenuItem);
            this.contextMenuStrip.Items.Add(this.pasteSelectionMenuItem);

            this.projectExplorerTreeView = new TreeViewAdv();
            this.projectExplorerTreeView.NodeControls.Add(entryCheckBox);
            this.projectExplorerTreeView.NodeControls.Add(entryIcon);
            this.projectExplorerTreeView.NodeControls.Add(entryDescription);
            this.projectExplorerTreeView.NodeControls.Add(entryValuePreview);
            this.projectExplorerTreeView.SelectionMode    = TreeSelectionMode.Multi;
            this.projectExplorerTreeView.BorderStyle      = BorderStyle.None;
            this.projectExplorerTreeView.Model            = this.projectTree;
            this.projectExplorerTreeView.AllowDrop        = true;
            this.projectExplorerTreeView.FullRowSelect    = true;
            this.projectExplorerTreeView.ContextMenuStrip = this.contextMenuStrip;

            this.projectExplorerTreeView.ItemDrag             += this.ProjectExplorerTreeViewItemDrag;
            this.projectExplorerTreeView.NodeMouseDoubleClick += this.ProjectExplorerTreeViewNodeMouseDoubleClick;
            this.projectExplorerTreeView.SelectionChanged     += this.ProjectExplorerTreeViewSelectionChanged;
            this.projectExplorerTreeView.DragDrop             += this.ProjectExplorerTreeViewDragDrop;
            this.projectExplorerTreeView.DragEnter            += this.ProjectExplorerTreeViewDragEnter;
            this.projectExplorerTreeView.DragOver             += this.ProjectExplorerTreeViewDragOver;
            this.projectExplorerTreeView.MouseMove            += this.ProjectExplorerTreeViewMouseMove;

            this.projectExplorerTreeView.BackColor         = DarkBrushes.BaseColor3;
            this.projectExplorerTreeView.ForeColor         = DarkBrushes.BaseColor2;
            this.projectExplorerTreeView.DragDropMarkColor = DarkBrushes.BaseColor11;
            this.projectExplorerTreeView.LineColor         = DarkBrushes.BaseColor11;
        }
示例#22
0
文件: Plugin.cs 项目: wuzhen/behaviac
 public NodeItem(Type type, NodeIcon icon)
 {
     _type = type;
     _icon = icon;
 }
示例#23
0
文件: Agent.cs 项目: Just4F/behaviac
 public NodeDescAttribute(string group, NodeIcon icon = NodeIcon.Behavior) {
     _group = group;
     _icon = icon;
 }
示例#24
0
 public SimpleGrtListModel(TreeViewAdv tree, MySQL.Grt.ListModelWrapper grtList, NodeIcon nodeIcon, bool dynamicContextMenu)
     : base(tree, grtList, nodeIcon, dynamicContextMenu)
 {
     this.grtList = grtList;
     treeView     = tree;
 }
示例#25
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ComplexConcMorphDlg));
     this.m_btnHelp             = new System.Windows.Forms.Button();
     this.m_btnCancel           = new System.Windows.Forms.Button();
     this.m_btnOK               = new System.Windows.Forms.Button();
     this.m_helpProvider        = new System.Windows.Forms.HelpProvider();
     this.groupBox2             = new System.Windows.Forms.GroupBox();
     this.m_glossWsComboBox     = new System.Windows.Forms.ComboBox();
     this.m_glossTextBox        = new SIL.FieldWorks.Common.Widgets.FwTextBox();
     this.groupBox3             = new System.Windows.Forms.GroupBox();
     this.m_entryWsComboBox     = new System.Windows.Forms.ComboBox();
     this.m_entryTextBox        = new SIL.FieldWorks.Common.Widgets.FwTextBox();
     this.groupBox1             = new System.Windows.Forms.GroupBox();
     this.m_formWsComboBox      = new System.Windows.Forms.ComboBox();
     this.m_formTextBox         = new SIL.FieldWorks.Common.Widgets.FwTextBox();
     this.groupBox4             = new System.Windows.Forms.GroupBox();
     this.m_categoryNotCheckBox = new System.Windows.Forms.CheckBox();
     this.m_categoryComboBox    = new SIL.FieldWorks.Common.Widgets.TreeCombo();
     this.groupBox5             = new System.Windows.Forms.GroupBox();
     this.m_inflFeatsTreeView   = new Aga.Controls.Tree.TreeViewAdv();
     this.m_featureColumn       = new Aga.Controls.Tree.TreeColumn();
     this.m_notColumn           = new Aga.Controls.Tree.TreeColumn();
     this.m_valueColumn         = new Aga.Controls.Tree.TreeColumn();
     this.m_featureIcon         = new Aga.Controls.Tree.NodeControls.NodeIcon();
     this.m_featureTextBox      = new Aga.Controls.Tree.NodeControls.NodeTextBox();
     this.m_valueComboBox       = new Aga.Controls.Tree.NodeControls.NodeComboBox();
     this.m_inflNotCheckBox     = new Aga.Controls.Tree.NodeControls.NodeCheckBox();
     this.m_imageList           = new System.Windows.Forms.ImageList(this.components);
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.m_glossTextBox)).BeginInit();
     this.groupBox3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.m_entryTextBox)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.m_formTextBox)).BeginInit();
     this.groupBox4.SuspendLayout();
     this.groupBox5.SuspendLayout();
     this.SuspendLayout();
     //
     // m_btnHelp
     //
     resources.ApplyResources(this.m_btnHelp, "m_btnHelp");
     this.m_btnHelp.Name = "m_btnHelp";
     this.m_btnHelp.UseVisualStyleBackColor = true;
     this.m_btnHelp.Click += new System.EventHandler(this.m_btnHelp_Click);
     //
     // m_btnCancel
     //
     resources.ApplyResources(this.m_btnCancel, "m_btnCancel");
     this.m_btnCancel.Name = "m_btnCancel";
     this.m_btnCancel.UseVisualStyleBackColor = true;
     this.m_btnCancel.Click += new System.EventHandler(this.m_btnCancel_Click);
     //
     // m_btnOK
     //
     resources.ApplyResources(this.m_btnOK, "m_btnOK");
     this.m_btnOK.Name = "m_btnOK";
     this.m_btnOK.UseVisualStyleBackColor = true;
     this.m_btnOK.Click += new System.EventHandler(this.m_btnOK_Click);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.m_glossWsComboBox);
     this.groupBox2.Controls.Add(this.m_glossTextBox);
     resources.ApplyResources(this.groupBox2, "groupBox2");
     this.groupBox2.Name = "groupBox2";
     this.m_helpProvider.SetShowHelp(this.groupBox2, ((bool)(resources.GetObject("groupBox2.ShowHelp"))));
     this.groupBox2.TabStop = false;
     //
     // m_glossWsComboBox
     //
     this.m_glossWsComboBox.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.m_glossWsComboBox.FormattingEnabled = true;
     resources.ApplyResources(this.m_glossWsComboBox, "m_glossWsComboBox");
     this.m_glossWsComboBox.Name = "m_glossWsComboBox";
     this.m_helpProvider.SetShowHelp(this.m_glossWsComboBox, ((bool)(resources.GetObject("m_glossWsComboBox.ShowHelp"))));
     this.m_glossWsComboBox.SelectedIndexChanged += new System.EventHandler(this.m_glossWsComboBox_SelectedIndexChanged);
     //
     // m_glossTextBox
     //
     this.m_glossTextBox.AcceptsReturn      = false;
     this.m_glossTextBox.AdjustStringHeight = true;
     this.m_glossTextBox.BackColor          = System.Drawing.SystemColors.Window;
     this.m_glossTextBox.controlID          = null;
     resources.ApplyResources(this.m_glossTextBox, "m_glossTextBox");
     this.m_glossTextBox.HasBorder = true;
     this.m_glossTextBox.Name      = "m_glossTextBox";
     this.m_helpProvider.SetShowHelp(this.m_glossTextBox, ((bool)(resources.GetObject("m_glossTextBox.ShowHelp"))));
     this.m_glossTextBox.SuppressEnter = true;
     this.m_glossTextBox.WordWrap      = false;
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.m_entryWsComboBox);
     this.groupBox3.Controls.Add(this.m_entryTextBox);
     resources.ApplyResources(this.groupBox3, "groupBox3");
     this.groupBox3.Name = "groupBox3";
     this.m_helpProvider.SetShowHelp(this.groupBox3, ((bool)(resources.GetObject("groupBox3.ShowHelp"))));
     this.groupBox3.TabStop = false;
     //
     // m_entryWsComboBox
     //
     this.m_entryWsComboBox.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.m_entryWsComboBox.FormattingEnabled = true;
     resources.ApplyResources(this.m_entryWsComboBox, "m_entryWsComboBox");
     this.m_entryWsComboBox.Name = "m_entryWsComboBox";
     this.m_helpProvider.SetShowHelp(this.m_entryWsComboBox, ((bool)(resources.GetObject("m_entryWsComboBox.ShowHelp"))));
     this.m_entryWsComboBox.SelectedIndexChanged += new System.EventHandler(this.m_entryWsComboBox_SelectedIndexChanged);
     //
     // m_entryTextBox
     //
     this.m_entryTextBox.AcceptsReturn      = false;
     this.m_entryTextBox.AdjustStringHeight = true;
     this.m_entryTextBox.BackColor          = System.Drawing.SystemColors.Window;
     this.m_entryTextBox.controlID          = null;
     resources.ApplyResources(this.m_entryTextBox, "m_entryTextBox");
     this.m_entryTextBox.HasBorder = true;
     this.m_entryTextBox.Name      = "m_entryTextBox";
     this.m_helpProvider.SetShowHelp(this.m_entryTextBox, ((bool)(resources.GetObject("m_entryTextBox.ShowHelp"))));
     this.m_entryTextBox.SuppressEnter = true;
     this.m_entryTextBox.WordWrap      = false;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.m_formWsComboBox);
     this.groupBox1.Controls.Add(this.m_formTextBox);
     resources.ApplyResources(this.groupBox1, "groupBox1");
     this.groupBox1.Name    = "groupBox1";
     this.groupBox1.TabStop = false;
     //
     // m_formWsComboBox
     //
     this.m_formWsComboBox.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.m_formWsComboBox.FormattingEnabled = true;
     resources.ApplyResources(this.m_formWsComboBox, "m_formWsComboBox");
     this.m_formWsComboBox.Name = "m_formWsComboBox";
     this.m_formWsComboBox.SelectedIndexChanged += new System.EventHandler(this.m_formWsComboBox_SelectedIndexChanged);
     //
     // m_formTextBox
     //
     this.m_formTextBox.AcceptsReturn      = false;
     this.m_formTextBox.AdjustStringHeight = true;
     this.m_formTextBox.BackColor          = System.Drawing.SystemColors.Window;
     this.m_formTextBox.controlID          = null;
     resources.ApplyResources(this.m_formTextBox, "m_formTextBox");
     this.m_formTextBox.HasBorder     = true;
     this.m_formTextBox.Name          = "m_formTextBox";
     this.m_formTextBox.SuppressEnter = true;
     this.m_formTextBox.WordWrap      = false;
     //
     // groupBox4
     //
     this.groupBox4.Controls.Add(this.m_categoryNotCheckBox);
     this.groupBox4.Controls.Add(this.m_categoryComboBox);
     resources.ApplyResources(this.groupBox4, "groupBox4");
     this.groupBox4.Name    = "groupBox4";
     this.groupBox4.TabStop = false;
     //
     // m_categoryNotCheckBox
     //
     resources.ApplyResources(this.m_categoryNotCheckBox, "m_categoryNotCheckBox");
     this.m_categoryNotCheckBox.Name = "m_categoryNotCheckBox";
     this.m_categoryNotCheckBox.UseVisualStyleBackColor = true;
     //
     // m_categoryComboBox
     //
     this.m_categoryComboBox.AdjustStringHeight = true;
     this.m_categoryComboBox.BackColor          = System.Drawing.SystemColors.Window;
     this.m_categoryComboBox.DropDownWidth      = 120;
     this.m_categoryComboBox.DroppedDown        = false;
     this.m_categoryComboBox.HasBorder          = true;
     resources.ApplyResources(this.m_categoryComboBox, "m_categoryComboBox");
     this.m_categoryComboBox.Name = "m_categoryComboBox";
     this.m_categoryComboBox.UseVisualStyleBackColor = true;
     //
     // groupBox5
     //
     this.groupBox5.Controls.Add(this.m_inflFeatsTreeView);
     resources.ApplyResources(this.groupBox5, "groupBox5");
     this.groupBox5.Name    = "groupBox5";
     this.groupBox5.TabStop = false;
     //
     // m_inflFeatsTreeView
     //
     this.m_inflFeatsTreeView.BackColor = System.Drawing.SystemColors.Window;
     this.m_inflFeatsTreeView.Columns.Add(this.m_featureColumn);
     this.m_inflFeatsTreeView.Columns.Add(this.m_notColumn);
     this.m_inflFeatsTreeView.Columns.Add(this.m_valueColumn);
     this.m_inflFeatsTreeView.DefaultToolTipProvider = null;
     this.m_inflFeatsTreeView.DragDropMarkColor      = System.Drawing.Color.Black;
     this.m_inflFeatsTreeView.FullRowSelect          = true;
     this.m_inflFeatsTreeView.LineColor = System.Drawing.SystemColors.ControlDark;
     resources.ApplyResources(this.m_inflFeatsTreeView, "m_inflFeatsTreeView");
     this.m_inflFeatsTreeView.Model = null;
     this.m_inflFeatsTreeView.Name  = "m_inflFeatsTreeView";
     this.m_inflFeatsTreeView.NodeControls.Add(this.m_featureIcon);
     this.m_inflFeatsTreeView.NodeControls.Add(this.m_featureTextBox);
     this.m_inflFeatsTreeView.NodeControls.Add(this.m_valueComboBox);
     this.m_inflFeatsTreeView.NodeControls.Add(this.m_inflNotCheckBox);
     this.m_inflFeatsTreeView.SelectedNode = null;
     this.m_inflFeatsTreeView.UseColumns   = true;
     //
     // m_featureColumn
     //
     resources.ApplyResources(this.m_featureColumn, "m_featureColumn");
     this.m_featureColumn.SortOrder = System.Windows.Forms.SortOrder.None;
     //
     // m_notColumn
     //
     resources.ApplyResources(this.m_notColumn, "m_notColumn");
     this.m_notColumn.SortOrder = System.Windows.Forms.SortOrder.None;
     //
     // m_valueColumn
     //
     resources.ApplyResources(this.m_valueColumn, "m_valueColumn");
     this.m_valueColumn.SortOrder = System.Windows.Forms.SortOrder.None;
     //
     // m_featureIcon
     //
     this.m_featureIcon.DataPropertyName = "Image";
     this.m_featureIcon.LeftMargin       = 1;
     this.m_featureIcon.ParentColumn     = this.m_featureColumn;
     this.m_featureIcon.ScaleMode        = Aga.Controls.Tree.ImageScaleMode.Clip;
     //
     // m_featureTextBox
     //
     this.m_featureTextBox.DataPropertyName         = "Text";
     this.m_featureTextBox.IncrementalSearchEnabled = true;
     this.m_featureTextBox.LeftMargin   = 1;
     this.m_featureTextBox.ParentColumn = this.m_featureColumn;
     //
     // m_valueComboBox
     //
     this.m_valueComboBox.DataPropertyName         = "Value";
     this.m_valueComboBox.EditEnabled              = true;
     this.m_valueComboBox.EditOnClick              = true;
     this.m_valueComboBox.IncrementalSearchEnabled = true;
     this.m_valueComboBox.LeftMargin                = 1;
     this.m_valueComboBox.ParentColumn              = this.m_valueColumn;
     this.m_valueComboBox.CreatingEditor           += new System.EventHandler <Aga.Controls.Tree.NodeControls.EditEventArgs>(this.m_valueComboBox_CreatingEditor);
     this.m_valueComboBox.IsEditEnabledValueNeeded += new System.EventHandler <Aga.Controls.Tree.NodeControls.NodeControlValueEventArgs>(this.m_valueComboBox_IsEditEnabledValueNeeded);
     //
     // m_inflNotCheckBox
     //
     this.m_inflNotCheckBox.DataPropertyName      = "IsChecked";
     this.m_inflNotCheckBox.EditEnabled           = true;
     this.m_inflNotCheckBox.LeftMargin            = 1;
     this.m_inflNotCheckBox.ParentColumn          = this.m_notColumn;
     this.m_inflNotCheckBox.IsVisibleValueNeeded += new System.EventHandler <Aga.Controls.Tree.NodeControls.NodeControlValueEventArgs>(this.m_inflNotCheckBox_IsVisibleValueNeeded);
     //
     // m_imageList
     //
     this.m_imageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("m_imageList.ImageStream")));
     this.m_imageList.TransparentColor = System.Drawing.Color.Transparent;
     this.m_imageList.Images.SetKeyName(0, "");
     this.m_imageList.Images.SetKeyName(1, "");
     //
     // ComplexConcMorphDlg
     //
     this.AcceptButton = this.m_btnOK;
     resources.ApplyResources(this, "$this");
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton  = this.m_btnCancel;
     this.Controls.Add(this.groupBox5);
     this.Controls.Add(this.groupBox4);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.m_btnHelp);
     this.Controls.Add(this.m_btnCancel);
     this.Controls.Add(this.m_btnOK);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "ComplexConcMorphDlg";
     this.m_helpProvider.SetShowHelp(this, ((bool)(resources.GetObject("$this.ShowHelp"))));
     this.ShowIcon      = false;
     this.ShowInTaskbar = false;
     this.groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.m_glossTextBox)).EndInit();
     this.groupBox3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.m_entryTextBox)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.m_formTextBox)).EndInit();
     this.groupBox4.ResumeLayout(false);
     this.groupBox4.PerformLayout();
     this.groupBox5.ResumeLayout(false);
     this.ResumeLayout(false);
 }