Пример #1
0
        private void UpdateTree(Infragistics.Win.UltraWinTree.UltraTreeNode Node)
        {
            string key = Node.Key;

            _uiController.UpdateTree(key);
            while (_uiController.HasNext())
            {
                ArrayList nodo                 = _uiController.Next();
                string    keyChildNode         = Convert.ToString(nodo[0]);
                string    descriptionChildNode = Convert.ToString(nodo[1]);
                Infragistics.Win.UltraWinTree.UltraTreeNode childNode = new Infragistics.Win.UltraWinTree.UltraTreeNode(keyChildNode, descriptionChildNode);
                if (!Node.Nodes.Exists(keyChildNode))
                {
                    Node.Nodes.Add(childNode);
                }
            }
            foreach (Infragistics.Win.UltraWinTree.UltraTreeNode childNode in Node.Nodes)
            {
                string keyC = childNode.Key;
                _uiController.UpdateTree(keyC);
                while (_uiController.HasNext())
                {
                    ArrayList nodo                 = _uiController.Next();
                    string    keyChildNode         = Convert.ToString(nodo[0]);
                    string    descriptionChildNode = Convert.ToString(nodo[1]);
                    Infragistics.Win.UltraWinTree.UltraTreeNode childChildNode = new Infragistics.Win.UltraWinTree.UltraTreeNode(keyChildNode, descriptionChildNode);
                    if (!childNode.Nodes.Exists(keyChildNode))
                    {
                        childNode.Nodes.Add(childChildNode);
                    }
                }
            }
        }
Пример #2
0
        private void groupGridView_DoubleClickRow(object sender, DoubleClickRowEventArgs e)
        {
            string assetName = e.Row.Cells["Asset"].Value.ToString();

            List <WorkItem>           workItemList    = (List <WorkItem>)workItem.RootWorkItem.WorkItems.FindByType(typeof(NetworkWorkItem));
            NetworkWorkItem           netDiscWorkItem = workItemList[0] as NetworkWorkItem;
            NetworkWorkItemController controller      = netDiscWorkItem.Controller as NetworkWorkItemController;

            NetworkExplorerView explorerView = (NetworkExplorerView)netDiscWorkItem.ExplorerView;

            Infragistics.Win.UltraWinTree.UltraTree explorerTree = explorerView.GetDisplayedTree;

            Infragistics.Win.UltraWinTree.UltraTreeNode rootNode     = explorerTree.Nodes[0];
            Infragistics.Win.UltraWinTree.UltraTreeNode selectedNode = AddMatches(rootNode, assetName);

            if (selectedNode != null)
            {
                selectedNode.BringIntoView();
                //explorerTree.SelectedNodes.Clear();

                selectedNode.Expanded = true;
                selectedNode.Selected = true;

                //controller.ActivateWorkItem();
            }
        }
        public static void HijosYNietos(Infragistics.Win.UltraWinTree.UltraTreeNode NodoPadre, bool AllowMultipleSelect)
        {
            /// <summary>
            /// Genera un datatable de acuerdo a todos los hijos que posee el NodoPadre. De cada unos de ellos genera otro datatable para ver sus hijos. Con esta información regenera todo la rama a partir del NodoPadre
            /// </summary>


            if (NodoPadre.HasNodes)
            {
                BorraHijos(NodoPadre);
            }

            Infragistics.Win.UltraWinTree.UltraTreeNode NodoHijo;
            string descripcionH = String.Empty;
            string claveH       = String.Empty;
            string descripcionN = String.Empty;
            string claveN       = String.Empty;

            System.Data.DataTable data;

            if (NodoPadre.Key == "RAIZ")
            {
                data = mz.erp.ui.forms.classes.tpu_JerarquiaAgrupProveedores.GetList(false);
            }
            else
            {
                data = mz.erp.ui.forms.classes.tpu_JerarquiaAgrupProveedores.GetList(NodoPadre.Key, false);
            }
            if (AllowMultipleSelect)
            {
                NodoPadre.Override.SelectionType = Infragistics.Win.UltraWinTree.SelectType.Extended;
            }

            foreach (System.Data.DataRow rowH in data.Rows)
            {
                descripcionH = rowH["Descripcion"].ToString();
                claveH       = rowH["IdNomenclatura"].ToString();

                Infragistics.Win.UltraWinTree.UltraTreeNode node = NodoPadre.Nodes.Add(claveH, descripcionH);
                if (AllowMultipleSelect)
                {
                    node.Override.SelectionType = Infragistics.Win.UltraWinTree.SelectType.Extended;
                }


                System.Data.DataTable dataH = mz.erp.ui.forms.classes.tpu_JerarquiaAgrupProveedores.GetList(claveH, false);
                foreach (System.Data.DataRow rowN in dataH.Rows)
                {
                    descripcionN = rowN["Descripcion"].ToString();
                    claveN       = rowN["IdNomenclatura"].ToString();
                    NodoHijo     = NodoPadre.Nodes[claveH];
                    node         = NodoHijo.Nodes.Add(claveN, descripcionN);
                    if (AllowMultipleSelect)
                    {
                        node.Override.SelectionType = Infragistics.Win.UltraWinTree.SelectType.Extended;
                    }
                }
            }
        }
Пример #4
0
        private void HandleClientAuthenticated(object sender, CommunicationMessage e)
        {
            Infragistics.Win.UltraWinTree.UltraTreeNode UnauthenticatedClientNode = trvConnectedClients.GetNodeByKey(e.UserID + " on " + e.SenderID);
            UnauthenticatedClientNode.Remove();

            Infragistics.Win.UltraWinTree.UltraTreeNode authenticatedClientNodeParent = trvConnectedClients.Nodes[1];
            Infragistics.Win.UltraWinTree.UltraTreeNode authenticatedClientNode       = new Infragistics.Win.UltraWinTree.UltraTreeNode(e.UserID + " on " + e.SenderID);
            authenticatedClientNodeParent.Nodes.Add(authenticatedClientNode);
        }
        public static void HijosYNietos(Infragistics.Win.UltraWinTree.UltraTreeNode NodoPadre, bool AllowMultipleSelect, bool Activo)
        {
            /// <summary>
            /// Genera un datatable de acuerdo a todos los hijos que posee el NodoPadre. De cada unos de ellos genera otro datatable para ver sus hijos. Con esta información regenera todo la rama a partir del NodoPadre
            /// </summary>


            if (NodoPadre.HasNodes)
            {
                BorraHijos(NodoPadre);
            }

            Infragistics.Win.UltraWinTree.UltraTreeNode NodoHijo;
            string descripcionH = String.Empty;
            string claveH       = String.Empty;
            string descripcionN = String.Empty;
            string claveN       = String.Empty;

            System.Data.DataTable data;

            if (NodoPadre.Key == "RAIZ")
            {
                data = mz.erp.ui.forms.classes.tsa_JerarquiaAgrupCuentas.GetList(char.MinValue, Activo);
            }
            else
            //Cristian Tarea 000069
            //Activo=true implica filtrar las jerarquias activas
            if (!Activo)
            {
                data = mz.erp.ui.forms.classes.tsa_JerarquiaAgrupCuentas.GetList(NodoPadre.Key, Activo);
            }
            else
            {
                data = mz.erp.ui.forms.classes.tsa_JerarquiaAgrupCuentas.GetListActivas(NodoPadre.Key, Activo);
            }
            //Fin Cristian Tarea 000069

            foreach (System.Data.DataRow rowH in data.Rows)
            {
                descripcionH = rowH["Descripcion"].ToString();
                claveH       = rowH["IdNomenclatura"].ToString();

                Infragistics.Win.UltraWinTree.UltraTreeNode node = NodoPadre.Nodes.Add(claveH, descripcionH);


                System.Data.DataTable dataH = mz.erp.ui.forms.classes.tsa_JerarquiaAgrupCuentas.GetList(claveH, Activo);
                foreach (System.Data.DataRow rowN in dataH.Rows)
                {
                    descripcionN = rowN["Descripcion"].ToString();
                    claveN       = rowN["IdNomenclatura"].ToString();
                    NodoHijo     = NodoPadre.Nodes[claveH];
                    NodoHijo.Nodes.Add(claveN, descripcionN);
                }
            }
        }
Пример #6
0
 private bool ContainKey(Infragistics.Win.UltraWinTree.UltraTreeNode tree, string key)
 {
     foreach (Infragistics.Win.UltraWinTree.UltraTreeNode node in tree.Nodes)
     {
         if (node.Key.Equals(key))
         {
             return(true);
         }
     }
     return(false);
 }
        public void NodoActual(Infragistics.Win.UltraWinTree.UltraTreeNode Nodo, string NroJerarquia)
        {
            string _jerarquia = GetHierarchy(Nodo, string.Empty);

            switch (NroJerarquia)
            {
            case "1": IdJerarquia1 = _jerarquia; break;

            case "2": IdJerarquia2 = _jerarquia; break;
            }
        }
Пример #8
0
 private string GetHierarchy(Infragistics.Win.UltraWinTree.UltraTreeNode Nodo, string aux)
 {
     if (Nodo.IsRootLevelNode)
     {
         return(aux);
     }
     else
     {
         return(GetHierarchy(Nodo.Parent, Nodo.Key + aux));
     }
 }
 public static void HijosYNietos(Infragistics.Win.UltraWinTree.UltraTreeNode NodoPadre, string jerarquia, int level)
 {
     HijosYNietos(NodoPadre, false, true);
     if (level < (jerarquia.Length / 20))
     {
         level++;
         string sub = jerarquia.Substring(20 * (level - 1), 20);
         Infragistics.Win.UltraWinTree.UltraTreeNode aux = NodoPadre.Nodes[sub];
         HijosYNietos(aux, jerarquia, level);
     }
 }
Пример #10
0
        private void UpdateTree(Infragistics.Win.UltraWinTree.UltraTreeNode Node)
        {
            string key = Node.Key;

            _uiController.UpdateTree(key);
            while (_uiController.HasNext())
            {
                ArrayList nodo                 = _uiController.Next();
                string    keyChildNode         = Convert.ToString(nodo[0]);
                string    descriptionChildNode = Convert.ToString(nodo[1]);
                Infragistics.Win.UltraWinTree.UltraTreeNode childNode = new Infragistics.Win.UltraWinTree.UltraTreeNode(keyChildNode, descriptionChildNode);

                /* Lo que estaba antes para que no muestre el activo en el texto del arbol de la interfaz
                 * Infragistics.Win.UltraWinTree.UltraTreeNode childNode = new Infragistics.Win.UltraWinTree.UltraTreeNode(keyChildNode, this.getDescriptionFrom(descriptionChildNode));
                 * Infragistics.Win.UltraWinTree.UltraTreeNode childNode1 = new Infragistics.Win.UltraWinTree.UltraTreeNode(keyChildNode, descriptionChildNode);
                 */
                if (!Node.Nodes.Exists(keyChildNode))
                {
                    Node.Nodes.Add(childNode);
                }

                /*if(!_tree.Nodes.Exists(keyChildNode))
                 *      _tree.Nodes.Add(childNode1);*/
            }
            int i = 0;

            foreach (Infragistics.Win.UltraWinTree.UltraTreeNode childNode in Node.Nodes)
            {
                string keyC = childNode.Key;
                _uiController.UpdateTree(keyC);
                while (_uiController.HasNext())
                {
                    ArrayList nodo                 = _uiController.Next();
                    string    keyChildNode         = Convert.ToString(nodo[0]);
                    string    descriptionChildNode = Convert.ToString(nodo[1]);
                    Infragistics.Win.UltraWinTree.UltraTreeNode childChildNode = new Infragistics.Win.UltraWinTree.UltraTreeNode(keyChildNode, descriptionChildNode);

                    /* Lo que estaba antes para que no muestre el activo en el texto del arbol de la interfaz
                     * Infragistics.Win.UltraWinTree.UltraTreeNode childChildNode = new Infragistics.Win.UltraWinTree.UltraTreeNode(keyChildNode, this.getDescriptionFrom(descriptionChildNode));
                     * Infragistics.Win.UltraWinTree.UltraTreeNode childChildNode1 = new Infragistics.Win.UltraWinTree.UltraTreeNode(keyChildNode, descriptionChildNode);
                     */
                    if (!childNode.Nodes.Exists(keyChildNode))
                    {
                        childNode.Nodes.Add(childChildNode);
                    }

                    /*if(!_tree.Nodes[i].Nodes.Exists(keyChildNode))
                     *      _tree.Nodes[i].Nodes.Add(childChildNode1);*/
                }
                i++;
            }
        }
Пример #11
0
/*		[ SearchMember( "tsh_JerarquiaAgrupProd" ) ]
 *              public static DataSet GetList(  )
 *              {
 *                      tsh_JerarquiaAgrupProdDataset data = mz.erp.businessrules.tsh_JerarquiaAgrupProd.GetList(  );
 *                      return ( DataSet )data;
 *              }*/


        private static void BorraHijos(Infragistics.Win.UltraWinTree.UltraTreeNode NodoPadre)
        {
            /// <summary>
            /// Limpia el árbol a partir del NodoPadre
            /// </summary>

            int hijos = NodoPadre.GetNodeCount(false);

            for (int i = 0; i < hijos; i++)
            {
                NodoPadre.Nodes[0].Remove();
            }
        }
        //Cristian Tarea 000069 20110907
        public static void HijosYNietosActivos(Infragistics.Win.UltraWinTree.UltraTreeNode NodoPadre, bool AllowMultipleSelect, bool Activo)
        {
            if (NodoPadre.HasNodes)
            {
                BorraHijos(NodoPadre);
            }

            Infragistics.Win.UltraWinTree.UltraTreeNode NodoHijo;
            string descripcionH = String.Empty;
            string claveH       = String.Empty;
            string descripcionN = String.Empty;
            string claveN       = String.Empty;

            System.Data.DataTable data;

            if (NodoPadre.Key == "RAIZ")
            {
                data = mz.erp.ui.forms.classes.tsa_JerarquiaAgrupCuentas.GetList(char.MinValue, Activo);
            }
            else
            //Cristian Tarea 000069
            if (Activo)
            {
                data = mz.erp.ui.forms.classes.tsa_JerarquiaAgrupCuentas.GetListActivas(NodoPadre.Key, Activo);
            }
            else
            {
                data = mz.erp.ui.forms.classes.tsa_JerarquiaAgrupCuentas.GetList(NodoPadre.Key, Activo);
            }
            //Fin Cristian Tarea 000069
            foreach (System.Data.DataRow rowH in data.Rows)
            {
                descripcionH = rowH["Descripcion"].ToString();
                claveH       = rowH["IdNomenclatura"].ToString();

                Infragistics.Win.UltraWinTree.UltraTreeNode node = NodoPadre.Nodes.Add(claveH, descripcionH);


                System.Data.DataTable dataH = mz.erp.ui.forms.classes.tsa_JerarquiaAgrupCuentas.GetList(claveH, Activo);
                foreach (System.Data.DataRow rowN in dataH.Rows)
                {
                    descripcionN = rowN["Descripcion"].ToString();
                    claveN       = rowN["IdNomenclatura"].ToString();
                    NodoHijo     = NodoPadre.Nodes[claveH];
                    NodoHijo.Nodes.Add(claveN, descripcionN);
                }
            }
        }
Пример #13
0
        public static void HijosYNietos(Infragistics.Win.UltraWinTree.UltraTreeNode NodoPadre)
        {
            /// <summary>
            /// Genera un datatable de acuerdo a todos los hijos que posee el NodoPadre. De cada unos de ellos genera otro datatable para ver sus hijos. Con esta información regenera todo la rama a partir del NodoPadre
            /// </summary>


            if (NodoPadre.HasNodes)
            {
                BorraHijos(NodoPadre);
            }

            Infragistics.Win.UltraWinTree.UltraTreeNode NodoHijo;
            string descripcionH = String.Empty;
            string claveH       = String.Empty;
            string descripcionN = String.Empty;
            string claveN       = String.Empty;

            System.Data.DataTable data;

            if (NodoPadre.Key == "RAIZ")
            {
                data = mz.erp.ui.controllers.tsh_JerarquiaAgrupProd.GetList(char.MinValue);
            }
            else
            {
                data = mz.erp.ui.controllers.tsh_JerarquiaAgrupProd.GetList(NodoPadre.Key);
            }


            foreach (System.Data.DataRow rowH in data.Rows)
            {
                descripcionH = rowH["Descripcion"].ToString();
                claveH       = rowH["IdNomenclatura"].ToString();
                NodoPadre.Nodes.Add(claveH, descripcionH);

                System.Data.DataTable dataH = mz.erp.ui.controllers.tsh_JerarquiaAgrupProd.GetList(claveH);
                foreach (System.Data.DataRow rowN in dataH.Rows)
                {
                    descripcionN = rowN["Descripcion"].ToString();
                    claveN       = rowN["IdNomenclatura"].ToString();
                    NodoHijo     = NodoPadre.Nodes[claveH];
                    NodoHijo.Nodes.Add(claveN, descripcionN);
                }
            }
        }
Пример #14
0
        private Infragistics.Win.UltraWinTree.UltraTreeNode AddMatches(Infragistics.Win.UltraWinTree.UltraTreeNode parentNode, string assetName)
        {
            foreach (Infragistics.Win.UltraWinTree.UltraTreeNode childNode in parentNode.Nodes)
            {
                // If this node represents an asset group then we should check it's children first
                if (childNode.Tag is AssetGroup)
                {
                    // If this branch is not currently expanded then we need to expand it now
                    // in order to search it
                    bool currentState = childNode.Expanded;
                    //
                    if (!childNode.Expanded)
                    {
                        childNode.Expanded = true;
                    }
                    //
                    //AddMatches(childNode, assetName);
                    Infragistics.Win.UltraWinTree.UltraTreeNode foundNode = AddMatches(childNode, assetName);
                    if (foundNode != null)
                    {
                        return(foundNode);
                    }

                    // Contract the branch if it was NOT previously expanded
                    if (!currentState)
                    {
                        childNode.Expanded = false;
                    }
                }

                else if (childNode.Tag is Asset)
                {
                    Asset  thisAsset      = childNode.Tag as Asset;
                    string upperAssetname = thisAsset.Name.ToUpper();
                    //
                    if (upperAssetname.Equals(assetName))
                    {
                        return(childNode);
                    }
                }
            }

            return(null);
        }
