Beispiel #1
0
        public void Test()
        {
            // 建立对象,并对其进行两次装饰。 bold = false, color= black
            IText text = new TextObject();

            text = new BoldDecorator(text);
            text = new ColorDecorator(text);
            Assert.AreEqual <string>("<Black>hello</Black>", text.Content);

            // 动态找到需要更新的Decorator并修改相应属性
            // bold = false, color = red
            ColorState newColorState = new ColorState();

            newColorState.Color = Color.Red;
            IDecorator root = (IDecorator)text;

            root.Refresh <ColorDecorator>(newColorState);
            Assert.AreEqual <string>("<Red>hello</Red>", text.Content);

            // 动态找到需要更新的Decorator并修改相应属性
            // bold = true, color = red
            BoldState newBoldState = new BoldState();

            newBoldState.IsBold = true;
            root.Refresh <BoldDecorator>(newBoldState);
            Assert.AreEqual <string>("<Red><b>hello</b></Red>", text.Content);
        }
        public override void BindToParkitect(GameObject hider, AssetBundle bundle)
        {
            base.BindToParkitect(hider, bundle);

            BaseDecorator        baseDecorator     = DecoratorByInstance <BaseDecorator>();
            CategoryDecorator    categoryDecorator = DecoratorByInstance <CategoryDecorator>();
            ColorDecorator       colorDecorator    = DecoratorByInstance <ColorDecorator>();
            BoundingBoxDecorator boxDecorator      = DecoratorByInstance <BoundingBoxDecorator>();

            GameObject go = Instantiate(bundle.LoadAsset <GameObject>(Key));

            Wall wall = go.AddComponent <Wall>();

            wall.name        = Key;
            wall.categoryTag = categoryDecorator.Category;
            wall.price       = baseDecorator.Price;
            wall.setDisplayName(baseDecorator.InGameName);
            wall.dontSerialize = true;
            wall.isPreview     = true;

            if (colorDecorator.IsRecolorable)
            {
                CustomColors colors = go.AddComponent <CustomColors>();
                colors.setColors(colorDecorator.Colors.ToArray());
            }

            foreach (var box in boxDecorator.BoundingBoxes)
            {
                var b = go.AddComponent <BoundingBox>();
                b.setBounds(box.Bounds);
            }
        }
Beispiel #3
0
    public override void BindToParkitect(GameObject hider, AssetBundle bundle)
    {
        BaseDecorator        baseDecorator     = DecoratorByInstance <BaseDecorator>();
        SeatDecorator        seatDecorator     = DecoratorByInstance <SeatDecorator>();
        ColorDecorator       colorDecorator    = DecoratorByInstance <ColorDecorator>();
        BoundingBoxDecorator boxDecorator      = DecoratorByInstance <BoundingBoxDecorator>();
        CategoryDecorator    categoryDecorator = DecoratorByInstance <CategoryDecorator>();

        GameObject gameObject = Instantiate(bundle.LoadAsset <GameObject>(Key));;

        gameObject.transform.parent = hider.transform;

        _seat      = gameObject.AddComponent <Seating>();
        _seat.name = Key;

        RemapUtility.RemapMaterials(gameObject);

        baseDecorator.Decorate(gameObject, hider, this, bundle);
        colorDecorator.Decorate(gameObject, hider, this, bundle);
        categoryDecorator.Decorate(gameObject, hider, this, bundle);

        foreach (var box in boxDecorator.BoundingBoxes)
        {
            var b = Prefab.AddComponent <BoundingBox>();
            b.setBounds(box.Bounds);
        }

        AssetManager.Instance.registerObject(_seat);
    }
Beispiel #4
0
        public void CreatePorscheWithColor()
        {
            Car car = new Porsche();

            car = new ColorDecorator(car);

            Assert.Equal("Porsche + color", car.Name);
            Assert.Equal(100250, car.Cost);
        }
Beispiel #5
0
        public void CreateTrabantWithColor()
        {
            Car car = new Trabant();

            car = new ColorDecorator(car);

            Assert.Equal("Trabant + color", car.Name);
            Assert.Equal(5250, car.Cost);
        }
Beispiel #6
0
        public void DecorateProductWithColorTest()
        {
            IStatue colorBaseStatue = new ColorDecorator(_baseStatue);

            _descriptionWords = colorBaseStatue.GetDescription().Split();

            //Color will be added before the word "Statue"
            Assert.IsTrue(Enum.IsDefined(typeof(Colors), _descriptionWords[0]));
        }
Beispiel #7
0
        public void CreatePorscheWithColorAndLeather()
        {
            Car car = new Porsche();

            car = new ColorDecorator(car);
            car = new LeatherDecorator(car);

            Assert.Equal("Porsche + color + leather", car.Name);
            Assert.Equal(100700, car.Cost);
        }
Beispiel #8
0
        public void CreateTrabantWithColorAndLeather()
        {
            Car car = new Trabant();

            car = new ColorDecorator(car);
            car = new LeatherDecorator(car);

            Assert.Equal("Trabant + color + leather", car.Name);
            Assert.Equal(5700, car.Cost);
        }
