Esempio n. 1
0
 private void listBoxResult_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (updateTreeview)
     {
         resultTV.Nodes.Clear();
         if (listBoxResult.SelectedItems.Count > 0)
         {
             try
             {
                 var lastSelectedIso = listBoxResult.SelectedItems[0] as ISerializableObject;
                 if (lastSelectedIso != null)
                 {
                     System.Windows.Forms.TreeNode selectedElement = FieldDataManager.SelectionBuilder.TreeViewBuilder.displayTreeAround(lastSelectedIso);
                     resultTV.Nodes.Add(RootOf(selectedElement));
                     resultTV.ExpandAll();
                     resultTV.SelectedNode = selectedElement;
                 }
             }
             catch (Exception)
             {
                 resultTV.Nodes.Add(new System.Windows.Forms.TreeNode("No Treeview Representation Available"));
             }
         }
     }
 }
Esempio n. 2
0
        }// end fi

        #endregion
        #region //填冲商品类别信息 TrreView控件
        public void filltbProPath(object objTreeView, object obimage)
        {
            try
            {
                tbDai   = new tbDaiConnection();
                oledCon = tbDai.OledCon();
                string strAdd = "select * from tb_ProPath where ProPath='" + 0 + "'";
                oledCmd = new OleDbCommand(strAdd, oledCon);
                oledDr  = oledCmd.ExecuteReader();
                if (objTreeView.GetType().ToString() == "System.Windows.Forms.TreeView")
                {
                    System.Windows.Forms.ImageList imlist = (System.Windows.Forms.ImageList)obimage;

                    System.Windows.Forms.TreeView TV = (System.Windows.Forms.TreeView)objTreeView;
                    TV.Nodes.Clear();

                    TV.ImageList = imlist;
                    System.Windows.Forms.TreeNode TN = new System.Windows.Forms.TreeNode("商品分类", 0, 1);
                    while (oledDr.Read())
                    {
                        TN.Nodes.Add("", oledDr[1].ToString(), 0, 1);
                    }
                    TV.Nodes.Add(TN);
                    oledDr.Close();
                    TV.ExpandAll();
                }
            }//
            catch (Exception ee)
            {
            }
        }// end fi
Esempio n. 3
0
        }// end if

        #endregion
        #region //填冲客户编信息 TrreView控件
        public void filltbProPath(object objTreeView, object obimage, OleDbDataReader dr)
        {
            try
            {
                tbDai   = new tbDaiConnection();
                oledCon = tbDai.OledCon();
                oledDr  = dr;
                if (objTreeView.GetType().ToString() == "System.Windows.Forms.TreeView")
                {
                    System.Windows.Forms.ImageList imlist = (System.Windows.Forms.ImageList)obimage;

                    System.Windows.Forms.TreeView TV = (System.Windows.Forms.TreeView)objTreeView;
                    TV.Nodes.Clear();

                    TV.ImageList = imlist;
                    System.Windows.Forms.TreeNode TN = new System.Windows.Forms.TreeNode("客户编号", 0, 1);
                    while (oledDr.Read())
                    {
                        TN.Nodes.Add("", oledDr[0].ToString(), 0, 1);
                    }
                    TV.Nodes.Add(TN);
                    oledDr.Close();
                    TV.ExpandAll();
                }
            }//
            catch (Exception ee)
            {
            }
        }// end fi
Esempio n. 4
0
        public static void BindingKetCau(System.Windows.Forms.TreeView treeViewKetCau)
        {
            treeViewKetCau.Nodes.Clear();
            BLL_KetCau        obj    = new BLL_KetCau();
            List <NhomKetCau> dsNhom = obj.NhomKetCau_GetList(string.Empty);

            if (dsNhom != null)
            {
                var listNhom = (from nhom in dsNhom
                                orderby nhom.SapXep
                                select nhom);

                foreach (NhomKetCau n in listNhom)
                {
                    System.Windows.Forms.TreeNode root = treeViewKetCau.Nodes.Add(n.MaNhomKetCau.ToString(), n.TenNhomKetCau);

                    List <KetCau> dsKetCau = obj.GetList(n.MaNhomKetCau, string.Empty);
                    if (dsKetCau != null)
                    {
                        foreach (KetCau kc in dsKetCau)
                        {
                            root.Nodes.Add(kc.MaKetCau.ToString(), kc.TenKetCau);
                        }
                    }
                }

                treeViewKetCau.ExpandAll();
            }
        }