Пример #15
0
 private void SetSelection(Infragistics.Win.UltraWinTree.UltraTreeNode tree, string path)
 {
     if (ContainKey(tree, _selectedKey))
     {
         tree.Nodes[_selectedKey].Expanded = true;
         tree.Nodes[_selectedKey].Selected = true;
     }
     else
     {
         if (path.Length >= 20)
         {
             string j       = path.Substring(0, 20);
             string newpath = path.Substring(20);
             tree.Nodes[j].Expanded = true;
             //tree.Nodes[j].Selected = true;
             SetSelection(tree.Nodes[j], newpath);
         }
     }
 }
Пример #16
0
 private void HandleClientDisconnected(object sender, CommunicationMessage e)
 {
     Infragistics.Win.UltraWinTree.UltraTreeNode UnauthenticatedClientNode = trvConnectedClients.GetNodeByKey(e.UserID + " on " + e.SenderID);
     UnauthenticatedClientNode.Remove();
 }
Пример #17
0
        /// <summary>
        /// Método necesario para admitir el Diseñador. No se puede modificar
        /// el contenido del método con el editor de código.
        /// </summary>
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager             resources              = new System.ComponentModel.ComponentResourceManager(typeof(FrmAgrupamientos));
            Infragistics.Win.UltraWinTree.UltraTreeNode                ultraTreeNode1         = new Infragistics.Win.UltraWinTree.UltraTreeNode();
            Infragistics.Win.UltraWinTree.Override                     _override1             = new Infragistics.Win.UltraWinTree.Override();
            Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
            Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
            this.ultraExplorerBarContainerControl1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
            this.mzCmbCuenta   = new mz.erp.ui.controls.mzCuentasControl();
            this.ultraLabel2   = new Infragistics.Win.Misc.UltraLabel();
            this.mzCmb         = new mz.erp.ui.controls.mzProveedoresControl();
            this.ultraLabel1   = new Infragistics.Win.Misc.UltraLabel();
            this.gridElementos = new Janus.Windows.GridEX.GridEX();
            this.ultraExplorerBarContainerControl2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
            this.btnEliminar            = new Infragistics.Win.Misc.UltraButton();
            this.btnAgregar             = new Infragistics.Win.Misc.UltraButton();
            this.gridEXAgrupamientos    = new Janus.Windows.GridEX.GridEX();
            this.btnBuscar              = new Infragistics.Win.Misc.UltraButton();
            this.ultraTreeAgrupamientos = new Infragistics.Win.UltraWinTree.UltraTree();
            this.cmAgrupamientosTree    = new System.Windows.Forms.ContextMenu();
            this.menuItem1              = new System.Windows.Forms.MenuItem();
            this.ultraExplorerBar1      = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar();
            this.button1 = new System.Windows.Forms.Button();
            this.ultraExplorerBarContainerControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridElementos)).BeginInit();
            this.ultraExplorerBarContainerControl2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridEXAgrupamientos)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraTreeAgrupamientos)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).BeginInit();
            this.ultraExplorerBar1.SuspendLayout();
            this.SuspendLayout();
            //
            // ultraExplorerBarContainerControl1
            //
            this.ultraExplorerBarContainerControl1.Controls.Add(this.button1);
            this.ultraExplorerBarContainerControl1.Controls.Add(this.mzCmbCuenta);
            this.ultraExplorerBarContainerControl1.Controls.Add(this.ultraLabel2);
            this.ultraExplorerBarContainerControl1.Controls.Add(this.mzCmb);
            this.ultraExplorerBarContainerControl1.Controls.Add(this.ultraLabel1);
            this.ultraExplorerBarContainerControl1.Controls.Add(this.gridElementos);
            this.ultraExplorerBarContainerControl1.Location = new System.Drawing.Point(28, 50);
            this.ultraExplorerBarContainerControl1.Name     = "ultraExplorerBarContainerControl1";
            this.ultraExplorerBarContainerControl1.Size     = new System.Drawing.Size(842, 220);
            this.ultraExplorerBarContainerControl1.TabIndex = 0;
            //
            // mzCmbCuenta
            //
            this.mzCmbCuenta.AllowEditClientePaso = false;
            this.mzCmbCuenta.BackColor            = System.Drawing.SystemColors.Control;
            this.mzCmbCuenta.DataValue            = "";
            this.mzCmbCuenta.EnableCtaCte         = false;
            this.mzCmbCuenta.FastSearch           = false;
            this.mzCmbCuenta.Location             = new System.Drawing.Point(125, 3);
            this.mzCmbCuenta.Name                 = "mzCmbCuenta";
            this.mzCmbCuenta.ReseteaCodCta        = false;
            this.mzCmbCuenta.SearchObjectListener = null;
            this.mzCmbCuenta.Size                 = new System.Drawing.Size(614, 25);
            this.mzCmbCuenta.TabIndex             = 0;
            this.mzCmbCuenta.KeyDown             += new System.Windows.Forms.KeyEventHandler(this.mzCmbCuenta_KeyDown);

            //
            // ultraLabel2
            //
            this.ultraLabel2.BackColorInternal = System.Drawing.Color.Transparent;
            this.ultraLabel2.Location          = new System.Drawing.Point(10, 0);
            this.ultraLabel2.Name     = "ultraLabel2";
            this.ultraLabel2.Size     = new System.Drawing.Size(74, 18);
            this.ultraLabel2.TabIndex = 36;
            this.ultraLabel2.Text     = "Cuenta";
            //
            // mzCmb
            //
            this.mzCmb.BackColor            = System.Drawing.SystemColors.Control;
            this.mzCmb.DataValue            = "";
            this.mzCmb.EnableCtaCte         = false;
            this.mzCmb.FastSearch           = false;
            this.mzCmb.Location             = new System.Drawing.Point(125, 0);
            this.mzCmb.Name                 = "mzCmb";
            this.mzCmb.SearchObjectListener = null;
            this.mzCmb.Size                 = new System.Drawing.Size(585, 25);
            this.mzCmb.TabIndex             = 0;
            this.mzCmb.Tag = "ResponsableEmision";
            //
            // ultraLabel1
            //
            this.ultraLabel1.BackColorInternal = System.Drawing.Color.Transparent;
            this.ultraLabel1.Location          = new System.Drawing.Point(10, 0);
            this.ultraLabel1.Name     = "ultraLabel1";
            this.ultraLabel1.Size     = new System.Drawing.Size(74, 18);
            this.ultraLabel1.TabIndex = 27;
            this.ultraLabel1.Text     = "Proveedor";
            //
            // gridElementos
            //
            this.gridElementos.AllowCardSizing = false;
            this.gridElementos.AllowDelete     = Janus.Windows.GridEX.InheritableBoolean.True;
            this.gridElementos.AllowEdit       = Janus.Windows.GridEX.InheritableBoolean.False;
            this.gridElementos.Cursor          = System.Windows.Forms.Cursors.Default;
            this.gridElementos.Dock            = System.Windows.Forms.DockStyle.Bottom;
            this.gridElementos.EditorsControlStyle.ButtonAppearance = Janus.Windows.GridEX.ButtonAppearance.Regular;
            this.gridElementos.EnterKeyBehavior   = Janus.Windows.GridEX.EnterKeyBehavior.None;
            this.gridElementos.Font               = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
            this.gridElementos.GroupByBoxVisible  = false;
            this.gridElementos.InvalidValueAction = Janus.Windows.GridEX.InvalidValueAction.DiscardChanges;
            this.gridElementos.Location           = new System.Drawing.Point(0, 27);
            this.gridElementos.Name               = "gridElementos";
            this.gridElementos.Size               = new System.Drawing.Size(842, 193);
            this.gridElementos.TabIndex           = 1;
            this.gridElementos.TabStop            = false;
            //
            // ultraExplorerBarContainerControl2
            //
            this.ultraExplorerBarContainerControl2.Controls.Add(this.btnEliminar);
            this.ultraExplorerBarContainerControl2.Controls.Add(this.btnAgregar);
            this.ultraExplorerBarContainerControl2.Controls.Add(this.gridEXAgrupamientos);
            this.ultraExplorerBarContainerControl2.Controls.Add(this.btnBuscar);
            this.ultraExplorerBarContainerControl2.Controls.Add(this.ultraTreeAgrupamientos);
            this.ultraExplorerBarContainerControl2.Location = new System.Drawing.Point(28, 330);
            this.ultraExplorerBarContainerControl2.Name     = "ultraExplorerBarContainerControl2";
            this.ultraExplorerBarContainerControl2.Size     = new System.Drawing.Size(842, 532);
            this.ultraExplorerBarContainerControl2.TabIndex = 1;
            //
            // btnEliminar
            //
            this.btnEliminar.Location = new System.Drawing.Point(490, 76);
            this.btnEliminar.Name     = "btnEliminar";
            this.btnEliminar.Size     = new System.Drawing.Size(96, 28);
            this.btnEliminar.TabIndex = 3;
            this.btnEliminar.Text     = "&Eliminar";
            //
            // btnAgregar
            //
            this.btnAgregar.Location = new System.Drawing.Point(490, 39);
            this.btnAgregar.Name     = "btnAgregar";
            this.btnAgregar.Size     = new System.Drawing.Size(96, 28);
            this.btnAgregar.TabIndex = 2;
            this.btnAgregar.Text     = "&Agregar";
            //
            // gridEXAgrupamientos
            //
            this.gridEXAgrupamientos.AllowEdit = Janus.Windows.GridEX.InheritableBoolean.False;
            this.gridEXAgrupamientos.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.gridEXAgrupamientos.Cursor             = System.Windows.Forms.Cursors.Default;
            this.gridEXAgrupamientos.GroupByBoxInfoText = "";
            this.gridEXAgrupamientos.GroupByBoxVisible  = false;
            this.gridEXAgrupamientos.InvalidValueAction = Janus.Windows.GridEX.InvalidValueAction.DiscardChanges;
            this.gridEXAgrupamientos.LayoutData         = resources.GetString("gridEXAgrupamientos.LayoutData");
            this.gridEXAgrupamientos.Location           = new System.Drawing.Point(599, 0);
            this.gridEXAgrupamientos.Name     = "gridEXAgrupamientos";
            this.gridEXAgrupamientos.Size     = new System.Drawing.Size(235, 526);
            this.gridEXAgrupamientos.TabIndex = 4;
            //
            // btnBuscar
            //
            this.btnBuscar.Location = new System.Drawing.Point(490, 2);
            this.btnBuscar.Name     = "btnBuscar";
            this.btnBuscar.Size     = new System.Drawing.Size(96, 28);
            this.btnBuscar.TabIndex = 1;
            this.btnBuscar.Text     = "&Buscar";
            //
            // ultraTreeAgrupamientos
            //
            this.ultraTreeAgrupamientos.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                       | System.Windows.Forms.AnchorStyles.Left)));
            this.ultraTreeAgrupamientos.ContextMenu   = this.cmAgrupamientosTree;
            this.ultraTreeAgrupamientos.HideSelection = false;
            this.ultraTreeAgrupamientos.Location      = new System.Drawing.Point(0, 0);
            this.ultraTreeAgrupamientos.Name          = "ultraTreeAgrupamientos";
            ultraTreeNode1.Key  = "RAIZ";
            ultraTreeNode1.Text = "Agrupamientos";
            this.ultraTreeAgrupamientos.Nodes.AddRange(new Infragistics.Win.UltraWinTree.UltraTreeNode[] {
                ultraTreeNode1
            });
            _override1.SelectionType             = Infragistics.Win.UltraWinTree.SelectType.Single;
            this.ultraTreeAgrupamientos.Override = _override1;
            this.ultraTreeAgrupamientos.Size     = new System.Drawing.Size(480, 526);
            this.ultraTreeAgrupamientos.TabIndex = 0;
            //
            // cmAgrupamientosTree
            //
            this.cmAgrupamientosTree.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                this.menuItem1
            });
            //
            // menuItem1
            //
            this.menuItem1.Index  = 0;
            this.menuItem1.Text   = "Agregar";
            this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click);
            //
            // ultraExplorerBar1
            //
            this.ultraExplorerBar1.AnimationEnabled = false;
            this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl1);
            this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl2);
            this.ultraExplorerBar1.Cursor    = System.Windows.Forms.Cursors.Hand;
            this.ultraExplorerBar1.Dock      = System.Windows.Forms.DockStyle.Fill;
            ultraExplorerBarGroup1.Container = this.ultraExplorerBarContainerControl1;
            ultraExplorerBarGroup1.Settings.ContainerHeight = 220;
            ultraExplorerBarGroup1.Settings.Style           = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
            ultraExplorerBarGroup1.Text      = "Datos Generales";
            ultraExplorerBarGroup2.Container = this.ultraExplorerBarContainerControl2;
            ultraExplorerBarGroup2.Settings.ContainerHeight = 532;
            ultraExplorerBarGroup2.Settings.Style           = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
            ultraExplorerBarGroup2.Text = "Detalle de Agrupamiento";
            this.ultraExplorerBar1.Groups.AddRange(new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup[] {
                ultraExplorerBarGroup1,
                ultraExplorerBarGroup2
            });
            this.ultraExplorerBar1.Location = new System.Drawing.Point(0, 0);
            this.ultraExplorerBar1.Name     = "ultraExplorerBar1";
            this.ultraExplorerBar1.Size     = new System.Drawing.Size(912, 550);
            this.ultraExplorerBar1.TabIndex = 24;

            //
            // button1
            //
            this.button1.Location = new System.Drawing.Point(529, -2);
            this.button1.Name     = "button1";
            this.button1.Size     = new System.Drawing.Size(75, 23);
            this.button1.TabIndex = 37;
            this.button1.Text     = "Agregar";
            this.button1.UseVisualStyleBackColor = true;

            //
            // FrmAgrupamientos
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
            this.ClientSize        = new System.Drawing.Size(912, 550);
            this.Controls.Add(this.ultraExplorerBar1);
            this.Name = "FrmAgrupamientos";
            this.Text = "Grupos de Clientes";
            this.ultraExplorerBarContainerControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridElementos)).EndInit();
            this.ultraExplorerBarContainerControl2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridEXAgrupamientos)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraTreeAgrupamientos)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).EndInit();
            this.ultraExplorerBar1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Пример #18
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     Infragistics.Win.UltraWinTree.UltraTreeNode ultraTreeNode1 = new Infragistics.Win.UltraWinTree.UltraTreeNode();
     Infragistics.Win.UltraWinTree.Override      _override1     = new Infragistics.Win.UltraWinTree.Override();
     this.ultraTree1   = new Infragistics.Win.UltraWinTree.UltraTree();
     this.buttonCancel = new System.Windows.Forms.Button();
     this.buttonOK     = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.ultraTree1)).BeginInit();
     this.SuspendLayout();
     //
     // ultraTree1
     //
     this.ultraTree1.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.ultraTree1.HideSelection = false;
     this.ultraTree1.Location      = new System.Drawing.Point(10, 9);
     this.ultraTree1.Name          = "ultraTree1";
     ultraTreeNode1.Key            = "RAIZ";
     ultraTreeNode1.Text           = "Agrupamientos";
     this.ultraTree1.Nodes.AddRange(new Infragistics.Win.UltraWinTree.UltraTreeNode[] {
         ultraTreeNode1
     });
     _override1.SelectionType       = Infragistics.Win.UltraWinTree.SelectType.Single;
     this.ultraTree1.Override       = _override1;
     this.ultraTree1.Size           = new System.Drawing.Size(564, 354);
     this.ultraTree1.TabIndex       = 17;
     this.ultraTree1.AfterActivate += new Infragistics.Win.UltraWinTree.AfterNodeChangedEventHandler(this.ultraTree1_AfterActivate);
     this.ultraTree1.AfterExpand   += new Infragistics.Win.UltraWinTree.AfterNodeChangedEventHandler(this.ultraTree1_AfterExpand);
     //
     // buttonCancel
     //
     this.buttonCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.buttonCancel.Location     = new System.Drawing.Point(440, 372);
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.Size         = new System.Drawing.Size(134, 28);
     this.buttonCancel.TabIndex     = 19;
     this.buttonCancel.Text         = "&Cancelar";
     //
     // buttonOK
     //
     this.buttonOK.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.buttonOK.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.buttonOK.Location     = new System.Drawing.Point(296, 372);
     this.buttonOK.Name         = "buttonOK";
     this.buttonOK.Size         = new System.Drawing.Size(134, 28);
     this.buttonOK.TabIndex     = 18;
     this.buttonOK.Text         = "&Aceptar";
     this.buttonOK.Click       += new System.EventHandler(this.buttonOK_Click);
     //
     // frmSeleccionJerarquia
     //
     this.AcceptButton      = this.buttonOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.CancelButton      = this.buttonCancel;
     this.ClientSize        = new System.Drawing.Size(584, 406);
     this.Controls.Add(this.buttonCancel);
     this.Controls.Add(this.buttonOK);
     this.Controls.Add(this.ultraTree1);
     this.Name = "frmSeleccionJerarquia";
     this.Text = "frmSeleccionJerarquia";
     ((System.ComponentModel.ISupportInitialize)(this.ultraTree1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Infragistics.Win.UltraWinTree.UltraTreeNode ultraTreeNode1 = new Infragistics.Win.UltraWinTree.UltraTreeNode();
     Infragistics.Win.UltraWinTree.Override      _override1     = new Infragistics.Win.UltraWinTree.Override();
     System.Resources.ResourceManager            resources      = new System.Resources.ResourceManager(typeof(FrmSearchProductbyJerarquia));
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup3 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     this.ultraExplorerBarContainerControl1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.ultraTree1 = new Infragistics.Win.UltraWinTree.UltraTree();
     this.ultraExplorerBarContainerControl2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.gridResultado     = new Janus.Windows.GridEX.GridEX();
     this.imglStandar       = new System.Windows.Forms.ImageList(this.components);
     this.toolBarStandar    = new System.Windows.Forms.ToolBar();
     this.toolBarButton1    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton3    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton4    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton5    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton6    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton7    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton8    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton9    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton10   = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton11   = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton12   = new System.Windows.Forms.ToolBarButton();
     this.ultraExplorerBar1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar();
     this.ultraExplorerBarContainerControl3 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this.ultraExplorerBarContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ultraTree1)).BeginInit();
     this.ultraExplorerBarContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridResultado)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).BeginInit();
     this.ultraExplorerBar1.SuspendLayout();
     this.ultraExplorerBarContainerControl3.SuspendLayout();
     this.SuspendLayout();
     //
     // ultraExplorerBarContainerControl1
     //
     this.ultraExplorerBarContainerControl1.Controls.Add(this.ultraTree1);
     this.ultraExplorerBarContainerControl1.Location = new System.Drawing.Point(28, 131);
     this.ultraExplorerBarContainerControl1.Name     = "ultraExplorerBarContainerControl1";
     this.ultraExplorerBarContainerControl1.Size     = new System.Drawing.Size(718, 150);
     this.ultraExplorerBarContainerControl1.TabIndex = 0;
     //
     // ultraTree1
     //
     this.ultraTree1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.ultraTree1.HideSelection = false;
     this.ultraTree1.Location      = new System.Drawing.Point(0, 0);
     this.ultraTree1.Name          = "ultraTree1";
     ultraTreeNode1.Key            = "RAIZ";
     ultraTreeNode1.Text           = "Agrupamientos";
     this.ultraTree1.Nodes.AddRange(new Infragistics.Win.UltraWinTree.UltraTreeNode[] {
         ultraTreeNode1
     });
     _override1.SelectionType = Infragistics.Win.UltraWinTree.SelectType.Single;
     this.ultraTree1.Override = _override1;
     this.ultraTree1.Size     = new System.Drawing.Size(718, 150);
     this.ultraTree1.TabIndex = 2;
     //
     // ultraExplorerBarContainerControl2
     //
     this.ultraExplorerBarContainerControl2.Controls.Add(this.gridResultado);
     this.ultraExplorerBarContainerControl2.Location = new System.Drawing.Point(28, 340);
     this.ultraExplorerBarContainerControl2.Name     = "ultraExplorerBarContainerControl2";
     this.ultraExplorerBarContainerControl2.Size     = new System.Drawing.Size(718, 150);
     this.ultraExplorerBarContainerControl2.TabIndex = 1;
     //
     // gridResultado
     //
     this.gridResultado.AllowEdit        = Janus.Windows.GridEX.InheritableBoolean.False;
     this.gridResultado.ColumnAutoResize = true;
     this.gridResultado.Cursor           = System.Windows.Forms.Cursors.Default;
     this.gridResultado.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.gridResultado.EditorsControlStyle.ButtonAppearance = Janus.Windows.GridEX.ButtonAppearance.Regular;
     this.gridResultado.EmptyRows                       = true;
     this.gridResultado.EnterKeyBehavior                = Janus.Windows.GridEX.EnterKeyBehavior.None;
     this.gridResultado.ExpandableGroups                = Janus.Windows.GridEX.InheritableBoolean.False;
     this.gridResultado.Font                            = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.gridResultado.GridLines                       = Janus.Windows.GridEX.GridLines.None;
     this.gridResultado.GroupByBoxVisible               = false;
     this.gridResultado.GroupRowFormatStyle.BackColor   = System.Drawing.Color.Empty;
     this.gridResultado.GroupRowFormatStyle.FontBold    = Janus.Windows.GridEX.TriState.True;
     this.gridResultado.HeaderFormatStyle.FontBold      = Janus.Windows.GridEX.TriState.True;
     this.gridResultado.HeaderFormatStyle.TextAlignment = Janus.Windows.GridEX.TextAlignment.Center;
     this.gridResultado.HideSelection                   = Janus.Windows.GridEX.HideSelection.HighlightInactive;
     this.gridResultado.IncrementalSearchMode           = Janus.Windows.GridEX.IncrementalSearchMode.AllCharacters;
     this.gridResultado.InvalidValueAction              = Janus.Windows.GridEX.InvalidValueAction.DiscardChanges;
     this.gridResultado.LayoutData                      = @"<GridEXLayoutData><RootTable><Caption>Customers</Caption><Columns Collection=""true""><Column0 ID=""Icon""><AllowGroup>False</AllowGroup><AllowSize>False</AllowSize><AllowSort>False</AllowSort><Bound>False</Bound><ColumnType>Image</ColumnType><EditType>NoEdit</EditType><HeaderImageIndex>1</HeaderImageIndex><ImageIndex>0</ImageIndex><Key>Icon</Key><Position>0</Position><Selectable>False</Selectable><Width>22</Width></Column0><Column1 ID=""ID""><AllowSort>False</AllowSort><Caption>ID</Caption><DataMember>Codigo</DataMember><DefaultGroupPrefix>ID</DefaultGroupPrefix><Key>ID</Key><Position>1</Position><Selectable>False</Selectable><Width>247</Width></Column1><Column2 ID=""DESCRIPTION""><AllowSort>False</AllowSort><Caption>DESCRIPTION</Caption><DataMember>DESCRIPTION</DataMember><DefaultGroupPrefix>DESCRIPTION</DefaultGroupPrefix><Key>DESCRIPTION</Key><Position>2</Position><Selectable>False</Selectable><Width>445</Width></Column2></Columns><GroupCondition ID="""" /><Key>Customers</Key><SortKeys Collection=""true""><SortKey0 ID=""SortKey0""><ColIndex>1</ColIndex></SortKey0></SortKeys></RootTable></GridEXLayoutData>";
     this.gridResultado.Location                        = new System.Drawing.Point(0, 0);
     this.gridResultado.Name                            = "gridResultado";
     this.gridResultado.RecordNavigator                 = true;
     this.gridResultado.RecordNavigatorText             = "Registro:|de";
     this.gridResultado.Size                            = new System.Drawing.Size(718, 150);
     this.gridResultado.TabIndex                        = 1801;
     this.gridResultado.ThemedAreas                     = ((Janus.Windows.GridEX.ThemedArea)((((((Janus.Windows.GridEX.ThemedArea.ScrollBars | Janus.Windows.GridEX.ThemedArea.EditControls)
                                                                                                 | Janus.Windows.GridEX.ThemedArea.Headers)
                                                                                                | Janus.Windows.GridEX.ThemedArea.GroupByBox)
                                                                                               | Janus.Windows.GridEX.ThemedArea.TreeGliphs)
                                                                                              | Janus.Windows.GridEX.ThemedArea.ControlBorder)));
     //
     // imglStandar
     //
     this.imglStandar.ImageSize        = new System.Drawing.Size(16, 16);
     this.imglStandar.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imglStandar.ImageStream")));
     this.imglStandar.TransparentColor = System.Drawing.Color.Magenta;
     //
     // toolBarStandar
     //
     this.toolBarStandar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBarStandar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButton1,
         this.toolBarButton2,
         this.toolBarButton3,
         this.toolBarButton4,
         this.toolBarButton5,
         this.toolBarButton6,
         this.toolBarButton7,
         this.toolBarButton8,
         this.toolBarButton9,
         this.toolBarButton10,
         this.toolBarButton11,
         this.toolBarButton12
     });
     this.toolBarStandar.DropDownArrows = true;
     this.toolBarStandar.ImageList      = this.imglStandar;
     this.toolBarStandar.Location       = new System.Drawing.Point(0, 0);
     this.toolBarStandar.Name           = "toolBarStandar";
     this.toolBarStandar.ShowToolTips   = true;
     this.toolBarStandar.Size           = new System.Drawing.Size(784, 28);
     this.toolBarStandar.TabIndex       = 17;
     this.toolBarStandar.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     //
     // toolBarButton1
     //
     this.toolBarButton1.ImageIndex = 0;
     //
     // toolBarButton2
     //
     this.toolBarButton2.ImageIndex = 1;
     //
     // toolBarButton3
     //
     this.toolBarButton3.ImageIndex = 2;
     //
     // toolBarButton4
     //
     this.toolBarButton4.ImageIndex = 3;
     //
     // toolBarButton5
     //
     this.toolBarButton5.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton6
     //
     this.toolBarButton6.ImageIndex = 5;
     this.toolBarButton6.Text       = "Buscar Ahora";
     //
     // toolBarButton7
     //
     this.toolBarButton7.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton8
     //
     this.toolBarButton8.ImageIndex = 5;
     this.toolBarButton8.Text       = "Nueva Busqueda";
     //
     // toolBarButton9
     //
     this.toolBarButton9.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton10
     //
     this.toolBarButton10.ImageIndex = 6;
     this.toolBarButton10.Text       = "Aceptar";
     //
     // toolBarButton11
     //
     this.toolBarButton11.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton12
     //
     this.toolBarButton12.ImageIndex = 7;
     this.toolBarButton12.Text       = "Cancelar";
     //
     // ultraExplorerBar1
     //
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl1);
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl2);
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl3);
     this.ultraExplorerBar1.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.ultraExplorerBar1.Dock      = System.Windows.Forms.DockStyle.Fill;
     ultraExplorerBarGroup1.Container = this.ultraExplorerBarContainerControl3;
     ultraExplorerBarGroup1.Settings.ContainerHeight = 23;
     ultraExplorerBarGroup1.Settings.Style           = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup1.Text           = "Filtros";
     ultraExplorerBarGroup2.Container      = this.ultraExplorerBarContainerControl1;
     ultraExplorerBarGroup2.Settings.Style = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup2.Text           = "Seleccione una jerarquia";
     ultraExplorerBarGroup3.Container      = this.ultraExplorerBarContainerControl2;
     ultraExplorerBarGroup3.Settings.Style = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup3.Text           = "Resultado de la Busqueda";
     this.ultraExplorerBar1.Groups.AddRange(new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup[] {
         ultraExplorerBarGroup1,
         ultraExplorerBarGroup2,
         ultraExplorerBarGroup3
     });
     this.ultraExplorerBar1.Location = new System.Drawing.Point(0, 28);
     this.ultraExplorerBar1.Name     = "ultraExplorerBar1"; this.ultraExplorerBar1.AnimationEnabled = false;         //German 20101207 - Tarea Infragistics 2008 – Tarea 983
     this.ultraExplorerBar1.Size     = new System.Drawing.Size(784, 377);
     this.ultraExplorerBar1.TabIndex = 18;
     //
     // ultraExplorerBarContainerControl3
     //
     this.ultraExplorerBarContainerControl3.Controls.Add(this.checkBox1);
     this.ultraExplorerBarContainerControl3.Location = new System.Drawing.Point(28, 49);
     this.ultraExplorerBarContainerControl3.Name     = "ultraExplorerBarContainerControl3";
     this.ultraExplorerBarContainerControl3.Size     = new System.Drawing.Size(718, 23);
     this.ultraExplorerBarContainerControl3.TabIndex = 2;
     //
     // checkBox1
     //
     this.checkBox1.BackColor  = System.Drawing.SystemColors.InactiveCaptionText;
     this.checkBox1.Checked    = true;
     this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.Location   = new System.Drawing.Point(8, 0);
     this.checkBox1.Name       = "checkBox1";
     this.checkBox1.Size       = new System.Drawing.Size(176, 24);
     this.checkBox1.TabIndex   = 0;
     this.checkBox1.Text       = "Activo";
     //
     // FrmSearchProductbyJerarquia
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(784, 405);
     this.Controls.Add(this.ultraExplorerBar1);
     this.Controls.Add(this.toolBarStandar);
     this.Name = "FrmSearchProductbyJerarquia";
     this.Text = "Busqueda de Productos por Jerarquia";
     this.ultraExplorerBarContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.ultraTree1)).EndInit();
     this.ultraExplorerBarContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridResultado)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).EndInit();
     this.ultraExplorerBar1.ResumeLayout(false);
     this.ultraExplorerBarContainerControl3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #20
0
        public void SearchNow()
        {
            /*DownloadParameters();*/



            /*if ( resultValue != null && resultValue is DataSet )
             * {
             *      DataSet data = ( DataSet )resultValue;
             *      DataTable table = data.Tables[ _dataSource ];
             *      tbEdit.Enabled = table.Rows.Count > 0;
             */
            //if(_isLeaf)
            //{

            if (this.ultraTree1.SelectedNodes.Count > 0)
            {
                Infragistics.Win.UltraWinTree.UltraTreeNode Nodo = this.ultraTree1.SelectedNodes[0];
                string _jerarquia  = this.GetHierarchy(Nodo, String.Empty);
                object instance    = Activator.CreateInstance(_searchObject, true);
                object resultValue = _searchMethod.Invoke(instance, new object[] { _jerarquia });
                gridResultado.DataSource = null;
                gridResultado.DataSource = (DataTable)resultValue;



                //gridResultado.RetrieveStructure();
                if (_layoutMethod != null)
                {
                    _layoutData = (string)_layoutMethod.Invoke(instance, null);
                }

                if (_layoutData != null)
                {
                    gridResultado.LayoutData = _layoutData;
                }

                /*
                 * if(_orderBy != null)
                 * {
                 *      DataView view = new DataView(table,null, _orderBy,System.Data.DataViewRowState.OriginalRows);
                 *      gridEx.DataSource = view;
                 * }
                 * else
                 * {
                 *      gridEx.DataSource = table;
                 * }
                 *
                 * if(table.Rows.Count == 0)
                 * {
                 *      MessageBox.Show("NO se han encontrado datos con los filtros seleccionados","Advertencia",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
                 * }
                 */

                //}
            }
            else
            {
                MessageBox.Show("Debe seleccionar una jerarquia", "Atencion", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
            }
        }
Пример #21
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Infragistics.Win.UltraWinTree.UltraTreeNode ultraTreeNode1 = new Infragistics.Win.UltraWinTree.UltraTreeNode();
     Infragistics.Win.UltraWinTree.Override      _override1     = new Infragistics.Win.UltraWinTree.Override();
     System.Resources.ResourceManager            resources      = new System.Resources.ResourceManager(typeof(mzHierarchicalSearchPanel));
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     this.ultraExplorerBarContainerControl1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.ultraTree1 = new Infragistics.Win.UltraWinTree.UltraTree();
     this.ultraExplorerBarContainerControl2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.gridResultado     = new Janus.Windows.GridEX.GridEX();
     this.toolBarStandar    = new System.Windows.Forms.ToolBar();
     this.tbSearchNow       = new System.Windows.Forms.ToolBarButton();
     this.tbNewSearch       = new System.Windows.Forms.ToolBarButton();
     this.tbRefresh         = new System.Windows.Forms.ToolBarButton();
     this.tbSep             = new System.Windows.Forms.ToolBarButton();
     this.tbNew             = new System.Windows.Forms.ToolBarButton();
     this.tbEdit            = new System.Windows.Forms.ToolBarButton();
     this.tbDetail          = new System.Windows.Forms.ToolBarButton();
     this.imglStandar       = new System.Windows.Forms.ImageList(this.components);
     this.ultraExplorerBar1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar();
     this.ultraExplorerBarContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ultraTree1)).BeginInit();
     this.ultraExplorerBarContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridResultado)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).BeginInit();
     this.ultraExplorerBar1.SuspendLayout();
     this.SuspendLayout();
     //
     // ultraExplorerBarContainerControl1
     //
     this.ultraExplorerBarContainerControl1.Controls.Add(this.ultraTree1);
     this.ultraExplorerBarContainerControl1.Location = new System.Drawing.Point(28, 49);
     this.ultraExplorerBarContainerControl1.Name     = "ultraExplorerBarContainerControl1";
     this.ultraExplorerBarContainerControl1.Size     = new System.Drawing.Size(687, 150);
     this.ultraExplorerBarContainerControl1.TabIndex = 0;
     this.ultraExplorerBarContainerControl1.TabStop  = true;
     //
     // ultraTree1
     //
     this.ultraTree1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.ultraTree1.HideSelection = false;
     this.ultraTree1.Location      = new System.Drawing.Point(0, 0);
     this.ultraTree1.Name          = "ultraTree1";
     ultraTreeNode1.Key            = "RAIZ";
     ultraTreeNode1.Text           = "Agrupamientos";
     this.ultraTree1.Nodes.AddRange(new Infragistics.Win.UltraWinTree.UltraTreeNode[] {
         ultraTreeNode1
     });
     _override1.SelectionType = Infragistics.Win.UltraWinTree.SelectType.Single;
     this.ultraTree1.Override = _override1;
     this.ultraTree1.Size     = new System.Drawing.Size(687, 150);
     this.ultraTree1.TabIndex = 0;
     this.ultraTree1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ultraTree1_KeyDown);
     //
     // ultraExplorerBarContainerControl2
     //
     this.ultraExplorerBarContainerControl2.Controls.Add(this.gridResultado);
     this.ultraExplorerBarContainerControl2.Location = new System.Drawing.Point(28, 258);
     this.ultraExplorerBarContainerControl2.Name     = "ultraExplorerBarContainerControl2";
     this.ultraExplorerBarContainerControl2.Size     = new System.Drawing.Size(687, 150);
     this.ultraExplorerBarContainerControl2.TabIndex = 1;
     //
     // gridResultado
     //
     this.gridResultado.AllowEdit        = Janus.Windows.GridEX.InheritableBoolean.False;
     this.gridResultado.ColumnAutoResize = true;
     this.gridResultado.Cursor           = System.Windows.Forms.Cursors.Default;
     this.gridResultado.EditorsControlStyle.ButtonAppearance = Janus.Windows.GridEX.ButtonAppearance.Regular;
     this.gridResultado.EmptyRows                       = true;
     this.gridResultado.EnterKeyBehavior                = Janus.Windows.GridEX.EnterKeyBehavior.None;
     this.gridResultado.ExpandableGroups                = Janus.Windows.GridEX.InheritableBoolean.False;
     this.gridResultado.Font                            = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.gridResultado.GridLines                       = Janus.Windows.GridEX.GridLines.None;
     this.gridResultado.GroupByBoxVisible               = false;
     this.gridResultado.GroupRowFormatStyle.BackColor   = System.Drawing.Color.Empty;
     this.gridResultado.GroupRowFormatStyle.FontBold    = Janus.Windows.GridEX.TriState.True;
     this.gridResultado.HeaderFormatStyle.FontBold      = Janus.Windows.GridEX.TriState.True;
     this.gridResultado.HeaderFormatStyle.TextAlignment = Janus.Windows.GridEX.TextAlignment.Center;
     this.gridResultado.HideSelection                   = Janus.Windows.GridEX.HideSelection.HighlightInactive;
     this.gridResultado.IncrementalSearchMode           = Janus.Windows.GridEX.IncrementalSearchMode.AllCharacters;
     this.gridResultado.InvalidValueAction              = Janus.Windows.GridEX.InvalidValueAction.DiscardChanges;
     this.gridResultado.LayoutData                      = @"<GridEXLayoutData><RootTable><Caption>Customers</Caption><Columns Collection=""true""><Column0 ID=""Icon""><AllowGroup>False</AllowGroup><AllowSize>False</AllowSize><AllowSort>False</AllowSort><Bound>False</Bound><ColumnType>Image</ColumnType><EditType>NoEdit</EditType><HeaderImageIndex>1</HeaderImageIndex><ImageIndex>0</ImageIndex><Key>Icon</Key><Position>0</Position><Selectable>False</Selectable><Width>22</Width></Column0><Column1 ID=""ID""><AllowSort>False</AllowSort><Caption>ID</Caption><DataMember>Codigo</DataMember><DefaultGroupPrefix>ID</DefaultGroupPrefix><Key>ID</Key><Position>1</Position><Selectable>False</Selectable><Width>236</Width></Column1><Column2 ID=""DESCRIPTION""><AllowSort>False</AllowSort><Caption>DESCRIPTION</Caption><DataMember>DESCRIPTION</DataMember><DefaultGroupPrefix>DESCRIPTION</DefaultGroupPrefix><Key>DESCRIPTION</Key><Position>2</Position><Selectable>False</Selectable><Width>427</Width></Column2></Columns><GroupCondition ID="""" /><Key>Customers</Key><SortKeys Collection=""true""><SortKey0 ID=""SortKey0""><ColIndex>0</ColIndex></SortKey0></SortKeys></RootTable></GridEXLayoutData>";
     this.gridResultado.Location                        = new System.Drawing.Point(0, 0);
     this.gridResultado.Name                            = "gridResultado";
     this.gridResultado.RecordNavigator                 = true;
     this.gridResultado.RecordNavigatorText             = "Registro:|de";
     this.gridResultado.Size                            = new System.Drawing.Size(687, 150);
     this.gridResultado.TabIndex                        = 0;
     this.gridResultado.TableSpacing                    = 1;
     this.gridResultado.ThemedAreas                     = ((Janus.Windows.GridEX.ThemedArea)((((((Janus.Windows.GridEX.ThemedArea.ScrollBars | Janus.Windows.GridEX.ThemedArea.EditControls)
                                                                                                 | Janus.Windows.GridEX.ThemedArea.Headers)
                                                                                                | Janus.Windows.GridEX.ThemedArea.GroupByBox)
                                                                                               | Janus.Windows.GridEX.ThemedArea.TreeGliphs)
                                                                                              | Janus.Windows.GridEX.ThemedArea.ControlBorder)));
     this.gridResultado.KeyDown       += new System.Windows.Forms.KeyEventHandler(this.gridResultado_KeyDown);
     this.gridResultado.FormattingRow += new Janus.Windows.GridEX.RowLoadEventHandler(this.gridResultado_FormattingRow);
     //
     // toolBarStandar
     //
     this.toolBarStandar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBarStandar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.tbSearchNow,
         this.tbNewSearch,
         this.tbRefresh,
         this.tbSep,
         this.tbNew,
         this.tbEdit,
         this.tbDetail
     });
     this.toolBarStandar.Divider        = false;
     this.toolBarStandar.DropDownArrows = true;
     this.toolBarStandar.ImageList      = this.imglStandar;
     this.toolBarStandar.Location       = new System.Drawing.Point(0, 0);
     this.toolBarStandar.Name           = "toolBarStandar";
     this.toolBarStandar.ShowToolTips   = true;
     this.toolBarStandar.Size           = new System.Drawing.Size(736, 26);
     this.toolBarStandar.TabIndex       = 0;
     this.toolBarStandar.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     this.toolBarStandar.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBarStandar_ButtonClick);
     //
     // tbSearchNow
     //
     this.tbSearchNow.ImageIndex = 2;
     this.tbSearchNow.Text       = "Buscar ahora";
     //
     // tbNewSearch
     //
     this.tbNewSearch.ImageIndex = 0;
     this.tbNewSearch.Text       = "Nueva búsqueda";
     //
     // tbRefresh
     //
     this.tbRefresh.ImageIndex = 0;
     this.tbRefresh.Text       = "Actualizar";
     //
     // tbSep
     //
     this.tbSep.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbNew
     //
     this.tbNew.ImageIndex = 3;
     this.tbNew.Text       = "Nuevo";
     //
     // tbEdit
     //
     this.tbEdit.ImageIndex = 5;
     this.tbEdit.Text       = "Editar";
     //
     // tbDetail
     //
     this.tbDetail.ImageIndex = 5;
     this.tbDetail.Text       = "Detalle";
     //
     // imglStandar
     //
     this.imglStandar.ImageSize        = new System.Drawing.Size(16, 16);
     this.imglStandar.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imglStandar.ImageStream")));
     this.imglStandar.TransparentColor = System.Drawing.Color.Magenta;
     //
     // ultraExplorerBar1
     //
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl1);
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl2);
     this.ultraExplorerBar1.Cursor         = System.Windows.Forms.Cursors.Hand;
     this.ultraExplorerBar1.Dock           = System.Windows.Forms.DockStyle.Fill;
     ultraExplorerBarGroup1.Container      = this.ultraExplorerBarContainerControl1;
     ultraExplorerBarGroup1.Settings.Style = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup1.Text           = "Seleccione una jerarquia";
     ultraExplorerBarGroup2.Container      = this.ultraExplorerBarContainerControl2;
     ultraExplorerBarGroup2.Settings.Style = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup2.Text           = "Resultado de la Busqueda";
     this.ultraExplorerBar1.Groups.AddRange(new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup[] {
         ultraExplorerBarGroup1,
         ultraExplorerBarGroup2
     });
     this.ultraExplorerBar1.Location = new System.Drawing.Point(0, 26);
     this.ultraExplorerBar1.Name     = "ultraExplorerBar1";
     this.ultraExplorerBar1.Size     = new System.Drawing.Size(736, 438);
     this.ultraExplorerBar1.TabIndex = 19;
     this.ultraExplorerBar1.TabStop  = false;
     //
     // mzHierarchicalSearchPanel
     //
     this.Controls.Add(this.ultraExplorerBar1);
     this.Controls.Add(this.toolBarStandar);
     this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Name = "mzHierarchicalSearchPanel";
     this.Size = new System.Drawing.Size(736, 464);
     this.ultraExplorerBarContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.ultraTree1)).EndInit();
     this.ultraExplorerBarContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridResultado)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).EndInit();
     this.ultraExplorerBar1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
        //Fin Cristian
        public static void HijosYNietos(Infragistics.Win.UltraWinTree.UltraTreeNode NodoPadre, string jerarquia)
        {
            int level = 1;

            HijosYNietos(NodoPadre, jerarquia, level);
        }
 //Cristian Tarea 000069 20110907
 public static void HijosYNietosActivos(Infragistics.Win.UltraWinTree.UltraTreeNode NodoPadre)
 {
     HijosYNietosActivos(NodoPadre, false, true);
 }