Beispiel #9
0
        public void Test()
        {
            // 建立对象,并对其进行两次装饰
            IText text = new TextObject();

            text = new BoldDecorator(text);
            text = new ColorDecorator(text);
            Assert.AreEqual <string>("<color><b>hello</b></color>", text.Content);

            // 建立对象,只对其进行1次装饰
            text = new TextObject();
            text = new ColorDecorator(text);
            Assert.AreEqual <string>("<color>hello</color>", text.Content);

            // 通过装饰,撤销某些操作
            text = new BlockAllDecorator(text);
            Assert.IsTrue(string.IsNullOrEmpty(text.Content));
        }
    public override void BindToParkitect(GameObject hider, AssetBundle bundle)
    {
        BaseDecorator        baseDecorator        = DecoratorByInstance <BaseDecorator>();
        WaypointDecorator    waypointDecorator    = DecoratorByInstance <WaypointDecorator>();
        BoundingBoxDecorator boundingBoxDecorator = DecoratorByInstance <BoundingBoxDecorator>();
        ColorDecorator       colorDecorator       = DecoratorByInstance <ColorDecorator>();

        GameObject gameObject = Instantiate(bundle.LoadAsset <GameObject>(Key));

        RemapUtility.RemapMaterials(gameObject);

        waypointDecorator.Decorate(gameObject, hider, this, bundle);


        CustomFlatRide flatride = gameObject.AddComponent <CustomFlatRide>();

        baseDecorator.Decorate(gameObject, hider, this, bundle);
        colorDecorator.Decorate(gameObject, hider, this, bundle);


        _flatRide                 = flatride;
        _flatRide.name            = Key;
        flatride.xSize            = XSize;
        flatride.zSize            = ZSize;
        flatride.excitementRating = Excitement;
        flatride.intensityRating  = Intensity;
        flatride.nauseaRating     = Nausea;


        RestraintRotationController controller = gameObject.AddComponent <RestraintRotationController>();

        controller.closedAngles = ClosedAngleRetraints;


        //Basic FlatRide Settings
        flatride.fenceStyle            = AssetManager.Instance.rideFenceStyles.rideFenceStyles[0].identifier;
        flatride.entranceGO            = AssetManager.Instance.attractionEntranceGO;
        flatride.exitGO                = AssetManager.Instance.attractionExitGO;
        flatride.categoryTag           = FlatRideCategory;
        flatride.defaultEntranceFee    = 1f;
        flatride.entranceExitBuilderGO = AssetManager.Instance.flatRideEntranceExitBuilderGO;

        AssetManager.Instance.registerObject(_flatRide);
    }
        public void Test()
        {
            //建立对象,并对其进行两次装饰
            IText text = new TextObject();

            text = new BoldDecorator(text);
            text = new ColorDecorator(text);

            Assert.AreEqual("<color><b>Hello<b/><color/>", text.Content);

            //建立对象,并对其进行一次装饰
            text = new TextObject();
            text = new ColorDecorator(text);
            Assert.AreEqual("<color>Hello<color/>", text.Content);

            //通过装饰,撤销某些操作
            text = new BlockAllDecorator(text);
            Assert.IsTrue(string.IsNullOrEmpty(text.Content));
        }
        /// <summary>
        ///     Creates a product and returns it
        /// </summary>
        /// <param name="numberOfDecorations">
        ///     How many decorations to have on statue
        /// </param>
        /// <returns>
        ///     IStatue Returns a product
        /// </returns>
        public IStatue CreateProduct(int numberOfDecorations)
        {
            IStatue statue = new Statue();

            for (var i = 0; i < numberOfDecorations; i++)
            {
                var value = Client.Rnd.Next(1, 4);

                switch (value)
                {
                case 1:
                    if (CanUseDecoration(statue.GetDescription(), "jewel"))
                    {
                        var jewelDecoratedStatue = new JewelDecorator(statue);
                        statue = jewelDecoratedStatue;
                        break;
                    }
                    i--;
                    break;

                case 2:
                    if (CanUseDecoration(statue.GetDescription(), "sticker"))
                    {
                        var stickerDecoratedStatue = new StickerDecorator(statue);
                        statue = stickerDecoratedStatue;
                        break;
                    }
                    i--;
                    break;

                case 3:
                    if (CanUseDecoration(statue.GetDescription(), "color"))
                    {
                        var colorDecoratedStatue = new ColorDecorator(statue);
                        statue = colorDecoratedStatue;
                        break;
                    }
                    i--;
                    break;
                }
            }
            return(statue);
        }
    public override void BindToParkitect(GameObject hider, AssetBundle bundle)
    {
        BaseDecorator        baseDecorator     = DecoratorByInstance <BaseDecorator>();
        GridDecorator        gridDecorator     = DecoratorByInstance <GridDecorator>();
        CategoryDecorator    categoryDecorator = DecoratorByInstance <CategoryDecorator>();
        ColorDecorator       colorDecorator    = DecoratorByInstance <ColorDecorator>();
        BoundingBoxDecorator boxDecorator      = DecoratorByInstance <BoundingBoxDecorator>();

        GameObject gameObject = Instantiate(bundle.LoadAsset <GameObject>(Key));

        gameObject.transform.parent = hider.transform;

        _deco      = gameObject.AddComponent <Deco>();
        _deco.name = Key;

        _deco.buildOnLayerMask        = 4096;
        _deco.heightChangeDelta       = gridDecorator.HeightDelta;
        _deco.defaultGridSubdivision  = gridDecorator.GridSubdivision;
        _deco.buildOnGrid             = gridDecorator.Grid;
        _deco.defaultSnapToGridCenter = gridDecorator.Snap;

        _deco.isPreview     = true;
        _deco.isStatic      = true;
        _deco.dontSerialize = true;

        RemapUtility.RemapMaterials(gameObject);

        baseDecorator.Decorate(gameObject, hider, this, bundle);
        colorDecorator.Decorate(gameObject, hider, this, bundle);
        categoryDecorator.Decorate(gameObject, hider, this, bundle);


        foreach (var box in boxDecorator.BoundingBoxes)
        {
            var b = gameObject.AddComponent <BoundingBox>();
            b.setBounds(box.Bounds);
        }

        AssetManager.Instance.registerObject(_deco);
    }
 private void InitializeComponent()
 {
     dotNetLab.Widgets.UIBinding.UIElementBinderInfo uIElementBinderInfo = new dotNetLab.Widgets.UIBinding.UIElementBinderInfo();
     mobileTextBox4  = new dotNetLab.Widgets.MobileTextBox();
     colorDecorator1 = new dotNetLab.Widgets.ColorDecorator();
     card2           = new dotNetLab.Widgets.Card();
     lnk_OpenCurrentProjectFolder = new System.Windows.Forms.LinkLabel();
     lnk_CommunicationWizard      = new System.Windows.Forms.LinkLabel();
     linkLabel1              = new System.Windows.Forms.LinkLabel();
     label3                  = new System.Windows.Forms.Label();
     cbx_ApplyPriority       = new dotNetLab.Widgets.Toggle();
     lnk_UseDataCenter       = new System.Windows.Forms.LinkLabel();
     lnk_ManualRun           = new System.Windows.Forms.LinkLabel();
     label2                  = new System.Windows.Forms.Label();
     label1                  = new System.Windows.Forms.Label();
     lnk_Makeup              = new System.Windows.Forms.LinkLabel();
     lnk_RetriveLogs         = new System.Windows.Forms.LinkLabel();
     lnk_CommunicationConfig = new System.Windows.Forms.LinkLabel();
     textBlock2              = new dotNetLab.Widgets.TextBlock();
     card1 = new dotNetLab.Widgets.Card();
     cmbx_DeleteProject = new System.Windows.Forms.ComboBox();
     cmbx_NewProjectBaseOnWhichProject = new System.Windows.Forms.ComboBox();
     cmbx_CurrentProjectName           = new System.Windows.Forms.ComboBox();
     btn_DeleteProject = new dotNetLab.Widgets.MobileButton();
     textBlock5        = new dotNetLab.Widgets.TextBlock();
     txb_NewProject    = new dotNetLab.Widgets.MobileTextBox();
     textBlock6        = new dotNetLab.Widgets.TextBlock();
     textBlock4        = new dotNetLab.Widgets.TextBlock();
     textBlock3        = new dotNetLab.Widgets.TextBlock();
     textBlock1        = new dotNetLab.Widgets.TextBlock();
     card2.SuspendLayout();
     card1.SuspendLayout();
     SuspendLayout();
     tipper.Location                             = new System.Drawing.Point(297, 446);
     mobileTextBox4.ActiveColor                  = System.Drawing.Color.Cyan;
     mobileTextBox4.BackColor                    = System.Drawing.Color.Transparent;
     uIElementBinderInfo.DBEngineIndex           = 0;
     uIElementBinderInfo.EnableCheckBox_One_Zero = false;
     uIElementBinderInfo.FieldName               = "Val";
     uIElementBinderInfo.Filter                  = "Name='AutoClearTime' ";
     uIElementBinderInfo.Ptr                     = null;
     uIElementBinderInfo.StoreInDB               = true;
     uIElementBinderInfo.StoreIntoDBRealTime     = true;
     uIElementBinderInfo.TableName               = "App_Extension_Data_Table";
     uIElementBinderInfo.ThisControl             = mobileTextBox4;
     mobileTextBox4.DataBindingInfo              = uIElementBinderInfo;
     mobileTextBox4.DoubleValue                  = double.NaN;
     mobileTextBox4.EnableMobileRound            = true;
     mobileTextBox4.EnableNullValue              = false;
     mobileTextBox4.FillColor                    = System.Drawing.Color.Transparent;
     mobileTextBox4.FloatValue                   = float.NaN;
     mobileTextBox4.Font                         = new System.Drawing.Font("微软雅黑", 13f);
     mobileTextBox4.ForeColor                    = System.Drawing.Color.Black;
     mobileTextBox4.GreyPattern                  = false;
     mobileTextBox4.IntValue                     = -2147483648;
     mobileTextBox4.LineThickness                = 2f;
     mobileTextBox4.Location                     = new System.Drawing.Point(86, 259);
     mobileTextBox4.MainBindableProperty         = "";
     mobileTextBox4.Name                         = "mobileTextBox4";
     mobileTextBox4.Radius                       = 29;
     mobileTextBox4.Size                         = new System.Drawing.Size(73, 30);
     mobileTextBox4.StaticColor                  = System.Drawing.Color.Gray;
     mobileTextBox4.TabIndex                     = 3;
     mobileTextBox4.TextAlignment                = System.Windows.Forms.HorizontalAlignment.Center;
     mobileTextBox4.TextBackColor                = System.Drawing.SystemColors.Window;
     mobileTextBox4.TextBoxStyle                 = dotNetLab.Widgets.MobileTextBox.TextBoxStyles.Mobile;
     mobileTextBox4.UIElementBinders             = null;
     mobileTextBox4.WhitePattern                 = false;
     colorDecorator1.BackColor                   = System.Drawing.Color.White;
     colorDecorator1.DataBindingInfo             = null;
     colorDecorator1.Location                    = new System.Drawing.Point(10, 466);
     colorDecorator1.MainBindableProperty        = "";
     colorDecorator1.Name                        = "colorDecorator1";
     colorDecorator1.Size                        = new System.Drawing.Size(150, 53);
     colorDecorator1.TabIndex                    = 1;
     colorDecorator1.UIElementBinders            = null;
     card2.BackColor                             = System.Drawing.Color.Transparent;
     card2.BorderColor                           = System.Drawing.Color.Gray;
     card2.BorderThickness                       = 0;
     card2.Controls.Add(lnk_OpenCurrentProjectFolder);
     card2.Controls.Add(lnk_CommunicationWizard);
     card2.Controls.Add(linkLabel1);
     card2.Controls.Add(label3);
     card2.Controls.Add(cbx_ApplyPriority);
     card2.Controls.Add(lnk_UseDataCenter);
     card2.Controls.Add(lnk_ManualRun);
     card2.Controls.Add(label2);
     card2.Controls.Add(label1);
     card2.Controls.Add(mobileTextBox4);
     card2.Controls.Add(lnk_Makeup);
     card2.Controls.Add(lnk_RetriveLogs);
     card2.Controls.Add(lnk_CommunicationConfig);
     card2.Controls.Add(textBlock2);
     card2.CornerAlignment                     = dotNetLab.Widgets.Alignments.All;
     card2.DataBindingInfo                     = null;
     card2.Font                                = new System.Drawing.Font("微软雅黑", 11f);
     card2.HeadColor                           = System.Drawing.Color.Purple;
     card2.HeaderAlignment                     = dotNetLab.Widgets.Alignments.Right;
     card2.HeadHeight                          = 30;
     card2.ImagePos                            = new System.Drawing.Point(0, 0);
     card2.ImageSize                           = new System.Drawing.Size(0, 0);
     card2.Location                            = new System.Drawing.Point(327, 77);
     card2.MainBindableProperty                = "card1";
     card2.Name                                = "card2";
     card2.NormalColor                         = System.Drawing.Color.Snow;
     card2.Radius                              = 10;
     card2.Size                                = new System.Drawing.Size(247, 383);
     card2.Source                              = null;
     card2.TabIndex                            = 2;
     card2.Text                                = "card1";
     card2.UIElementBinders                    = null;
     lnk_OpenCurrentProjectFolder.AutoSize     = true;
     lnk_OpenCurrentProjectFolder.Location     = new System.Drawing.Point(48, 155);
     lnk_OpenCurrentProjectFolder.Name         = "lnk_OpenCurrentProjectFolder";
     lnk_OpenCurrentProjectFolder.Size         = new System.Drawing.Size(129, 20);
     lnk_OpenCurrentProjectFolder.TabIndex     = 10;
     lnk_OpenCurrentProjectFolder.TabStop      = true;
     lnk_OpenCurrentProjectFolder.Text         = "打开当前作业目录";
     lnk_OpenCurrentProjectFolder.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(lnk_OpenCurrentProjectFolder_LinkClicked);
     lnk_CommunicationWizard.AutoSize          = true;
     lnk_CommunicationWizard.Location          = new System.Drawing.Point(80, 122);
     lnk_CommunicationWizard.Name              = "lnk_CommunicationWizard";
     lnk_CommunicationWizard.Size              = new System.Drawing.Size(54, 20);
     lnk_CommunicationWizard.TabIndex          = 10;
     lnk_CommunicationWizard.TabStop           = true;
     lnk_CommunicationWizard.Text              = "通讯表";
     lnk_CommunicationWizard.LinkClicked      += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(lnk_CommunicationWizard_LinkClicked);
     linkLabel1.AutoSize                       = true;
     linkLabel1.Location                       = new System.Drawing.Point(75, 83);
     linkLabel1.Name                           = "linkLabel1";
     linkLabel1.Size                           = new System.Drawing.Size(69, 20);
     linkLabel1.TabIndex                       = 10;
     linkLabel1.TabStop                        = true;
     linkLabel1.Text                           = "作业管理";
     linkLabel1.LinkClicked                   += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(linkLabel1_LinkClicked);
     label3.AutoSize                           = true;
     label3.Location                           = new System.Drawing.Point(11, 190);
     label3.Name                               = "label3";
     label3.Size                               = new System.Drawing.Size(69, 20);
     label3.TabIndex                           = 9;
     label3.Text                               = "权限管理";
     cbx_ApplyPriority.BackColor               = System.Drawing.Color.Transparent;
     cbx_ApplyPriority.BlockColor              = System.Drawing.Color.DarkGray;
     cbx_ApplyPriority.BorderColor             = System.Drawing.Color.DarkGray;
     cbx_ApplyPriority.BottomColor             = System.Drawing.Color.DodgerBlue;
     cbx_ApplyPriority.Checked                 = false;
     cbx_ApplyPriority.DataBindingInfo         = null;
     cbx_ApplyPriority.Location                = new System.Drawing.Point(99, 189);
     cbx_ApplyPriority.MainBindableProperty    = "";
     cbx_ApplyPriority.Name                    = "cbx_ApplyPriority";
     cbx_ApplyPriority.Size                    = new System.Drawing.Size(45, 22);
     cbx_ApplyPriority.TabIndex                = 8;
     cbx_ApplyPriority.UIElementBinders        = null;
     cbx_ApplyPriority.Click                  += new System.EventHandler(cbx_ApplyPriority_Click);
     lnk_UseDataCenter.AutoSize                = true;
     lnk_UseDataCenter.Location                = new System.Drawing.Point(63, 226);
     lnk_UseDataCenter.Name                    = "lnk_UseDataCenter";
     lnk_UseDataCenter.Size                    = new System.Drawing.Size(99, 20);
     lnk_UseDataCenter.TabIndex                = 5;
     lnk_UseDataCenter.TabStop                 = true;
     lnk_UseDataCenter.Text                    = "使用数据中心";
     lnk_UseDataCenter.LinkClicked            += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(lnk_UseDataCenter_LinkClicked);
     lnk_ManualRun.AutoSize                    = true;
     lnk_ManualRun.Location                    = new System.Drawing.Point(75, 48);
     lnk_ManualRun.Name                        = "lnk_ManualRun";
     lnk_ManualRun.Size                        = new System.Drawing.Size(69, 20);
     lnk_ManualRun.TabIndex                    = 5;
     lnk_ManualRun.TabStop                     = true;
     lnk_ManualRun.Text                        = "手动操作";
     lnk_ManualRun.LinkClicked                += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(lnk_ManualRun_LinkClicked);
     label2.AutoSize                           = true;
     label2.Location                           = new System.Drawing.Point(165, 264);
     label2.Name                               = "label2";
     label2.Size                               = new System.Drawing.Size(24, 20);
     label2.TabIndex                           = 4;
     label2.Text                               = "天";
     label1.AutoSize                           = true;
     label1.Location                           = new System.Drawing.Point(11, 263);
     label1.Name                               = "label1";
     label1.Size                               = new System.Drawing.Size(69, 20);
     label1.TabIndex                           = 4;
     label1.Text                               = "自动清理";
     lnk_Makeup.AutoSize                       = true;
     lnk_Makeup.Location                       = new System.Drawing.Point(75, 331);
     lnk_Makeup.Name                           = "lnk_Makeup";
     lnk_Makeup.Size                           = new System.Drawing.Size(54, 20);
     lnk_Makeup.TabIndex                       = 1;
     lnk_Makeup.TabStop                        = true;
     lnk_Makeup.Text                           = "补偿值";
     lnk_Makeup.LinkClicked                   += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(lnk_Makeup_LinkClicked);
     lnk_RetriveLogs.AutoSize                  = true;
     lnk_RetriveLogs.Location                  = new System.Drawing.Point(62, 304);
     lnk_RetriveLogs.Name                      = "lnk_RetriveLogs";
     lnk_RetriveLogs.Size                      = new System.Drawing.Size(99, 20);
     lnk_RetriveLogs.TabIndex                  = 1;
     lnk_RetriveLogs.TabStop                   = true;
     lnk_RetriveLogs.Text                      = "查询往期日志";
     lnk_RetriveLogs.LinkClicked              += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(lnk_RetriveLogs_LinkClicked);
     lnk_CommunicationConfig.AutoSize          = true;
     lnk_CommunicationConfig.Location          = new System.Drawing.Point(75, 14);
     lnk_CommunicationConfig.Name              = "lnk_CommunicationConfig";
     lnk_CommunicationConfig.Size              = new System.Drawing.Size(69, 20);
     lnk_CommunicationConfig.TabIndex          = 1;
     lnk_CommunicationConfig.TabStop           = true;
     lnk_CommunicationConfig.Text              = "通讯配置";
     lnk_CommunicationConfig.LinkClicked      += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(lnk_CommunicationConfig_LinkClicked);
     textBlock2.BackColor                      = System.Drawing.Color.Transparent;
     textBlock2.BorderColor                    = System.Drawing.Color.Empty;
     textBlock2.BorderThickness                = 0;
     textBlock2.DataBindingInfo                = null;
     textBlock2.EnableFlag                     = false;
     textBlock2.EnableTextRenderHint           = false;
     textBlock2.FlagAlign                      = dotNetLab.Widgets.Alignments.Left;
     textBlock2.FlagColor                      = System.Drawing.Color.DodgerBlue;
     textBlock2.FlagThickness                  = 5;
     textBlock2.Font                           = new System.Drawing.Font("微软雅黑", 12f);
     textBlock2.ForeColor                      = System.Drawing.Color.White;
     textBlock2.GapBetweenTextFlag             = 10;
     textBlock2.LEDStyle                       = false;
     textBlock2.Location                       = new System.Drawing.Point(213, 139);
     textBlock2.MainBindableProperty           = "杂项";
     textBlock2.Name                           = "textBlock2";
     textBlock2.Radius                         = 0;
     textBlock2.Size                           = new System.Drawing.Size(27, 48);
     textBlock2.TabIndex                       = 0;
     textBlock2.Text                           = "杂项";
     textBlock2.UIElementBinders               = null;
     textBlock2.UnderLine                      = false;
     textBlock2.UnderLineColor                 = System.Drawing.Color.DarkGray;
     textBlock2.UnderLineThickness             = 2f;
     textBlock2.Vertical                       = true;
     textBlock2.WhereReturn                    = 0;
     card1.BackColor                           = System.Drawing.Color.Transparent;
     card1.BorderColor                         = System.Drawing.Color.Gray;
     card1.BorderThickness                     = 0;
     card1.Controls.Add(cmbx_DeleteProject);
     card1.Controls.Add(cmbx_NewProjectBaseOnWhichProject);
     card1.Controls.Add(cmbx_CurrentProjectName);
     card1.Controls.Add(btn_DeleteProject);
     card1.Controls.Add(textBlock5);
     card1.Controls.Add(txb_NewProject);
     card1.Controls.Add(textBlock6);
     card1.Controls.Add(textBlock4);
     card1.Controls.Add(textBlock3);
     card1.Controls.Add(textBlock1);
     card1.CornerAlignment                               = dotNetLab.Widgets.Alignments.All;
     card1.DataBindingInfo                               = null;
     card1.Font                                          = new System.Drawing.Font("微软雅黑", 11f);
     card1.HeadColor                                     = System.Drawing.Color.DodgerBlue;
     card1.HeaderAlignment                               = dotNetLab.Widgets.Alignments.Up;
     card1.HeadHeight                                    = 40;
     card1.ImagePos                                      = new System.Drawing.Point(0, 0);
     card1.ImageSize                                     = new System.Drawing.Size(0, 0);
     card1.Location                                      = new System.Drawing.Point(53, 77);
     card1.MainBindableProperty                          = "card1";
     card1.Name                                          = "card1";
     card1.NormalColor                                   = System.Drawing.Color.Snow;
     card1.Radius                                        = 10;
     card1.Size                                          = new System.Drawing.Size(259, 383);
     card1.Source                                        = null;
     card1.TabIndex                                      = 3;
     card1.Text                                          = "card1";
     card1.UIElementBinders                              = null;
     cmbx_DeleteProject.BackColor                        = System.Drawing.Color.DarkGray;
     cmbx_DeleteProject.FlatStyle                        = System.Windows.Forms.FlatStyle.Flat;
     cmbx_DeleteProject.ForeColor                        = System.Drawing.Color.Black;
     cmbx_DeleteProject.FormattingEnabled                = true;
     cmbx_DeleteProject.Location                         = new System.Drawing.Point(24, 282);
     cmbx_DeleteProject.Name                             = "cmbx_DeleteProject";
     cmbx_DeleteProject.Size                             = new System.Drawing.Size(218, 28);
     cmbx_DeleteProject.TabIndex                         = 8;
     cmbx_NewProjectBaseOnWhichProject.BackColor         = System.Drawing.Color.DarkGray;
     cmbx_NewProjectBaseOnWhichProject.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     cmbx_NewProjectBaseOnWhichProject.ForeColor         = System.Drawing.Color.Black;
     cmbx_NewProjectBaseOnWhichProject.FormattingEnabled = true;
     cmbx_NewProjectBaseOnWhichProject.Location          = new System.Drawing.Point(24, 203);
     cmbx_NewProjectBaseOnWhichProject.Name              = "cmbx_NewProjectBaseOnWhichProject";
     cmbx_NewProjectBaseOnWhichProject.Size              = new System.Drawing.Size(218, 28);
     cmbx_NewProjectBaseOnWhichProject.TabIndex          = 8;
     cmbx_CurrentProjectName.BackColor                   = System.Drawing.Color.DarkGray;
     cmbx_CurrentProjectName.FlatStyle                   = System.Windows.Forms.FlatStyle.Flat;
     cmbx_CurrentProjectName.ForeColor                   = System.Drawing.Color.Black;
     cmbx_CurrentProjectName.FormattingEnabled           = true;
     cmbx_CurrentProjectName.Location                    = new System.Drawing.Point(24, 75);
     cmbx_CurrentProjectName.Name                        = "cmbx_CurrentProjectName";
     cmbx_CurrentProjectName.Size                        = new System.Drawing.Size(218, 28);
     cmbx_CurrentProjectName.TabIndex                    = 8;
     btn_DeleteProject.BackColor                         = System.Drawing.Color.Transparent;
     btn_DeleteProject.BorderColor                       = System.Drawing.Color.Empty;
     btn_DeleteProject.BorderThickness                   = 0;
     btn_DeleteProject.CornerAligment                    = dotNetLab.Widgets.Alignments.All;
     btn_DeleteProject.DataBindingInfo                   = null;
     btn_DeleteProject.EnableFlag                        = false;
     btn_DeleteProject.EnableMobileRound                 = true;
     btn_DeleteProject.EnableTextRenderHint              = false;
     btn_DeleteProject.FlagAlign                         = dotNetLab.Widgets.Alignments.Left;
     btn_DeleteProject.FlagColor                         = System.Drawing.Color.DodgerBlue;
     btn_DeleteProject.FlagThickness                     = 5;
     btn_DeleteProject.Font                              = new System.Drawing.Font("微软雅黑", 12f);
     btn_DeleteProject.ForeColor                         = System.Drawing.Color.White;
     btn_DeleteProject.GapBetweenTextFlag                = 10;
     btn_DeleteProject.GapBetweenTextImage               = 8;
     btn_DeleteProject.IConAlignment                     = System.Windows.Forms.LeftRightAlignment.Left;
     btn_DeleteProject.ImageSize                         = new System.Drawing.Size(0, 0);
     btn_DeleteProject.LEDStyle                          = false;
     btn_DeleteProject.Location                          = new System.Drawing.Point(12, 331);
     btn_DeleteProject.MainBindableProperty              = "删除";
     btn_DeleteProject.Name                              = "btn_DeleteProject";
     btn_DeleteProject.NeedAnimation                     = true;
     btn_DeleteProject.NormalColor                       = System.Drawing.Color.Red;
     btn_DeleteProject.PressColor                        = System.Drawing.Color.Cyan;
     btn_DeleteProject.Radius                            = 34;
     btn_DeleteProject.Size                              = new System.Drawing.Size(230, 35);
     btn_DeleteProject.Source                            = null;
     btn_DeleteProject.TabIndex                          = 7;
     btn_DeleteProject.Text                              = "删除";
     btn_DeleteProject.UIElementBinders                  = null;
     btn_DeleteProject.UnderLine                         = false;
     btn_DeleteProject.UnderLineColor                    = System.Drawing.Color.DarkGray;
     btn_DeleteProject.UnderLineThickness                = 2f;
     btn_DeleteProject.Vertical                          = false;
     btn_DeleteProject.WhereReturn                       = 0;
     textBlock5.BackColor                                = System.Drawing.Color.Transparent;
     textBlock5.BorderColor                              = System.Drawing.Color.Empty;
     textBlock5.BorderThickness                          = 0;
     textBlock5.DataBindingInfo                          = null;
     textBlock5.EnableFlag                               = true;
     textBlock5.EnableTextRenderHint                     = true;
     textBlock5.FlagAlign                                = dotNetLab.Widgets.Alignments.Left;
     textBlock5.FlagColor                                = System.Drawing.Color.Gold;
     textBlock5.FlagThickness                            = 7;
     textBlock5.Font                                     = new System.Drawing.Font("微软雅黑", 12f);
     textBlock5.GapBetweenTextFlag                       = 10;
     textBlock5.LEDStyle                                 = false;
     textBlock5.Location                                 = new System.Drawing.Point(12, 256);
     textBlock5.MainBindableProperty                     = "删除项目";
     textBlock5.Name                                     = "textBlock5";
     textBlock5.Radius                                   = 0;
     textBlock5.Size                                     = new System.Drawing.Size(96, 20);
     textBlock5.TabIndex                                 = 5;
     textBlock5.Text                                     = "删除项目";
     textBlock5.UIElementBinders                         = null;
     textBlock5.UnderLine                                = false;
     textBlock5.UnderLineColor                           = System.Drawing.Color.DarkGray;
     textBlock5.UnderLineThickness                       = 2f;
     textBlock5.Vertical                                 = false;
     textBlock5.WhereReturn                              = 0;
     txb_NewProject.ActiveColor                          = System.Drawing.Color.Silver;
     txb_NewProject.BackColor                            = System.Drawing.Color.Transparent;
     txb_NewProject.DataBindingInfo                      = null;
     txb_NewProject.DoubleValue                          = double.NaN;
     txb_NewProject.EnableMobileRound                    = true;
     txb_NewProject.EnableNullValue                      = false;
     txb_NewProject.FillColor                            = System.Drawing.Color.Silver;
     txb_NewProject.FloatValue                           = float.NaN;
     txb_NewProject.Font                                 = new System.Drawing.Font("微软雅黑", 13f);
     txb_NewProject.ForeColor                            = System.Drawing.Color.Black;
     txb_NewProject.GreyPattern                          = true;
     txb_NewProject.IntValue                             = -2147483648;
     txb_NewProject.LineThickness                        = 2f;
     txb_NewProject.Location                             = new System.Drawing.Point(12, 135);
     txb_NewProject.MainBindableProperty                 = "";
     txb_NewProject.Name                                 = "txb_NewProject";
     txb_NewProject.Radius                               = 30;
     txb_NewProject.Size                                 = new System.Drawing.Size(230, 31);
     txb_NewProject.StaticColor                          = System.Drawing.Color.Silver;
     txb_NewProject.TabIndex                             = 3;
     txb_NewProject.TextAlignment                        = System.Windows.Forms.HorizontalAlignment.Left;
     txb_NewProject.TextBackColor                        = System.Drawing.Color.Silver;
     txb_NewProject.TextBoxStyle                         = dotNetLab.Widgets.MobileTextBox.TextBoxStyles.Mobile;
     txb_NewProject.UIElementBinders                     = null;
     txb_NewProject.WhitePattern                         = false;
     textBlock6.BackColor                                = System.Drawing.Color.Transparent;
     textBlock6.BorderColor                              = System.Drawing.Color.Empty;
     textBlock6.BorderThickness                          = 0;
     textBlock6.DataBindingInfo                          = null;
     textBlock6.EnableFlag                               = true;
     textBlock6.EnableTextRenderHint                     = true;
     textBlock6.FlagAlign                                = dotNetLab.Widgets.Alignments.Left;
     textBlock6.FlagColor                                = System.Drawing.Color.DeepSkyBlue;
     textBlock6.FlagThickness                            = 7;
     textBlock6.Font                                     = new System.Drawing.Font("微软雅黑", 12f);
     textBlock6.GapBetweenTextFlag                       = 10;
     textBlock6.LEDStyle                                 = false;
     textBlock6.Location                                 = new System.Drawing.Point(12, 175);
     textBlock6.MainBindableProperty                     = "基于此项目创建新项目";
     textBlock6.Name                                     = "textBlock6";
     textBlock6.Radius                                   = 0;
     textBlock6.Size                                     = new System.Drawing.Size(193, 20);
     textBlock6.TabIndex                                 = 1;
     textBlock6.Text                                     = "基于此项目创建新项目";
     textBlock6.UIElementBinders                         = null;
     textBlock6.UnderLine                                = false;
     textBlock6.UnderLineColor                           = System.Drawing.Color.DarkGray;
     textBlock6.UnderLineThickness                       = 2f;
     textBlock6.Vertical                                 = false;
     textBlock6.WhereReturn                              = 0;
     textBlock4.BackColor                                = System.Drawing.Color.Transparent;
     textBlock4.BorderColor                              = System.Drawing.Color.Empty;
     textBlock4.BorderThickness                          = 0;
     textBlock4.DataBindingInfo                          = null;
     textBlock4.EnableFlag                               = true;
     textBlock4.EnableTextRenderHint                     = true;
     textBlock4.FlagAlign                                = dotNetLab.Widgets.Alignments.Left;
     textBlock4.FlagColor                                = System.Drawing.Color.Green;
     textBlock4.FlagThickness                            = 7;
     textBlock4.Font                                     = new System.Drawing.Font("微软雅黑", 12f);
     textBlock4.GapBetweenTextFlag                       = 10;
     textBlock4.LEDStyle                                 = false;
     textBlock4.Location                                 = new System.Drawing.Point(12, 109);
     textBlock4.MainBindableProperty                     = "新建项目";
     textBlock4.Name                                     = "textBlock4";
     textBlock4.Radius                                   = 0;
     textBlock4.Size                                     = new System.Drawing.Size(96, 20);
     textBlock4.TabIndex                                 = 1;
     textBlock4.Text                                     = "新建项目";
     textBlock4.UIElementBinders                         = null;
     textBlock4.UnderLine                                = false;
     textBlock4.UnderLineColor                           = System.Drawing.Color.DarkGray;
     textBlock4.UnderLineThickness                       = 2f;
     textBlock4.Vertical                                 = false;
     textBlock4.WhereReturn                              = 0;
     textBlock3.BackColor                                = System.Drawing.Color.Transparent;
     textBlock3.BorderColor                              = System.Drawing.Color.Empty;
     textBlock3.BorderThickness                          = 0;
     textBlock3.DataBindingInfo                          = null;
     textBlock3.EnableFlag                               = true;
     textBlock3.EnableTextRenderHint                     = true;
     textBlock3.FlagAlign                                = dotNetLab.Widgets.Alignments.Left;
     textBlock3.FlagColor                                = System.Drawing.Color.Crimson;
     textBlock3.FlagThickness                            = 7;
     textBlock3.Font                                     = new System.Drawing.Font("微软雅黑", 12f);
     textBlock3.GapBetweenTextFlag                       = 10;
     textBlock3.LEDStyle                                 = false;
     textBlock3.Location                                 = new System.Drawing.Point(12, 46);
     textBlock3.MainBindableProperty                     = "当前项目";
     textBlock3.Name                                     = "textBlock3";
     textBlock3.Radius                                   = 0;
     textBlock3.Size                                     = new System.Drawing.Size(96, 20);
     textBlock3.TabIndex                                 = 1;
     textBlock3.Text                                     = "当前项目";
     textBlock3.UIElementBinders                         = null;
     textBlock3.UnderLine                                = false;
     textBlock3.UnderLineColor                           = System.Drawing.Color.DarkGray;
     textBlock3.UnderLineThickness                       = 2f;
     textBlock3.Vertical                                 = false;
     textBlock3.WhereReturn                              = 0;
     textBlock1.BackColor                                = System.Drawing.Color.Transparent;
     textBlock1.BorderColor                              = System.Drawing.Color.Empty;
     textBlock1.BorderThickness                          = 0;
     textBlock1.DataBindingInfo                          = null;
     textBlock1.EnableFlag                               = false;
     textBlock1.EnableTextRenderHint                     = false;
     textBlock1.FlagAlign                                = dotNetLab.Widgets.Alignments.Left;
     textBlock1.FlagColor                                = System.Drawing.Color.DodgerBlue;
     textBlock1.FlagThickness                            = 5;
     textBlock1.Font                                     = new System.Drawing.Font("微软雅黑", 12f);
     textBlock1.ForeColor                                = System.Drawing.Color.White;
     textBlock1.GapBetweenTextFlag                       = 10;
     textBlock1.LEDStyle                                 = false;
     textBlock1.Location                                 = new System.Drawing.Point(67, 14);
     textBlock1.MainBindableProperty                     = "项目管理";
     textBlock1.Name                                     = "textBlock1";
     textBlock1.Radius                                   = 0;
     textBlock1.Size                                     = new System.Drawing.Size(109, 17);
     textBlock1.TabIndex                                 = 0;
     textBlock1.Text                                     = "项目管理";
     textBlock1.UIElementBinders                         = null;
     textBlock1.UnderLine                                = false;
     textBlock1.UnderLineColor                           = System.Drawing.Color.DarkGray;
     textBlock1.UnderLineThickness                       = 2f;
     textBlock1.Vertical                                 = false;
     textBlock1.WhereReturn                              = 0;
     base.ClientSize                                     = new System.Drawing.Size(600, 531);
     base.Controls.Add(card2);
     base.Controls.Add(card1);
     base.Controls.Add(colorDecorator1);
     base.Name     = "MenuForm";
     Text          = "控制面板";
     base.TitlePos = new System.Drawing.Point(80, 15);
     base.Controls.SetChildIndex(colorDecorator1, 0);
     base.Controls.SetChildIndex(card1, 0);
     base.Controls.SetChildIndex(card2, 0);
     card2.ResumeLayout(false);
     card2.PerformLayout();
     card1.ResumeLayout(false);
     ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager componentResourceManager = new System.ComponentModel.ComponentResourceManager(typeof(shikii.VisionJob.MainForm));
     mobileListBox1  = new dotNetLab.Widgets.MobileListBox();
     lbl_OutputInfo  = new dotNetLab.Widgets.TextBlock();
     canvasPanel1    = new dotNetLab.Widgets.Container.CanvasPanel();
     colorDecorator1 = new dotNetLab.Widgets.ColorDecorator();
     btn_More        = new dotNetLab.Widgets.Direction();
     label1          = new System.Windows.Forms.Label();
     pictureBox1     = new System.Windows.Forms.PictureBox();
     label2          = new System.Windows.Forms.Label();
     lbl_IncName     = new System.Windows.Forms.Label();
     textBlock6      = new dotNetLab.Widgets.TextBlock();
     lbl_GoodPercent = new dotNetLab.Widgets.TextBlock();
     textBlock4      = new dotNetLab.Widgets.TextBlock();
     lbl_NGNum       = new dotNetLab.Widgets.TextBlock();
     textBlock2      = new dotNetLab.Widgets.TextBlock();
     lbl_TotalNum    = new dotNetLab.Widgets.TextBlock();
     ((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
     SuspendLayout();
     tipper.Location                      = new System.Drawing.Point(556, 480);
     mobileListBox1.Anchor                = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
     mobileListBox1.BackColor             = System.Drawing.Color.Transparent;
     mobileListBox1.BorderColor           = System.Drawing.Color.Gray;
     mobileListBox1.BorderThickness       = 1;
     mobileListBox1.CornerAlignment       = dotNetLab.Widgets.Alignments.All;
     mobileListBox1.DataBindingInfo       = null;
     mobileListBox1.Font                  = new System.Drawing.Font("微软雅黑", 11f);
     mobileListBox1.ImagePos              = new System.Drawing.Point(0, 0);
     mobileListBox1.ImageSize             = new System.Drawing.Size(0, 0);
     mobileListBox1.Location              = new System.Drawing.Point(610, 93);
     mobileListBox1.MainBindableProperty  = "mobileListBox1";
     mobileListBox1.Name                  = "mobileListBox1";
     mobileListBox1.NormalColor           = System.Drawing.Color.White;
     mobileListBox1.Radius                = -1;
     mobileListBox1.Size                  = new System.Drawing.Size(228, 406);
     mobileListBox1.Source                = null;
     mobileListBox1.TabIndex              = 2;
     mobileListBox1.Text                  = "mobileListBox1";
     mobileListBox1.UIElementBinders      = null;
     lbl_OutputInfo.Anchor                = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     lbl_OutputInfo.BackColor             = System.Drawing.Color.Transparent;
     lbl_OutputInfo.BorderColor           = System.Drawing.Color.Empty;
     lbl_OutputInfo.BorderThickness       = -1;
     lbl_OutputInfo.DataBindingInfo       = null;
     lbl_OutputInfo.EnableFlag            = true;
     lbl_OutputInfo.EnableTextRenderHint  = true;
     lbl_OutputInfo.FlagAlign             = dotNetLab.Widgets.Alignments.Left;
     lbl_OutputInfo.FlagColor             = System.Drawing.Color.Crimson;
     lbl_OutputInfo.FlagThickness         = 10;
     lbl_OutputInfo.Font                  = new System.Drawing.Font("微软雅黑", 12f);
     lbl_OutputInfo.GapBetweenTextFlag    = 0;
     lbl_OutputInfo.LEDStyle              = false;
     lbl_OutputInfo.Location              = new System.Drawing.Point(612, 71);
     lbl_OutputInfo.MainBindableProperty  = "输出信息";
     lbl_OutputInfo.Name                  = "lbl_OutputInfo";
     lbl_OutputInfo.Radius                = -1;
     lbl_OutputInfo.Size                  = new System.Drawing.Size(104, 16);
     lbl_OutputInfo.TabIndex              = 4;
     lbl_OutputInfo.Text                  = "输出信息";
     lbl_OutputInfo.UIElementBinders      = null;
     lbl_OutputInfo.UnderLine             = false;
     lbl_OutputInfo.UnderLineColor        = System.Drawing.Color.DarkGray;
     lbl_OutputInfo.UnderLineThickness    = 2f;
     lbl_OutputInfo.Vertical              = false;
     lbl_OutputInfo.WhereReturn           = 0;
     canvasPanel1.Anchor                  = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right);
     canvasPanel1.BackColor               = System.Drawing.Color.Transparent;
     canvasPanel1.BorderColor             = System.Drawing.Color.Empty;
     canvasPanel1.BorderThickness         = -1;
     canvasPanel1.CornerAlignment         = dotNetLab.Widgets.Alignments.All;
     canvasPanel1.DataBindingInfo         = null;
     canvasPanel1.Font                    = new System.Drawing.Font("微软雅黑", 11f);
     canvasPanel1.ImagePos                = new System.Drawing.Point(0, 0);
     canvasPanel1.ImageSize               = new System.Drawing.Size(0, 0);
     canvasPanel1.Location                = new System.Drawing.Point(36, 132);
     canvasPanel1.MainBindableProperty    = null;
     canvasPanel1.Name                    = "canvasPanel1";
     canvasPanel1.NormalColor             = System.Drawing.Color.Silver;
     canvasPanel1.Radius                  = 20;
     canvasPanel1.Size                    = new System.Drawing.Size(554, 367);
     canvasPanel1.Source                  = null;
     canvasPanel1.TabIndex                = 5;
     canvasPanel1.Text                    = null;
     canvasPanel1.UIElementBinders        = null;
     colorDecorator1.Anchor               = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     colorDecorator1.BackColor            = System.Drawing.Color.White;
     colorDecorator1.DataBindingInfo      = null;
     colorDecorator1.Location             = new System.Drawing.Point(6, 505);
     colorDecorator1.MainBindableProperty = "";
     colorDecorator1.Name                 = "colorDecorator1";
     colorDecorator1.Size                 = new System.Drawing.Size(150, 53);
     colorDecorator1.TabIndex             = 6;
     colorDecorator1.UIElementBinders     = null;
     btn_More.Anchor                      = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     btn_More.ArrowAlignment              = dotNetLab.Widgets.Alignments.Right;
     btn_More.BackColor                   = System.Drawing.Color.Transparent;
     btn_More.BorderColor                 = System.Drawing.Color.Gray;
     btn_More.BorderThickness             = 2f;
     btn_More.CenterImage                 = true;
     btn_More.ClipCircleRegion            = false;
     btn_More.DataBindingInfo             = null;
     btn_More.Effect                      = null;
     btn_More.Fill                 = false;
     btn_More.FillColor            = System.Drawing.Color.Empty;
     btn_More.ImagePostion         = new System.Drawing.Point(0, 0);
     btn_More.ImageSize            = new System.Drawing.SizeF(25f, 25f);
     btn_More.Location             = new System.Drawing.Point(797, 51);
     btn_More.MainBindableProperty = "";
     btn_More.MouseDownColor       = System.Drawing.Color.Gray;
     btn_More.Name                 = "btn_More";
     btn_More.NeedEffect           = false;
     btn_More.Size                 = new System.Drawing.Size(40, 40);
     btn_More.Source               = (System.Drawing.Image)componentResourceManager.GetObject("btn_More.Source");
     btn_More.TabIndex             = 7;
     btn_More.UIElementBinders     = null;
     btn_More.WhichShap            = 6;
     btn_More.WhitePattern         = false;
     btn_More.Click               += new System.EventHandler(btn_More_Click);
     label1.Anchor                 = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     label1.AutoSize               = true;
     label1.Font                          = new System.Drawing.Font("微软雅黑", 11f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
     label1.ForeColor                     = System.Drawing.Color.Teal;
     label1.Location                      = new System.Drawing.Point(179, 530);
     label1.Name                          = "label1";
     label1.Size                          = new System.Drawing.Size(54, 20);
     label1.TabIndex                      = 8;
     label1.Text                          = "联系人";
     pictureBox1.Location                 = new System.Drawing.Point(9, 12);
     pictureBox1.Name                     = "pictureBox1";
     pictureBox1.Size                     = new System.Drawing.Size(52, 47);
     pictureBox1.SizeMode                 = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     pictureBox1.TabIndex                 = 9;
     pictureBox1.TabStop                  = false;
     label2.AutoSize                      = true;
     label2.Font                          = new System.Drawing.Font("微软雅黑", 11f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
     label2.ForeColor                     = System.Drawing.Color.Teal;
     label2.Location                      = new System.Drawing.Point(316, 39);
     label2.Name                          = "label2";
     label2.Size                          = new System.Drawing.Size(27, 20);
     label2.TabIndex                      = 8;
     label2.Text                          = "by";
     lbl_IncName.AutoSize                 = true;
     lbl_IncName.Font                     = new System.Drawing.Font("微软雅黑", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
     lbl_IncName.ForeColor                = System.Drawing.Color.Crimson;
     lbl_IncName.Location                 = new System.Drawing.Point(349, 39);
     lbl_IncName.Name                     = "lbl_IncName";
     lbl_IncName.Size                     = new System.Drawing.Size(0, 21);
     lbl_IncName.TabIndex                 = 10;
     textBlock6.Anchor                    = System.Windows.Forms.AnchorStyles.Top;
     textBlock6.BackColor                 = System.Drawing.Color.Transparent;
     textBlock6.BorderColor               = System.Drawing.Color.Empty;
     textBlock6.BorderThickness           = -1;
     textBlock6.DataBindingInfo           = null;
     textBlock6.EnableFlag                = false;
     textBlock6.EnableTextRenderHint      = false;
     textBlock6.FlagAlign                 = dotNetLab.Widgets.Alignments.Left;
     textBlock6.FlagColor                 = System.Drawing.Color.DodgerBlue;
     textBlock6.FlagThickness             = 5;
     textBlock6.Font                      = new System.Drawing.Font("微软雅黑", 12f);
     textBlock6.GapBetweenTextFlag        = 10;
     textBlock6.LEDStyle                  = false;
     textBlock6.Location                  = new System.Drawing.Point(434, 91);
     textBlock6.MainBindableProperty      = "合格率:";
     textBlock6.Name                      = "textBlock6";
     textBlock6.Radius                    = -1;
     textBlock6.Size                      = new System.Drawing.Size(77, 35);
     textBlock6.TabIndex                  = 16;
     textBlock6.Text                      = "合格率:";
     textBlock6.UIElementBinders          = null;
     textBlock6.UnderLine                 = false;
     textBlock6.UnderLineColor            = System.Drawing.Color.DarkGray;
     textBlock6.UnderLineThickness        = 2f;
     textBlock6.Vertical                  = false;
     textBlock6.WhereReturn               = 0;
     lbl_GoodPercent.Anchor               = System.Windows.Forms.AnchorStyles.Top;
     lbl_GoodPercent.BackColor            = System.Drawing.Color.Transparent;
     lbl_GoodPercent.BorderColor          = System.Drawing.Color.Empty;
     lbl_GoodPercent.BorderThickness      = -1;
     lbl_GoodPercent.DataBindingInfo      = null;
     lbl_GoodPercent.EnableFlag           = false;
     lbl_GoodPercent.EnableTextRenderHint = false;
     lbl_GoodPercent.FlagAlign            = dotNetLab.Widgets.Alignments.Left;
     lbl_GoodPercent.FlagColor            = System.Drawing.Color.DodgerBlue;
     lbl_GoodPercent.FlagThickness        = 5;
     lbl_GoodPercent.Font                 = new System.Drawing.Font("DS-Digital", 30f);
     lbl_GoodPercent.ForeColor            = System.Drawing.Color.SeaGreen;
     lbl_GoodPercent.GapBetweenTextFlag   = 10;
     lbl_GoodPercent.LEDStyle             = true;
     lbl_GoodPercent.Location             = new System.Drawing.Point(513, 91);
     lbl_GoodPercent.MainBindableProperty = "100.2";
     lbl_GoodPercent.Name                 = "lbl_GoodPercent";
     lbl_GoodPercent.Radius               = -1;
     lbl_GoodPercent.Size                 = new System.Drawing.Size(76, 35);
     lbl_GoodPercent.TabIndex             = 13;
     lbl_GoodPercent.Text                 = "100.2";
     lbl_GoodPercent.UIElementBinders     = null;
     lbl_GoodPercent.UnderLine            = false;
     lbl_GoodPercent.UnderLineColor       = System.Drawing.Color.DarkGray;
     lbl_GoodPercent.UnderLineThickness   = 2f;
     lbl_GoodPercent.Vertical             = false;
     lbl_GoodPercent.WhereReturn          = 0;
     textBlock4.Anchor                    = System.Windows.Forms.AnchorStyles.Top;
     textBlock4.BackColor                 = System.Drawing.Color.Transparent;
     textBlock4.BorderColor               = System.Drawing.Color.Empty;
     textBlock4.BorderThickness           = -1;
     textBlock4.DataBindingInfo           = null;
     textBlock4.EnableFlag                = false;
     textBlock4.EnableTextRenderHint      = false;
     textBlock4.FlagAlign                 = dotNetLab.Widgets.Alignments.Left;
     textBlock4.FlagColor                 = System.Drawing.Color.DodgerBlue;
     textBlock4.FlagThickness             = 5;
     textBlock4.Font                      = new System.Drawing.Font("微软雅黑", 12f);
     textBlock4.GapBetweenTextFlag        = 10;
     textBlock4.LEDStyle                  = false;
     textBlock4.Location                  = new System.Drawing.Point(257, 91);
     textBlock4.MainBindableProperty      = "不合格数:";
     textBlock4.Name                      = "textBlock4";
     textBlock4.Radius                    = -1;
     textBlock4.Size                      = new System.Drawing.Size(77, 35);
     textBlock4.TabIndex                  = 17;
     textBlock4.Text                      = "不合格数:";
     textBlock4.UIElementBinders          = null;
     textBlock4.UnderLine                 = false;
     textBlock4.UnderLineColor            = System.Drawing.Color.DarkGray;
     textBlock4.UnderLineThickness        = 2f;
     textBlock4.Vertical                  = false;
     textBlock4.WhereReturn               = 0;
     lbl_NGNum.Anchor                     = System.Windows.Forms.AnchorStyles.Top;
     lbl_NGNum.BackColor                  = System.Drawing.Color.Transparent;
     lbl_NGNum.BorderColor                = System.Drawing.Color.Empty;
     lbl_NGNum.BorderThickness            = -1;
     lbl_NGNum.DataBindingInfo            = null;
     lbl_NGNum.EnableFlag                 = false;
     lbl_NGNum.EnableTextRenderHint       = false;
     lbl_NGNum.FlagAlign                  = dotNetLab.Widgets.Alignments.Left;
     lbl_NGNum.FlagColor                  = System.Drawing.Color.DodgerBlue;
     lbl_NGNum.FlagThickness              = 5;
     lbl_NGNum.Font                       = new System.Drawing.Font("DS-Digital", 30f);
     lbl_NGNum.ForeColor                  = System.Drawing.Color.Crimson;
     lbl_NGNum.GapBetweenTextFlag         = 10;
     lbl_NGNum.LEDStyle                   = true;
     lbl_NGNum.Location                   = new System.Drawing.Point(336, 91);
     lbl_NGNum.MainBindableProperty       = "9";
     lbl_NGNum.Name                       = "lbl_NGNum";
     lbl_NGNum.Radius                     = -1;
     lbl_NGNum.Size                       = new System.Drawing.Size(92, 35);
     lbl_NGNum.TabIndex                   = 14;
     lbl_NGNum.Text                       = "9";
     lbl_NGNum.UIElementBinders           = null;
     lbl_NGNum.UnderLine                  = false;
     lbl_NGNum.UnderLineColor             = System.Drawing.Color.DarkGray;
     lbl_NGNum.UnderLineThickness         = 2f;
     lbl_NGNum.Vertical                   = false;
     lbl_NGNum.WhereReturn                = 0;
     textBlock2.Anchor                    = System.Windows.Forms.AnchorStyles.Top;
     textBlock2.BackColor                 = System.Drawing.Color.Transparent;
     textBlock2.BorderColor               = System.Drawing.Color.Empty;
     textBlock2.BorderThickness           = -1;
     textBlock2.DataBindingInfo           = null;
     textBlock2.EnableFlag                = false;
     textBlock2.EnableTextRenderHint      = false;
     textBlock2.FlagAlign                 = dotNetLab.Widgets.Alignments.Left;
     textBlock2.FlagColor                 = System.Drawing.Color.DodgerBlue;
     textBlock2.FlagThickness             = 5;
     textBlock2.Font                      = new System.Drawing.Font("微软雅黑", 12f);
     textBlock2.GapBetweenTextFlag        = 10;
     textBlock2.LEDStyle                  = false;
     textBlock2.Location                  = new System.Drawing.Point(36, 91);
     textBlock2.MainBindableProperty      = "已经生产 :";
     textBlock2.Name                      = "textBlock2";
     textBlock2.Radius                    = -1;
     textBlock2.Size                      = new System.Drawing.Size(77, 35);
     textBlock2.TabIndex                  = 18;
     textBlock2.Text                      = "已经生产 :";
     textBlock2.UIElementBinders          = null;
     textBlock2.UnderLine                 = false;
     textBlock2.UnderLineColor            = System.Drawing.Color.DarkGray;
     textBlock2.UnderLineThickness        = 2f;
     textBlock2.Vertical                  = false;
     textBlock2.WhereReturn               = 0;
     lbl_TotalNum.Anchor                  = System.Windows.Forms.AnchorStyles.Top;
     lbl_TotalNum.BackColor               = System.Drawing.Color.Transparent;
     lbl_TotalNum.BorderColor             = System.Drawing.Color.Empty;
     lbl_TotalNum.BorderThickness         = -1;
     lbl_TotalNum.DataBindingInfo         = null;
     lbl_TotalNum.EnableFlag              = false;
     lbl_TotalNum.EnableTextRenderHint    = false;
     lbl_TotalNum.FlagAlign               = dotNetLab.Widgets.Alignments.Left;
     lbl_TotalNum.FlagColor               = System.Drawing.Color.DodgerBlue;
     lbl_TotalNum.FlagThickness           = 5;
     lbl_TotalNum.Font                    = new System.Drawing.Font("DS-Digital", 30f);
     lbl_TotalNum.ForeColor               = System.Drawing.Color.DodgerBlue;
     lbl_TotalNum.GapBetweenTextFlag      = 10;
     lbl_TotalNum.LEDStyle                = true;
     lbl_TotalNum.Location                = new System.Drawing.Point(119, 91);
     lbl_TotalNum.MainBindableProperty    = "0";
     lbl_TotalNum.Name                    = "lbl_TotalNum";
     lbl_TotalNum.Radius                  = -1;
     lbl_TotalNum.Size                    = new System.Drawing.Size(141, 35);
     lbl_TotalNum.TabIndex                = 15;
     lbl_TotalNum.Text                    = "0";
     lbl_TotalNum.UIElementBinders        = null;
     lbl_TotalNum.UnderLine               = false;
     lbl_TotalNum.UnderLineColor          = System.Drawing.Color.DarkGray;
     lbl_TotalNum.UnderLineThickness      = 2f;
     lbl_TotalNum.Vertical                = false;
     lbl_TotalNum.WhereReturn             = 0;
     base.ClientSize                      = new System.Drawing.Size(859, 565);
     base.ClipboardText                   = "";
     base.Controls.Add(textBlock6);
     base.Controls.Add(lbl_GoodPercent);
     base.Controls.Add(textBlock4);
     base.Controls.Add(lbl_NGNum);
     base.Controls.Add(textBlock2);
     base.Controls.Add(lbl_TotalNum);
     base.Controls.Add(lbl_IncName);
     base.Controls.Add(pictureBox1);
     base.Controls.Add(label2);
     base.Controls.Add(label1);
     base.Controls.Add(btn_More);
     base.Controls.Add(colorDecorator1);
     base.Controls.Add(canvasPanel1);
     base.Controls.Add(lbl_OutputInfo);
     base.Controls.Add(mobileListBox1);
     base.FontX      = new System.Drawing.Font("等线 Light", 30f);
     base.KeyPreview = true;
     base.Name       = "MainForm";
     Text            = "LED支架检测";
     base.TitlePos   = new System.Drawing.Point(60, 18);
     base.Controls.SetChildIndex(mobileListBox1, 0);
     base.Controls.SetChildIndex(lbl_OutputInfo, 0);
     base.Controls.SetChildIndex(canvasPanel1, 0);
     base.Controls.SetChildIndex(colorDecorator1, 0);
     base.Controls.SetChildIndex(btn_More, 0);
     base.Controls.SetChildIndex(label1, 0);
     base.Controls.SetChildIndex(label2, 0);
     base.Controls.SetChildIndex(pictureBox1, 0);
     base.Controls.SetChildIndex(lbl_IncName, 0);
     base.Controls.SetChildIndex(lbl_TotalNum, 0);
     base.Controls.SetChildIndex(textBlock2, 0);
     base.Controls.SetChildIndex(lbl_NGNum, 0);
     base.Controls.SetChildIndex(textBlock4, 0);
     base.Controls.SetChildIndex(lbl_GoodPercent, 0);
     base.Controls.SetChildIndex(textBlock6, 0);
     ((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
     ResumeLayout(false);
     PerformLayout();
 }