Esempio n. 5
0
        }// end if

        #endregion
        #region //填冲客户编信息 TrreView控件
        public void fillEmployee(object objTreeView, object obimage, OleDbDataReader dr)
        {
            try
            {
                tbDai   = new tbDaiConnection();
                oledCon = tbDai.OledCon();
                oledDr  = dr;
                if (objTreeView.GetType().ToString() == "System.Windows.Forms.TreeView")                //判断参数类型
                {
                    System.Windows.Forms.ImageList imlist = (System.Windows.Forms.ImageList)obimage;    //实例参数对象
                    System.Windows.Forms.TreeView  TV     = (System.Windows.Forms.TreeView)objTreeView; //实例参数对象
                    TV.Nodes.Clear();                                                                   //清除节点数据
                    TV.ImageList = imlist;                                                              //调置控件属性
                    System.Windows.Forms.TreeNode TN = new System.Windows.Forms.TreeNode("员工编号", 0, 1); //添加根节点
                    while (oledDr.Read())
                    {
                        TN.Nodes.Add("", oledDr[0].ToString(), 0, 1); //添加子节点
                    }
                    TV.Nodes.Add(TN);
                    oledDr.Close();
                    TV.ExpandAll();//展
                }
            }//
            catch (Exception ee)
            {
            }
        }// end fi
Esempio n. 6
0
        static void Main(string[] args)
        {
            // Test GetExcutingAssembly().GetTypes()
            //
            Type[] types = System.Reflection.Assembly.GetExecutingAssembly().GetTypes();
            foreach (Type _type in types)
            {
                // in UnderlyingSystemType, property "Namespace" is storing where is class namespace and
                // property "Name" is storing class name.
                Console.WriteLine($"{_type.Name}, in {_type.UnderlyingSystemType.Namespace}");
            }

            // test get classes in specific namespace
            Console.WriteLine("\n");
            var group = System.Reflection.Assembly.GetExecutingAssembly().GetTypes()
                        .Where(t => t.IsClass)
                        .GroupBy(t => t.Namespace);

            foreach (var ele in group)
            {
                Console.WriteLine("Namespace: {0}", ele.Key);
                foreach (var type in ele)
                {
                    Console.WriteLine("\t{0}", type.Name);
                }
            }

            // Test saving to tree view
            Console.WriteLine("\n");
            System.Windows.Forms.TreeView arrangeResults = GetAlgorithm(group);
            arrangeResults.Dock = System.Windows.Forms.DockStyle.Fill;
            arrangeResults.ExpandAll();
            //arrangeResults.Click += Program.TreeViewClick;
            arrangeResults.AfterSelect += Program.TreeViewAfterSelected;

            System.Windows.Forms.Form form = new System.Windows.Forms.Form();
            form.Controls.Add(arrangeResults);

            System.Windows.Forms.Application.EnableVisualStyles();
            System.Windows.Forms.Application.Run(form);

            Console.ReadLine();
        }
        public static void PopulaTreeView(System.Xml.XmlDocument xmlDoc, System.Windows.Forms.TreeView TreeXML, bool Expande)
        {
            try
            {
                // SECTION 2. Initialize the TreeView control.
                TreeXML.Nodes.Clear();
                TreeXML.Nodes.Add(new System.Windows.Forms.TreeNode(xmlDoc.DocumentElement.Name));
                System.Windows.Forms.TreeNode tNode = new System.Windows.Forms.TreeNode();
                tNode = TreeXML.Nodes[0];

                // SECTION 3. Populate the TreeView with the DOM nodes.
                AddNode(xmlDoc.DocumentElement, tNode);
                if (Expande)
                {
                    TreeXML.ExpandAll();
                }
            }
            catch (System.Xml.XmlException xmlEx)
            {
                System.Windows.Forms.MessageBox.Show(xmlEx.Message);
            }
        }