Пример #24
0
        /// <summary>
        /// Limpiar los recursos que se estén utilizando.
        /// </summary>

        #region Código generado por el Diseñador de Windows Forms
        /// <summary>
        /// Método necesario para admitir el Diseñador. No se puede modificar
        /// el contenido del método con el editor de código.
        /// </summary>
        private void InitializeComponent()
        {
            Infragistics.Win.UltraWinTree.UltraTreeNode ultraTreeNode1 = new Infragistics.Win.UltraWinTree.UltraTreeNode();
            Infragistics.Win.UltraWinTree.Override      _override1     = new Infragistics.Win.UltraWinTree.Override();
            Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
            Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
            Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup3 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
            this.ultraExplorerBarContainerControl1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
            this.mzProductosControl1 = new mz.erp.ui.controls.mzProductosControl();
            this.label1 = new System.Windows.Forms.Label();
            this.ultraExplorerBarContainerControl3 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
            this.gridProductos = new Janus.Windows.GridEX.GridEX();
            this.ultraExplorerBarContainerControl2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
            this.btnEliminar         = new Infragistics.Win.Misc.UltraButton();
            this.btnAgregar          = new Infragistics.Win.Misc.UltraButton();
            this.gridEXAgrupamientos = new Janus.Windows.GridEX.GridEX();
            this.btnBuscar           = new Infragistics.Win.Misc.UltraButton();
            this.ultraTree1          = new Infragistics.Win.UltraWinTree.UltraTree();
            this.ultraExplorerBar1   = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar();
            this.ultraExplorerBarContainerControl1.SuspendLayout();
            this.ultraExplorerBarContainerControl3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridProductos)).BeginInit();
            this.ultraExplorerBarContainerControl2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridEXAgrupamientos)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraTree1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).BeginInit();
            this.ultraExplorerBar1.SuspendLayout();
            this.SuspendLayout();
            //
            // ultraExplorerBarContainerControl1
            //
            this.ultraExplorerBarContainerControl1.Controls.Add(this.mzProductosControl1);
            this.ultraExplorerBarContainerControl1.Controls.Add(this.label1);
            this.ultraExplorerBarContainerControl1.Location = new System.Drawing.Point(28, -22);
            this.ultraExplorerBarContainerControl1.Name     = "ultraExplorerBarContainerControl1";
            this.ultraExplorerBarContainerControl1.Size     = new System.Drawing.Size(862, 63);
            this.ultraExplorerBarContainerControl1.TabIndex = 0;
            //
            // mzProductosControl1
            //
            this.mzProductosControl1.BackColor            = System.Drawing.Color.Transparent;
            this.mzProductosControl1.EnabledCantidad      = true;
            this.mzProductosControl1.EnabledListaDePrecio = true;
            this.mzProductosControl1.Location             = new System.Drawing.Point(95, -8);
            this.mzProductosControl1.Name                            = "mzProductosControl1";
            this.mzProductosControl1.Size                            = new System.Drawing.Size(672, 80);
            this.mzProductosControl1.TabIndex                        = 0;
            this.mzProductosControl1.VisibleCantidad                 = true;
            this.mzProductosControl1.VisibleComboListaDePrecios      = true;
            this.mzProductosControl1.VisibleComboTipoDePrecioDeCosto = false;
            this.mzProductosControl1.VisiblePrecios                  = true;
            //
            // label1
            //
            this.label1.BackColor = System.Drawing.Color.Transparent;
            this.label1.Location  = new System.Drawing.Point(0, 3);
            this.label1.Name      = "label1";
            this.label1.Size      = new System.Drawing.Size(100, 16);
            this.label1.TabIndex  = 23;
            this.label1.Text      = "Producto";
            //
            // ultraExplorerBarContainerControl3
            //
            this.ultraExplorerBarContainerControl3.Controls.Add(this.gridProductos);
            this.ultraExplorerBarContainerControl3.Location = new System.Drawing.Point(28, -15);
            this.ultraExplorerBarContainerControl3.Name     = "ultraExplorerBarContainerControl3";
            this.ultraExplorerBarContainerControl3.Size     = new System.Drawing.Size(862, 150);
            this.ultraExplorerBarContainerControl3.TabIndex = 2;
            //
            // gridProductos
            //
            this.gridProductos.AllowEdit                     = Janus.Windows.GridEX.InheritableBoolean.False;
            this.gridProductos.AlternatingColors             = true;
            this.gridProductos.AutomaticSort                 = false;
            this.gridProductos.ControlStyle.ButtonAppearance = Janus.Windows.GridEX.ButtonAppearance.Regular;
            this.gridProductos.Cursor = System.Windows.Forms.Cursors.Default;
            this.gridProductos.Dock   = System.Windows.Forms.DockStyle.Fill;
            this.gridProductos.EditorsControlStyle.ButtonAppearance = Janus.Windows.GridEX.ButtonAppearance.Regular;
            this.gridProductos.EnterKeyBehavior                = Janus.Windows.GridEX.EnterKeyBehavior.None;
            this.gridProductos.Font                            = new System.Drawing.Font("Tahoma", 8.25F);
            this.gridProductos.GroupByBoxInfoText              = "Arraste un encabezado de columna hasta aquí para agrupar por esa columna.";
            this.gridProductos.GroupByBoxVisible               = false;
            this.gridProductos.HeaderFormatStyle.FontBold      = Janus.Windows.GridEX.TriState.True;
            this.gridProductos.HeaderFormatStyle.TextAlignment = Janus.Windows.GridEX.TextAlignment.Center;
            this.gridProductos.IncrementalSearchMode           = Janus.Windows.GridEX.IncrementalSearchMode.FirstCharacter;
            this.gridProductos.InvalidValueAction              = Janus.Windows.GridEX.InvalidValueAction.DiscardChangesAndShowErrorMessage;
            this.gridProductos.Location                        = new System.Drawing.Point(0, 0);
            this.gridProductos.Name                            = "gridProductos";
            this.gridProductos.RecordNavigatorText             = "Registro:|de";
            this.gridProductos.RowHeaders                      = Janus.Windows.GridEX.InheritableBoolean.True;
            this.gridProductos.ShowEmptyFields                 = false;
            this.gridProductos.Size                            = new System.Drawing.Size(862, 150);
            this.gridProductos.TabIndex                        = 0;
            this.gridProductos.UpdateMode                      = Janus.Windows.GridEX.UpdateMode.CellUpdate;
            //
            // ultraExplorerBarContainerControl2
            //
            this.ultraExplorerBarContainerControl2.Controls.Add(this.btnEliminar);
            this.ultraExplorerBarContainerControl2.Controls.Add(this.btnAgregar);
            this.ultraExplorerBarContainerControl2.Controls.Add(this.gridEXAgrupamientos);
            this.ultraExplorerBarContainerControl2.Controls.Add(this.btnBuscar);
            this.ultraExplorerBarContainerControl2.Controls.Add(this.ultraTree1);
            this.ultraExplorerBarContainerControl2.Location = new System.Drawing.Point(28, 194);
            this.ultraExplorerBarContainerControl2.Name     = "ultraExplorerBarContainerControl2";
            this.ultraExplorerBarContainerControl2.Size     = new System.Drawing.Size(862, 461);
            this.ultraExplorerBarContainerControl2.TabIndex = 1;
            //
            // btnEliminar
            //
            this.btnEliminar.Location = new System.Drawing.Point(408, 66);
            this.btnEliminar.Name     = "btnEliminar";
            this.btnEliminar.Size     = new System.Drawing.Size(80, 24);
            this.btnEliminar.TabIndex = 3;
            this.btnEliminar.Text     = "&Eliminar";
            this.btnEliminar.Click   += new System.EventHandler(this.btnEliminar_Click);
            //
            // btnAgregar
            //
            this.btnAgregar.Location = new System.Drawing.Point(408, 34);
            this.btnAgregar.Name     = "btnAgregar";
            this.btnAgregar.Size     = new System.Drawing.Size(80, 24);
            this.btnAgregar.TabIndex = 2;
            this.btnAgregar.Text     = "&Agregar";
            this.btnAgregar.Click   += new System.EventHandler(this.btnAgregar_Click);
            //
            // gridEXAgrupamientos
            //
            this.gridEXAgrupamientos.AllowEdit = Janus.Windows.GridEX.InheritableBoolean.False;
            this.gridEXAgrupamientos.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.gridEXAgrupamientos.Cursor             = System.Windows.Forms.Cursors.Default;
            this.gridEXAgrupamientos.GroupByBoxInfoText = "";
            this.gridEXAgrupamientos.GroupByBoxVisible  = false;
            this.gridEXAgrupamientos.InvalidValueAction = Janus.Windows.GridEX.InvalidValueAction.DiscardChanges;
            this.gridEXAgrupamientos.Location           = new System.Drawing.Point(499, 0);
            this.gridEXAgrupamientos.Name     = "gridEXAgrupamientos";
            this.gridEXAgrupamientos.Size     = new System.Drawing.Size(356, 456);
            this.gridEXAgrupamientos.TabIndex = 4;
            //
            // btnBuscar
            //
            this.btnBuscar.Location = new System.Drawing.Point(408, 2);
            this.btnBuscar.Name     = "btnBuscar";
            this.btnBuscar.Size     = new System.Drawing.Size(80, 24);
            this.btnBuscar.TabIndex = 1;
            this.btnBuscar.Text     = "&Buscar";
            //
            // ultraTree1
            //
            this.ultraTree1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                           | System.Windows.Forms.AnchorStyles.Left)));
            this.ultraTree1.HideSelection = false;
            this.ultraTree1.Location      = new System.Drawing.Point(0, 0);
            this.ultraTree1.Name          = "ultraTree1";
            ultraTreeNode1.Key            = "RAIZ";
            ultraTreeNode1.Text           = "Agrupamientos";
            this.ultraTree1.Nodes.AddRange(new Infragistics.Win.UltraWinTree.UltraTreeNode[] {
                ultraTreeNode1
            });
            _override1.SelectionType       = Infragistics.Win.UltraWinTree.SelectType.Single;
            this.ultraTree1.Override       = _override1;
            this.ultraTree1.Size           = new System.Drawing.Size(400, 456);
            this.ultraTree1.TabIndex       = 0;
            this.ultraTree1.AfterExpand   += new Infragistics.Win.UltraWinTree.AfterNodeChangedEventHandler(this.ultraTree1_AfterExpand);
            this.ultraTree1.AfterActivate += new Infragistics.Win.UltraWinTree.AfterNodeChangedEventHandler(this.ultraTree1_AfterActivate);
            //
            // ultraExplorerBar1
            //
            this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl1);
            this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl2);
            this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl3);
            this.ultraExplorerBar1.Cursor    = System.Windows.Forms.Cursors.Hand;
            this.ultraExplorerBar1.Dock      = System.Windows.Forms.DockStyle.Fill;
            ultraExplorerBarGroup1.Container = this.ultraExplorerBarContainerControl1;
            ultraExplorerBarGroup1.Settings.ContainerHeight = 63;
            ultraExplorerBarGroup1.Settings.Style           = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
            ultraExplorerBarGroup1.Text                     = "Datos Generales";
            ultraExplorerBarGroup2.Container                = this.ultraExplorerBarContainerControl3;
            ultraExplorerBarGroup2.Settings.Style           = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
            ultraExplorerBarGroup2.Text                     = "Detalle de productos";
            ultraExplorerBarGroup3.Container                = this.ultraExplorerBarContainerControl2;
            ultraExplorerBarGroup3.Settings.ContainerHeight = 461;
            ultraExplorerBarGroup3.Settings.Style           = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
            ultraExplorerBarGroup3.Text                     = "Detalle de Agrupamiento";
            this.ultraExplorerBar1.Groups.AddRange(new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup[] {
                ultraExplorerBarGroup1,
                ultraExplorerBarGroup2,
                ultraExplorerBarGroup3
            });
            this.ultraExplorerBar1.Location = new System.Drawing.Point(0, 0);
            this.ultraExplorerBar1.Name     = "ultraExplorerBar1"; this.ultraExplorerBar1.AnimationEnabled = false;         //German 20101207 - Tarea Infragistics 2008 – Tarea 983
            this.ultraExplorerBar1.Size     = new System.Drawing.Size(928, 645);
            this.ultraExplorerBar1.TabIndex = 23;
            this.ultraExplorerBar1.TabStop  = false;
            //
            // FrmAgrupProductos
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(928, 645);
            this.Controls.Add(this.ultraExplorerBar1);
            this.Name = "FrmAgrupProductos";
            this.Text = "Agrupamiento de productos";
            this.ultraExplorerBarContainerControl1.ResumeLayout(false);
            this.ultraExplorerBarContainerControl3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridProductos)).EndInit();
            this.ultraExplorerBarContainerControl2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridEXAgrupamientos)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraTree1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).EndInit();
            this.ultraExplorerBar1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
 public void NodoExpandir(Infragistics.Win.UltraWinTree.UltraTreeNode NodoPadre)
 {
     mz.erp.ui.controllers.tsh_JerarquiaAgrupProd.HijosYNietos(NodoPadre);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Infragistics.Win.UltraWinTree.UltraTreeNode ultraTreeNode1 = new Infragistics.Win.UltraWinTree.UltraTreeNode();
     Infragistics.Win.UltraWinTree.UltraTreeNode ultraTreeNode2 = new Infragistics.Win.UltraWinTree.UltraTreeNode();
     Infragistics.Win.UltraWinTree.UltraTreeNode ultraTreeNode3 = new Infragistics.Win.UltraWinTree.UltraTreeNode();
     Infragistics.Win.UltraWinTree.UltraTreeNode ultraTreeNode4 = new Infragistics.Win.UltraWinTree.UltraTreeNode();
     Infragistics.Win.UltraWinTree.UltraTreeNode ultraTreeNode5 = new Infragistics.Win.UltraWinTree.UltraTreeNode();
     Infragistics.Win.UltraWinTree.UltraTreeNode ultraTreeNode6 = new Infragistics.Win.UltraWinTree.UltraTreeNode();
     this.ultraPanel1      = new Infragistics.Win.Misc.UltraPanel();
     this.ultraPanel2      = new Infragistics.Win.Misc.UltraPanel();
     this.treeViewExamples = new Infragistics.Win.UltraWinTree.UltraTree();
     this.ultraPanel3      = new Infragistics.Win.Misc.UltraPanel();
     this.ultraPanel1.SuspendLayout();
     this.ultraPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewExamples)).BeginInit();
     this.ultraPanel3.SuspendLayout();
     this.SuspendLayout();
     //
     // ultraPanel1
     //
     this.ultraPanel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.ultraPanel1.Location = new System.Drawing.Point(0, 0);
     this.ultraPanel1.Name     = "ultraPanel1";
     this.ultraPanel1.Size     = new System.Drawing.Size(800, 41);
     this.ultraPanel1.TabIndex = 0;
     //
     // ultraPanel2
     //
     this.ultraPanel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.ultraPanel2.Location = new System.Drawing.Point(0, 413);
     this.ultraPanel2.Name     = "ultraPanel2";
     this.ultraPanel2.Size     = new System.Drawing.Size(800, 37);
     this.ultraPanel2.TabIndex = 1;
     //
     // treeViewExamples
     //
     this.treeViewExamples.Dock = System.Windows.Forms.DockStyle.Left;
     this.treeViewExamples.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.treeViewExamples.Location           = new System.Drawing.Point(0, 41);
     this.treeViewExamples.Name               = "treeViewExamples";
     this.treeViewExamples.NodeConnectorColor = System.Drawing.SystemColors.ControlDark;
     ultraTreeNode4.Key  = "GridHybridColumnsLayout";
     ultraTreeNode4.Tag  = "Demonstrate that how to arrange grid group and non Group columns";
     ultraTreeNode4.Text = "Group and Non-Group Column Position";
     ultraTreeNode3.Nodes.AddRange(new Infragistics.Win.UltraWinTree.UltraTreeNode[] {
         ultraTreeNode4
     });
     ultraTreeNode3.Text = "Group Layout";
     ultraTreeNode2.Nodes.AddRange(new Infragistics.Win.UltraWinTree.UltraTreeNode[] {
         ultraTreeNode3
     });
     ultraTreeNode2.Text = "Layout";
     ultraTreeNode1.Nodes.AddRange(new Infragistics.Win.UltraWinTree.UltraTreeNode[] {
         ultraTreeNode2
     });
     ultraTreeNode1.Text = "Grid";
     ultraTreeNode5.Text = "Tree";
     ultraTreeNode6.Text = "Misc";
     this.treeViewExamples.Nodes.AddRange(new Infragistics.Win.UltraWinTree.UltraTreeNode[] {
         ultraTreeNode1,
         ultraTreeNode5,
         ultraTreeNode6
     });
     this.treeViewExamples.Size         = new System.Drawing.Size(261, 372);
     this.treeViewExamples.TabIndex     = 2;
     this.treeViewExamples.DoubleClick += new System.EventHandler(this.treeViewExamples_DoubleClick);
     //
     // ultraPanel3
     //
     this.ultraPanel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.ultraPanel3.Location = new System.Drawing.Point(261, 41);
     this.ultraPanel3.Name     = "ultraPanel3";
     this.ultraPanel3.Size     = new System.Drawing.Size(539, 372);
     this.ultraPanel3.TabIndex = 3;
     //
     // ApplicationEvents
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(800, 450);
     this.Controls.Add(this.ultraPanel3);
     this.Controls.Add(this.treeViewExamples);
     this.Controls.Add(this.ultraPanel2);
     this.Controls.Add(this.ultraPanel1);
     this.Name  = "ApplicationEvents";
     this.Text  = "Controls examples viewer";
     this.Load += new System.EventHandler(this.ApplicationEvents_Load);
     this.ultraPanel1.ResumeLayout(false);
     this.ultraPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.treeViewExamples)).EndInit();
     this.ultraPanel3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #27
0
        /// <summary>
        /// Raises the <see cref="E:System.Windows.Forms.Form.Shown" /> event.
        /// </summary>
        /// <param name="e">A <see cref="T:System.EventArgs" /> that contains the event data.</param>
        protected override void OnShown(EventArgs e)
        {
            base.OnShown(e);
            var format = adapter.Format;
            var font   = format.Font;

            // Initialize controls on the Numbers
            string formatString = format.FormatString;

            if (string.IsNullOrEmpty(formatString) == false)
            {
                FormatInfo formatInfo = null;
                foreach (NumberFormatInfo numberFormat in this.numberFormats)
                {
                    formatInfo = numberFormat.FindFormat(formatString);

                    if (formatInfo != null)
                    {
                        this.treeCategory.GetNodeByKey(numberFormat.CategoryName).Selected        = true;
                        this.treeFormats.Nodes[numberFormat.Formats.IndexOf(formatInfo)].Selected = true;
                        break;
                    }
                }

                if (formatInfo == null)
                {
                    var customGroup = this.numberFormats.First(x => x.IsCustom);
                    this.treeCategory.GetNodeByKey(customGroup.CategoryName).Selected = true;

                    formatInfo = customGroup.AddFormatInfo(formatString);
                    this.treeFormats.Nodes[customGroup.Formats.IndexOf(formatInfo)].Selected = true;
                }
            }

            // Initialize controls on the Alignment tab
            #region Alignment tab

            this.cboHorizontal.Value   = format.Alignment;
            this.cboVertical.Value     = format.VerticalAlignment;
            this.nmeIndent.Value       = format.Indent;
            this.cbWrapText.Checked    = format.WrapText == ExcelDefaultableBoolean.True;
            this.cbShrinkToFit.Checked = format.ShrinkToFit == ExcelDefaultableBoolean.True;

            #endregion // Alignment tab

            // Initialize controls on the Font tab
            #region Font tab

            Infragistics.Win.UltraWinTree.UltraTreeNode node = this.treeFontFamily.GetNodeByKey(font.Name);
            if (node != null)
            {
                node.Selected = true;
                node.BringIntoView();
            }

            FontStylesCustom style = FontStylesCustom.Regular;
            if (font.Italic == ExcelDefaultableBoolean.True)
            {
                style = (font.Bold == ExcelDefaultableBoolean.True) ? FontStylesCustom.BoldItalic : FontStylesCustom.Italic;
            }
            else if (font.Bold == ExcelDefaultableBoolean.True)
            {
                style = FontStylesCustom.Bold;
            }

            node = this.treeFontStyle.GetNodeByKey(style.ToString());
            if (node != null)
            {
                node.Selected = true;
                node.BringIntoView();
            }

            node = this.treeFontSize.GetNodeByKey((font.Height / 20).ToString());
            if (node != null)
            {
                node.Selected = true;
                node.BringIntoView();
            }

            this.cboUnderline.Value      = font.UnderlineStyle;
            this.cbSubscript.Checked     = (font.SuperscriptSubscriptStyle == FontSuperscriptSubscriptStyle.Subscript);
            this.cbSuperscript.Checked   = (font.SuperscriptSubscriptStyle == FontSuperscriptSubscriptStyle.Superscript);
            this.cbStrikethrough.Checked = (font.Strikeout == ExcelDefaultableBoolean.True);
            this.cpFontColor.Color       = adapter.ForegroundColor;

            this.shouldEvaluateIsNormalFont = true;
            this.EvaluateIsNormalFont();
            #endregion //Font tab

            // Initialize controls on the Fill tab
            #region Fill tab

            CellFillPattern fillPattern = format.Fill as CellFillPattern;
            if (fillPattern != null)
            {
                this.cboPatternStyle.Value = fillPattern.PatternStyle;
                this.cpBackColor.Color     = adapter.FillColor;

                if (fillPattern.PatternColorInfo.IsAutomatic)
                {
                    this.cpPatternColor.Color = Color.Empty;
                }
                else
                {
                    if (fillPattern.PatternColorInfo.Color != null)
                    {
                        this.cpPatternColor.Color = fillPattern.PatternColorInfo.Color.Value;
                    }
                    else
                    {
                        this.cpPatternColor.Color = Color.Empty;
                    }
                }
            }

            #endregion // Fill tab

            this.recordPropertiesChanges = true;
        }
Пример #28
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Infragistics.Win.UltraWinTree.UltraTreeNode ultraTreeNode1 = new Infragistics.Win.UltraWinTree.UltraTreeNode();
     Infragistics.Win.UltraWinTree.Override      _override1     = new Infragistics.Win.UltraWinTree.Override();
     System.Resources.ResourceManager            resources      = new System.Resources.ResourceManager(typeof(FrmAbmMotivoOrdenReparacion));
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     this.ultraExplorerBarContainerControl5 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.labelTarea = new System.Windows.Forms.Label();
     this.ultraExplorerBarContainerControl2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.panel2                            = new System.Windows.Forms.Panel();
     this.gridEX1                           = new Janus.Windows.GridEX.GridEX();
     this.chkEsVerdadero                    = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
     this.btnAgregarTipo                    = new Infragistics.Win.Misc.UltraButton();
     this.txtDescripcionModifTipo           = new System.Windows.Forms.TextBox();
     this.btnModificarTipo                  = new Infragistics.Win.Misc.UltraButton();
     this.label2                            = new System.Windows.Forms.Label();
     this.btnEliminar                       = new Infragistics.Win.Misc.UltraButton();
     this.panel1                            = new System.Windows.Forms.Panel();
     this.ultraTreeMotivosOrdenesReparacion = new Infragistics.Win.UltraWinTree.UltraTree();
     this.imglStandar                       = new System.Windows.Forms.ImageList(this.components);
     this.ultraExplorerBar1                 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar();
     this.toolBarStandar                    = new System.Windows.Forms.ToolBar();
     this.tbbAnterior                       = new System.Windows.Forms.ToolBarButton();
     this.tbbSeparator                      = new System.Windows.Forms.ToolBarButton();
     this.tbbSiguiente                      = new System.Windows.Forms.ToolBarButton();
     this.tbbSeparator2                     = new System.Windows.Forms.ToolBarButton();
     this.tbbCancelar                       = new System.Windows.Forms.ToolBarButton();
     this.ultraExplorerBarContainerControl5.SuspendLayout();
     this.ultraExplorerBarContainerControl2.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridEX1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ultraTreeMotivosOrdenesReparacion)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).BeginInit();
     this.ultraExplorerBar1.SuspendLayout();
     this.SuspendLayout();
     //
     // ultraExplorerBarContainerControl5
     //
     this.ultraExplorerBarContainerControl5.Controls.Add(this.labelTarea);
     this.ultraExplorerBarContainerControl5.Location = new System.Drawing.Point(28, 24);
     this.ultraExplorerBarContainerControl5.Name     = "ultraExplorerBarContainerControl5";
     this.ultraExplorerBarContainerControl5.Size     = new System.Drawing.Size(755, 25);
     this.ultraExplorerBarContainerControl5.TabIndex = 4;
     //
     // labelTarea
     //
     this.labelTarea.BackColor = System.Drawing.Color.Transparent;
     this.labelTarea.Dock      = System.Windows.Forms.DockStyle.Top;
     this.labelTarea.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.labelTarea.Location  = new System.Drawing.Point(0, 0);
     this.labelTarea.Name      = "labelTarea";
     this.labelTarea.Size      = new System.Drawing.Size(755, 23);
     this.labelTarea.TabIndex  = 1;
     this.labelTarea.Text      = "Tarea";
     this.labelTarea.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // ultraExplorerBarContainerControl2
     //
     this.ultraExplorerBarContainerControl2.Controls.Add(this.panel2);
     this.ultraExplorerBarContainerControl2.Controls.Add(this.panel1);
     this.ultraExplorerBarContainerControl2.Location = new System.Drawing.Point(28, 108);
     this.ultraExplorerBarContainerControl2.Name     = "ultraExplorerBarContainerControl2";
     this.ultraExplorerBarContainerControl2.Size     = new System.Drawing.Size(755, 390);
     this.ultraExplorerBarContainerControl2.TabIndex = 5;
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.Transparent;
     this.panel2.Controls.Add(this.gridEX1);
     this.panel2.Controls.Add(this.chkEsVerdadero);
     this.panel2.Controls.Add(this.btnAgregarTipo);
     this.panel2.Controls.Add(this.txtDescripcionModifTipo);
     this.panel2.Controls.Add(this.btnModificarTipo);
     this.panel2.Controls.Add(this.label2);
     this.panel2.Controls.Add(this.btnEliminar);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panel2.Location = new System.Drawing.Point(243, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(512, 390);
     this.panel2.TabIndex = 103;
     //
     // gridEX1
     //
     this.gridEX1.AllowEdit                     = Janus.Windows.GridEX.InheritableBoolean.False;
     this.gridEX1.AlternatingColors             = true;
     this.gridEX1.AutomaticSort                 = false;
     this.gridEX1.ControlStyle.ButtonAppearance = Janus.Windows.GridEX.ButtonAppearance.Regular;
     this.gridEX1.Cursor = System.Windows.Forms.Cursors.Default;
     this.gridEX1.EditorsControlStyle.ButtonAppearance = Janus.Windows.GridEX.ButtonAppearance.Regular;
     this.gridEX1.EnterKeyBehavior                = Janus.Windows.GridEX.EnterKeyBehavior.None;
     this.gridEX1.Font                            = new System.Drawing.Font("Tahoma", 8.25F);
     this.gridEX1.GroupByBoxInfoText              = "Arraste un encabezado de columna hasta aquí para agrupar por esa columna.";
     this.gridEX1.GroupByBoxVisible               = false;
     this.gridEX1.HeaderFormatStyle.FontBold      = Janus.Windows.GridEX.TriState.True;
     this.gridEX1.HeaderFormatStyle.TextAlignment = Janus.Windows.GridEX.TextAlignment.Center;
     this.gridEX1.IncrementalSearchMode           = Janus.Windows.GridEX.IncrementalSearchMode.FirstCharacter;
     this.gridEX1.InvalidValueAction              = Janus.Windows.GridEX.InvalidValueAction.DiscardChangesAndShowErrorMessage;
     this.gridEX1.Location                        = new System.Drawing.Point(20, 128);
     this.gridEX1.Name                            = "gridEX1";
     this.gridEX1.RecordNavigatorText             = "Registro:|de";
     this.gridEX1.ShowEmptyFields                 = false;
     this.gridEX1.Size                            = new System.Drawing.Size(464, 160);
     this.gridEX1.TabIndex                        = 108;
     this.gridEX1.UpdateMode                      = Janus.Windows.GridEX.UpdateMode.CellUpdate;
     //
     // chkEsVerdadero
     //
     this.chkEsVerdadero.BackColor = System.Drawing.Color.Transparent;
     this.chkEsVerdadero.Enabled   = false;
     this.chkEsVerdadero.Location  = new System.Drawing.Point(200, 56);
     this.chkEsVerdadero.Name      = "chkEsVerdadero";
     this.chkEsVerdadero.Size      = new System.Drawing.Size(64, 20);
     this.chkEsVerdadero.TabIndex  = 107;
     this.chkEsVerdadero.Text      = "Por Si";
     //
     // btnAgregarTipo
     //
     this.btnAgregarTipo.Enabled  = false;
     this.btnAgregarTipo.Location = new System.Drawing.Point(104, 56);
     this.btnAgregarTipo.Name     = "btnAgregarTipo";
     this.btnAgregarTipo.Size     = new System.Drawing.Size(80, 24);
     this.btnAgregarTipo.TabIndex = 106;
     this.btnAgregarTipo.Text     = "&Agregar";
     this.btnAgregarTipo.Click   += new System.EventHandler(this.btnAgregarTipo_Click);
     //
     // txtDescripcionModifTipo
     //
     this.txtDescripcionModifTipo.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtDescripcionModifTipo.Location = new System.Drawing.Point(96, 16);
     this.txtDescripcionModifTipo.Name     = "txtDescripcionModifTipo";
     this.txtDescripcionModifTipo.Size     = new System.Drawing.Size(192, 20);
     this.txtDescripcionModifTipo.TabIndex = 105;
     this.txtDescripcionModifTipo.Text     = "";
     //
     // btnModificarTipo
     //
     this.btnModificarTipo.Enabled  = false;
     this.btnModificarTipo.Location = new System.Drawing.Point(20, 56);
     this.btnModificarTipo.Name     = "btnModificarTipo";
     this.btnModificarTipo.Size     = new System.Drawing.Size(80, 24);
     this.btnModificarTipo.TabIndex = 103;
     this.btnModificarTipo.Text     = "&Modificar";
     this.btnModificarTipo.Click   += new System.EventHandler(this.btnModificarTipo_Click);
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Location  = new System.Drawing.Point(24, 16);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(112, 16);
     this.label2.TabIndex  = 104;
     this.label2.Text      = "Descripción";
     //
     // btnEliminar
     //
     this.btnEliminar.Enabled  = false;
     this.btnEliminar.Location = new System.Drawing.Point(20, 96);
     this.btnEliminar.Name     = "btnEliminar";
     this.btnEliminar.Size     = new System.Drawing.Size(80, 24);
     this.btnEliminar.TabIndex = 102;
     this.btnEliminar.Text     = "&Eliminar";
     this.btnEliminar.Click   += new System.EventHandler(this.btnEliminar_Click);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Transparent;
     this.panel1.Controls.Add(this.ultraTreeMotivosOrdenesReparacion);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(316, 390);
     this.panel1.TabIndex = 102;
     //
     // ultraTreeMotivosOrdenesReparacion
     //
     this.ultraTreeMotivosOrdenesReparacion.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.ultraTreeMotivosOrdenesReparacion.HideSelection = false;
     this.ultraTreeMotivosOrdenesReparacion.Location      = new System.Drawing.Point(0, 0);
     this.ultraTreeMotivosOrdenesReparacion.Name          = "ultraTreeMotivosOrdenesReparacion";
     ultraTreeNode1.Key  = "RAIZ";
     ultraTreeNode1.Text = "Motivos Orden Reparación";
     this.ultraTreeMotivosOrdenesReparacion.Nodes.AddRange(new Infragistics.Win.UltraWinTree.UltraTreeNode[] {
         ultraTreeNode1
     });
     _override1.SelectionType = Infragistics.Win.UltraWinTree.SelectType.Single;
     this.ultraTreeMotivosOrdenesReparacion.Override = _override1;
     this.ultraTreeMotivosOrdenesReparacion.Size     = new System.Drawing.Size(316, 390);
     this.ultraTreeMotivosOrdenesReparacion.TabIndex = 96;
     //
     // imglStandar
     //
     this.imglStandar.ImageSize        = new System.Drawing.Size(16, 16);
     this.imglStandar.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imglStandar.ImageStream")));
     this.imglStandar.TransparentColor = System.Drawing.Color.Magenta;
     //
     // ultraExplorerBar1
     //
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl5);
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl2);
     this.ultraExplorerBar1.Dock      = System.Windows.Forms.DockStyle.Fill;
     ultraExplorerBarGroup1.Container = this.ultraExplorerBarContainerControl5;
     ultraExplorerBarGroup1.Settings.ContainerHeight = 25;
     ultraExplorerBarGroup1.Settings.HeaderVisible   = Infragistics.Win.DefaultableBoolean.False;
     ultraExplorerBarGroup1.Settings.Style           = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup1.Text      = "Tarea";
     ultraExplorerBarGroup2.Container = this.ultraExplorerBarContainerControl2;
     ultraExplorerBarGroup2.Settings.ContainerHeight = 390;
     ultraExplorerBarGroup2.Settings.Style           = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup2.Text = "Edición y Adición de tipos de observaciones";
     this.ultraExplorerBar1.Groups.AddRange(new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup[] {
         ultraExplorerBarGroup1,
         ultraExplorerBarGroup2
     });
     this.ultraExplorerBar1.Location = new System.Drawing.Point(0, 28);
     this.ultraExplorerBar1.Name     = "ultraExplorerBar1"; this.ultraExplorerBar1.AnimationEnabled = false;         //German 20101207 - Tarea Infragistics 2008 – Tarea 983
     this.ultraExplorerBar1.Size     = new System.Drawing.Size(804, 546);
     this.ultraExplorerBar1.TabIndex = 51;
     //
     // toolBarStandar
     //
     this.toolBarStandar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBarStandar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.tbbAnterior,
         this.tbbSeparator,
         this.tbbSiguiente,
         this.tbbSeparator2,
         this.tbbCancelar
     });
     this.toolBarStandar.DropDownArrows = true;
     this.toolBarStandar.ImageList      = this.imglStandar;
     this.toolBarStandar.Location       = new System.Drawing.Point(0, 0);
     this.toolBarStandar.Name           = "toolBarStandar";
     this.toolBarStandar.ShowToolTips   = true;
     this.toolBarStandar.Size           = new System.Drawing.Size(804, 28);
     this.toolBarStandar.TabIndex       = 50;
     this.toolBarStandar.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     //
     // tbbAnterior
     //
     this.tbbAnterior.ImageIndex = 1;
     this.tbbAnterior.Text       = "&Anterior";
     //
     // tbbSeparator
     //
     this.tbbSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbbSiguiente
     //
     this.tbbSiguiente.ImageIndex = 2;
     this.tbbSiguiente.Text       = "&Siguiente";
     //
     // tbbSeparator2
     //
     this.tbbSeparator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbbCancelar
     //
     this.tbbCancelar.ImageIndex = 0;
     this.tbbCancelar.Text       = "&Cancelar";
     //
     // FrmAbmMotivoOrdenReparacion
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(804, 574);
     this.Controls.Add(this.ultraExplorerBar1);
     this.Controls.Add(this.toolBarStandar);
     this.Name = "FrmAbmMotivoOrdenReparacion";
     this.Text = "FrmAbmMotivoOrdenReparacion";
     this.ultraExplorerBarContainerControl5.ResumeLayout(false);
     this.ultraExplorerBarContainerControl2.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridEX1)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.ultraTreeMotivosOrdenesReparacion)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).EndInit();
     this.ultraExplorerBar1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #29
0
 private void HandleClientConnected(object sender, CommunicationMessage e)
 {
     Infragistics.Win.UltraWinTree.UltraTreeNode unauthenticatedClientNodeParent = trvConnectedClients.Nodes[0];
     Infragistics.Win.UltraWinTree.UltraTreeNode unauthenticatedClientNode       = new Infragistics.Win.UltraWinTree.UltraTreeNode(e.UserID + " on " + e.SenderID);
     unauthenticatedClientNodeParent.Nodes.Add(unauthenticatedClientNode);
 }
Пример #30
0
        /// <summary>
        /// Called as the selected item in the tree control is changed as this affects the possible
        /// coniditons and values
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="node"></param>
        void selectedFields_AfterSelect(object sender, Infragistics.Win.UltraWinTree.UltraTreeNode node)
        {
            lblUnits.Text = String.Empty;

            if (node == null)
            {
                _selectedField = "";
                return;
            }

            // If we have selected Applications or Intrernet then enable immediate checking as we can drill down no further
            if (node.Text == "Applications")
            {
                lbConditions.Enabled = true;
                lbValue.Enabled      = false;
                cbConditions.Enabled = true;
                tbValue.Enabled      = false;
                lbAddTrigger.Enabled = true;
                bnAddTrigger.Enabled = true;
            }

            else if (node.Text == "Internet")
            {
                lbConditions.Enabled = true;
                lbValue.Enabled      = true;
                cbConditions.Enabled = true;
                tbValue.Enabled      = true;
                lbAddTrigger.Enabled = true;
                bnAddTrigger.Enabled = true;
            }

            else if (node.HasNodes)
            {
                lbConditions.Enabled = false;
                lbValue.Enabled      = false;
                cbConditions.Enabled = false;
                tbValue.Enabled      = false;
                lbAddTrigger.Enabled = false;
                bnAddTrigger.Enabled = false;
            }

            else
            {
                lbConditions.Enabled = true;
                lbValue.Enabled      = true;
                cbConditions.Enabled = true;
                tbValue.Enabled      = true;
                lbAddTrigger.Enabled = true;
                bnAddTrigger.Enabled = true;
            }

            // OK split the item into its component parts
            string itemKey = node.Key;

            _selectedField = itemKey;

            List <string> itemParts = Utility.ListFromString(itemKey, '|', true);

            // Clear existing conditions
            cbConditions.Items.Clear();

            // Internet Node - just add 'Contains'
            if (itemParts[0] == AWMiscStrings.InternetNode)
            {
                cbConditions.Items.Add(AlertTrigger.eCondition.contains, "Contains");
            }

            else
            {
                // All other types add 'Changed' as always valid
                cbConditions.Items.Add(AlertTrigger.eCondition.changed, "Changed");

                // Some specific fields should also allow other numeric operations
                if (itemParts.Count >= 3)
                {
                    string fieldName    = itemParts[itemParts.Count - 1];
                    string strDrivePart = itemParts[itemParts.Count - 2];
                    if ((fieldName == "Count") ||
                        (fieldName == "Speed") ||
                        (fieldName.StartsWith("Available")) ||
                        (fieldName.StartsWith("Total")) ||
                        (fieldName.StartsWith("Processor Count")) ||
                        (fieldName.StartsWith("Core Count")) ||
                        (fieldName.StartsWith("Free")))
                    {
                        cbConditions.Items.Add(AlertTrigger.eCondition.equals, "Equals");
                        cbConditions.Items.Add(AlertTrigger.eCondition.greaterthan, "Greater Than");
                        cbConditions.Items.Add(AlertTrigger.eCondition.greaterequals, "Greater or Equals");
                        cbConditions.Items.Add(AlertTrigger.eCondition.lessthan, "Less Than");
                        cbConditions.Items.Add(AlertTrigger.eCondition.lessequals, "Less or Equals");
                        tbValue.Enabled = true;
                    }

                    else
                    {
                        tbValue.Enabled = false;
                    }

                    if ((fieldName.StartsWith("Total") || fieldName.StartsWith("Available") || fieldName.StartsWith("Free")) && (strDrivePart.StartsWith("Drive")))
                    {
                        lblUnits.Text = "GB";
                    }

                    else if (fieldName.StartsWith("Total") || fieldName.StartsWith("Available") || fieldName.StartsWith("Free"))
                    {
                        lblUnits.Text = "MB";
                    }

                    else if (fieldName == "Speed")
                    {
                        lblUnits.Text = "MHz";
                    }

                    else
                    {
                        lblUnits.Text = String.Empty;
                    }
                }
            }

            cbConditions.SelectedIndex = 0;
        }
Пример #31
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem6 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab1 = new Infragistics.Win.UltraWinTabControl.UltraTab();
            Infragistics.Win.UltraWinTree.UltraTreeNode ultraTreeNode1 = new Infragistics.Win.UltraWinTree.UltraTreeNode();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmPlantilla));
            Infragistics.Win.UltraWinTree.Override _override1 = new Infragistics.Win.UltraWinTree.Override();
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
            this.ultraTabPageControl1 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
            this.comboMedida = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
            this.ugbRestriccione = new Infragistics.Win.Misc.UltraGroupBox();
            this.CheckTieneFondo = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.chkTieneTipoUnidad = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.chkTieneMaquina = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.chkTieneMaterial = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.chkTieneMedidadCerrada = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.chkTieneGraficos = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.chkTieneMedidaAbierta = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.chkTieneTiraRetira = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txtNombreItem = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.lblNombreItem = new Infragistics.Win.Misc.UltraLabel();
            this.ssMaterial = new Soft.Controls.SoftSearch();
            this.ssOperacion = new Soft.Controls.SoftSearch();
            this.ssTipoUnidad = new Soft.Controls.SoftSearch();
            this.lblTipoUnidad = new Infragistics.Win.Misc.UltraLabel();
            this.ugbServicios = new Infragistics.Win.Misc.UltraGroupBox();
            this.ugServicios = new Infragistics.Win.UltraWinGrid.UltraGrid();
            this.ubNuevo = new Infragistics.Win.Misc.UltraButton();
            this.ubEliminar = new Infragistics.Win.Misc.UltraButton();
            this.ssRelacionMedidas = new Soft.Controls.SoftSearch();
            this.lblRelacion = new Infragistics.Win.Misc.UltraLabel();
            this.lbMaterial = new Infragistics.Win.Misc.UltraLabel();
            this.lblOperacion = new Infragistics.Win.Misc.UltraLabel();
            this.uceActivo = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.lblCodigo = new Infragistics.Win.Misc.UltraLabel();
            this.txtCodigo = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.lblNombre = new Infragistics.Win.Misc.UltraLabel();
            this.txtNombre = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.utcDetalle = new Infragistics.Win.UltraWinTabControl.UltraTabControl();
            this.ultraTabSharedControlsPage1 = new Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage();
            this.utPlantilla = new Infragistics.Win.UltraWinTree.UltraTree();
            this.ubNuevoItem = new Infragistics.Win.Misc.UltraButton();
            this.ubEliminarItem = new Infragistics.Win.Misc.UltraButton();
            this.busLineaProduccion = new Soft.Controls.SoftSearch();
            this.ultraLabel24 = new Infragistics.Win.Misc.UltraLabel();
            ((System.ComponentModel.ISupportInitialize)(this.ugbParent)).BeginInit();
            this.ugbParent.SuspendLayout();
            this.ultraTabPageControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.comboMedida)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ugbRestriccione)).BeginInit();
            this.ugbRestriccione.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.CheckTieneFondo)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkTieneTipoUnidad)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkTieneMaquina)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkTieneMaterial)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkTieneMedidadCerrada)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkTieneGraficos)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkTieneMedidaAbierta)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkTieneTiraRetira)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtNombreItem)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ugbServicios)).BeginInit();
            this.ugbServicios.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ugServicios)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.uceActivo)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtCodigo)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtNombre)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.utcDetalle)).BeginInit();
            this.utcDetalle.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.utPlantilla)).BeginInit();
            this.SuspendLayout();
            // 
            // ugbParent
            // 
            this.ugbParent.Controls.Add(this.busLineaProduccion);
            this.ugbParent.Controls.Add(this.ultraLabel24);
            this.ugbParent.Controls.Add(this.utPlantilla);
            this.ugbParent.Controls.Add(this.utcDetalle);
            this.ugbParent.Controls.Add(this.ubEliminarItem);
            this.ugbParent.Controls.Add(this.ubNuevoItem);
            this.ugbParent.Controls.Add(this.lblNombre);
            this.ugbParent.Controls.Add(this.txtNombre);
            this.ugbParent.Controls.Add(this.uceActivo);
            this.ugbParent.Controls.Add(this.lblCodigo);
            this.ugbParent.Controls.Add(this.txtCodigo);
            this.ugbParent.Size = new System.Drawing.Size(807, 543);
            this.ugbParent.Controls.SetChildIndex(this.txtCodigo, 0);
            this.ugbParent.Controls.SetChildIndex(this.lblCodigo, 0);
            this.ugbParent.Controls.SetChildIndex(this.uceActivo, 0);
            this.ugbParent.Controls.SetChildIndex(this.txtNombre, 0);
            this.ugbParent.Controls.SetChildIndex(this.lblNombre, 0);
            this.ugbParent.Controls.SetChildIndex(this.ubNuevoItem, 0);
            this.ugbParent.Controls.SetChildIndex(this.ubEliminarItem, 0);
            this.ugbParent.Controls.SetChildIndex(this.utcDetalle, 0);
            this.ugbParent.Controls.SetChildIndex(this.ubCancelar, 0);
            this.ugbParent.Controls.SetChildIndex(this.ubAceptar, 0);
            this.ugbParent.Controls.SetChildIndex(this.utPlantilla, 0);
            this.ugbParent.Controls.SetChildIndex(this.ultraLabel24, 0);
            this.ugbParent.Controls.SetChildIndex(this.busLineaProduccion, 0);
            // 
            // ubCancelar
            // 
            this.ubCancelar.Location = new System.Drawing.Point(712, 514);
            this.ubCancelar.TabIndex = 14;
            // 
            // ubAceptar
            // 
            this.ubAceptar.Location = new System.Drawing.Point(631, 514);
            this.ubAceptar.TabIndex = 13;
            // 
            // ilMain
            // 
            this.ilMain.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilMain.ImageStream")));
            this.ilMain.Images.SetKeyName(0, "accept.png");
            this.ilMain.Images.SetKeyName(1, "accept_database.png");
            this.ilMain.Images.SetKeyName(2, "accept_page.png");
            this.ilMain.Images.SetKeyName(3, "add.png");
            this.ilMain.Images.SetKeyName(4, "add_comment.png");
            this.ilMain.Images.SetKeyName(5, "add_home.png");
            this.ilMain.Images.SetKeyName(6, "add_image.png");
            this.ilMain.Images.SetKeyName(7, "add_page.png");
            this.ilMain.Images.SetKeyName(8, "add_pages.png");
            this.ilMain.Images.SetKeyName(9, "add_printer.png");
            this.ilMain.Images.SetKeyName(10, "add_to_database.png");
            this.ilMain.Images.SetKeyName(11, "add_to_favorites.png");
            this.ilMain.Images.SetKeyName(12, "add_to_folder.png");
            this.ilMain.Images.SetKeyName(13, "add_to_shopping_cart.png");
            this.ilMain.Images.SetKeyName(14, "add_user.png");
            this.ilMain.Images.SetKeyName(15, "artwork.png");
            this.ilMain.Images.SetKeyName(16, "attach_image.png");
            this.ilMain.Images.SetKeyName(17, "attachment.png");
            this.ilMain.Images.SetKeyName(18, "back.png");
            this.ilMain.Images.SetKeyName(19, "block.png");
            this.ilMain.Images.SetKeyName(20, "blue_arrow_down.png");
            this.ilMain.Images.SetKeyName(21, "blue_arrow_up.png");
            this.ilMain.Images.SetKeyName(22, "blue_energy.png");
            this.ilMain.Images.SetKeyName(23, "bmp_file.png");
            this.ilMain.Images.SetKeyName(24, "book.png");
            this.ilMain.Images.SetKeyName(25, "book_accept.png");
            this.ilMain.Images.SetKeyName(26, "book_download.png");
            this.ilMain.Images.SetKeyName(27, "book_search.png");
            this.ilMain.Images.SetKeyName(28, "book_warning.png");
            this.ilMain.Images.SetKeyName(29, "calculator.png");
            this.ilMain.Images.SetKeyName(30, "calendar.png");
            this.ilMain.Images.SetKeyName(31, "calendar_empty.png");
            this.ilMain.Images.SetKeyName(32, "canvas_holder.png");
            this.ilMain.Images.SetKeyName(33, "card.png");
            this.ilMain.Images.SetKeyName(34, "cd.png");
            this.ilMain.Images.SetKeyName(35, "chalk_board.png");
            this.ilMain.Images.SetKeyName(36, "chart.png");
            this.ilMain.Images.SetKeyName(37, "chart_down.png");
            this.ilMain.Images.SetKeyName(38, "chart_pie.png");
            this.ilMain.Images.SetKeyName(39, "chart_up.png");
            this.ilMain.Images.SetKeyName(40, "clock.png");
            this.ilMain.Images.SetKeyName(41, "cloud_comment.png");
            this.ilMain.Images.SetKeyName(42, "coffee_cup.png");
            this.ilMain.Images.SetKeyName(43, "comment.png");
            this.ilMain.Images.SetKeyName(44, "comments.png");
            this.ilMain.Images.SetKeyName(45, "computer.png");
            this.ilMain.Images.SetKeyName(46, "computer_accept.png");
            this.ilMain.Images.SetKeyName(47, "computer_add.png");
            this.ilMain.Images.SetKeyName(48, "computer_help.png");
            this.ilMain.Images.SetKeyName(49, "computer_info.png");
            this.ilMain.Images.SetKeyName(50, "computer_process.png");
            this.ilMain.Images.SetKeyName(51, "computer_warning.png");
            this.ilMain.Images.SetKeyName(52, "copy_paste.png");
            this.ilMain.Images.SetKeyName(53, "credit_cart.png");
            this.ilMain.Images.SetKeyName(54, "credit_cart_cancelled.png");
            this.ilMain.Images.SetKeyName(55, "css_file.png");
            this.ilMain.Images.SetKeyName(56, "csv_file.png");
            this.ilMain.Images.SetKeyName(57, "cut.png");
            this.ilMain.Images.SetKeyName(58, "cut_from_page.png");
            this.ilMain.Images.SetKeyName(59, "database.png");
            this.ilMain.Images.SetKeyName(60, "delete.png");
            this.ilMain.Images.SetKeyName(61, "delete_comment.png");
            this.ilMain.Images.SetKeyName(62, "delete_computer.png");
            this.ilMain.Images.SetKeyName(63, "delete_folder.png");
            this.ilMain.Images.SetKeyName(64, "delete_home.png");
            this.ilMain.Images.SetKeyName(65, "delete_image.png");
            this.ilMain.Images.SetKeyName(66, "delete_page.png");
            this.ilMain.Images.SetKeyName(67, "delete_user.png");
            this.ilMain.Images.SetKeyName(68, "dollar_currency_sign.png");
            this.ilMain.Images.SetKeyName(69, "download.png");
            this.ilMain.Images.SetKeyName(70, "download_database.png");
            this.ilMain.Images.SetKeyName(71, "download_image.png");
            this.ilMain.Images.SetKeyName(72, "download_to_computer.png");
            this.ilMain.Images.SetKeyName(73, "dvd.png");
            this.ilMain.Images.SetKeyName(74, "edit.png");
            this.ilMain.Images.SetKeyName(75, "edit_page.png");
            this.ilMain.Images.SetKeyName(76, "edit_profile.png");
            this.ilMain.Images.SetKeyName(77, "eps_file.png");
            this.ilMain.Images.SetKeyName(78, "equalizer.png");
            this.ilMain.Images.SetKeyName(79, "euro_currency_sign.png");
            this.ilMain.Images.SetKeyName(80, "favorite.png");
            this.ilMain.Images.SetKeyName(81, "favorite_film.png");
            this.ilMain.Images.SetKeyName(82, "film.png");
            this.ilMain.Images.SetKeyName(83, "firewall.png");
            this.ilMain.Images.SetKeyName(84, "folder.png");
            this.ilMain.Images.SetKeyName(85, "folder_accept.png");
            this.ilMain.Images.SetKeyName(86, "folder_conflicted.png");
            this.ilMain.Images.SetKeyName(87, "folder_full.png");
            this.ilMain.Images.SetKeyName(88, "folder_modified.png");
            this.ilMain.Images.SetKeyName(89, "full_page.png");
            this.ilMain.Images.SetKeyName(90, "games.png");
            this.ilMain.Images.SetKeyName(91, "gif_file.png");
            this.ilMain.Images.SetKeyName(92, "globe.png");
            this.ilMain.Images.SetKeyName(93, "globe_download.png");
            this.ilMain.Images.SetKeyName(94, "globe_process.png");
            this.ilMain.Images.SetKeyName(95, "globe_warning.png");
            this.ilMain.Images.SetKeyName(96, "green_arrow_down.png");
            this.ilMain.Images.SetKeyName(97, "green_arrow_up.png");
            this.ilMain.Images.SetKeyName(98, "green_button.png");
            this.ilMain.Images.SetKeyName(99, "green_energy.png");
            this.ilMain.Images.SetKeyName(100, "green_flag.png");
            this.ilMain.Images.SetKeyName(101, "heart.png");
            this.ilMain.Images.SetKeyName(102, "help.png");
            this.ilMain.Images.SetKeyName(103, "help_balloon.png");
            this.ilMain.Images.SetKeyName(104, "home.png");
            this.ilMain.Images.SetKeyName(105, "home_accept.png");
            this.ilMain.Images.SetKeyName(106, "html_file.png");
            this.ilMain.Images.SetKeyName(107, "ico_file.png");
            this.ilMain.Images.SetKeyName(108, "id_card.png");
            this.ilMain.Images.SetKeyName(109, "image.png");
            this.ilMain.Images.SetKeyName(110, "image_accept.png");
            this.ilMain.Images.SetKeyName(111, "info.png");
            this.ilMain.Images.SetKeyName(112, "insert_to_shopping_cart.png");
            this.ilMain.Images.SetKeyName(113, "jpg_file.png");
            this.ilMain.Images.SetKeyName(114, "js_file.png");
            this.ilMain.Images.SetKeyName(115, "json_file.png");
            this.ilMain.Images.SetKeyName(116, "key.png");
            this.ilMain.Images.SetKeyName(117, "light_bulb.png");
            this.ilMain.Images.SetKeyName(118, "link.png");
            this.ilMain.Images.SetKeyName(119, "lock.png");
            this.ilMain.Images.SetKeyName(120, "magnet.png");
            this.ilMain.Images.SetKeyName(121, "mail.png");
            this.ilMain.Images.SetKeyName(122, "mail_lock.png");
            this.ilMain.Images.SetKeyName(123, "mail_receive.png");
            this.ilMain.Images.SetKeyName(124, "mail_search.png");
            this.ilMain.Images.SetKeyName(125, "mail_send.png");
            this.ilMain.Images.SetKeyName(126, "mobile_phone.png");
            this.ilMain.Images.SetKeyName(127, "mouse.png");
            this.ilMain.Images.SetKeyName(128, "music.png");
            this.ilMain.Images.SetKeyName(129, "new.png");
            this.ilMain.Images.SetKeyName(130, "new_page.png");
            this.ilMain.Images.SetKeyName(131, "news.png");
            this.ilMain.Images.SetKeyName(132, "next.png");
            this.ilMain.Images.SetKeyName(133, "note.png");
            this.ilMain.Images.SetKeyName(134, "note_accept.png");
            this.ilMain.Images.SetKeyName(135, "note_book.png");
            this.ilMain.Images.SetKeyName(136, "office_folders.png");
            this.ilMain.Images.SetKeyName(137, "old_clock.png");
            this.ilMain.Images.SetKeyName(138, "open_store.png");
            this.ilMain.Images.SetKeyName(139, "orange_arrow_down.png");
            this.ilMain.Images.SetKeyName(140, "orange_arrow_up.png");
            this.ilMain.Images.SetKeyName(141, "orange_button.png");
            this.ilMain.Images.SetKeyName(142, "package.png");
            this.ilMain.Images.SetKeyName(143, "package_accept.png");
            this.ilMain.Images.SetKeyName(144, "package_add.png");
            this.ilMain.Images.SetKeyName(145, "package_download.png");
            this.ilMain.Images.SetKeyName(146, "package_warning.png");
            this.ilMain.Images.SetKeyName(147, "page_down.png");
            this.ilMain.Images.SetKeyName(148, "page_process.png");
            this.ilMain.Images.SetKeyName(149, "page_up.png");
            this.ilMain.Images.SetKeyName(150, "pages.png");
            this.ilMain.Images.SetKeyName(151, "pages_warning.png");
            this.ilMain.Images.SetKeyName(152, "paint.png");
            this.ilMain.Images.SetKeyName(153, "paint_brush.png");
            this.ilMain.Images.SetKeyName(154, "palette.png");
            this.ilMain.Images.SetKeyName(155, "palette_brush.png");
            this.ilMain.Images.SetKeyName(156, "pastel_colors.png");
            this.ilMain.Images.SetKeyName(157, "pdf_file.png");
            this.ilMain.Images.SetKeyName(158, "phone_book.png");
            this.ilMain.Images.SetKeyName(159, "phone_book_edit.png");
            this.ilMain.Images.SetKeyName(160, "photo_camera.png");
            this.ilMain.Images.SetKeyName(161, "photo_camera_accept.png");
            this.ilMain.Images.SetKeyName(162, "php_file.png");
            this.ilMain.Images.SetKeyName(163, "pin.png");
            this.ilMain.Images.SetKeyName(164, "png_file.png");
            this.ilMain.Images.SetKeyName(165, "ppt_file.png");
            this.ilMain.Images.SetKeyName(166, "printer.png");
            this.ilMain.Images.SetKeyName(167, "printer_accept.png");
            this.ilMain.Images.SetKeyName(168, "printer_warning.png");
            this.ilMain.Images.SetKeyName(169, "prize_winner.png");
            this.ilMain.Images.SetKeyName(170, "process.png");
            this.ilMain.Images.SetKeyName(171, "process_accept.png");
            this.ilMain.Images.SetKeyName(172, "process_info.png");
            this.ilMain.Images.SetKeyName(173, "process_warning.png");
            this.ilMain.Images.SetKeyName(174, "promotion.png");
            this.ilMain.Images.SetKeyName(175, "protection.png");
            this.ilMain.Images.SetKeyName(176, "psd_file.png");
            this.ilMain.Images.SetKeyName(177, "puzzle.png");
            this.ilMain.Images.SetKeyName(178, "recycle.png");
            this.ilMain.Images.SetKeyName(179, "red_button.png");
            this.ilMain.Images.SetKeyName(180, "red_flag.png");
            this.ilMain.Images.SetKeyName(181, "refresh.png");
            this.ilMain.Images.SetKeyName(182, "refresh_page.png");
            this.ilMain.Images.SetKeyName(183, "remote_desktop.png");
            this.ilMain.Images.SetKeyName(184, "remove_from_database.png");
            this.ilMain.Images.SetKeyName(185, "remove_from_shopping_cart.png");
            this.ilMain.Images.SetKeyName(186, "report.png");
            this.ilMain.Images.SetKeyName(187, "rss.png");
            this.ilMain.Images.SetKeyName(188, "ruler.png");
            this.ilMain.Images.SetKeyName(189, "ruler_pencil.png");
            this.ilMain.Images.SetKeyName(190, "sale.png");
            this.ilMain.Images.SetKeyName(191, "save.png");
            this.ilMain.Images.SetKeyName(192, "search.png");
            this.ilMain.Images.SetKeyName(193, "search_computer.png");
            this.ilMain.Images.SetKeyName(194, "search_database.png");
            this.ilMain.Images.SetKeyName(195, "search_globe.png");
            this.ilMain.Images.SetKeyName(196, "search_home.png");
            this.ilMain.Images.SetKeyName(197, "search_image.png");
            this.ilMain.Images.SetKeyName(198, "search_page.png");
            this.ilMain.Images.SetKeyName(199, "search_printer.png");
            this.ilMain.Images.SetKeyName(200, "search_user.png");
            this.ilMain.Images.SetKeyName(201, "security.png");
            this.ilMain.Images.SetKeyName(202, "send_sms.png");
            this.ilMain.Images.SetKeyName(203, "shopping_cart.png");
            this.ilMain.Images.SetKeyName(204, "shopping_cart_accept.png");
            this.ilMain.Images.SetKeyName(205, "sms.png");
            this.ilMain.Images.SetKeyName(206, "sound.png");
            this.ilMain.Images.SetKeyName(207, "sound_muted.png");
            this.ilMain.Images.SetKeyName(208, "star_empty.png");
            this.ilMain.Images.SetKeyName(209, "star_full.png");
            this.ilMain.Images.SetKeyName(210, "star_half_full.png");
            this.ilMain.Images.SetKeyName(211, "sterling_pound_currency_sign.png");
            this.ilMain.Images.SetKeyName(212, "support.png");
            this.ilMain.Images.SetKeyName(213, "svg_file.png");
            this.ilMain.Images.SetKeyName(214, "swf_file.png");
            this.ilMain.Images.SetKeyName(215, "tablet.png");
            this.ilMain.Images.SetKeyName(216, "tag_blue.png");
            this.ilMain.Images.SetKeyName(217, "tag_green.png");
            this.ilMain.Images.SetKeyName(218, "target.png");
            this.ilMain.Images.SetKeyName(219, "television.png");
            this.ilMain.Images.SetKeyName(220, "text_page.png");
            this.ilMain.Images.SetKeyName(221, "tiff_file.png");
            this.ilMain.Images.SetKeyName(222, "tools.png");
            this.ilMain.Images.SetKeyName(223, "trash_can.png");
            this.ilMain.Images.SetKeyName(224, "turquoise_button.png");
            this.ilMain.Images.SetKeyName(225, "twitter.png");
            this.ilMain.Images.SetKeyName(226, "txt_file.png");
            this.ilMain.Images.SetKeyName(227, "unlock.png");
            this.ilMain.Images.SetKeyName(228, "up.png");
            this.ilMain.Images.SetKeyName(229, "user.png");
            this.ilMain.Images.SetKeyName(230, "user_accept.png");
            this.ilMain.Images.SetKeyName(231, "user_comment.png");
            this.ilMain.Images.SetKeyName(232, "users.png");
            this.ilMain.Images.SetKeyName(233, "users_comments.png");
            this.ilMain.Images.SetKeyName(234, "violet_button.png");
            this.ilMain.Images.SetKeyName(235, "warning.png");
            this.ilMain.Images.SetKeyName(236, "white_flag.png");
            this.ilMain.Images.SetKeyName(237, "windows_terminal.png");
            this.ilMain.Images.SetKeyName(238, "xml_file.png");
            this.ilMain.Images.SetKeyName(239, "yen_currency_sign.png");
            this.ilMain.Images.SetKeyName(240, "zip_file.png");
            this.ilMain.Images.SetKeyName(241, "zip_file_accept.png");
            this.ilMain.Images.SetKeyName(242, "zip_file_download.png");
            this.ilMain.Images.SetKeyName(243, "zip_file_info.png");
            this.ilMain.Images.SetKeyName(244, "zip_file_search.png");
            this.ilMain.Images.SetKeyName(245, "zoom_in.png");
            this.ilMain.Images.SetKeyName(246, "zoom_out.png");
            // 
            // ultraTabPageControl1
            // 
            this.ultraTabPageControl1.Controls.Add(this.comboMedida);
            this.ultraTabPageControl1.Controls.Add(this.ugbRestriccione);
            this.ultraTabPageControl1.Controls.Add(this.txtNombreItem);
            this.ultraTabPageControl1.Controls.Add(this.lblNombreItem);
            this.ultraTabPageControl1.Controls.Add(this.ssMaterial);
            this.ultraTabPageControl1.Controls.Add(this.ssOperacion);
            this.ultraTabPageControl1.Controls.Add(this.ssTipoUnidad);
            this.ultraTabPageControl1.Controls.Add(this.lblTipoUnidad);
            this.ultraTabPageControl1.Controls.Add(this.ugbServicios);
            this.ultraTabPageControl1.Controls.Add(this.ssRelacionMedidas);
            this.ultraTabPageControl1.Controls.Add(this.lblRelacion);
            this.ultraTabPageControl1.Controls.Add(this.lbMaterial);
            this.ultraTabPageControl1.Controls.Add(this.lblOperacion);
            this.ultraTabPageControl1.Location = new System.Drawing.Point(1, 23);
            this.ultraTabPageControl1.Name = "ultraTabPageControl1";
            this.ultraTabPageControl1.Size = new System.Drawing.Size(564, 432);
            // 
            // comboMedida
            // 
            valueListItem5.DataValue = "CM.";
            valueListItem5.Tag = 1;
            valueListItem6.DataValue = "MT.";
            valueListItem6.Tag = 100;
            this.comboMedida.Items.AddRange(new Infragistics.Win.ValueListItem[] {
            valueListItem5,
            valueListItem6});
            this.comboMedida.Location = new System.Drawing.Point(335, 43);
            this.comboMedida.Name = "comboMedida";
            this.comboMedida.Size = new System.Drawing.Size(53, 21);
            this.comboMedida.TabIndex = 119;
            this.comboMedida.ValueChanged += new System.EventHandler(this.comboMedida_ValueChanged);
            // 
            // ugbRestriccione
            // 
            appearance4.BackColor = System.Drawing.Color.Transparent;
            this.ugbRestriccione.Appearance = appearance4;
            this.ugbRestriccione.Controls.Add(this.CheckTieneFondo);
            this.ugbRestriccione.Controls.Add(this.chkTieneTipoUnidad);
            this.ugbRestriccione.Controls.Add(this.chkTieneMaquina);
            this.ugbRestriccione.Controls.Add(this.chkTieneMaterial);
            this.ugbRestriccione.Controls.Add(this.chkTieneMedidadCerrada);
            this.ugbRestriccione.Controls.Add(this.chkTieneGraficos);
            this.ugbRestriccione.Controls.Add(this.chkTieneMedidaAbierta);
            this.ugbRestriccione.Controls.Add(this.chkTieneTiraRetira);
            this.ugbRestriccione.HeaderBorderStyle = Infragistics.Win.UIElementBorderStyle.Rounded3;
            this.ugbRestriccione.HeaderPosition = Infragistics.Win.Misc.GroupBoxHeaderPosition.TopOutsideBorder;
            this.ugbRestriccione.Location = new System.Drawing.Point(394, 4);
            this.ugbRestriccione.Name = "ugbRestriccione";
            this.ugbRestriccione.Size = new System.Drawing.Size(156, 188);
            this.ugbRestriccione.TabIndex = 83;
            this.ugbRestriccione.Text = "Restricciones";
            // 
            // CheckTieneFondo
            // 
            this.CheckTieneFondo.Location = new System.Drawing.Point(13, 162);
            this.CheckTieneFondo.Name = "CheckTieneFondo";
            this.CheckTieneFondo.Size = new System.Drawing.Size(136, 20);
            this.CheckTieneFondo.TabIndex = 25;
            this.CheckTieneFondo.Text = "Tiene Fondo";
            this.CheckTieneFondo.CheckedChanged += new System.EventHandler(this.CheckTieneFondo_CheckedChanged);
            // 
            // chkTieneTipoUnidad
            // 
            this.chkTieneTipoUnidad.Location = new System.Drawing.Point(13, 140);
            this.chkTieneTipoUnidad.Name = "chkTieneTipoUnidad";
            this.chkTieneTipoUnidad.Size = new System.Drawing.Size(136, 20);
            this.chkTieneTipoUnidad.TabIndex = 24;
            this.chkTieneTipoUnidad.Text = "Tiene Tipo Unidad";
            this.chkTieneTipoUnidad.CheckedChanged += new System.EventHandler(this.chkTieneTipoUnidad_CheckedChanged);
            // 
            // chkTieneMaquina
            // 
            this.chkTieneMaquina.Location = new System.Drawing.Point(13, 119);
            this.chkTieneMaquina.Name = "chkTieneMaquina";
            this.chkTieneMaquina.Size = new System.Drawing.Size(136, 20);
            this.chkTieneMaquina.TabIndex = 23;
            this.chkTieneMaquina.Text = "Tiene Máquina";
            this.chkTieneMaquina.CheckedChanged += new System.EventHandler(this.chkTieneMaquina_CheckedChanged);
            // 
            // chkTieneMaterial
            // 
            this.chkTieneMaterial.Location = new System.Drawing.Point(13, 100);
            this.chkTieneMaterial.Name = "chkTieneMaterial";
            this.chkTieneMaterial.Size = new System.Drawing.Size(136, 20);
            this.chkTieneMaterial.TabIndex = 22;
            this.chkTieneMaterial.Text = "Tiene Material";
            this.chkTieneMaterial.CheckedChanged += new System.EventHandler(this.chkTieneMaterial_CheckedChanged);
            // 
            // chkTieneMedidadCerrada
            // 
            this.chkTieneMedidadCerrada.Location = new System.Drawing.Point(13, 44);
            this.chkTieneMedidadCerrada.Name = "chkTieneMedidadCerrada";
            this.chkTieneMedidadCerrada.Size = new System.Drawing.Size(136, 20);
            this.chkTieneMedidadCerrada.TabIndex = 19;
            this.chkTieneMedidadCerrada.Text = "Tiene Medida Cerrada";
            this.chkTieneMedidadCerrada.CheckedChanged += new System.EventHandler(this.chkTieneMedidadCerrada_CheckedChanged);
            // 
            // chkTieneGraficos
            // 
            this.chkTieneGraficos.Location = new System.Drawing.Point(13, 81);
            this.chkTieneGraficos.Name = "chkTieneGraficos";
            this.chkTieneGraficos.Size = new System.Drawing.Size(136, 20);
            this.chkTieneGraficos.TabIndex = 21;
            this.chkTieneGraficos.Text = "Tiene Graficos";
            this.chkTieneGraficos.CheckedChanged += new System.EventHandler(this.chkTieneGraficos_CheckedChanged);
            // 
            // chkTieneMedidaAbierta
            // 
            this.chkTieneMedidaAbierta.Location = new System.Drawing.Point(13, 26);
            this.chkTieneMedidaAbierta.Name = "chkTieneMedidaAbierta";
            this.chkTieneMedidaAbierta.Size = new System.Drawing.Size(136, 20);
            this.chkTieneMedidaAbierta.TabIndex = 18;
            this.chkTieneMedidaAbierta.Text = "Tiene Medida Abierta";
            this.chkTieneMedidaAbierta.CheckedChanged += new System.EventHandler(this.chkTieneMedidaAbierta_CheckedChanged);
            // 
            // chkTieneTiraRetira
            // 
            this.chkTieneTiraRetira.Location = new System.Drawing.Point(13, 63);
            this.chkTieneTiraRetira.Name = "chkTieneTiraRetira";
            this.chkTieneTiraRetira.Size = new System.Drawing.Size(136, 20);
            this.chkTieneTiraRetira.TabIndex = 20;
            this.chkTieneTiraRetira.Text = "Tiene Tira y Retira";
            this.chkTieneTiraRetira.CheckedChanged += new System.EventHandler(this.chkTieneTiraRetira_CheckedChanged);
            // 
            // txtNombreItem
            // 
            this.txtNombreItem.Location = new System.Drawing.Point(151, 14);
            this.txtNombreItem.Name = "txtNombreItem";
            this.txtNombreItem.Size = new System.Drawing.Size(237, 21);
            this.txtNombreItem.TabIndex = 6;
            this.txtNombreItem.TextChanged += new System.EventHandler(this.txtNombreItem_TextChanged);
            // 
            // lblNombreItem
            // 
            this.lblNombreItem.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
            this.lblNombreItem.Location = new System.Drawing.Point(17, 19);
            this.lblNombreItem.Name = "lblNombreItem";
            this.lblNombreItem.Size = new System.Drawing.Size(100, 21);
            this.lblNombreItem.TabIndex = 14;
            this.lblNombreItem.Text = "Nombre";
            // 
            // ssMaterial
            // 
            this.ssMaterial.BackColor = System.Drawing.Color.Transparent;
            this.ssMaterial.Location = new System.Drawing.Point(151, 127);
            this.ssMaterial.Name = "ssMaterial";
            this.ssMaterial.Size = new System.Drawing.Size(237, 30);
            this.ssMaterial.TabIndex = 10;
            this.ssMaterial.Search += new System.EventHandler(this.ssMaterial_Search);
            this.ssMaterial.Clear += new System.EventHandler(this.ssMaterial_Clear);
            // 
            // ssOperacion
            // 
            this.ssOperacion.BackColor = System.Drawing.Color.Transparent;
            this.ssOperacion.Location = new System.Drawing.Point(151, 99);
            this.ssOperacion.Name = "ssOperacion";
            this.ssOperacion.Size = new System.Drawing.Size(237, 30);
            this.ssOperacion.TabIndex = 9;
            this.ssOperacion.Search += new System.EventHandler(this.ssOperacion_Search);
            this.ssOperacion.Clear += new System.EventHandler(this.ssOperacion_Clear);
            // 
            // ssTipoUnidad
            // 
            this.ssTipoUnidad.BackColor = System.Drawing.Color.Transparent;
            this.ssTipoUnidad.Location = new System.Drawing.Point(151, 71);
            this.ssTipoUnidad.Name = "ssTipoUnidad";
            this.ssTipoUnidad.Size = new System.Drawing.Size(165, 32);
            this.ssTipoUnidad.TabIndex = 8;
            this.ssTipoUnidad.Search += new System.EventHandler(this.ssTipoUnidad_Search);
            this.ssTipoUnidad.Clear += new System.EventHandler(this.ssTipoUnidad_Clear);
            // 
            // lblTipoUnidad
            // 
            this.lblTipoUnidad.Location = new System.Drawing.Point(17, 74);
            this.lblTipoUnidad.Name = "lblTipoUnidad";
            this.lblTipoUnidad.Size = new System.Drawing.Size(100, 21);
            this.lblTipoUnidad.TabIndex = 12;
            this.lblTipoUnidad.Text = "Tipo de Unidad";
            // 
            // ugbServicios
            // 
            appearance5.BackColor = System.Drawing.Color.Transparent;
            this.ugbServicios.Appearance = appearance5;
            this.ugbServicios.Controls.Add(this.ugServicios);
            this.ugbServicios.Controls.Add(this.ubNuevo);
            this.ugbServicios.Controls.Add(this.ubEliminar);
            this.ugbServicios.HeaderBorderStyle = Infragistics.Win.UIElementBorderStyle.Rounded3;
            this.ugbServicios.HeaderPosition = Infragistics.Win.Misc.GroupBoxHeaderPosition.TopOutsideBorder;
            this.ugbServicios.Location = new System.Drawing.Point(15, 198);
            this.ugbServicios.Name = "ugbServicios";
            this.ugbServicios.Size = new System.Drawing.Size(535, 209);
            this.ugbServicios.TabIndex = 11;
            this.ugbServicios.Text = "Servicios y Acabados";
            // 
            // ugServicios
            // 
            this.ugServicios.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.ugServicios.Dock = System.Windows.Forms.DockStyle.Top;
            this.ugServicios.Location = new System.Drawing.Point(3, 25);
            this.ugServicios.Name = "ugServicios";
            this.ugServicios.Size = new System.Drawing.Size(529, 139);
            this.ugServicios.TabIndex = 0;
            this.ugServicios.Text = "ultraGrid1";
            this.ugServicios.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.ugServicios_CellChange);
            // 
            // ubNuevo
            // 
            this.ubNuevo.Location = new System.Drawing.Point(369, 171);
            this.ubNuevo.Name = "ubNuevo";
            this.ubNuevo.Size = new System.Drawing.Size(75, 23);
            this.ubNuevo.TabIndex = 11;
            this.ubNuevo.Text = "Nuevo";
            this.ubNuevo.Click += new System.EventHandler(this.ubNuevo_Click);
            // 
            // ubEliminar
            // 
            this.ubEliminar.Location = new System.Drawing.Point(450, 171);
            this.ubEliminar.Name = "ubEliminar";
            this.ubEliminar.Size = new System.Drawing.Size(75, 23);
            this.ubEliminar.TabIndex = 12;
            this.ubEliminar.Text = "Eliminar";
            this.ubEliminar.Click += new System.EventHandler(this.ubEliminar_Click);
            // 
            // ssRelacionMedidas
            // 
            this.ssRelacionMedidas.BackColor = System.Drawing.Color.Transparent;
            this.ssRelacionMedidas.Location = new System.Drawing.Point(151, 44);
            this.ssRelacionMedidas.Name = "ssRelacionMedidas";
            this.ssRelacionMedidas.Size = new System.Drawing.Size(165, 30);
            this.ssRelacionMedidas.TabIndex = 7;
            this.ssRelacionMedidas.Search += new System.EventHandler(this.ssRelacionMedidas_Search);
            this.ssRelacionMedidas.Clear += new System.EventHandler(this.ssRelacionMedidas_Clear);
            // 
            // lblRelacion
            // 
            this.lblRelacion.Location = new System.Drawing.Point(17, 47);
            this.lblRelacion.Name = "lblRelacion";
            this.lblRelacion.Size = new System.Drawing.Size(100, 21);
            this.lblRelacion.TabIndex = 9;
            this.lblRelacion.Text = "Relacion Medidas";
            // 
            // lbMaterial
            // 
            this.lbMaterial.Location = new System.Drawing.Point(17, 129);
            this.lbMaterial.Name = "lbMaterial";
            this.lbMaterial.Size = new System.Drawing.Size(100, 23);
            this.lbMaterial.TabIndex = 7;
            this.lbMaterial.Text = "Material (Opcional)";
            // 
            // lblOperacion
            // 
            this.lblOperacion.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
            this.lblOperacion.Location = new System.Drawing.Point(17, 102);
            this.lblOperacion.Name = "lblOperacion";
            this.lblOperacion.Size = new System.Drawing.Size(116, 21);
            this.lblOperacion.TabIndex = 3;
            this.lblOperacion.Text = "Operación (Opcional)";
            // 
            // uceActivo
            // 
            this.uceActivo.BackColor = System.Drawing.Color.Transparent;
            this.uceActivo.BackColorInternal = System.Drawing.Color.Transparent;
            this.uceActivo.Location = new System.Drawing.Point(688, 16);
            this.uceActivo.Name = "uceActivo";
            this.uceActivo.Size = new System.Drawing.Size(54, 20);
            this.uceActivo.TabIndex = 3;
            this.uceActivo.Text = "Activo";
            this.uceActivo.CheckedChanged += new System.EventHandler(this.uceActivo_CheckedChanged);
            // 
            // lblCodigo
            // 
            appearance8.BackColor = System.Drawing.Color.Transparent;
            this.lblCodigo.Appearance = appearance8;
            this.lblCodigo.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
            this.lblCodigo.Location = new System.Drawing.Point(17, 19);
            this.lblCodigo.Name = "lblCodigo";
            this.lblCodigo.Size = new System.Drawing.Size(48, 23);
            this.lblCodigo.TabIndex = 9;
            this.lblCodigo.Text = "Código";
            // 
            // txtCodigo
            // 
            this.txtCodigo.Location = new System.Drawing.Point(82, 16);
            this.txtCodigo.Name = "txtCodigo";
            this.txtCodigo.Size = new System.Drawing.Size(134, 21);
            this.txtCodigo.TabIndex = 1;
            this.txtCodigo.TextChanged += new System.EventHandler(this.txtCodigo_TextChanged);
            // 
            // lblNombre
            // 
            appearance7.BackColor = System.Drawing.Color.Transparent;
            this.lblNombre.Appearance = appearance7;
            this.lblNombre.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
            this.lblNombre.Location = new System.Drawing.Point(235, 19);
            this.lblNombre.Name = "lblNombre";
            this.lblNombre.Size = new System.Drawing.Size(46, 23);
            this.lblNombre.TabIndex = 12;
            this.lblNombre.Text = "Nombre";
            // 
            // txtNombre
            // 
            this.txtNombre.Location = new System.Drawing.Point(298, 16);
            this.txtNombre.Name = "txtNombre";
            this.txtNombre.Size = new System.Drawing.Size(353, 21);
            this.txtNombre.TabIndex = 2;
            this.txtNombre.TextChanged += new System.EventHandler(this.txtNombre_TextChanged);
            // 
            // utcDetalle
            // 
            appearance3.BackColor = System.Drawing.Color.Transparent;
            this.utcDetalle.Appearance = appearance3;
            this.utcDetalle.Controls.Add(this.ultraTabSharedControlsPage1);
            this.utcDetalle.Controls.Add(this.ultraTabPageControl1);
            this.utcDetalle.Location = new System.Drawing.Point(222, 50);
            this.utcDetalle.Name = "utcDetalle";
            this.utcDetalle.SharedControlsPage = this.ultraTabSharedControlsPage1;
            this.utcDetalle.Size = new System.Drawing.Size(568, 458);
            appearance6.BackColor = System.Drawing.Color.Transparent;
            this.utcDetalle.TabHeaderAreaAppearance = appearance6;
            this.utcDetalle.TabIndex = 14;
            ultraTab1.TabPage = this.ultraTabPageControl1;
            ultraTab1.Text = ":: Información Adicional ::";
            this.utcDetalle.Tabs.AddRange(new Infragistics.Win.UltraWinTabControl.UltraTab[] {
            ultraTab1});
            // 
            // ultraTabSharedControlsPage1
            // 
            this.ultraTabSharedControlsPage1.Location = new System.Drawing.Point(-10000, -10000);
            this.ultraTabSharedControlsPage1.Name = "ultraTabSharedControlsPage1";
            this.ultraTabSharedControlsPage1.Size = new System.Drawing.Size(564, 432);
            // 
            // utPlantilla
            // 
            this.utPlantilla.ImageTransparentColor = System.Drawing.Color.Transparent;
            this.utPlantilla.Location = new System.Drawing.Point(17, 52);
            this.utPlantilla.Name = "utPlantilla";
            this.utPlantilla.NodeConnectorColor = System.Drawing.SystemColors.ControlDark;
            ultraTreeNode1.LeftImages.Add(((object)(resources.GetObject("ultraTreeNode1.LeftImages"))));
            ultraTreeNode1.Text = "";
            this.utPlantilla.Nodes.AddRange(new Infragistics.Win.UltraWinTree.UltraTreeNode[] {
            ultraTreeNode1});
            appearance2.FontData.BoldAsString = "True";
            appearance2.FontData.ItalicAsString = "True";
            _override1.ActiveNodeAppearance = appearance2;
            this.utPlantilla.Override = _override1;
            this.utPlantilla.Size = new System.Drawing.Size(200, 424);
            this.utPlantilla.TabIndex = 15;
            this.utPlantilla.AfterSelect += new Infragistics.Win.UltraWinTree.AfterNodeSelectEventHandler(this.utPlantilla_AfterSelect);
            // 
            // ubNuevoItem
            // 
            this.ubNuevoItem.Location = new System.Drawing.Point(18, 481);
            this.ubNuevoItem.Name = "ubNuevoItem";
            this.ubNuevoItem.Size = new System.Drawing.Size(99, 23);
            this.ubNuevoItem.TabIndex = 4;
            this.ubNuevoItem.Text = "Nuevo";
            this.ubNuevoItem.Click += new System.EventHandler(this.ubNuevoItem_Click);
            // 
            // ubEliminarItem
            // 
            this.ubEliminarItem.Location = new System.Drawing.Point(123, 482);
            this.ubEliminarItem.Name = "ubEliminarItem";
            this.ubEliminarItem.Size = new System.Drawing.Size(94, 23);
            this.ubEliminarItem.TabIndex = 5;
            this.ubEliminarItem.Text = "Eliminar";
            this.ubEliminarItem.Click += new System.EventHandler(this.ubEliminarItem_Click);
            // 
            // busLineaProduccion
            // 
            this.busLineaProduccion.BackColor = System.Drawing.Color.Transparent;
            this.busLineaProduccion.Location = new System.Drawing.Point(508, 42);
            this.busLineaProduccion.Name = "busLineaProduccion";
            this.busLineaProduccion.Size = new System.Drawing.Size(171, 28);
            this.busLineaProduccion.TabIndex = 123;
            this.busLineaProduccion.Search += new System.EventHandler(this.busLineaProduccion_Search);
            // 
            // ultraLabel24
            // 
            appearance1.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel24.Appearance = appearance1;
            this.ultraLabel24.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
            this.ultraLabel24.Location = new System.Drawing.Point(377, 43);
            this.ultraLabel24.Name = "ultraLabel24";
            this.ultraLabel24.Size = new System.Drawing.Size(130, 23);
            this.ultraLabel24.TabIndex = 122;
            this.ultraLabel24.Text = "Linea de Producción";
            // 
            // FrmPlantilla
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(823, 581);
            this.Name = "FrmPlantilla";
            this.Text = "Plantilla";
            ((System.ComponentModel.ISupportInitialize)(this.ugbParent)).EndInit();
            this.ugbParent.ResumeLayout(false);
            this.ugbParent.PerformLayout();
            this.ultraTabPageControl1.ResumeLayout(false);
            this.ultraTabPageControl1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.comboMedida)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ugbRestriccione)).EndInit();
            this.ugbRestriccione.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.CheckTieneFondo)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkTieneTipoUnidad)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkTieneMaquina)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkTieneMaterial)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkTieneMedidadCerrada)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkTieneGraficos)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkTieneMedidaAbierta)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkTieneTiraRetira)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtNombreItem)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ugbServicios)).EndInit();
            this.ugbServicios.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.ugServicios)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.uceActivo)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtCodigo)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtNombre)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.utcDetalle)).EndInit();
            this.utcDetalle.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.utPlantilla)).EndInit();
            this.ResumeLayout(false);

        }