Esempio n. 8
0
 private void listBoxActualSelection_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (updateTreeview)
     {
         selectionTV.Nodes.Clear();
         if (listBoxActualSelection.SelectedItems.Count > 0)
         {
             try
             {
                 var lastSelectedContainer = listBoxActualSelection.SelectedItems[0] as FieldDataSelectionBuilder.SelectionContainer;
                 if (lastSelectedContainer != null)
                 {
                     var rootNode = FieldDataManager.SelectionBuilder.TreeViewBuilder.displayListTopDown(lastSelectedContainer.RelatedObjects, lastSelectedContainer.Root);
                     selectionTV.Nodes.Add(rootNode);
                     selectionTV.ExpandAll();
                 }
             }
             catch (Exception ex)
             {
                 selectionTV.Nodes.Add(new System.Windows.Forms.TreeNode("No Treeview Representation Available"));
             }
         }
     }
 }
Esempio n. 9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.TreeNode treeNode21 = new System.Windows.Forms.TreeNode("-Mustard");
     System.Windows.Forms.TreeNode treeNode22 = new System.Windows.Forms.TreeNode("All-Star Sandwich", new System.Windows.Forms.TreeNode[] {
         treeNode21
     });
     System.Windows.Forms.TreeNode treeNode23 = new System.Windows.Forms.TreeNode("+Onion");
     System.Windows.Forms.TreeNode treeNode24 = new System.Windows.Forms.TreeNode("Avocado Burger", new System.Windows.Forms.TreeNode[] {
         treeNode23
     });
     System.Windows.Forms.TreeNode treeNode25 = new System.Windows.Forms.TreeNode("-Mustard");
     System.Windows.Forms.TreeNode treeNode26 = new System.Windows.Forms.TreeNode("All-Star Sandwich", new System.Windows.Forms.TreeNode[] {
         treeNode25
     });
     System.Windows.Forms.TreeNode treeNode27 = new System.Windows.Forms.TreeNode("+Onion");
     System.Windows.Forms.TreeNode treeNode28 = new System.Windows.Forms.TreeNode("Avocado Burger", new System.Windows.Forms.TreeNode[] {
         treeNode27
     });
     System.Windows.Forms.TreeNode treeNode29 = new System.Windows.Forms.TreeNode("-Mustard");
     System.Windows.Forms.TreeNode treeNode30 = new System.Windows.Forms.TreeNode("All-Star Sandwich", new System.Windows.Forms.TreeNode[] {
         treeNode29
     });
     System.Windows.Forms.TreeNode treeNode31 = new System.Windows.Forms.TreeNode("+Onion");
     System.Windows.Forms.TreeNode treeNode32 = new System.Windows.Forms.TreeNode("Avocado Burger", new System.Windows.Forms.TreeNode[] {
         treeNode31
     });
     System.Windows.Forms.TreeNode treeNode33 = new System.Windows.Forms.TreeNode("-Mustard");
     System.Windows.Forms.TreeNode treeNode34 = new System.Windows.Forms.TreeNode("All-Star Sandwich", new System.Windows.Forms.TreeNode[] {
         treeNode33
     });
     System.Windows.Forms.TreeNode treeNode35 = new System.Windows.Forms.TreeNode("+Onion");
     System.Windows.Forms.TreeNode treeNode36 = new System.Windows.Forms.TreeNode("Avocado Burger", new System.Windows.Forms.TreeNode[] {
         treeNode35
     });
     System.Windows.Forms.TreeNode treeNode37 = new System.Windows.Forms.TreeNode("-Mustard");
     System.Windows.Forms.TreeNode treeNode38 = new System.Windows.Forms.TreeNode("All-Star Sandwich", new System.Windows.Forms.TreeNode[] {
         treeNode37
     });
     System.Windows.Forms.TreeNode treeNode39 = new System.Windows.Forms.TreeNode("+Onion");
     System.Windows.Forms.TreeNode treeNode40 = new System.Windows.Forms.TreeNode("Avocado Burger", new System.Windows.Forms.TreeNode[] {
         treeNode39
     });
     this.toplabelnumber = new System.Windows.Forms.Label();
     this.label1number   = new System.Windows.Forms.Label();
     this.label2number   = new System.Windows.Forms.Label();
     this.label3number   = new System.Windows.Forms.Label();
     this.label4number   = new System.Windows.Forms.Label();
     this.label5number   = new System.Windows.Forms.Label();
     this.toplabel       = new System.Windows.Forms.Label();
     this.label1         = new System.Windows.Forms.Label();
     this.label2         = new System.Windows.Forms.Label();
     this.label3         = new System.Windows.Forms.Label();
     this.label4         = new System.Windows.Forms.Label();
     this.label5         = new System.Windows.Forms.Label();
     this.button1        = new System.Windows.Forms.Button();
     this.button2        = new System.Windows.Forms.Button();
     this.button3        = new System.Windows.Forms.Button();
     this.button4        = new System.Windows.Forms.Button();
     this.button5        = new System.Windows.Forms.Button();
     this.mytable1       = new System.Windows.Forms.FlowLayoutPanel();
     this.mytable3       = new System.Windows.Forms.FlowLayoutPanel();
     this.mytable4       = new System.Windows.Forms.FlowLayoutPanel();
     this.mytable5       = new System.Windows.Forms.FlowLayoutPanel();
     this.mytable2       = new System.Windows.Forms.FlowLayoutPanel();
     this.Polling        = new System.Windows.Forms.Timer(this.components);
     treeView3           = new System.Windows.Forms.TreeView();
     treeView4           = new System.Windows.Forms.TreeView();
     treeView5           = new System.Windows.Forms.TreeView();
     treeView2           = new System.Windows.Forms.TreeView();
     treeView1           = new System.Windows.Forms.TreeView();
     this.mytable3.SuspendLayout();
     this.mytable4.SuspendLayout();
     this.mytable5.SuspendLayout();
     this.mytable2.SuspendLayout();
     this.SuspendLayout();
     //
     // toplabelnumber
     //
     this.toplabelnumber.AutoSize  = true;
     this.toplabelnumber.Font      = new System.Drawing.Font("Microsoft Sans Serif", 16F);
     this.toplabelnumber.ForeColor = System.Drawing.Color.White;
     this.toplabelnumber.Location  = new System.Drawing.Point(290, 6);
     this.toplabelnumber.Name      = "toplabelnumber";
     this.toplabelnumber.Size      = new System.Drawing.Size(84, 26);
     this.toplabelnumber.TabIndex  = 0;
     this.toplabelnumber.Text      = "0";
     //
     // label1number
     //
     this.label1number.AutoSize  = true;
     this.label1number.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.label1number.ForeColor = System.Drawing.Color.White;
     this.label1number.Location  = new System.Drawing.Point(62, 450);
     this.label1number.Name      = "label1number";
     this.label1number.Size      = new System.Drawing.Size(63, 20);
     this.label1number.TabIndex  = 7;
     this.label1number.Text      = "";
     //
     // label2number
     //
     this.label2number.AutoSize  = true;
     this.label2number.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.label2number.ForeColor = System.Drawing.Color.White;
     this.label2number.Location  = new System.Drawing.Point(250, 450);
     this.label2number.Name      = "label2number";
     this.label2number.Size      = new System.Drawing.Size(63, 20);
     this.label2number.TabIndex  = 8;
     this.label2number.Text      = "";
     //
     // label3number
     //
     this.label3number.AutoSize  = true;
     this.label3number.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.label3number.ForeColor = System.Drawing.Color.White;
     this.label3number.Location  = new System.Drawing.Point(438, 450);
     this.label3number.Name      = "label3number";
     this.label3number.Size      = new System.Drawing.Size(63, 20);
     this.label3number.TabIndex  = 9;
     this.label3number.Text      = "";
     //
     // label4number
     //
     this.label4number.AutoSize  = true;
     this.label4number.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.label4number.ForeColor = System.Drawing.Color.White;
     this.label4number.Location  = new System.Drawing.Point(626, 450);
     this.label4number.Name      = "label4number";
     this.label4number.Size      = new System.Drawing.Size(63, 20);
     this.label4number.TabIndex  = 10;
     this.label4number.Text      = "";
     //
     // label5number
     //
     this.label5number.AutoSize  = true;
     this.label5number.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.label5number.ForeColor = System.Drawing.Color.White;
     this.label5number.Location  = new System.Drawing.Point(814, 450);
     this.label5number.Name      = "label5number";
     this.label5number.Size      = new System.Drawing.Size(63, 20);
     this.label5number.TabIndex  = 11;
     this.label5number.Text      = "";
     //
     // toplabel
     //
     this.toplabel.AutoSize  = true;
     this.toplabel.Font      = new System.Drawing.Font("Microsoft Sans Serif", 16F);
     this.toplabel.ForeColor = System.Drawing.Color.White;
     this.toplabel.Location  = new System.Drawing.Point(6, 6);
     this.toplabel.Name      = "toplabel";
     this.toplabel.Size      = new System.Drawing.Size(282, 26);
     this.toplabel.TabIndex  = 1;
     this.toplabel.Text      = "Number of orders in queue: ";
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.label1.ForeColor = System.Drawing.Color.White;
     this.label1.Location  = new System.Drawing.Point(6, 450);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(57, 20);
     this.label1.TabIndex  = 2;
     this.label1.Text      = "Order: ";
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.label2.ForeColor = System.Drawing.Color.White;
     this.label2.Location  = new System.Drawing.Point(194, 450);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(57, 20);
     this.label2.TabIndex  = 3;
     this.label2.Text      = "Order: ";
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.label3.ForeColor = System.Drawing.Color.White;
     this.label3.Location  = new System.Drawing.Point(382, 450);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(57, 20);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Order: ";
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.label4.ForeColor = System.Drawing.Color.White;
     this.label4.Location  = new System.Drawing.Point(570, 450);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(57, 20);
     this.label4.TabIndex  = 5;
     this.label4.Text      = "Order: ";
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.label5.ForeColor = System.Drawing.Color.White;
     this.label5.Location  = new System.Drawing.Point(758, 450);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(57, 20);
     this.label5.TabIndex  = 6;
     this.label5.Text      = "Order: ";
     //
     // button1
     //
     this.button1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 10F);
     this.button1.ForeColor = System.Drawing.Color.White;
     this.button1.Location  = new System.Drawing.Point(6, 480);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(184, 50);
     this.button1.TabIndex  = 12;
     this.button1.Text      = "1";
     this.button1.Click    += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 10F);
     this.button2.ForeColor = System.Drawing.Color.White;
     this.button2.Location  = new System.Drawing.Point(194, 480);
     this.button2.Name      = "button2";
     this.button2.Size      = new System.Drawing.Size(184, 50);
     this.button2.TabIndex  = 13;
     this.button2.Text      = "2";
     this.button2.Click    += new System.EventHandler(this.button2_Click);
     //
     // button3
     //
     this.button3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 10F);
     this.button3.ForeColor = System.Drawing.Color.White;
     this.button3.Location  = new System.Drawing.Point(382, 480);
     this.button3.Name      = "button3";
     this.button3.Size      = new System.Drawing.Size(184, 50);
     this.button3.TabIndex  = 14;
     this.button3.Text      = "3";
     this.button3.Click    += new System.EventHandler(this.button3_Click);
     //
     // button4
     //
     this.button4.Font      = new System.Drawing.Font("Microsoft Sans Serif", 10F);
     this.button4.ForeColor = System.Drawing.Color.White;
     this.button4.Location  = new System.Drawing.Point(570, 480);
     this.button4.Name      = "button4";
     this.button4.Size      = new System.Drawing.Size(184, 50);
     this.button4.TabIndex  = 15;
     this.button4.Text      = "4";
     this.button4.Click    += new System.EventHandler(this.button4_Click);
     //
     // button5
     //
     this.button5.Font      = new System.Drawing.Font("Microsoft Sans Serif", 10F);
     this.button5.ForeColor = System.Drawing.Color.White;
     this.button5.Location  = new System.Drawing.Point(758, 480);
     this.button5.Name      = "button5";
     this.button5.Size      = new System.Drawing.Size(184, 50);
     this.button5.TabIndex  = 16;
     this.button5.Text      = "5";
     this.button5.Click    += new System.EventHandler(this.button5_Click);
     //
     // mytable1
     //
     this.mytable1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.mytable1.ForeColor   = System.Drawing.Color.White;
     this.mytable1.Location    = new System.Drawing.Point(6, 40);
     this.mytable1.Name        = "mytable1";
     this.mytable1.Size        = new System.Drawing.Size(184, 404);
     this.mytable1.TabIndex    = 17;
     this.mytable1.Paint      += new System.Windows.Forms.PaintEventHandler(this.mytable1_Paint);
     //
     // mytable3
     //
     this.mytable3.Controls.Add(treeView3);
     this.mytable3.ForeColor = System.Drawing.Color.White;
     this.mytable3.Location  = new System.Drawing.Point(382, 40);
     this.mytable3.Name      = "mytable3";
     this.mytable3.Size      = new System.Drawing.Size(184, 404);
     this.mytable3.TabIndex  = 19;
     //
     // treeView3
     //
     treeView3.BackColor        = System.Drawing.Color.Black;
     treeView3.BorderStyle      = System.Windows.Forms.BorderStyle.FixedSingle;
     treeView3.CausesValidation = false;
     treeView3.Font             = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     treeView3.ForeColor        = System.Drawing.Color.White;
     treeView3.ItemHeight       = 24;
     treeView3.LineColor        = System.Drawing.Color.DimGray;
     treeView3.Location         = new System.Drawing.Point(0, 0);
     treeView3.Margin           = new System.Windows.Forms.Padding(0);
     treeView3.Name             = "treeView3";
     treeNode21.BackColor       = System.Drawing.Color.Black;
     treeNode21.Name            = "Mod";
     treeNode21.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     treeNode21.Text            = "-Mustard";
     treeNode22.BackColor       = System.Drawing.Color.Black;
     treeNode22.Checked         = true;
     treeNode22.Name            = "Item";
     treeNode22.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     treeNode22.Text            = "All-Star Sandwich";
     treeNode23.BackColor       = System.Drawing.Color.Black;
     treeNode23.Name            = "Mod";
     treeNode23.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F);
     treeNode23.Text            = "+Onion";
     treeNode24.BackColor       = System.Drawing.Color.Black;
     treeNode24.Checked         = true;
     treeNode24.Name            = "Node0";
     treeNode24.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F);
     treeNode24.Text            = "Avocado Burger";
     treeView3.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode22,
         treeNode24
     });
     treeView3.Scrollable = false;
     treeView3.Size       = new System.Drawing.Size(184, 404);
     treeView3.TabIndex   = 2;
     treeView3.TabStop    = false;
     //
     // mytable4
     //
     this.mytable4.Controls.Add(treeView4);
     this.mytable4.ForeColor = System.Drawing.Color.White;
     this.mytable4.Location  = new System.Drawing.Point(570, 40);
     this.mytable4.Name      = "mytable4";
     this.mytable4.Size      = new System.Drawing.Size(184, 404);
     this.mytable4.TabIndex  = 20;
     //
     // treeView4
     //
     treeView4.BackColor        = System.Drawing.Color.Black;
     treeView4.BorderStyle      = System.Windows.Forms.BorderStyle.FixedSingle;
     treeView4.CausesValidation = false;
     treeView4.Font             = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     treeView4.ForeColor        = System.Drawing.Color.White;
     treeView4.ItemHeight       = 24;
     treeView4.LineColor        = System.Drawing.Color.DimGray;
     treeView4.Location         = new System.Drawing.Point(0, 0);
     treeView4.Margin           = new System.Windows.Forms.Padding(0);
     treeView4.Name             = "treeView4";
     treeNode25.BackColor       = System.Drawing.Color.Black;
     treeNode25.Name            = "Mod";
     treeNode25.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     treeNode25.Text            = "-Mustard";
     treeNode26.BackColor       = System.Drawing.Color.Black;
     treeNode26.Checked         = true;
     treeNode26.Name            = "Item";
     treeNode26.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     treeNode26.Text            = "All-Star Sandwich";
     treeNode27.BackColor       = System.Drawing.Color.Black;
     treeNode27.Name            = "Mod";
     treeNode27.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F);
     treeNode27.Text            = "+Onion";
     treeNode28.BackColor       = System.Drawing.Color.Black;
     treeNode28.Checked         = true;
     treeNode28.Name            = "Node0";
     treeNode28.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F);
     treeNode28.Text            = "Avocado Burger";
     treeView4.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode26,
         treeNode28
     });
     treeView4.Scrollable = false;
     treeView4.Size       = new System.Drawing.Size(184, 404);
     treeView4.TabIndex   = 2;
     treeView4.TabStop    = false;
     //
     // mytable5
     //
     this.mytable5.Controls.Add(treeView5);
     this.mytable5.ForeColor = System.Drawing.Color.White;
     this.mytable5.Location  = new System.Drawing.Point(758, 40);
     this.mytable5.Name      = "mytable5";
     this.mytable5.Size      = new System.Drawing.Size(184, 404);
     this.mytable5.TabIndex  = 21;
     //
     // treeView5
     //
     treeView5.BackColor        = System.Drawing.Color.Black;
     treeView5.BorderStyle      = System.Windows.Forms.BorderStyle.FixedSingle;
     treeView5.CausesValidation = false;
     treeView5.Font             = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     treeView5.ForeColor        = System.Drawing.Color.White;
     treeView5.ItemHeight       = 24;
     treeView5.LineColor        = System.Drawing.Color.DimGray;
     treeView5.Location         = new System.Drawing.Point(0, 0);
     treeView5.Margin           = new System.Windows.Forms.Padding(0);
     treeView5.Name             = "treeView5";
     treeNode29.BackColor       = System.Drawing.Color.Black;
     treeNode29.Name            = "Mod";
     treeNode29.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     treeNode29.Text            = "-Mustard";
     treeNode30.BackColor       = System.Drawing.Color.Black;
     treeNode30.Checked         = true;
     treeNode30.Name            = "Item";
     treeNode30.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     treeNode30.Text            = "All-Star Sandwich";
     treeNode31.BackColor       = System.Drawing.Color.Black;
     treeNode31.Name            = "Mod";
     treeNode31.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F);
     treeNode31.Text            = "+Onion";
     treeNode32.BackColor       = System.Drawing.Color.Black;
     treeNode32.Checked         = true;
     treeNode32.Name            = "Node0";
     treeNode32.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F);
     treeNode32.Text            = "Avocado Burger";
     treeView5.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode30,
         treeNode32
     });
     treeView5.Scrollable = false;
     treeView5.Size       = new System.Drawing.Size(184, 404);
     treeView5.TabIndex   = 2;
     treeView5.TabStop    = false;
     //
     // mytable2
     //
     this.mytable2.Controls.Add(treeView2);
     this.mytable2.ForeColor = System.Drawing.Color.White;
     this.mytable2.Location  = new System.Drawing.Point(194, 40);
     this.mytable2.Name      = "mytable2";
     this.mytable2.Size      = new System.Drawing.Size(184, 404);
     this.mytable2.TabIndex  = 18;
     //
     // treeView2
     //
     treeView2.BackColor        = System.Drawing.Color.Black;
     treeView2.BorderStyle      = System.Windows.Forms.BorderStyle.FixedSingle;
     treeView2.CausesValidation = false;
     treeView2.Font             = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     treeView2.ForeColor        = System.Drawing.Color.White;
     treeView2.ItemHeight       = 24;
     treeView2.LineColor        = System.Drawing.Color.DimGray;
     treeView2.Location         = new System.Drawing.Point(0, 0);
     treeView2.Margin           = new System.Windows.Forms.Padding(0);
     treeView2.Name             = "treeView2";
     treeNode33.BackColor       = System.Drawing.Color.Black;
     treeNode33.Name            = "Mod";
     treeNode33.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     treeNode33.Text            = "-Mustard";
     treeNode34.BackColor       = System.Drawing.Color.Black;
     treeNode34.Checked         = true;
     treeNode34.Name            = "Item";
     treeNode34.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     treeNode34.Text            = "All-Star Sandwich";
     treeNode35.BackColor       = System.Drawing.Color.Black;
     treeNode35.Name            = "Mod";
     treeNode35.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F);
     treeNode35.Text            = "+Onion";
     treeNode36.BackColor       = System.Drawing.Color.Black;
     treeNode36.Checked         = true;
     treeNode36.Name            = "Node0";
     treeNode36.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F);
     treeNode36.Text            = "Avocado Burger";
     treeView2.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode34,
         treeNode36
     });
     treeView2.Scrollable = false;
     treeView2.Size       = new System.Drawing.Size(184, 404);
     treeView2.TabIndex   = 1;
     treeView2.TabStop    = false;
     //
     // treeView1
     //
     treeView1.BackColor        = System.Drawing.Color.Black;
     treeView1.BorderStyle      = System.Windows.Forms.BorderStyle.FixedSingle;
     treeView1.CausesValidation = false;
     treeView1.Font             = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     treeView1.ForeColor        = System.Drawing.Color.White;
     treeView1.ItemHeight       = 24;
     treeView1.LineColor        = System.Drawing.Color.DimGray;
     treeView1.Location         = new System.Drawing.Point(6, 40);
     treeView1.Margin           = new System.Windows.Forms.Padding(0);
     treeView1.Name             = "treeView1";
     treeNode37.BackColor       = System.Drawing.Color.Black;
     treeNode37.Name            = "Mod";
     treeNode37.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     treeNode37.Text            = "-Mustard";
     treeNode38.BackColor       = System.Drawing.Color.Black;
     treeNode38.Checked         = true;
     treeNode38.Name            = "Item";
     treeNode38.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     treeNode38.Text            = "All-Star Sandwich";
     treeNode39.BackColor       = System.Drawing.Color.Black;
     treeNode39.Name            = "Mod";
     treeNode39.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F);
     treeNode39.Text            = "+Onion";
     treeNode40.BackColor       = System.Drawing.Color.Black;
     treeNode40.Checked         = true;
     treeNode40.Name            = "Node0";
     treeNode40.NodeFont        = new System.Drawing.Font("Microsoft Sans Serif", 14.25F);
     treeNode40.Text            = "Avocado Burger";
     treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode38,
         treeNode40
     });
     treeView1.Scrollable      = false;
     treeView1.Size            = new System.Drawing.Size(184, 404);
     treeView1.TabIndex        = 0;
     treeView1.TabStop         = false;
     treeView1.BeforeCollapse += new System.Windows.Forms.TreeViewCancelEventHandler(this.treeView1_BeforeCollapse);
     treeView1.AfterSelect    += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect_1);
     treeView1.ExpandAll();
     treeView2.ExpandAll();
     treeView3.ExpandAll();
     treeView4.ExpandAll();
     treeView5.ExpandAll();
     //
     // Polling
     //
     this.Polling.Interval = 5000;
     this.Polling.Tick    += new System.EventHandler(this.timer1_Tick);
     //
     // Form1
     //
     this.BackColor  = System.Drawing.Color.Black;
     this.ClientSize = new System.Drawing.Size(952, 534);
     this.Controls.Add(treeView1);
     this.Controls.Add(this.mytable1);
     this.Controls.Add(this.mytable2);
     this.Controls.Add(this.mytable3);
     this.Controls.Add(this.mytable4);
     this.Controls.Add(this.mytable5);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.button4);
     this.Controls.Add(this.button5);
     this.Controls.Add(this.toplabel);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.toplabelnumber);
     this.Controls.Add(this.label5number);
     this.Controls.Add(this.label4number);
     this.Controls.Add(this.label3number);
     this.Controls.Add(this.label2number);
     this.Controls.Add(this.label1number);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Kitchen Interface";
     this.mytable3.ResumeLayout(false);
     this.mytable4.ResumeLayout(false);
     this.mytable5.ResumeLayout(false);
     this.mytable2.ResumeLayout(false);
     this.mytable1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }