Ejemplo n.º 1
0
            public void SetButtons(UITableView tableView, SplitButton[] items)
            {
                if (_buttons != null)
                {
                    foreach (var btn in _buttons)
                    {
                        btn.RemoveFromSuperview();
                    }
                }

                _buttons = new UIButton[items.Length];

                for (var i = 0; i < items.Length; i++)
                {
                    _buttons[i] = items[i];
                    ContentView.Add(_buttons[i]);
                }

                if (_seperatorViews != null)
                {
                    foreach (var v in _seperatorViews)
                    {
                        v.RemoveFromSuperview();
                        v.Dispose();
                    }
                    _seperatorViews = null;
                }

                _seperatorViews = new UIView[Math.Max(items.Length - 1, 0)];
                for (var i = 0; i < _seperatorViews.Length; i++)
                {
                    _seperatorViews[i] = new UIView { BackgroundColor = tableView.SeparatorColor };
                    ContentView.Add(_seperatorViews[i]);
                }
            }
Ejemplo n.º 2
0
        public SplitButton AddButton(string caption, string text, Action tapped = null)
        {
            var btn = new SplitButton(caption, text);
            if (tapped != null)
                btn.TouchUpInside += (sender, e) => tapped();
            else
                btn.UserInteractionEnabled = false;

            _buttons.Add(btn);
            return btn;
        }
Ejemplo n.º 3
0
        public SplitButton CreateSplitButton(RibbonPanel targetPanel, IList <PushButtonData> targetPushButtons)
        {
            SplitButton currentSplitButton = null;

            if (targetPushButtons.Count > 0)
            {
                string targetName = targetPushButtons.FirstOrDefault().Name;
                currentSplitButton = targetPanel.AddItem(new SplitButtonData(targetName, targetName)) as SplitButton;
                foreach (PushButtonData currentPushButton in targetPushButtons)
                {
                    currentSplitButton.AddPushButton(currentPushButton);
                }
            }

            return(currentSplitButton);
        }
Ejemplo n.º 4
0
        public void SetSplitButtonToThisOrTop(
            string _bName,
            SplitButton _splitButton)
        {
            IList <PushButton> sbList = _splitButton.GetItems();

            foreach (PushButton pb in sbList)
            {
                if (pb.Name.Equals(_bName))
                {
                    _splitButton.CurrentButton = pb;
                    return;
                }
            }
            _splitButton.CurrentButton = sbList[0];
        }
Ejemplo n.º 5
0
        public SplitButton AddButton(string caption, string text = null, Action tapped = null)
        {
            var btn = new SplitButton(caption, text);

            if (tapped != null)
            {
                btn.TouchUpInside += (sender, e) => tapped();
            }
            else
            {
                btn.UserInteractionEnabled = false;
            }

            _buttons.Add(btn);
            return(btn);
        }
Ejemplo n.º 6
0
        private void AddSplitButton(Autodesk.Revit.UI.RibbonPanel panel, string m_masterSchedulePath, string m_ExcelImportPath)
        {
            PushButtonData buttonOne = new PushButtonData("ButtonOne", "Image Based Import", m_masterSchedulePath, "ManageMasterSchedule.Command");

            buttonOne.LargeImage = LoadPngImgSource("KirkseyAppsRibbon.Icons.MasterScheduleUpdateImage32.png");

            PushButtonData buttonTwo = new PushButtonData("ButtonTwon", "Text/Schedule Based Import", m_ExcelImportPath, "ExcelImport.Command");

            buttonTwo.LargeImage = LoadPngImgSource("KirkseyAppsRibbon.Icons.MasterScheduleUpdateText32.png");

            SplitButtonData sb1 = new SplitButtonData("splitButton1", "Split");
            SplitButton     sb  = panel.AddItem(sb1) as SplitButton;

            sb.AddPushButton(buttonOne);
            sb.AddPushButton(buttonTwo);
        }
Ejemplo n.º 7
0
        public Result OnStartup(UIControlledApplication application)
        {
            application.CreateRibbonTab("UCD场地工具");
            RibbonPanel panel1 = application.CreateRibbonPanel("UCD场地工具", "欢迎页");

            PushButtonData pbd = new PushButtonData("UCD场地工具", "欢迎使用", @"D:\Studay\CSharp\Work\Revit\HelloRevit\bin\Debug\HelloRevit.dll", "HelloRevit.Class1");
            PushButton     pb  = panel1.AddItem(pbd) as PushButton;

            RibbonPanel     panel2    = application.CreateRibbonPanel("UCD场地工具", "工具");
            SplitButtonData splitData = new SplitButtonData("我的集合", "创建工具");
            SplitButton     sb        = panel2.AddItem(splitData) as SplitButton;

            PushButtonData spd = new PushButtonData("UCD场地工具", "创建", @"D:\Studay\CSharp\Work\Revit\Create2\bin\Debug\Create2.dll", "Create2.CreateBox")
            {
                LargeImage = new BitmapImage(new Uri(@"D:\Studay\CSharp\Work\Revit\Ribbon1\img\sign_road.png"))
            };

            sb.AddPushButton(spd);
            panel2.AddSeparator();

            PulldownButtonData pdbd    = new PulldownButtonData("UCD场地工具", "检查");
            PushButtonData     pushbtn = new PushButtonData("UCD场地工具", "碰撞检查", @"D:\Studay\CSharp\Work\Revit\Collision\bin\Debug\Collision.dll", "Collision.Class1");
            PulldownButton     btn     = panel2.AddItem(pushbtn) as PulldownButton;

            btn.LongDescription = "检查当前物体是否碰撞";
            btn.AddPushButton(pushbtn);

            RibbonPanel  panel3 = application.CreateRibbonPanel("UCD场地工具", "文件");
            ComboBoxData cbd    = new ComboBoxData("选项");
            ComboBox     cBox   = panel3.AddItem(cbd) as ComboBox;

            if (cBox != null)
            {
                cBox.ItemText        = "选择操作";
                cBox.ToolTip         = "请选择想要进行的操作";
                cBox.LongDescription = "选择一直接关闭,选择二关闭并修改";
                ComboBoxMemberData cbmd  = new ComboBoxMemberData("A", "关闭");
                ComboBoxMemberData cbmd2 = new ComboBoxMemberData("B", "关闭并修改");
                cbmd.GroupName = "编辑操作";
                cBox.AddItem(cbmd);
                cBox.AddItem(cbmd2);
            }

            cBox.CurrentChanged += Change;
            cBox.CurrentChanged += Closed;
            return(Result.Succeeded);
        }
Ejemplo n.º 8
0
        private bool AddSplitButton(RibbonPanel rp)
        {
            try
            {
                SplitButtonData sbData = new SplitButtonData("splitButton01", "function select");
                sbData.Image      = RibbonUtil.GetBitmapImage(LARGEICON);
                sbData.LargeImage = RibbonUtil.GetBitmapImage(LARGEICON);

                SplitButton sb = rp.AddItem(sbData) as SplitButton;

                PushButtonData pbd;

                pbd = createButton("SplitBtn01", "Proper\nCascade", "OrganizeProperCascade",
                                   "Organize Revit Windows by Proper Cascade", SMALLICON, LARGEICON);
                sb.AddPushButton(pbd);

                pbd = createButton("SplitBtn02", "Window's\nCascade", "OrganizeWindowsCascade",
                                   "Organize Revit Windows by Windows Cascade", SMALLICON, LARGEICON);
                sb.AddPushButton(pbd);

                pbd = createButton("SplitBtn03", "Active on\nLeft Tiled", "OrganizeLeft",
                                   "Place the Active Window on the Left", SMALLICON, LARGEICON);
                sb.AddPushButton(pbd);

                pbd = createButton("SplitBtn04", "Active on\nTop Tiled", "OrganizeTop",
                                   "Place the Active Window on the Top", SMALLICON, LARGEICON);
                sb.AddPushButton(pbd);

                pbd = createButton("SplitBtn05", "Active on\nRight Tiled", "OrganizeRight",
                                   "Place the Active Window on the Right", SMALLICON, LARGEICON);
                sb.AddPushButton(pbd);

                pbd = createButton("SplitBtn06", "Active on\nBottom Tiled", "OrganizeBottom",
                                   "Place the Active Window on the Bottom", SMALLICON, LARGEICON);
                sb.AddPushButton(pbd);

                pbd = createButton("SplitBtn07", "Active to\nLeft Stacked", "OrganizeLeftOverlapped",
                                   "Place the Active Window on the Left\nand Stack Remaining Windows", SMALLICON, LARGEICON);
                sb.AddPushButton(pbd);
            }
            catch
            {
                return(false);
            }

            return(true);
        }
Ejemplo n.º 9
0
        public static void CollapseAndWait(this SplitButton splitButton)
        {
            if (splitButton == null)
            {
                Log.Error("Attempted to collapse a null split button! Dumping context...");
                DumpHelper.DumpFullContext();
                throw new ArgumentNullException("splitButton");
            }

            using (var waiter = splitButton.GetCollapsedWaiter())
            {
                splitButton.Collapse();
                waiter.Wait();
            }

            Wait.ForIdle();
        }
Ejemplo n.º 10
0
    static IEnumerable <ToolStripItem> BuildTrackingMenuItems(Tracker tracker)
    {
        if (!tracker.TrackingAny)
        {
            yield break;
        }

        yield return(new MenuButton("Clear", tracker.Clear, Images.Clear));

        if (tracker.Deletes.Any())
        {
            yield return(new ToolStripSeparator());

            yield return(new MenuButton("Pending Deletes:", tracker.AcceptAllDeletes, Images.Delete));

            foreach (var delete in tracker.Deletes)
            {
                var menu = new SplitButton($"{delete.Name}", () => tracker.Accept(delete));
                menu.AddRange(
                    new MenuButton("Accept change", () => tracker.Accept(delete)),
                    new MenuButton("Open directory", () => ExplorerLauncher.ShowFileInExplorer(delete.File)));
                yield return(menu);
            }
        }

        if (tracker.Moves.Any())
        {
            yield return(new ToolStripSeparator());

            yield return(new MenuButton("Pending Moves:", tracker.AcceptAllMoves, Images.Accept));

            foreach (var move in tracker.Moves)
            {
                var menu = new SplitButton($"{move.Name} ({move.Extension})", () => tracker.Accept(move));
                menu.AddRange(
                    new MenuButton("Accept change", () => tracker.Accept(move)),
                    new MenuButton("Launch diff tool", () => ProcessLauncher.Launch(move)),
                    new MenuButton("Open directory", () => ExplorerLauncher.ShowFileInExplorer(move.Temp)));
                yield return(menu);
            }
        }

        yield return(new ToolStripSeparator());

        yield return(new MenuButton("Accept all", tracker.AcceptAll, Images.AcceptAll));
    }
Ejemplo n.º 11
0
        private async void InstallButton_Click(SplitButton sender, SplitButtonClickEventArgs e)
        {
            InstallButton.IsEnabled = false;
            var    culture   = CultureInfo.CurrentUICulture;
            string productId = ViewModel.Product.ProductId;

            var dialog = new ProgressDialog()
            {
                Title = ViewModel.Product.Title,
                Body  = "Fetching packages..."
            };

            dialog.ShowAsync();

            DisplayCatalogHandler dcathandler = new DisplayCatalogHandler(DCatEndpoint.Production, new Locale(Market.US, Lang.en, true));
            await dcathandler.QueryDCATAsync(productId);

            var packs = await dcathandler.GetMainPackagesForProductAsync();

            string packageFamilyName = dcathandler.ProductListing.Product.Properties.PackageFamilyName;

            dialog.Hide();
            if (packs != null)// && packs.Count > 0)
            {
                var package = PackageHelper.GetLatestDesktopPackage(packs.ToList(), packageFamilyName, ViewModel.Product);
                if (package == null)
                {
                    var noPackagesDialog = new ContentDialog()
                    {
                        Title             = ViewModel.Product.Title,
                        Content           = "No available packages for this product.",
                        PrimaryButtonText = "Ok"
                    };
                    await noPackagesDialog.ShowAsync();

                    return;
                }
                else
                {
                    await PackageHelper.InstallPackage(package, ViewModel.Product);
                }
            }

            InstallButton.IsEnabled = true;
        }
Ejemplo n.º 12
0
        private static SplitButton FindFunkyButton()
        {
            Window mainWindow = App.Current.MainWindow;
            var    tab        = mainWindow.FindName("tabControlMain") as TabControl;

            if (tab == null)
            {
                return(null);
            }
            var infoDumpTab = tab.Items[0] as TabItem;

            if (infoDumpTab == null)
            {
                return(null);
            }
            var grid = infoDumpTab.Content as Grid;

            if (grid == null)
            {
                return(null);
            }
            SplitButton FunkyButton = grid.FindName("Funky") as SplitButton;

            if (FunkyButton != null)
            {
                Logger.DBLog.DebugFormat("Funky Button handler added");
            }
            else
            {
                SplitButton[] splitbuttons = grid.Children.OfType <SplitButton>().ToArray();
                if (splitbuttons.Any())
                {
                    foreach (var item in splitbuttons)
                    {
                        if (item.Name.Contains("Funky"))
                        {
                            FunkyButton = item;
                            break;
                        }
                    }
                }
            }

            return(FunkyButton);
        }
Ejemplo n.º 13
0
        public override DataTemplate SelectTemplate(object item, DependencyObject container)
        {
            var         item1       = (container as ContentPresenter);
            SplitButton splitButton = (item1.TemplatedParent as SplitButton);

            if (splitButton != null)
            {
                if (splitButton.SizeForm == SizeForm.Small || splitButton.SizeForm == SizeForm.ExtraSmall)
                {
                    return(SmallTemplate);
                }
                else if (splitButton.SizeForm == SizeForm.Large)
                {
                    return(LargeTemplate);
                }
            }
            return(LargeTemplate);
        }
Ejemplo n.º 14
0
        /// <summary>
        /// Add min 2 or max 3 buttons to a stacked button.
        /// </summary>
        private bool AddSplitButton(RibbonPanel panel, IList <PushButtonData> splitButtonsGroup, string splitButtonName, string splitButtonText)
        {
            try
            {
                SplitButtonData sb1 = new SplitButtonData(splitButtonName, splitButtonText);
                SplitButton     sb  = panel.AddItem(sb1) as SplitButton;

                foreach (PushButtonData item in splitButtonsGroup)
                {
                    sb.AddPushButton(item);
                }

                return(true);
            }
            catch
            {
                return(false);
            }
        }
Ejemplo n.º 15
0
        /// <summary>
        /// Removes any 'Joker' characters from a Criteria TextBox
        /// </summary>
        /// <param name="AFindCriteriaDataTable"></param>
        /// <param name="ASplitButton"></param>
        /// <param name="AAssociatedTextBox"></param>
        /// <param name="ALastSelection"></param>
        public static void RemoveJokersFromTextBox(DataTable AFindCriteriaDataTable, SplitButton ASplitButton,
                                                   TextBox AAssociatedTextBox, TMatches ALastSelection)
        {
            string NewText;

            try
            {
                if (AAssociatedTextBox != null)
                {
                    // Remove * Joker character(s)
                    NewText = AAssociatedTextBox.Text.Replace("*", String.Empty);

                    // If an EXACT search is wanted, we need to remove the % Joker character(s) as well
                    if (ALastSelection == TMatches.EXACT)
                    {
                        NewText = NewText.Replace("%", String.Empty);
                    }

//                    TLogging.Log(
//                        "RemoveJokersFromTextBox:  Associated TextBox's (" + AAssociatedTextBox.Name + ") Text (1): " + AAssociatedTextBox.Text);
//                    AFindCriteriaDataTable.Rows[0].BeginEdit();
//                    AAssociatedTextBox.Text = NewText;
//                    AFindCriteriaDataTable.Rows[0].EndEdit();

                    string fieldname = ((TextBox)AAssociatedTextBox).DataBindings[0].BindingMemberInfo.BindingMember;
                    AFindCriteriaDataTable.Rows[0][fieldname] = NewText;
                    fieldname = ((SplitButton)ASplitButton).DataBindings[0].BindingMemberInfo.BindingMember;
                    AFindCriteriaDataTable.Rows[0][fieldname] = Enum.GetName(typeof(TMatches), ALastSelection);
//                    AFindCriteriaDataTable.Rows[0].EndEdit();

//
//                    AAssociatedTextBox.Text = NewText;
//
//                    TLogging.Log(
//                        "RemoveJokersFromTextBox:  Associated TextBox's (" + AAssociatedTextBox.Name + ") Text (2): " + AAssociatedTextBox.Text);
                }
            }
            catch (Exception exp)
            {
                MessageBox.Show("Exception in RemoveJokersFromTextBox: " + exp.ToString());
            }
        }
Ejemplo n.º 16
0
        public static RibbonPanel CreateLoggedPanel(RibbonPanel bimsyncPanel)
        {
            //Retrive dll path
            string DllPath = Assembly.GetExecutingAssembly().Location;

            //Create contextual help
            string         helpPath = Path.Combine(Path.GetDirectoryName(DllPath), "bimsyncHelp.html");
            ContextualHelp help     = new ContextualHelp(ContextualHelpType.ChmFile, helpPath);

            //Add Logged Buttons
            PushButtonData profileButton = new PushButtonData("profileButton", "Profile", DllPath, "bimsync.Commands.Profile");

            profileButton.ToolTip    = "Open your bimsync account";
            profileButton.LargeImage = RetriveImage("bimsync.Resources.user_large.png");
            profileButton.Image      = RetriveImage("bimsync.Resources.user_small.png");
            profileButton.SetContextualHelp(help);

            PushButtonData logoutButton = new PushButtonData("logoutButton", "Logout", DllPath, "bimsync.Commands.Logout");

            logoutButton.ToolTip    = "Logout";
            logoutButton.LargeImage = RetriveImage("bimsync.Resources.power-off_large.png");
            logoutButton.Image      = RetriveImage("bimsync.Resources.power-off_small.png");
            logoutButton.SetContextualHelp(help);

            SplitButtonData accountButton = new SplitButtonData("AccountButton", "Account");

            _accountButton = bimsyncPanel.AddItem(accountButton) as SplitButton;
            _accountButton.AddPushButton(profileButton);
            _accountButton.AddPushButton(logoutButton);

            //Add upload to bimsync Button
            PushButtonData uploadButton = new PushButtonData("uploadButton", "Upload", DllPath, "bimsync.Commands.Upload");

            uploadButton.ToolTip    = "Upload your model to bimsync";
            uploadButton.LargeImage = RetriveImage("bimsync.Resources.cloud-upload_large.png");
            uploadButton.Image      = RetriveImage("bimsync.Resources.cloud-upload_small.png");
            uploadButton.SetContextualHelp(help);

            _uploadButton = bimsyncPanel.AddItem(uploadButton);

            return(bimsyncPanel);
        }
        private void AddButtonPlay()
        {
            SplitButton sb = new SplitButton();

            sb.Font      = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            sb.ForeColor = System.Drawing.SystemColors.MenuHighlight;
            sb.Location  = new System.Drawing.Point(146, 48);
            sb.Size      = new System.Drawing.Size(124, 47);
            sb.UseVisualStyleBackColor = true;
            sb.Text             = "PLAY";
            sb.ShowSplit        = true;
            sb.TabStop          = false;
            sb.ContextMenuStrip = new ContextMenuStrip();
            sb.ContextMenuStrip.Items.Add("DirectX 12");
            this.Controls.Add(sb);
            sb.Click += new System.EventHandler(this.sb_Click);
            sb.ContextMenuStrip.Items[0].Click += new System.EventHandler(this.sb0_Click);

            label5.Visible = false;
        }
Ejemplo n.º 18
0
        /// <summary>
        /// Creates the button without command binding.
        /// </summary>
        /// <param name="itemsControl">The items control.</param>
        /// <param name="items">The nested items.</param>
        /// <param name="header">The header.</param>
        /// <param name="icon">The icon.</param>
        /// <param name="largeIcon">The large icon.</param>
        /// <returns>Split button.</returns>
        /// <exception cref="ArgumentNullException">The <paramref header="itemsControl"/> is <c>null</c>.</exception>
        /// <exception cref="ArgumentException">The <paramref header="header"/> is <c>null</c> or whitespace.</exception>
        private static SplitButton CreateSplitButtonWithoutCommandBinding(this ItemsControl itemsControl, List <IRibbonItem> items, string header, string icon, string largeIcon)
        {
            Argument.IsNotNull("itemsControl", itemsControl);
            Argument.IsNotNullOrWhitespace("header", header);

            var button = new SplitButton();

            button.Header    = header;
            button.Icon      = icon;
            button.LargeIcon = largeIcon;

            foreach (var ribbonItem in items)
            {
                button.AddRibbonItem(ribbonItem);
            }

            itemsControl.Items.Add(button);

            return(button);
        }
Ejemplo n.º 19
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            BtnSetImageFile  = (SplitButton)GetTemplateChild("BtnSetImageFile");
            LblPath          = (TextBlock)GetTemplateChild("LblPath");
            BtnOpenFile      = (Button)GetTemplateChild("BtnOpenFile");
            BtnReset         = (Button)GetTemplateChild("BtnReset");
            MyDropOverlay    = (DropOverlay)GetTemplateChild("MyDropOverlay");
            ImgSelectedImage = (Image)GetTemplateChild("ImgSelectedImage");

            BtnOpenFile.Click += BtnOpenFile_Click;

            BtnReset.Click += BtnReset_Click;

            BtnSetImageFile.Click  += BtnSetImageFile_Click;
            BtnSetImageFile.Opened += BtnSetImageFile_Opened;

            BtnOpenFile.Visibility = Visibility.Collapsed;
        }
Ejemplo n.º 20
0
        // private bool AddSplitButtonDelete(RibbonPanel ribbonPanel)
        // {
        //  SplitButtonData sbData = new SplitButtonData("splitButton1", "Split");
        //  SplitButton sb = ribbonPanel.AddItem(sbData) as SplitButton;
        //
        //  bool result;
        //
        //  result = CreateSplitButton(sb, "DelRootExStore",
        //      BTN_EX_STOR_DEL_ROOT, "Delete Ex Storage Root Entity");
        //
        //  result = CreateSplitButton(sb, "DelAppExStore",
        //      BTN_EX_STOR_DEL_APP, "Delete Ex Storage App Entity");
        //
        //  // result = CreateSplitButton(sb, "DelSubExStor",
        //  //  BTN_EX_STOR_DEL_SUB, "Delete Ex Storage Sub-Entities");
        //
        //  return true;
        // }


        // private bool AddSplitButtonModify(RibbonPanel ribbonPanel)
        // {
        //  SplitButtonData sbData = new SplitButtonData("splitButton3", "Split");
        //  SplitButton sb = ribbonPanel.AddItem(sbData) as SplitButton;
        //
        //  bool result;
        //
        //  result = CreateSplitButton(sb, "ModCellExData",
        //      BTN_EX_STOR_MOD_CELLS, "Modify Cells Entity");
        //
        //  result = CreateSplitButton(sb, "ModAppExData",
        //      BTN_EX_STOR_MOD_APP, "Modify App Entity");
        //
        //  // result = CreateSplitButton(sb, "DelSubExStor",
        //  //  BTN_EX_STOR_DEL_SUB, "Delete Ex Storage Sub-Entities");
        //
        //  return true;
        // }

        private bool CreateSplitButton(SplitButton sb,
                                       string identifier, string title, string tootTip)
        {
            PushButtonData pbd;

            pbd = CreateButton(identifier, title,
                               "information16.png", "information16.png",
                               Assembly.GetExecutingAssembly().Location,
                               "AOTools." + identifier, tootTip);

            if (pbd == null)
            {
                CreateButtonFail(identifier);
                return(false);
            }

            sb.AddPushButton(pbd);

            return(true);
        }
Ejemplo n.º 21
0
        private async void btnSend_Click(SplitButton sender, SplitButtonClickEventArgs args)
        {
            if (isTutorialPlaying)
            {
                var root = VisualTreeHelperUtils.FindParent <MainPage>(this);
                if (root != null)
                {
                    root.TutorialStepDone();
                }
            }
            else
            {
                IsEnabled = false;
                IsLoading = true;

                await Task.Run(async() =>
                {
                    // Figure out who will be feedbacked
                    if (CurrentBatch.Teachers.Count == 0)  // If user didn't load teachers we gonna
                    {
                        CurrentBatch.Teachers = await Provider.GetFeedbackEntries();
                    }

                    var filtered        = await GetFilteredTeacher();
                    var includedTeacher = filtered.Where(x => !CurrentBatch.ExcludeTeachers.Any(p => p.ID == x.ID)).Select(x => SendFeedback(x)).ToList();

                    int count   = includedTeacher.Count;
                    int ftcount = 0;
                    while (includedTeacher.Count() > 0)
                    {
                        var finishedTask = await Task.WhenAny(includedTeacher);
                        ftcount++;
                        await Dispatcher.RunIdleAsync(x => FBStatusCount = $"{ftcount}/{count}");
                        includedTeacher.Remove(finishedTask);
                    }
                });

                IsEnabled = true;
                IsLoading = false;
            }
        }
Ejemplo n.º 22
0
        private SplitButton BuildSplitButton(object data, BuildContext bc)
        {
            SplitButtonProperties properties =
                DataNodeWrapper.GetNodeAttributes(data).To <SplitButtonProperties>();

            JSObject[] children = DataNodeWrapper.GetNodeChildren(data);
            Menu       menu     = null;

            if (!Utility.IsTrue(properties.PopulateDynamically))
            {
                menu = BuildMenu(children[0], bc, true);
            }

            SplitButton fseo =
                new SplitButton(Root,
                                properties.Id,
                                properties,
                                menu);

            return(fseo);
        }
        public void KeyboardTest()
        {
            using (var setup = new TestSetupHelper("SplitButton Tests"))
            {
                SplitButton splitButton = FindElement.ByName <SplitButton>("TestSplitButton");

                TextBlock clickCountTextBlock        = FindElement.ByName <TextBlock>("ClickCountTextBlock");
                TextBlock flyoutOpenedCountTextBlock = FindElement.ByName <TextBlock>("FlyoutOpenedCountTextBlock");
                TextBlock flyoutClosedCountTextBlock = FindElement.ByName <TextBlock>("FlyoutClosedCountTextBlock");

                Verify.AreEqual("0", clickCountTextBlock.DocumentText);
                Log.Comment("Verify that pressing Space on SplitButton causes a click");
                splitButton.SetFocus();
                Wait.ForIdle();
                KeyboardHelper.PressKey(Key.Space);
                Wait.ForIdle();
                Verify.AreEqual("1", clickCountTextBlock.DocumentText);

                Verify.AreEqual("0", flyoutOpenedCountTextBlock.DocumentText);
                Log.Comment("Verify that pressing alt-down on SplitButton opens the flyout");
                KeyboardHelper.PressDownModifierKey(ModifierKey.Alt);
                KeyboardHelper.PressKey(Key.Down);
                KeyboardHelper.ReleaseModifierKey(ModifierKey.Alt);
                Wait.ForIdle();
                Verify.AreEqual("1", flyoutOpenedCountTextBlock.DocumentText);

                Verify.AreEqual("0", flyoutClosedCountTextBlock.DocumentText);
                Log.Comment("Verify that pressing escape closes the flyout");
                KeyboardHelper.PressKey(Key.Escape);
                Wait.ForIdle();
                Verify.AreEqual("1", flyoutClosedCountTextBlock.DocumentText);

                Log.Comment("Verify that F4 opens the flyout");
                splitButton.SetFocus();
                Wait.ForIdle();
                TextInput.SendText("{F4}");
                Wait.ForIdle();
                Verify.AreEqual("2", flyoutOpenedCountTextBlock.DocumentText);
            }
        }
Ejemplo n.º 24
0
        /// <summary>
        /// Add a new labeled column and assign the property to obtain its value from
        /// </summary>
        /// <param name="gridView">the GridView to add the column to</param>
        /// <param name="header">the title label of the column</param>
        /// <param name="propName">the property to use to obtain the value for the column</param>
        /// <param name="defaultSortDirection">report sorted by this column by default (ascending/descending).
        ///                                    Use null if not initially sorted by this column.
        /// </param>
        private void AddColumnToGridView(GridView gridView, string header, string propName, ListSortDirection?defaultSortDirection)
        {
            var gridViewColumnHeader = new GridViewColumnHeader();
            var splitButton          = new SplitButton();

            splitButton.Content         = header;
            splitButton.Click          += sortDefault;
            splitButton.Background      = gridViewColumnHeader.Background;
            splitButton.BorderBrush     = gridViewColumnHeader.Background; //-V3127
            splitButton.BorderThickness = (Thickness) new ThicknessConverter().ConvertFromInvariantString("0");

            var m = new SplitButtonItem();

            m.Content = "Sort A to Z";
            m.Click  += sortA2Z;
            splitButton.Items.Add(m);
            m         = new SplitButtonItem();
            m.Content = "Sort Z to A";
            m.Click  += sortZ2A;
            splitButton.Items.Add(m);
            m         = new SplitButtonItem();
            m.Content = "Filter:";
            m.Click  += lvColumnHeader_Click;
            splitButton.Items.Add(m);

            splitButton.Margin           = (Thickness) new ThicknessConverter().ConvertFromString("0,0,20,0");
            gridViewColumnHeader.Content = splitButton; // margin added to make room for up/down sort marker
            gridViewColumnHeader.Tag     = propName;    // all columns are sortable, so store which field to use when sorting
            gridViewColumnHeader.Click  += lvColumnHeader_Click;

            var gridViewColumn = new GridViewColumn();

            gridViewColumn.Header = gridViewColumnHeader;
            gridViewColumn.DisplayMemberBinding = new Binding(propName);
            gridView.Columns.Add(gridViewColumn);

            // is report sorted by this column by default?
            //if (defaultSortDirection != null) sortByColumn(gridViewColumnHeader, defaultSortDirection);
        }
Ejemplo n.º 25
0
        private void CreateRebarRibbon(UIControlledApplication uiApp, string tabName)
        {
            RibbonPanel panel = uiApp.CreateRibbonPanel(tabName, "Армирование");
            SplitButton areaRebarSplitButton = panel
                                               .AddItem(new SplitButtonData("AreaRebarSplitButton", "Фоновое"))
                                               as SplitButton;

            areaRebarSplitButton.AddPushButton(CreateButtonData("RevitAreaReinforcement", "CommandCreateAreaRebar"));
            areaRebarSplitButton.AddPushButton(CreateButtonData("RevitAreaReinforcement", "CommandCreateFloorRebar"));
            areaRebarSplitButton.AddSeparator();
            areaRebarSplitButton.AddPushButton(CreateButtonData("RevitAreaReinforcement", "CommandRestoreRebarArea"));

            panel.AddSeparator();

            panel.AddItem(CreateButtonData("RebarVisibility", "Command"));

            PushButtonData dataAreaMark      = CreateButtonData("AreaRebarMark", "CommandManualStart");
            PushButtonData dataHideRebars    = CreateButtonData("RebarPresentation", "Command");
            PushButtonData dataExplodeRebars = CreateButtonData("ExplodeRebarSet", "CommandExplode");

            panel.AddStackedItems(dataAreaMark, dataHideRebars, dataExplodeRebars);
        }
Ejemplo n.º 26
0
        //private const string VERSION = "Version R2018 - Build 2018-04-06";

        public Result OnStartup(UIControlledApplication application)
        {
            string startPath = Assembly.GetExecutingAssembly().Location.Substring(0, Assembly.GetExecutingAssembly().Location.LastIndexOf("\\") + 1);

            RibbonPanel ribbonPanel = application.CreateRibbonPanel("HBird");

            PushButtonData pushButtonDataModelBuilder = new PushButtonData("pushButtonModelBuilder", "Model\nBuilder", startPath + "RevitModelBuilder.dll", "RevitModelBuilder.Command");

            pushButtonDataModelBuilder.ToolTip    = "Revit ModelBuilder tool for use with Hummingbird.";
            pushButtonDataModelBuilder.Image      = new BitmapImage(new Uri(startPath + "Hummingbird16.png", UriKind.Absolute));
            pushButtonDataModelBuilder.LargeImage = new BitmapImage(new Uri(startPath + "Hummingbird32.png", UriKind.Absolute));
            PushButtonData pushButtonDataDocumentation = new PushButtonData("pushButtonDocumentation", "Documentation", startPath + "RevitDocumentation.dll", "RevitDocumentation.Command");

            pushButtonDataDocumentation.ToolTip = "Documentation for Hummingbird.";
            SplitButtonData splitButtonData = new SplitButtonData("splitButton", "Split");   // Neither value is visible
            SplitButton     splitButton     = ribbonPanel.AddItem(splitButtonData) as SplitButton;

            splitButton.AddPushButton(pushButtonDataModelBuilder);
            splitButton.AddPushButton(pushButtonDataDocumentation);
            splitButton.IsSynchronizedWithCurrentItem = false;

            return(Result.Succeeded);
        }
Ejemplo n.º 27
0
        public void CommandTest()
        {
            using (var setup = new TestSetupHelper("SplitButton Tests"))
            {
                SplitButton splitButton = FindElement.ByName <SplitButton>("CommandSplitButton");

                CheckBox  canExecuteCheckBox    = FindElement.ByName <CheckBox>("CanExecuteCheckBox");
                TextBlock executeCountTextBlock = FindElement.ByName <TextBlock>("ExecuteCountTextBlock");

                Log.Comment("Verify that the control starts out enabled");
                Verify.AreEqual(ToggleState.On, canExecuteCheckBox.ToggleState);
                Verify.AreEqual(true, splitButton.IsEnabled);
                Verify.AreEqual("0", executeCountTextBlock.DocumentText);

                Log.Comment("Click primary button to execute command");
                ClickPrimaryButton(splitButton);
                Verify.AreEqual("1", executeCountTextBlock.DocumentText);

                Log.Comment("Click primary button with SPACE key to execute command");
                ClickPrimaryButtonWithKey(splitButton, "SPACE");
                Verify.AreEqual("2", executeCountTextBlock.DocumentText);

                Log.Comment("Click primary button with ENTER key to execute command");
                ClickPrimaryButtonWithKey(splitButton, "ENTER");
                Verify.AreEqual("3", executeCountTextBlock.DocumentText);

                Log.Comment("Use invoke pattern to execute command");
                splitButton.InvokeAndWait();
                Verify.AreEqual("4", executeCountTextBlock.DocumentText);

                Log.Comment("Verify that setting CanExecute to false disables the primary button");
                canExecuteCheckBox.Uncheck();
                Wait.ForIdle();
                ClickPrimaryButton(splitButton);
                Verify.AreEqual("4", executeCountTextBlock.DocumentText);
            }
        }
Ejemplo n.º 28
0
        public void Command_Should_Not_Disable_Control()
        {
            var splitButton = new SplitButton
            {
                Command = new RelayCommand(null, () => false)
            };

            using (new TestRibbonWindow(splitButton))
            {
                splitButton.ApplyTemplate();

                Assert.That(splitButton.IsEnabled, Is.True);

                var partButton = splitButton.Template.FindName("PART_Button", splitButton) as ToggleButton;

                Assert.That(partButton, Is.Not.Null);
                Assert.That(partButton.IsEnabled, Is.False);

                splitButton.Command = new RelayCommand(null, () => true);

                Assert.That(splitButton.IsEnabled, Is.True);
                Assert.That(partButton.IsEnabled, Is.True);
            }
        }
Ejemplo n.º 29
0
        private void CreateViewRibbon(UIControlledApplication uiApp, string tabName)
        {
            RibbonPanel panel = uiApp.CreateRibbonPanel(tabName, "Виды и листы");

            PushButtonData pbdPrint = CreateButtonData("BatchPrintYay", "CommandBatchPrint");

            panel.AddItem(pbdPrint);

            PushButtonData pbdColorize = CreateButtonData("RevitViewFilters", "CommandViewColoring");

            panel.AddItem(pbdColorize);


            PushButtonData pbdWallHatch = CreateButtonData("RevitViewFilters", "CommandWallHatch");
            PushButtonData pbdOverrides = CreateButtonData("RevitGraphicsOverride", "Command");

            SplitButtonData sbdFilters = new SplitButtonData("SplitButtonViewFilters", "Фильтры графики");



            IList <RibbonItem> filterItems = panel.AddStackedItems(pbdOverrides, pbdWallHatch, sbdFilters);

            SplitButton    sbFilters        = filterItems[2] as SplitButton;
            PushButtonData pbdCreateFilters = CreateButtonData("RevitViewFilters", "CommandCreate");

            sbFilters.AddPushButton(pbdCreateFilters);
            PushButtonData pbdDeleteFilters = CreateButtonData("RevitViewFilters", "CommandBatchDelete");

            sbFilters.AddPushButton(pbdDeleteFilters);

            PushButtonData pbdOpenSheets  = CreateButtonData("OpenSheets", "Command");
            PushButtonData pbdViewNumbers = CreateButtonData("ViewportNumbers", "CommandViewportNumbers");
            PushButtonData pbdTemplates   = CreateButtonData("ViewTemplateUtils", "CommandCopyTemplate");

            panel.AddStackedItems(pbdOpenSheets, pbdViewNumbers, pbdTemplates);
        }
Ejemplo n.º 30
0
        public void ToggleTest()
        {
            using (var setup = new TestSetupHelper("SplitButton Tests"))
            {
                SplitButton splitButton     = FindElement.ByName <SplitButton>("ToggleSplitButton");
                Button      primaryButton   = GetPrimaryButton(splitButton);
                Button      secondaryButton = GetSecondaryButton(splitButton);

                TextBlock toggleStateTextBlock        = FindElement.ByName <TextBlock>("ToggleStateTextBlock");
                TextBlock toggleStateOnClickTextBlock = FindElement.ByName <TextBlock>("ToggleStateOnClickTextBlock");

                Verify.AreEqual("Unchecked", toggleStateTextBlock.DocumentText);
                Verify.AreEqual("Unchecked", toggleStateOnClickTextBlock.DocumentText);

                Log.Comment("Click primary button to check button");
                primaryButton.Click();
                Wait.ForIdle();

                Verify.AreEqual("Checked", toggleStateTextBlock.DocumentText);
                Verify.AreEqual("Checked", toggleStateOnClickTextBlock.DocumentText);

                Log.Comment("Click primary button to uncheck button");
                primaryButton.Click();
                Wait.ForIdle();

                Verify.AreEqual("Unchecked", toggleStateTextBlock.DocumentText);
                Verify.AreEqual("Unchecked", toggleStateOnClickTextBlock.DocumentText);

                Log.Comment("Clicking secondary button should not change toggle state");
                secondaryButton.Click();
                Wait.ForIdle();

                Verify.AreEqual("Unchecked", toggleStateTextBlock.DocumentText);
                Verify.AreEqual("Unchecked", toggleStateOnClickTextBlock.DocumentText);
            }
        }
Ejemplo n.º 31
0
        /// <summary>
        /// Implement this method to execute some tasks when Autodesk Revit starts.
        /// </summary>
        /// <param name="application">A handle to the application being started.</param>
        /// <returns>
        /// Indicates if the external application completes its work successfully.
        /// </returns>
        public Result OnStartup(UIControlledApplication application)
        {
            string dir  = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
            string path = Path.Combine(dir, ExtensionsFile);
            List <ExtensionModuleData> modules = ExtensionXMLReader.ReadFile(path);

            RibbonPanel     ribbonSamplePanel = application.CreateRibbonPanel("Extension SDK");
            SplitButtonData splitButtonData   = new SplitButtonData("ExtensionSDK", "SDK");
            SplitButton     splitButton       = ribbonSamplePanel.AddItem(splitButtonData) as SplitButton;
            string          imgPath           = Path.Combine(dir, ExtensionsImage);

            foreach (ExtensionModuleData module in modules)
            {
                if (System.IO.File.Exists(module.Path))
                {
                    PushButton pushButton = splitButton.AddPushButton(new PushButtonData(module.Name, module.Description, module.Path, module.Namespace + ".DirectRevitAccess"));

                    string imgModulePath = (File.Exists(module.Img)) ? module.Img : imgPath;
                    pushButton.LargeImage = new BitmapImage(new Uri(imgModulePath));
                }
            }

            return(Result.Succeeded);
        }
Ejemplo n.º 32
0
        static void AddRibbonPanel(UIControlledApplication application)
        {
            RibbonPanel ribbon_panel_tools = application.CreateRibbonPanel("LinkedID");

            string this_assembly_path = Assembly.GetExecutingAssembly().Location;

            PushButtonData selectBD = new PushButtonData("FindID", "Find IDs", this_assembly_path, "Linked_ID.Scripts.FindID");

            selectBD.ToolTip    = "Find IDs of Objects in Linked Model";
            selectBD.LargeImage = new BitmapImage(new Uri("pack://application:,,,/Linked ID;component/Images/Link_Icon_Find.png"));

            PushButtonData findBD = new PushButtonData("FindbyID", "Find by IDs", this_assembly_path, "Linked_ID.Scripts.FindByID");

            findBD.ToolTip    = "Find Objects in a Linked Model by Their ID";
            findBD.LargeImage = new BitmapImage(new Uri("pack://application:,,,/Linked ID;component/Images/Link_Icon_Search.png"));

            SplitButtonData splitButtonData = new SplitButtonData("LinkedID", "Linked ID");

            splitButtonData.LargeImage = new BitmapImage(new Uri("pack://application:,,,/Linked ID;component/Images/Link_Icon_Main.png"));
            SplitButton splitButton = ribbon_panel_tools.AddItem(splitButtonData) as SplitButton;

            splitButton.AddPushButton(selectBD);
            splitButton.AddPushButton(findBD);
        }
Ejemplo n.º 33
0
		private void AddSaveAndSaveAs(FlowLayoutWidget flowToAddTo)
		{
			TupleList<string, Func<bool>> buttonList = new TupleList<string, Func<bool>>();
			buttonList.Add("Save", () =>
			{
				MergeAndSavePartsToCurrentMeshFile();
				return true;
			});
			
			buttonList.Add("Save As", () =>
			{
				UiThread.RunOnIdle(OpenSaveAsWindow);
				return true;
			});

			SplitButtonFactory splitButtonFactory = new SplitButtonFactory();
			splitButtonFactory.FixedHeight = 40 * TextWidget.GlobalPointSizeScaleRatio;
			saveButtons = splitButtonFactory.Generate(buttonList, Direction.Up, imageName: "icon_save_32x32.png");
			saveButtons.Visible = false;

			saveButtons.Margin = new BorderDouble();
			saveButtons.VAnchor |= VAnchor.ParentCenter;

			flowToAddTo.AddChild(saveButtons);
		}
Ejemplo n.º 34
0
        public static void initDebugLabels(out SplitButton btn)
        {
            btn = new SplitButton
            {
                Width = 125,
                Height = 20,
                HorizontalAlignment = HorizontalAlignment.Left,
                VerticalAlignment = VerticalAlignment.Top,
                Margin = new Thickness(425, 10, 0, 0),
                IsEnabled = true,
                Content = "Funky",
                Name = "Funky",
            };
            btn.Click += lblFunky_Click;

            lblDebug_OpenLog = new Label
            {
                Content = "Open DB LogFile",
                Width = 100,
                Height = 25,
                HorizontalAlignment = HorizontalAlignment.Stretch,
            };
            lblDebug_OpenLog.MouseDown += lblDebug_OpenDBLog;

            lblDebug_FunkyLog = new Label
            {
                Content = "Open Funky LogFile",
                Width = 100,
                Height = 25,
                HorizontalAlignment = HorizontalAlignment.Stretch,
            };
            lblDebug_FunkyLog.MouseDown += lblDebug_OpenFunkyLog;

            Label OpenTrinityFolder = new Label
            {
                Content = "Open Funky Folder",
                Width = 100,
                Height = 25,
                HorizontalAlignment = HorizontalAlignment.Stretch,

            };
            OpenTrinityFolder.MouseDown += lblDebug_OpenTrinityFolder;

            Label Recompile = new Label
            {
                Content = "Recompile Funky",
                Width = 100,
                Height = 25,
                HorizontalAlignment = HorizontalAlignment.Stretch,

            };
            Recompile.MouseDown += lblCompile_Click;

            lblDebug_DumpUnits = new Label
            {
                Content = "Simple",
                Width = 100,
                Height = 25
            };
            lblDebug_DumpUnits.MouseDown += lblDebug_DumpUnits_Click;

            lblDebug_DumpUnitAttributes = new Label
            {
                Content = "with Attributes",
                Width = 100,
                Height = 25
            };
            lblDebug_DumpUnitAttributes.MouseDown += lblDebug_DumpUnitsAttributes_Click;

            menuItem_Debug_Units = new MenuItem
            {
                Header = "Dump Units",
                Width = 100,
                Height = 25
            };
            menuItem_Debug_Units.Items.Add(lblDebug_DumpUnits);
            menuItem_Debug_Units.Items.Add(lblDebug_DumpUnitAttributes);

            menuItem_Debug = new MenuItem
            {
                Header = "Debuging",
                Width = 125
            };
            menuItem_Debug.Items.Add(lblDebug_OpenLog);
            menuItem_Debug.Items.Add(lblDebug_FunkyLog);
            menuItem_Debug.Items.Add(OpenTrinityFolder);
            menuItem_Debug.Items.Add(Recompile);
            btn.ButtonMenuItemsSource.Add(menuItem_Debug);

            MenuItem menuItem_DumpInfo = new MenuItem
            {
                Header = "Info Dumping",
                Width = 125
            };
            menuItem_DumpInfo.Items.Add(lblDebug_DumpObjects);
            menuItem_DumpInfo.Items.Add(menuItem_Debug_Units);
            //btn.ButtonMenuItemsSource.Add(menuItem_DumpInfo);
        }
 /// <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();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.groupBox6 = new System.Windows.Forms.GroupBox();
     this.CoopDefendFlag = new System.Windows.Forms.NumericUpDown();
     this.CoopFlagNeutralizeAsst = new System.Windows.Forms.NumericUpDown();
     this.CoopFlagNeutralize = new System.Windows.Forms.NumericUpDown();
     this.CoopFlagCaptureAsst = new System.Windows.Forms.NumericUpDown();
     this.CoopFlagCapture = new System.Windows.Forms.NumericUpDown();
     this.label20 = new System.Windows.Forms.Label();
     this.label21 = new System.Windows.Forms.Label();
     this.label22 = new System.Windows.Forms.Label();
     this.label23 = new System.Windows.Forms.Label();
     this.label24 = new System.Windows.Forms.Label();
     this.groupBox5 = new System.Windows.Forms.GroupBox();
     this.ConqDefendFlag = new System.Windows.Forms.NumericUpDown();
     this.ConqFlagNeutralizeAsst = new System.Windows.Forms.NumericUpDown();
     this.ConqFlagNeutralize = new System.Windows.Forms.NumericUpDown();
     this.ConqFlagCaptureAsst = new System.Windows.Forms.NumericUpDown();
     this.ConqFlagCapture = new System.Windows.Forms.NumericUpDown();
     this.label19 = new System.Windows.Forms.Label();
     this.label17 = new System.Windows.Forms.Label();
     this.label18 = new System.Windows.Forms.Label();
     this.label16 = new System.Windows.Forms.Label();
     this.label15 = new System.Windows.Forms.Label();
     this.groupBox4 = new System.Windows.Forms.GroupBox();
     this.SuicideScore = new System.Windows.Forms.NumericUpDown();
     this.TeamVehicleDamage = new System.Windows.Forms.NumericUpDown();
     this.TeamDamage = new System.Windows.Forms.NumericUpDown();
     this.TeamKillScore = new System.Windows.Forms.NumericUpDown();
     this.label3 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.DamageAssist = new System.Windows.Forms.NumericUpDown();
     this.TargeterKA = new System.Windows.Forms.NumericUpDown();
     this.PassangerKA = new System.Windows.Forms.NumericUpDown();
     this.DriverKA = new System.Windows.Forms.NumericUpDown();
     this.label14 = new System.Windows.Forms.Label();
     this.label11 = new System.Windows.Forms.Label();
     this.label12 = new System.Windows.Forms.Label();
     this.label13 = new System.Windows.Forms.Label();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.VehicleRepair = new System.Windows.Forms.NumericUpDown();
     this.GiveAmmo = new System.Windows.Forms.NumericUpDown();
     this.GiveHealth = new System.Windows.Forms.NumericUpDown();
     this.label10 = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.DestroyEnemyAsset = new System.Windows.Forms.NumericUpDown();
     this.ReviveScore = new System.Windows.Forms.NumericUpDown();
     this.KillScore = new System.Windows.Forms.NumericUpDown();
     this.label2 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.groupBox7 = new System.Windows.Forms.GroupBox();
     this.AiCoopDefendFlag = new System.Windows.Forms.NumericUpDown();
     this.AiCoopFlagNeutralizeAsst = new System.Windows.Forms.NumericUpDown();
     this.AiCoopFlagNeutralize = new System.Windows.Forms.NumericUpDown();
     this.AiCoopFlagCaptureAsst = new System.Windows.Forms.NumericUpDown();
     this.AiCoopFlagCapture = new System.Windows.Forms.NumericUpDown();
     this.label25 = new System.Windows.Forms.Label();
     this.label26 = new System.Windows.Forms.Label();
     this.label27 = new System.Windows.Forms.Label();
     this.label28 = new System.Windows.Forms.Label();
     this.label29 = new System.Windows.Forms.Label();
     this.groupBox8 = new System.Windows.Forms.GroupBox();
     this.AiCqDefendFlag = new System.Windows.Forms.NumericUpDown();
     this.AiCqFlagNeutralizeAsst = new System.Windows.Forms.NumericUpDown();
     this.AiCqFlagNeutralize = new System.Windows.Forms.NumericUpDown();
     this.AiCqFlagCaptureAsst = new System.Windows.Forms.NumericUpDown();
     this.AiCqFlagCapture = new System.Windows.Forms.NumericUpDown();
     this.label31 = new System.Windows.Forms.Label();
     this.label57 = new System.Windows.Forms.Label();
     this.label58 = new System.Windows.Forms.Label();
     this.label59 = new System.Windows.Forms.Label();
     this.label60 = new System.Windows.Forms.Label();
     this.groupBox9 = new System.Windows.Forms.GroupBox();
     this.AiSuicideScore = new System.Windows.Forms.NumericUpDown();
     this.AiTeamVehicleDamage = new System.Windows.Forms.NumericUpDown();
     this.AiTeamDamage = new System.Windows.Forms.NumericUpDown();
     this.AiTeamKillScore = new System.Windows.Forms.NumericUpDown();
     this.label35 = new System.Windows.Forms.Label();
     this.label36 = new System.Windows.Forms.Label();
     this.label37 = new System.Windows.Forms.Label();
     this.label38 = new System.Windows.Forms.Label();
     this.groupBox10 = new System.Windows.Forms.GroupBox();
     this.AiDamageAssist = new System.Windows.Forms.NumericUpDown();
     this.AiTargeterKA = new System.Windows.Forms.NumericUpDown();
     this.AiPassangerKA = new System.Windows.Forms.NumericUpDown();
     this.AiDriverKA = new System.Windows.Forms.NumericUpDown();
     this.label39 = new System.Windows.Forms.Label();
     this.label40 = new System.Windows.Forms.Label();
     this.label41 = new System.Windows.Forms.Label();
     this.label42 = new System.Windows.Forms.Label();
     this.groupBox11 = new System.Windows.Forms.GroupBox();
     this.AiVehicleRepair = new System.Windows.Forms.NumericUpDown();
     this.AiGiveAmmo = new System.Windows.Forms.NumericUpDown();
     this.AiGiveHealth = new System.Windows.Forms.NumericUpDown();
     this.label43 = new System.Windows.Forms.Label();
     this.label44 = new System.Windows.Forms.Label();
     this.label45 = new System.Windows.Forms.Label();
     this.groupBox12 = new System.Windows.Forms.GroupBox();
     this.AiDestroyEnemyAsset = new System.Windows.Forms.NumericUpDown();
     this.AiReviveScore = new System.Windows.Forms.NumericUpDown();
     this.AiKillScore = new System.Windows.Forms.NumericUpDown();
     this.label46 = new System.Windows.Forms.Label();
     this.label47 = new System.Windows.Forms.Label();
     this.label48 = new System.Windows.Forms.Label();
     this.tabPage3 = new System.Windows.Forms.TabPage();
     this.groupBox13 = new System.Windows.Forms.GroupBox();
     this.label56 = new System.Windows.Forms.Label();
     this.label55 = new System.Windows.Forms.Label();
     this.label54 = new System.Windows.Forms.Label();
     this.label53 = new System.Windows.Forms.Label();
     this.label52 = new System.Windows.Forms.Label();
     this.label51 = new System.Windows.Forms.Label();
     this.ReplenishInterval = new System.Windows.Forms.NumericUpDown();
     this.label50 = new System.Windows.Forms.Label();
     this.TeamVDamageLimit = new System.Windows.Forms.NumericUpDown();
     this.label49 = new System.Windows.Forms.Label();
     this.TeamDamageLimit = new System.Windows.Forms.NumericUpDown();
     this.AmmoPointLimit = new System.Windows.Forms.NumericUpDown();
     this.HealPointLimit = new System.Windows.Forms.NumericUpDown();
     this.RepairPointLimit = new System.Windows.Forms.NumericUpDown();
     this.label30 = new System.Windows.Forms.Label();
     this.label32 = new System.Windows.Forms.Label();
     this.label33 = new System.Windows.Forms.Label();
     this.label34 = new System.Windows.Forms.Label();
     this.Cancel = new System.Windows.Forms.Button();
     this.SaveButton = new System.Windows.Forms.Button();
     this.ResetButton = new System.Windows.Forms.Button();
     this.ImportBtn = new BF2Statistics.SplitButton();
     this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.ImportSettingsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.ExportSettingsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.groupBox6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.CoopDefendFlag)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.CoopFlagNeutralizeAsst)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.CoopFlagNeutralize)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.CoopFlagCaptureAsst)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.CoopFlagCapture)).BeginInit();
     this.groupBox5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ConqDefendFlag)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ConqFlagNeutralizeAsst)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ConqFlagNeutralize)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ConqFlagCaptureAsst)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ConqFlagCapture)).BeginInit();
     this.groupBox4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.SuicideScore)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.TeamVehicleDamage)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.TeamDamage)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.TeamKillScore)).BeginInit();
     this.groupBox3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DamageAssist)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.TargeterKA)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.PassangerKA)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.DriverKA)).BeginInit();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.VehicleRepair)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.GiveAmmo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.GiveHealth)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DestroyEnemyAsset)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ReviveScore)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.KillScore)).BeginInit();
     this.tabPage2.SuspendLayout();
     this.groupBox7.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.AiCoopDefendFlag)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiCoopFlagNeutralizeAsst)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiCoopFlagNeutralize)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiCoopFlagCaptureAsst)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiCoopFlagCapture)).BeginInit();
     this.groupBox8.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.AiCqDefendFlag)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiCqFlagNeutralizeAsst)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiCqFlagNeutralize)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiCqFlagCaptureAsst)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiCqFlagCapture)).BeginInit();
     this.groupBox9.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.AiSuicideScore)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiTeamVehicleDamage)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiTeamDamage)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiTeamKillScore)).BeginInit();
     this.groupBox10.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.AiDamageAssist)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiTargeterKA)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiPassangerKA)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiDriverKA)).BeginInit();
     this.groupBox11.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.AiVehicleRepair)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiGiveAmmo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiGiveHealth)).BeginInit();
     this.groupBox12.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.AiDestroyEnemyAsset)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiReviveScore)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiKillScore)).BeginInit();
     this.tabPage3.SuspendLayout();
     this.groupBox13.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ReplenishInterval)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.TeamVDamageLimit)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.TeamDamageLimit)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AmmoPointLimit)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.HealPointLimit)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.RepairPointLimit)).BeginInit();
     this.contextMenuStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Controls.Add(this.tabPage3);
     this.tabControl1.Location = new System.Drawing.Point(-1, 10);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(775, 340);
     this.tabControl1.TabIndex = 0;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.groupBox6);
     this.tabPage1.Controls.Add(this.groupBox5);
     this.tabPage1.Controls.Add(this.groupBox4);
     this.tabPage1.Controls.Add(this.groupBox3);
     this.tabPage1.Controls.Add(this.groupBox2);
     this.tabPage1.Controls.Add(this.groupBox1);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(767, 314);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "Player Scoring";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // groupBox6
     //
     this.groupBox6.Controls.Add(this.CoopDefendFlag);
     this.groupBox6.Controls.Add(this.CoopFlagNeutralizeAsst);
     this.groupBox6.Controls.Add(this.CoopFlagNeutralize);
     this.groupBox6.Controls.Add(this.CoopFlagCaptureAsst);
     this.groupBox6.Controls.Add(this.CoopFlagCapture);
     this.groupBox6.Controls.Add(this.label20);
     this.groupBox6.Controls.Add(this.label21);
     this.groupBox6.Controls.Add(this.label22);
     this.groupBox6.Controls.Add(this.label23);
     this.groupBox6.Controls.Add(this.label24);
     this.groupBox6.Location = new System.Drawing.Point(392, 162);
     this.groupBox6.Name = "groupBox6";
     this.groupBox6.Size = new System.Drawing.Size(364, 126);
     this.groupBox6.TabIndex = 5;
     this.groupBox6.TabStop = false;
     this.groupBox6.Text = "Coop Scoring";
     //
     // CoopDefendFlag
     //
     this.CoopDefendFlag.Location = new System.Drawing.Point(198, 77);
     this.CoopDefendFlag.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.CoopDefendFlag.Name = "CoopDefendFlag";
     this.CoopDefendFlag.Size = new System.Drawing.Size(40, 20);
     this.CoopDefendFlag.TabIndex = 33;
     //
     // CoopFlagNeutralizeAsst
     //
     this.CoopFlagNeutralizeAsst.Location = new System.Drawing.Point(300, 46);
     this.CoopFlagNeutralizeAsst.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.CoopFlagNeutralizeAsst.Name = "CoopFlagNeutralizeAsst";
     this.CoopFlagNeutralizeAsst.Size = new System.Drawing.Size(40, 20);
     this.CoopFlagNeutralizeAsst.TabIndex = 32;
     //
     // CoopFlagNeutralize
     //
     this.CoopFlagNeutralize.Location = new System.Drawing.Point(300, 20);
     this.CoopFlagNeutralize.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.CoopFlagNeutralize.Name = "CoopFlagNeutralize";
     this.CoopFlagNeutralize.Size = new System.Drawing.Size(40, 20);
     this.CoopFlagNeutralize.TabIndex = 31;
     //
     // CoopFlagCaptureAsst
     //
     this.CoopFlagCaptureAsst.Location = new System.Drawing.Point(123, 46);
     this.CoopFlagCaptureAsst.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.CoopFlagCaptureAsst.Name = "CoopFlagCaptureAsst";
     this.CoopFlagCaptureAsst.Size = new System.Drawing.Size(40, 20);
     this.CoopFlagCaptureAsst.TabIndex = 30;
     //
     // CoopFlagCapture
     //
     this.CoopFlagCapture.Location = new System.Drawing.Point(123, 20);
     this.CoopFlagCapture.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.CoopFlagCapture.Name = "CoopFlagCapture";
     this.CoopFlagCapture.Size = new System.Drawing.Size(40, 20);
     this.CoopFlagCapture.TabIndex = 29;
     //
     // label20
     //
     this.label20.AutoSize = true;
     this.label20.Location = new System.Drawing.Point(127, 79);
     this.label20.Name = "label20";
     this.label20.Size = new System.Drawing.Size(68, 13);
     this.label20.TabIndex = 22;
     this.label20.Text = "Defend Flag:";
     //
     // label21
     //
     this.label21.AutoSize = true;
     this.label21.Location = new System.Drawing.Point(186, 48);
     this.label21.Name = "label21";
     this.label21.Size = new System.Drawing.Size(110, 13);
     this.label21.TabIndex = 20;
     this.label21.Text = "Flag Neutralize Assist:";
     //
     // label22
     //
     this.label22.AutoSize = true;
     this.label22.Location = new System.Drawing.Point(217, 22);
     this.label22.Name = "label22";
     this.label22.Size = new System.Drawing.Size(80, 13);
     this.label22.TabIndex = 18;
     this.label22.Text = "Flag Neutralize:";
     //
     // label23
     //
     this.label23.AutoSize = true;
     this.label23.Location = new System.Drawing.Point(17, 48);
     this.label23.Name = "label23";
     this.label23.Size = new System.Drawing.Size(100, 13);
     this.label23.TabIndex = 16;
     this.label23.Text = "Flag Capture Assist:";
     //
     // label24
     //
     this.label24.AutoSize = true;
     this.label24.Location = new System.Drawing.Point(47, 22);
     this.label24.Name = "label24";
     this.label24.Size = new System.Drawing.Size(70, 13);
     this.label24.TabIndex = 14;
     this.label24.Text = "Flag Capture:";
     //
     // groupBox5
     //
     this.groupBox5.Controls.Add(this.ConqDefendFlag);
     this.groupBox5.Controls.Add(this.ConqFlagNeutralizeAsst);
     this.groupBox5.Controls.Add(this.ConqFlagNeutralize);
     this.groupBox5.Controls.Add(this.ConqFlagCaptureAsst);
     this.groupBox5.Controls.Add(this.ConqFlagCapture);
     this.groupBox5.Controls.Add(this.label19);
     this.groupBox5.Controls.Add(this.label17);
     this.groupBox5.Controls.Add(this.label18);
     this.groupBox5.Controls.Add(this.label16);
     this.groupBox5.Controls.Add(this.label15);
     this.groupBox5.Location = new System.Drawing.Point(392, 26);
     this.groupBox5.Name = "groupBox5";
     this.groupBox5.Size = new System.Drawing.Size(364, 126);
     this.groupBox5.TabIndex = 4;
     this.groupBox5.TabStop = false;
     this.groupBox5.Text = "Conquest Scoring";
     //
     // ConqDefendFlag
     //
     this.ConqDefendFlag.Location = new System.Drawing.Point(202, 73);
     this.ConqDefendFlag.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.ConqDefendFlag.Name = "ConqDefendFlag";
     this.ConqDefendFlag.Size = new System.Drawing.Size(40, 20);
     this.ConqDefendFlag.TabIndex = 28;
     //
     // ConqFlagNeutralizeAsst
     //
     this.ConqFlagNeutralizeAsst.Location = new System.Drawing.Point(300, 47);
     this.ConqFlagNeutralizeAsst.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.ConqFlagNeutralizeAsst.Name = "ConqFlagNeutralizeAsst";
     this.ConqFlagNeutralizeAsst.Size = new System.Drawing.Size(40, 20);
     this.ConqFlagNeutralizeAsst.TabIndex = 27;
     //
     // ConqFlagNeutralize
     //
     this.ConqFlagNeutralize.Location = new System.Drawing.Point(300, 21);
     this.ConqFlagNeutralize.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.ConqFlagNeutralize.Name = "ConqFlagNeutralize";
     this.ConqFlagNeutralize.Size = new System.Drawing.Size(40, 20);
     this.ConqFlagNeutralize.TabIndex = 26;
     //
     // ConqFlagCaptureAsst
     //
     this.ConqFlagCaptureAsst.Location = new System.Drawing.Point(123, 47);
     this.ConqFlagCaptureAsst.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.ConqFlagCaptureAsst.Name = "ConqFlagCaptureAsst";
     this.ConqFlagCaptureAsst.Size = new System.Drawing.Size(40, 20);
     this.ConqFlagCaptureAsst.TabIndex = 25;
     //
     // ConqFlagCapture
     //
     this.ConqFlagCapture.Location = new System.Drawing.Point(123, 21);
     this.ConqFlagCapture.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.ConqFlagCapture.Name = "ConqFlagCapture";
     this.ConqFlagCapture.Size = new System.Drawing.Size(40, 20);
     this.ConqFlagCapture.TabIndex = 24;
     //
     // label19
     //
     this.label19.AutoSize = true;
     this.label19.Location = new System.Drawing.Point(131, 75);
     this.label19.Name = "label19";
     this.label19.Size = new System.Drawing.Size(68, 13);
     this.label19.TabIndex = 22;
     this.label19.Text = "Defend Flag:";
     //
     // label17
     //
     this.label17.AutoSize = true;
     this.label17.Location = new System.Drawing.Point(186, 49);
     this.label17.Name = "label17";
     this.label17.Size = new System.Drawing.Size(110, 13);
     this.label17.TabIndex = 20;
     this.label17.Text = "Flag Neutralize Assist:";
     //
     // label18
     //
     this.label18.AutoSize = true;
     this.label18.Location = new System.Drawing.Point(217, 23);
     this.label18.Name = "label18";
     this.label18.Size = new System.Drawing.Size(80, 13);
     this.label18.TabIndex = 18;
     this.label18.Text = "Flag Neutralize:";
     //
     // label16
     //
     this.label16.AutoSize = true;
     this.label16.Location = new System.Drawing.Point(17, 49);
     this.label16.Name = "label16";
     this.label16.Size = new System.Drawing.Size(100, 13);
     this.label16.TabIndex = 16;
     this.label16.Text = "Flag Capture Assist:";
     //
     // label15
     //
     this.label15.AutoSize = true;
     this.label15.Location = new System.Drawing.Point(47, 23);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(70, 13);
     this.label15.TabIndex = 14;
     this.label15.Text = "Flag Capture:";
     //
     // groupBox4
     //
     this.groupBox4.Controls.Add(this.SuicideScore);
     this.groupBox4.Controls.Add(this.TeamVehicleDamage);
     this.groupBox4.Controls.Add(this.TeamDamage);
     this.groupBox4.Controls.Add(this.TeamKillScore);
     this.groupBox4.Controls.Add(this.label3);
     this.groupBox4.Controls.Add(this.label5);
     this.groupBox4.Controls.Add(this.label4);
     this.groupBox4.Controls.Add(this.label6);
     this.groupBox4.Location = new System.Drawing.Point(11, 143);
     this.groupBox4.Name = "groupBox4";
     this.groupBox4.Size = new System.Drawing.Size(180, 145);
     this.groupBox4.TabIndex = 3;
     this.groupBox4.TabStop = false;
     this.groupBox4.Text = "Score Punishment";
     //
     // SuicideScore
     //
     this.SuicideScore.Location = new System.Drawing.Point(120, 103);
     this.SuicideScore.Maximum = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.SuicideScore.Minimum = new decimal(new int[] {
     999,
     0,
     0,
     -2147483648});
     this.SuicideScore.Name = "SuicideScore";
     this.SuicideScore.Size = new System.Drawing.Size(40, 20);
     this.SuicideScore.TabIndex = 18;
     //
     // TeamVehicleDamage
     //
     this.TeamVehicleDamage.Location = new System.Drawing.Point(120, 77);
     this.TeamVehicleDamage.Maximum = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.TeamVehicleDamage.Minimum = new decimal(new int[] {
     999,
     0,
     0,
     -2147483648});
     this.TeamVehicleDamage.Name = "TeamVehicleDamage";
     this.TeamVehicleDamage.Size = new System.Drawing.Size(40, 20);
     this.TeamVehicleDamage.TabIndex = 17;
     //
     // TeamDamage
     //
     this.TeamDamage.Location = new System.Drawing.Point(120, 51);
     this.TeamDamage.Maximum = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.TeamDamage.Minimum = new decimal(new int[] {
     999,
     0,
     0,
     -2147483648});
     this.TeamDamage.Name = "TeamDamage";
     this.TeamDamage.Size = new System.Drawing.Size(40, 20);
     this.TeamDamage.TabIndex = 16;
     //
     // TeamKillScore
     //
     this.TeamKillScore.Location = new System.Drawing.Point(120, 24);
     this.TeamKillScore.Maximum = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.TeamKillScore.Minimum = new decimal(new int[] {
     999,
     0,
     0,
     -2147483648});
     this.TeamKillScore.Name = "TeamKillScore";
     this.TeamKillScore.Size = new System.Drawing.Size(40, 20);
     this.TeamKillScore.TabIndex = 15;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(34, 26);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(80, 13);
     this.label3.TabIndex = 4;
     this.label3.Text = "Teamkill Score:";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(14, 79);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(100, 13);
     this.label5.TabIndex = 8;
     this.label5.Text = "Team Vehicle Dmg:";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(34, 53);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(80, 13);
     this.label4.TabIndex = 6;
     this.label4.Text = "Team Damage:";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(69, 105);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(45, 13);
     this.label6.TabIndex = 10;
     this.label6.Text = "Suicide:";
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.DamageAssist);
     this.groupBox3.Controls.Add(this.TargeterKA);
     this.groupBox3.Controls.Add(this.PassangerKA);
     this.groupBox3.Controls.Add(this.DriverKA);
     this.groupBox3.Controls.Add(this.label14);
     this.groupBox3.Controls.Add(this.label11);
     this.groupBox3.Controls.Add(this.label12);
     this.groupBox3.Controls.Add(this.label13);
     this.groupBox3.Location = new System.Drawing.Point(203, 143);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Size = new System.Drawing.Size(180, 145);
     this.groupBox3.TabIndex = 2;
     this.groupBox3.TabStop = false;
     this.groupBox3.Text = "Assisting";
     //
     // DamageAssist
     //
     this.DamageAssist.Location = new System.Drawing.Point(121, 103);
     this.DamageAssist.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.DamageAssist.Name = "DamageAssist";
     this.DamageAssist.Size = new System.Drawing.Size(40, 20);
     this.DamageAssist.TabIndex = 20;
     //
     // TargeterKA
     //
     this.TargeterKA.Location = new System.Drawing.Point(121, 77);
     this.TargeterKA.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.TargeterKA.Name = "TargeterKA";
     this.TargeterKA.Size = new System.Drawing.Size(40, 20);
     this.TargeterKA.TabIndex = 19;
     //
     // PassangerKA
     //
     this.PassangerKA.Location = new System.Drawing.Point(121, 51);
     this.PassangerKA.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.PassangerKA.Name = "PassangerKA";
     this.PassangerKA.Size = new System.Drawing.Size(40, 20);
     this.PassangerKA.TabIndex = 18;
     //
     // DriverKA
     //
     this.DriverKA.Location = new System.Drawing.Point(121, 24);
     this.DriverKA.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.DriverKA.Name = "DriverKA";
     this.DriverKA.Size = new System.Drawing.Size(40, 20);
     this.DriverKA.TabIndex = 17;
     //
     // label14
     //
     this.label14.AutoSize = true;
     this.label14.Location = new System.Drawing.Point(36, 105);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(80, 13);
     this.label14.TabIndex = 8;
     this.label14.Text = "Damage Assist:";
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Location = new System.Drawing.Point(20, 79);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(96, 13);
     this.label11.TabIndex = 6;
     this.label11.Text = "Targeter Kill Assist:";
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.Location = new System.Drawing.Point(9, 53);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(106, 13);
     this.label12.TabIndex = 4;
     this.label12.Text = "Passanger Kill Assist:";
     //
     // label13
     //
     this.label13.AutoSize = true;
     this.label13.Location = new System.Drawing.Point(31, 27);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(84, 13);
     this.label13.TabIndex = 2;
     this.label13.Text = "Driver Kill Assist:";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.VehicleRepair);
     this.groupBox2.Controls.Add(this.GiveAmmo);
     this.groupBox2.Controls.Add(this.GiveHealth);
     this.groupBox2.Controls.Add(this.label10);
     this.groupBox2.Controls.Add(this.label9);
     this.groupBox2.Controls.Add(this.label8);
     this.groupBox2.Location = new System.Drawing.Point(203, 26);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(180, 111);
     this.groupBox2.TabIndex = 1;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Class Based";
     //
     // VehicleRepair
     //
     this.VehicleRepair.Location = new System.Drawing.Point(121, 72);
     this.VehicleRepair.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.VehicleRepair.Name = "VehicleRepair";
     this.VehicleRepair.Size = new System.Drawing.Size(40, 20);
     this.VehicleRepair.TabIndex = 17;
     //
     // GiveAmmo
     //
     this.GiveAmmo.Location = new System.Drawing.Point(121, 46);
     this.GiveAmmo.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.GiveAmmo.Name = "GiveAmmo";
     this.GiveAmmo.Size = new System.Drawing.Size(40, 20);
     this.GiveAmmo.TabIndex = 16;
     //
     // GiveHealth
     //
     this.GiveHealth.Location = new System.Drawing.Point(121, 21);
     this.GiveHealth.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.GiveHealth.Name = "GiveHealth";
     this.GiveHealth.Size = new System.Drawing.Size(40, 20);
     this.GiveHealth.TabIndex = 15;
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Location = new System.Drawing.Point(36, 75);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(79, 13);
     this.label10.TabIndex = 6;
     this.label10.Text = "Vehicle Repair:";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(51, 49);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(64, 13);
     this.label9.TabIndex = 4;
     this.label9.Text = "Give Ammo:";
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Location = new System.Drawing.Point(49, 23);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(66, 13);
     this.label8.TabIndex = 2;
     this.label8.Text = "Give Health:";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.DestroyEnemyAsset);
     this.groupBox1.Controls.Add(this.ReviveScore);
     this.groupBox1.Controls.Add(this.KillScore);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.label7);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(11, 26);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(180, 111);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Skill Based";
     //
     // DestroyEnemyAsset
     //
     this.DestroyEnemyAsset.Location = new System.Drawing.Point(120, 72);
     this.DestroyEnemyAsset.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.DestroyEnemyAsset.Name = "DestroyEnemyAsset";
     this.DestroyEnemyAsset.Size = new System.Drawing.Size(40, 20);
     this.DestroyEnemyAsset.TabIndex = 16;
     //
     // ReviveScore
     //
     this.ReviveScore.Location = new System.Drawing.Point(120, 46);
     this.ReviveScore.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.ReviveScore.Name = "ReviveScore";
     this.ReviveScore.Size = new System.Drawing.Size(40, 20);
     this.ReviveScore.TabIndex = 15;
     //
     // KillScore
     //
     this.KillScore.Location = new System.Drawing.Point(120, 21);
     this.KillScore.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.KillScore.Name = "KillScore";
     this.KillScore.Size = new System.Drawing.Size(40, 20);
     this.KillScore.TabIndex = 14;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(39, 48);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(75, 13);
     this.label2.TabIndex = 2;
     this.label2.Text = "Revive Score:";
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(4, 74);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(110, 13);
     this.label7.TabIndex = 12;
     this.label7.Text = "Destroy Enemy Asset:";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(60, 23);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(54, 13);
     this.label1.TabIndex = 0;
     this.label1.Text = "Kill Score:";
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.groupBox7);
     this.tabPage2.Controls.Add(this.groupBox8);
     this.tabPage2.Controls.Add(this.groupBox9);
     this.tabPage2.Controls.Add(this.groupBox10);
     this.tabPage2.Controls.Add(this.groupBox11);
     this.tabPage2.Controls.Add(this.groupBox12);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size = new System.Drawing.Size(767, 314);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "AI Bot Scoring";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // groupBox7
     //
     this.groupBox7.Controls.Add(this.AiCoopDefendFlag);
     this.groupBox7.Controls.Add(this.AiCoopFlagNeutralizeAsst);
     this.groupBox7.Controls.Add(this.AiCoopFlagNeutralize);
     this.groupBox7.Controls.Add(this.AiCoopFlagCaptureAsst);
     this.groupBox7.Controls.Add(this.AiCoopFlagCapture);
     this.groupBox7.Controls.Add(this.label25);
     this.groupBox7.Controls.Add(this.label26);
     this.groupBox7.Controls.Add(this.label27);
     this.groupBox7.Controls.Add(this.label28);
     this.groupBox7.Controls.Add(this.label29);
     this.groupBox7.Location = new System.Drawing.Point(392, 162);
     this.groupBox7.Name = "groupBox7";
     this.groupBox7.Size = new System.Drawing.Size(364, 126);
     this.groupBox7.TabIndex = 11;
     this.groupBox7.TabStop = false;
     this.groupBox7.Text = "Coop Scoring";
     //
     // AiCoopDefendFlag
     //
     this.AiCoopDefendFlag.Location = new System.Drawing.Point(198, 77);
     this.AiCoopDefendFlag.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiCoopDefendFlag.Name = "AiCoopDefendFlag";
     this.AiCoopDefendFlag.Size = new System.Drawing.Size(40, 20);
     this.AiCoopDefendFlag.TabIndex = 33;
     //
     // AiCoopFlagNeutralizeAsst
     //
     this.AiCoopFlagNeutralizeAsst.Location = new System.Drawing.Point(300, 46);
     this.AiCoopFlagNeutralizeAsst.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiCoopFlagNeutralizeAsst.Name = "AiCoopFlagNeutralizeAsst";
     this.AiCoopFlagNeutralizeAsst.Size = new System.Drawing.Size(40, 20);
     this.AiCoopFlagNeutralizeAsst.TabIndex = 32;
     //
     // AiCoopFlagNeutralize
     //
     this.AiCoopFlagNeutralize.Location = new System.Drawing.Point(300, 20);
     this.AiCoopFlagNeutralize.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiCoopFlagNeutralize.Name = "AiCoopFlagNeutralize";
     this.AiCoopFlagNeutralize.Size = new System.Drawing.Size(40, 20);
     this.AiCoopFlagNeutralize.TabIndex = 31;
     //
     // AiCoopFlagCaptureAsst
     //
     this.AiCoopFlagCaptureAsst.Location = new System.Drawing.Point(123, 46);
     this.AiCoopFlagCaptureAsst.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiCoopFlagCaptureAsst.Name = "AiCoopFlagCaptureAsst";
     this.AiCoopFlagCaptureAsst.Size = new System.Drawing.Size(40, 20);
     this.AiCoopFlagCaptureAsst.TabIndex = 30;
     //
     // AiCoopFlagCapture
     //
     this.AiCoopFlagCapture.Location = new System.Drawing.Point(123, 20);
     this.AiCoopFlagCapture.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiCoopFlagCapture.Name = "AiCoopFlagCapture";
     this.AiCoopFlagCapture.Size = new System.Drawing.Size(40, 20);
     this.AiCoopFlagCapture.TabIndex = 29;
     //
     // label25
     //
     this.label25.AutoSize = true;
     this.label25.Location = new System.Drawing.Point(127, 79);
     this.label25.Name = "label25";
     this.label25.Size = new System.Drawing.Size(68, 13);
     this.label25.TabIndex = 22;
     this.label25.Text = "Defend Flag:";
     //
     // label26
     //
     this.label26.AutoSize = true;
     this.label26.Location = new System.Drawing.Point(186, 48);
     this.label26.Name = "label26";
     this.label26.Size = new System.Drawing.Size(110, 13);
     this.label26.TabIndex = 20;
     this.label26.Text = "Flag Neutralize Assist:";
     //
     // label27
     //
     this.label27.AutoSize = true;
     this.label27.Location = new System.Drawing.Point(217, 22);
     this.label27.Name = "label27";
     this.label27.Size = new System.Drawing.Size(80, 13);
     this.label27.TabIndex = 18;
     this.label27.Text = "Flag Neutralize:";
     //
     // label28
     //
     this.label28.AutoSize = true;
     this.label28.Location = new System.Drawing.Point(17, 48);
     this.label28.Name = "label28";
     this.label28.Size = new System.Drawing.Size(100, 13);
     this.label28.TabIndex = 16;
     this.label28.Text = "Flag Capture Assist:";
     //
     // label29
     //
     this.label29.AutoSize = true;
     this.label29.Location = new System.Drawing.Point(47, 22);
     this.label29.Name = "label29";
     this.label29.Size = new System.Drawing.Size(70, 13);
     this.label29.TabIndex = 14;
     this.label29.Text = "Flag Capture:";
     //
     // groupBox8
     //
     this.groupBox8.Controls.Add(this.AiCqDefendFlag);
     this.groupBox8.Controls.Add(this.AiCqFlagNeutralizeAsst);
     this.groupBox8.Controls.Add(this.AiCqFlagNeutralize);
     this.groupBox8.Controls.Add(this.AiCqFlagCaptureAsst);
     this.groupBox8.Controls.Add(this.AiCqFlagCapture);
     this.groupBox8.Controls.Add(this.label31);
     this.groupBox8.Controls.Add(this.label57);
     this.groupBox8.Controls.Add(this.label58);
     this.groupBox8.Controls.Add(this.label59);
     this.groupBox8.Controls.Add(this.label60);
     this.groupBox8.Location = new System.Drawing.Point(392, 26);
     this.groupBox8.Name = "groupBox8";
     this.groupBox8.Size = new System.Drawing.Size(364, 126);
     this.groupBox8.TabIndex = 10;
     this.groupBox8.TabStop = false;
     this.groupBox8.Text = "Conquest Scoring";
     //
     // AiCqDefendFlag
     //
     this.AiCqDefendFlag.Location = new System.Drawing.Point(202, 73);
     this.AiCqDefendFlag.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiCqDefendFlag.Name = "AiCqDefendFlag";
     this.AiCqDefendFlag.Size = new System.Drawing.Size(40, 20);
     this.AiCqDefendFlag.TabIndex = 38;
     //
     // AiCqFlagNeutralizeAsst
     //
     this.AiCqFlagNeutralizeAsst.Location = new System.Drawing.Point(300, 47);
     this.AiCqFlagNeutralizeAsst.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiCqFlagNeutralizeAsst.Name = "AiCqFlagNeutralizeAsst";
     this.AiCqFlagNeutralizeAsst.Size = new System.Drawing.Size(40, 20);
     this.AiCqFlagNeutralizeAsst.TabIndex = 37;
     //
     // AiCqFlagNeutralize
     //
     this.AiCqFlagNeutralize.Location = new System.Drawing.Point(300, 21);
     this.AiCqFlagNeutralize.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiCqFlagNeutralize.Name = "AiCqFlagNeutralize";
     this.AiCqFlagNeutralize.Size = new System.Drawing.Size(40, 20);
     this.AiCqFlagNeutralize.TabIndex = 36;
     //
     // AiCqFlagCaptureAsst
     //
     this.AiCqFlagCaptureAsst.Location = new System.Drawing.Point(123, 47);
     this.AiCqFlagCaptureAsst.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiCqFlagCaptureAsst.Name = "AiCqFlagCaptureAsst";
     this.AiCqFlagCaptureAsst.Size = new System.Drawing.Size(40, 20);
     this.AiCqFlagCaptureAsst.TabIndex = 35;
     //
     // AiCqFlagCapture
     //
     this.AiCqFlagCapture.Location = new System.Drawing.Point(123, 21);
     this.AiCqFlagCapture.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiCqFlagCapture.Name = "AiCqFlagCapture";
     this.AiCqFlagCapture.Size = new System.Drawing.Size(40, 20);
     this.AiCqFlagCapture.TabIndex = 34;
     //
     // label31
     //
     this.label31.AutoSize = true;
     this.label31.Location = new System.Drawing.Point(131, 75);
     this.label31.Name = "label31";
     this.label31.Size = new System.Drawing.Size(68, 13);
     this.label31.TabIndex = 33;
     this.label31.Text = "Defend Flag:";
     //
     // label57
     //
     this.label57.AutoSize = true;
     this.label57.Location = new System.Drawing.Point(186, 49);
     this.label57.Name = "label57";
     this.label57.Size = new System.Drawing.Size(110, 13);
     this.label57.TabIndex = 32;
     this.label57.Text = "Flag Neutralize Assist:";
     //
     // label58
     //
     this.label58.AutoSize = true;
     this.label58.Location = new System.Drawing.Point(217, 23);
     this.label58.Name = "label58";
     this.label58.Size = new System.Drawing.Size(80, 13);
     this.label58.TabIndex = 31;
     this.label58.Text = "Flag Neutralize:";
     //
     // label59
     //
     this.label59.AutoSize = true;
     this.label59.Location = new System.Drawing.Point(17, 49);
     this.label59.Name = "label59";
     this.label59.Size = new System.Drawing.Size(100, 13);
     this.label59.TabIndex = 30;
     this.label59.Text = "Flag Capture Assist:";
     //
     // label60
     //
     this.label60.AutoSize = true;
     this.label60.Location = new System.Drawing.Point(47, 23);
     this.label60.Name = "label60";
     this.label60.Size = new System.Drawing.Size(70, 13);
     this.label60.TabIndex = 29;
     this.label60.Text = "Flag Capture:";
     //
     // groupBox9
     //
     this.groupBox9.Controls.Add(this.AiSuicideScore);
     this.groupBox9.Controls.Add(this.AiTeamVehicleDamage);
     this.groupBox9.Controls.Add(this.AiTeamDamage);
     this.groupBox9.Controls.Add(this.AiTeamKillScore);
     this.groupBox9.Controls.Add(this.label35);
     this.groupBox9.Controls.Add(this.label36);
     this.groupBox9.Controls.Add(this.label37);
     this.groupBox9.Controls.Add(this.label38);
     this.groupBox9.Location = new System.Drawing.Point(11, 143);
     this.groupBox9.Name = "groupBox9";
     this.groupBox9.Size = new System.Drawing.Size(180, 145);
     this.groupBox9.TabIndex = 9;
     this.groupBox9.TabStop = false;
     this.groupBox9.Text = "Score Punishment";
     //
     // AiSuicideScore
     //
     this.AiSuicideScore.Location = new System.Drawing.Point(120, 103);
     this.AiSuicideScore.Maximum = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.AiSuicideScore.Minimum = new decimal(new int[] {
     999,
     0,
     0,
     -2147483648});
     this.AiSuicideScore.Name = "AiSuicideScore";
     this.AiSuicideScore.Size = new System.Drawing.Size(40, 20);
     this.AiSuicideScore.TabIndex = 18;
     //
     // AiTeamVehicleDamage
     //
     this.AiTeamVehicleDamage.Location = new System.Drawing.Point(120, 77);
     this.AiTeamVehicleDamage.Maximum = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.AiTeamVehicleDamage.Minimum = new decimal(new int[] {
     999,
     0,
     0,
     -2147483648});
     this.AiTeamVehicleDamage.Name = "AiTeamVehicleDamage";
     this.AiTeamVehicleDamage.Size = new System.Drawing.Size(40, 20);
     this.AiTeamVehicleDamage.TabIndex = 17;
     //
     // AiTeamDamage
     //
     this.AiTeamDamage.Location = new System.Drawing.Point(120, 51);
     this.AiTeamDamage.Maximum = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.AiTeamDamage.Minimum = new decimal(new int[] {
     999,
     0,
     0,
     -2147483648});
     this.AiTeamDamage.Name = "AiTeamDamage";
     this.AiTeamDamage.Size = new System.Drawing.Size(40, 20);
     this.AiTeamDamage.TabIndex = 16;
     //
     // AiTeamKillScore
     //
     this.AiTeamKillScore.Location = new System.Drawing.Point(120, 24);
     this.AiTeamKillScore.Maximum = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.AiTeamKillScore.Minimum = new decimal(new int[] {
     999,
     0,
     0,
     -2147483648});
     this.AiTeamKillScore.Name = "AiTeamKillScore";
     this.AiTeamKillScore.Size = new System.Drawing.Size(40, 20);
     this.AiTeamKillScore.TabIndex = 15;
     //
     // label35
     //
     this.label35.AutoSize = true;
     this.label35.Location = new System.Drawing.Point(34, 26);
     this.label35.Name = "label35";
     this.label35.Size = new System.Drawing.Size(80, 13);
     this.label35.TabIndex = 4;
     this.label35.Text = "Teamkill Score:";
     //
     // label36
     //
     this.label36.AutoSize = true;
     this.label36.Location = new System.Drawing.Point(14, 79);
     this.label36.Name = "label36";
     this.label36.Size = new System.Drawing.Size(100, 13);
     this.label36.TabIndex = 8;
     this.label36.Text = "Team Vehicle Dmg:";
     //
     // label37
     //
     this.label37.AutoSize = true;
     this.label37.Location = new System.Drawing.Point(34, 53);
     this.label37.Name = "label37";
     this.label37.Size = new System.Drawing.Size(80, 13);
     this.label37.TabIndex = 6;
     this.label37.Text = "Team Damage:";
     //
     // label38
     //
     this.label38.AutoSize = true;
     this.label38.Location = new System.Drawing.Point(69, 105);
     this.label38.Name = "label38";
     this.label38.Size = new System.Drawing.Size(45, 13);
     this.label38.TabIndex = 10;
     this.label38.Text = "Suicide:";
     //
     // groupBox10
     //
     this.groupBox10.Controls.Add(this.AiDamageAssist);
     this.groupBox10.Controls.Add(this.AiTargeterKA);
     this.groupBox10.Controls.Add(this.AiPassangerKA);
     this.groupBox10.Controls.Add(this.AiDriverKA);
     this.groupBox10.Controls.Add(this.label39);
     this.groupBox10.Controls.Add(this.label40);
     this.groupBox10.Controls.Add(this.label41);
     this.groupBox10.Controls.Add(this.label42);
     this.groupBox10.Location = new System.Drawing.Point(203, 143);
     this.groupBox10.Name = "groupBox10";
     this.groupBox10.Size = new System.Drawing.Size(180, 145);
     this.groupBox10.TabIndex = 8;
     this.groupBox10.TabStop = false;
     this.groupBox10.Text = "Assisting";
     //
     // AiDamageAssist
     //
     this.AiDamageAssist.Location = new System.Drawing.Point(121, 103);
     this.AiDamageAssist.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiDamageAssist.Name = "AiDamageAssist";
     this.AiDamageAssist.Size = new System.Drawing.Size(40, 20);
     this.AiDamageAssist.TabIndex = 20;
     //
     // AiTargeterKA
     //
     this.AiTargeterKA.Location = new System.Drawing.Point(121, 77);
     this.AiTargeterKA.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiTargeterKA.Name = "AiTargeterKA";
     this.AiTargeterKA.Size = new System.Drawing.Size(40, 20);
     this.AiTargeterKA.TabIndex = 19;
     //
     // AiPassangerKA
     //
     this.AiPassangerKA.Location = new System.Drawing.Point(121, 51);
     this.AiPassangerKA.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiPassangerKA.Name = "AiPassangerKA";
     this.AiPassangerKA.Size = new System.Drawing.Size(40, 20);
     this.AiPassangerKA.TabIndex = 18;
     //
     // AiDriverKA
     //
     this.AiDriverKA.Location = new System.Drawing.Point(121, 24);
     this.AiDriverKA.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiDriverKA.Name = "AiDriverKA";
     this.AiDriverKA.Size = new System.Drawing.Size(40, 20);
     this.AiDriverKA.TabIndex = 17;
     //
     // label39
     //
     this.label39.AutoSize = true;
     this.label39.Location = new System.Drawing.Point(36, 105);
     this.label39.Name = "label39";
     this.label39.Size = new System.Drawing.Size(80, 13);
     this.label39.TabIndex = 8;
     this.label39.Text = "Damage Assist:";
     //
     // label40
     //
     this.label40.AutoSize = true;
     this.label40.Location = new System.Drawing.Point(20, 79);
     this.label40.Name = "label40";
     this.label40.Size = new System.Drawing.Size(96, 13);
     this.label40.TabIndex = 6;
     this.label40.Text = "Targeter Kill Assist:";
     //
     // label41
     //
     this.label41.AutoSize = true;
     this.label41.Location = new System.Drawing.Point(9, 53);
     this.label41.Name = "label41";
     this.label41.Size = new System.Drawing.Size(106, 13);
     this.label41.TabIndex = 4;
     this.label41.Text = "Passanger Kill Assist:";
     //
     // label42
     //
     this.label42.AutoSize = true;
     this.label42.Location = new System.Drawing.Point(31, 27);
     this.label42.Name = "label42";
     this.label42.Size = new System.Drawing.Size(84, 13);
     this.label42.TabIndex = 2;
     this.label42.Text = "Driver Kill Assist:";
     //
     // groupBox11
     //
     this.groupBox11.Controls.Add(this.AiVehicleRepair);
     this.groupBox11.Controls.Add(this.AiGiveAmmo);
     this.groupBox11.Controls.Add(this.AiGiveHealth);
     this.groupBox11.Controls.Add(this.label43);
     this.groupBox11.Controls.Add(this.label44);
     this.groupBox11.Controls.Add(this.label45);
     this.groupBox11.Location = new System.Drawing.Point(203, 26);
     this.groupBox11.Name = "groupBox11";
     this.groupBox11.Size = new System.Drawing.Size(180, 111);
     this.groupBox11.TabIndex = 7;
     this.groupBox11.TabStop = false;
     this.groupBox11.Text = "Class Based";
     //
     // AiVehicleRepair
     //
     this.AiVehicleRepair.Location = new System.Drawing.Point(121, 72);
     this.AiVehicleRepair.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiVehicleRepair.Name = "AiVehicleRepair";
     this.AiVehicleRepair.Size = new System.Drawing.Size(40, 20);
     this.AiVehicleRepair.TabIndex = 17;
     //
     // AiGiveAmmo
     //
     this.AiGiveAmmo.Location = new System.Drawing.Point(121, 46);
     this.AiGiveAmmo.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiGiveAmmo.Name = "AiGiveAmmo";
     this.AiGiveAmmo.Size = new System.Drawing.Size(40, 20);
     this.AiGiveAmmo.TabIndex = 16;
     //
     // AiGiveHealth
     //
     this.AiGiveHealth.Location = new System.Drawing.Point(121, 21);
     this.AiGiveHealth.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiGiveHealth.Name = "AiGiveHealth";
     this.AiGiveHealth.Size = new System.Drawing.Size(40, 20);
     this.AiGiveHealth.TabIndex = 15;
     //
     // label43
     //
     this.label43.AutoSize = true;
     this.label43.Location = new System.Drawing.Point(36, 75);
     this.label43.Name = "label43";
     this.label43.Size = new System.Drawing.Size(79, 13);
     this.label43.TabIndex = 6;
     this.label43.Text = "Vehicle Repair:";
     //
     // label44
     //
     this.label44.AutoSize = true;
     this.label44.Location = new System.Drawing.Point(51, 49);
     this.label44.Name = "label44";
     this.label44.Size = new System.Drawing.Size(64, 13);
     this.label44.TabIndex = 4;
     this.label44.Text = "Give Ammo:";
     //
     // label45
     //
     this.label45.AutoSize = true;
     this.label45.Location = new System.Drawing.Point(49, 23);
     this.label45.Name = "label45";
     this.label45.Size = new System.Drawing.Size(66, 13);
     this.label45.TabIndex = 2;
     this.label45.Text = "Give Health:";
     //
     // groupBox12
     //
     this.groupBox12.Controls.Add(this.AiDestroyEnemyAsset);
     this.groupBox12.Controls.Add(this.AiReviveScore);
     this.groupBox12.Controls.Add(this.AiKillScore);
     this.groupBox12.Controls.Add(this.label46);
     this.groupBox12.Controls.Add(this.label47);
     this.groupBox12.Controls.Add(this.label48);
     this.groupBox12.Location = new System.Drawing.Point(11, 26);
     this.groupBox12.Name = "groupBox12";
     this.groupBox12.Size = new System.Drawing.Size(180, 111);
     this.groupBox12.TabIndex = 6;
     this.groupBox12.TabStop = false;
     this.groupBox12.Text = "Skill Based";
     //
     // AiDestroyEnemyAsset
     //
     this.AiDestroyEnemyAsset.Location = new System.Drawing.Point(120, 72);
     this.AiDestroyEnemyAsset.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiDestroyEnemyAsset.Name = "AiDestroyEnemyAsset";
     this.AiDestroyEnemyAsset.Size = new System.Drawing.Size(40, 20);
     this.AiDestroyEnemyAsset.TabIndex = 16;
     //
     // AiReviveScore
     //
     this.AiReviveScore.Location = new System.Drawing.Point(120, 46);
     this.AiReviveScore.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiReviveScore.Name = "AiReviveScore";
     this.AiReviveScore.Size = new System.Drawing.Size(40, 20);
     this.AiReviveScore.TabIndex = 15;
     //
     // AiKillScore
     //
     this.AiKillScore.Location = new System.Drawing.Point(120, 21);
     this.AiKillScore.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.AiKillScore.Name = "AiKillScore";
     this.AiKillScore.Size = new System.Drawing.Size(40, 20);
     this.AiKillScore.TabIndex = 14;
     //
     // label46
     //
     this.label46.AutoSize = true;
     this.label46.Location = new System.Drawing.Point(39, 48);
     this.label46.Name = "label46";
     this.label46.Size = new System.Drawing.Size(75, 13);
     this.label46.TabIndex = 2;
     this.label46.Text = "Revive Score:";
     //
     // label47
     //
     this.label47.AutoSize = true;
     this.label47.Location = new System.Drawing.Point(4, 74);
     this.label47.Name = "label47";
     this.label47.Size = new System.Drawing.Size(110, 13);
     this.label47.TabIndex = 12;
     this.label47.Text = "Destroy Enemy Asset:";
     //
     // label48
     //
     this.label48.AutoSize = true;
     this.label48.Location = new System.Drawing.Point(60, 23);
     this.label48.Name = "label48";
     this.label48.Size = new System.Drawing.Size(54, 13);
     this.label48.TabIndex = 0;
     this.label48.Text = "Kill Score:";
     //
     // tabPage3
     //
     this.tabPage3.Controls.Add(this.groupBox13);
     this.tabPage3.Location = new System.Drawing.Point(4, 22);
     this.tabPage3.Name = "tabPage3";
     this.tabPage3.Size = new System.Drawing.Size(767, 314);
     this.tabPage3.TabIndex = 2;
     this.tabPage3.Text = "Shared Scoring";
     this.tabPage3.UseVisualStyleBackColor = true;
     //
     // groupBox13
     //
     this.groupBox13.Controls.Add(this.label56);
     this.groupBox13.Controls.Add(this.label55);
     this.groupBox13.Controls.Add(this.label54);
     this.groupBox13.Controls.Add(this.label53);
     this.groupBox13.Controls.Add(this.label52);
     this.groupBox13.Controls.Add(this.label51);
     this.groupBox13.Controls.Add(this.ReplenishInterval);
     this.groupBox13.Controls.Add(this.label50);
     this.groupBox13.Controls.Add(this.TeamVDamageLimit);
     this.groupBox13.Controls.Add(this.label49);
     this.groupBox13.Controls.Add(this.TeamDamageLimit);
     this.groupBox13.Controls.Add(this.AmmoPointLimit);
     this.groupBox13.Controls.Add(this.HealPointLimit);
     this.groupBox13.Controls.Add(this.RepairPointLimit);
     this.groupBox13.Controls.Add(this.label30);
     this.groupBox13.Controls.Add(this.label32);
     this.groupBox13.Controls.Add(this.label33);
     this.groupBox13.Controls.Add(this.label34);
     this.groupBox13.Location = new System.Drawing.Point(18, 23);
     this.groupBox13.Name = "groupBox13";
     this.groupBox13.Size = new System.Drawing.Size(730, 237);
     this.groupBox13.TabIndex = 11;
     this.groupBox13.TabStop = false;
     this.groupBox13.Text = "Replenish Scoring";
     //
     // label56
     //
     this.label56.AutoSize = true;
     this.label56.Location = new System.Drawing.Point(249, 195);
     this.label56.Name = "label56";
     this.label56.Size = new System.Drawing.Size(356, 13);
     this.label56.TabIndex = 38;
     this.label56.Text = "The number of seconds before a player can recieve replenish points again";
     //
     // label55
     //
     this.label55.AutoSize = true;
     this.label55.Location = new System.Drawing.Point(249, 147);
     this.label55.Name = "label55";
     this.label55.Size = new System.Drawing.Size(448, 13);
     this.label55.TabIndex = 37;
     this.label55.Text = "The number of damage that must be done to a team vehicle to recieve a Team Damage" +
     " Point";
     //
     // label54
     //
     this.label54.AutoSize = true;
     this.label54.Location = new System.Drawing.Point(249, 120);
     this.label54.Name = "label54";
     this.label54.Size = new System.Drawing.Size(448, 13);
     this.label54.TabIndex = 36;
     this.label54.Text = "The number of health points that must be done to a teamate to recieve a Team Dama" +
     "ge Point";
     //
     // label53
     //
     this.label53.AutoSize = true;
     this.label53.Location = new System.Drawing.Point(249, 94);
     this.label53.Name = "label53";
     this.label53.Size = new System.Drawing.Size(342, 13);
     this.label53.TabIndex = 35;
     this.label53.Text = "The number of ammo that must be restored to recieve a Resupply Point";
     //
     // label52
     //
     this.label52.AutoSize = true;
     this.label52.Location = new System.Drawing.Point(249, 68);
     this.label52.Name = "label52";
     this.label52.Size = new System.Drawing.Size(352, 13);
     this.label52.TabIndex = 34;
     this.label52.Text = "The number of health points that must be restored to recieve a Heal Point";
     //
     // label51
     //
     this.label51.AutoSize = true;
     this.label51.Location = new System.Drawing.Point(249, 41);
     this.label51.Name = "label51";
     this.label51.Size = new System.Drawing.Size(380, 13);
     this.label51.TabIndex = 33;
     this.label51.Text = "The number of vehicle hit points that must be repaired to recieve a Repair Point";
     //
     // ReplenishInterval
     //
     this.ReplenishInterval.Location = new System.Drawing.Point(189, 193);
     this.ReplenishInterval.Maximum = new decimal(new int[] {
     999,
     0,
     0,
     0});
     this.ReplenishInterval.Minimum = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.ReplenishInterval.Name = "ReplenishInterval";
     this.ReplenishInterval.Size = new System.Drawing.Size(40, 20);
     this.ReplenishInterval.TabIndex = 32;
     this.ReplenishInterval.Value = new decimal(new int[] {
     1,
     0,
     0,
     0});
     //
     // label50
     //
     this.label50.AutoSize = true;
     this.label50.Location = new System.Drawing.Point(47, 195);
     this.label50.Name = "label50";
     this.label50.Size = new System.Drawing.Size(136, 13);
     this.label50.TabIndex = 31;
     this.label50.Text = "Replenish Time Restriction:";
     //
     // TeamVDamageLimit
     //
     this.TeamVDamageLimit.Location = new System.Drawing.Point(189, 145);
     this.TeamVDamageLimit.Minimum = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.TeamVDamageLimit.Name = "TeamVDamageLimit";
     this.TeamVDamageLimit.Size = new System.Drawing.Size(40, 20);
     this.TeamVDamageLimit.TabIndex = 30;
     this.TeamVDamageLimit.Value = new decimal(new int[] {
     50,
     0,
     0,
     0});
     //
     // label49
     //
     this.label49.AutoSize = true;
     this.label49.Location = new System.Drawing.Point(14, 147);
     this.label49.Name = "label49";
     this.label49.Size = new System.Drawing.Size(169, 13);
     this.label49.TabIndex = 29;
     this.label49.Text = "Team Vehicle Damage Point Limit:";
     //
     // TeamDamageLimit
     //
     this.TeamDamageLimit.Location = new System.Drawing.Point(189, 118);
     this.TeamDamageLimit.Minimum = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.TeamDamageLimit.Name = "TeamDamageLimit";
     this.TeamDamageLimit.Size = new System.Drawing.Size(40, 20);
     this.TeamDamageLimit.TabIndex = 28;
     this.TeamDamageLimit.Value = new decimal(new int[] {
     50,
     0,
     0,
     0});
     //
     // AmmoPointLimit
     //
     this.AmmoPointLimit.Location = new System.Drawing.Point(189, 92);
     this.AmmoPointLimit.Minimum = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.AmmoPointLimit.Name = "AmmoPointLimit";
     this.AmmoPointLimit.Size = new System.Drawing.Size(40, 20);
     this.AmmoPointLimit.TabIndex = 27;
     this.AmmoPointLimit.Value = new decimal(new int[] {
     100,
     0,
     0,
     0});
     //
     // HealPointLimit
     //
     this.HealPointLimit.Location = new System.Drawing.Point(189, 66);
     this.HealPointLimit.Minimum = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.HealPointLimit.Name = "HealPointLimit";
     this.HealPointLimit.Size = new System.Drawing.Size(40, 20);
     this.HealPointLimit.TabIndex = 26;
     this.HealPointLimit.Value = new decimal(new int[] {
     100,
     0,
     0,
     0});
     //
     // RepairPointLimit
     //
     this.RepairPointLimit.Location = new System.Drawing.Point(189, 39);
     this.RepairPointLimit.Minimum = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.RepairPointLimit.Name = "RepairPointLimit";
     this.RepairPointLimit.Size = new System.Drawing.Size(40, 20);
     this.RepairPointLimit.TabIndex = 25;
     this.RepairPointLimit.Value = new decimal(new int[] {
     100,
     0,
     0,
     0});
     //
     // label30
     //
     this.label30.AutoSize = true;
     this.label30.Location = new System.Drawing.Point(53, 120);
     this.label30.Name = "label30";
     this.label30.Size = new System.Drawing.Size(131, 13);
     this.label30.TabIndex = 24;
     this.label30.Text = "Team Damage Point Limit:";
     //
     // label32
     //
     this.label32.AutoSize = true;
     this.label32.Location = new System.Drawing.Point(74, 94);
     this.label32.Name = "label32";
     this.label32.Size = new System.Drawing.Size(110, 13);
     this.label32.TabIndex = 23;
     this.label32.Text = "Resupply Ammo Limit:";
     //
     // label33
     //
     this.label33.AutoSize = true;
     this.label33.Location = new System.Drawing.Point(100, 68);
     this.label33.Name = "label33";
     this.label33.Size = new System.Drawing.Size(83, 13);
     this.label33.TabIndex = 22;
     this.label33.Text = "Heal Point Limit:";
     //
     // label34
     //
     this.label34.AutoSize = true;
     this.label34.Location = new System.Drawing.Point(92, 41);
     this.label34.Name = "label34";
     this.label34.Size = new System.Drawing.Size(92, 13);
     this.label34.TabIndex = 21;
     this.label34.Text = "Repair Point Limit:";
     //
     // Cancel
     //
     this.Cancel.Location = new System.Drawing.Point(542, 361);
     this.Cancel.Name = "Cancel";
     this.Cancel.Size = new System.Drawing.Size(91, 29);
     this.Cancel.TabIndex = 1;
     this.Cancel.Text = "Cancel";
     this.Cancel.UseVisualStyleBackColor = true;
     this.Cancel.Click += new System.EventHandler(this.Cancel_Click);
     //
     // SaveButton
     //
     this.SaveButton.Location = new System.Drawing.Point(644, 361);
     this.SaveButton.Name = "SaveButton";
     this.SaveButton.Size = new System.Drawing.Size(91, 29);
     this.SaveButton.TabIndex = 2;
     this.SaveButton.Text = "Save";
     this.SaveButton.UseVisualStyleBackColor = true;
     this.SaveButton.Click += new System.EventHandler(this.SaveButton_Click);
     //
     // ResetButton
     //
     this.ResetButton.Location = new System.Drawing.Point(31, 361);
     this.ResetButton.Name = "ResetButton";
     this.ResetButton.Size = new System.Drawing.Size(120, 29);
     this.ResetButton.TabIndex = 3;
     this.ResetButton.Text = "Reset To default";
     this.ResetButton.UseVisualStyleBackColor = true;
     this.ResetButton.Click += new System.EventHandler(this.ResetButton_Click);
     //
     // ImportBtn
     //
     this.ImportBtn.AutoSize = true;
     this.ImportBtn.ContextMenuStrip = this.contextMenuStrip1;
     this.ImportBtn.Location = new System.Drawing.Point(165, 361);
     this.ImportBtn.Name = "ImportBtn";
     this.ImportBtn.ShowSplitlineAlways = true;
     this.ImportBtn.Size = new System.Drawing.Size(120, 29);
     this.ImportBtn.SplitMenuStrip = this.contextMenuStrip1;
     this.ImportBtn.TabIndex = 4;
     this.ImportBtn.Text = "Import / Export";
     this.ImportBtn.UseVisualStyleBackColor = true;
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.ImportSettingsMenuItem,
     this.ExportSettingsMenuItem});
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new System.Drawing.Size(156, 70);
     //
     // ImportSettingsMenuItem
     //
     this.ImportSettingsMenuItem.Name = "ImportSettingsMenuItem";
     this.ImportSettingsMenuItem.Size = new System.Drawing.Size(155, 22);
     this.ImportSettingsMenuItem.Text = "Import Settings";
     this.ImportSettingsMenuItem.Click += new System.EventHandler(this.ImportSettingsMenuItem_Click);
     //
     // ExportSettingsMenuItem
     //
     this.ExportSettingsMenuItem.Name = "ExportSettingsMenuItem";
     this.ExportSettingsMenuItem.Size = new System.Drawing.Size(155, 22);
     this.ExportSettingsMenuItem.Text = "Export Settings";
     this.ExportSettingsMenuItem.Click += new System.EventHandler(this.ExportSettingsMenuItem_Click);
     //
     // ScoreSettings
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(769, 402);
     this.Controls.Add(this.ImportBtn);
     this.Controls.Add(this.ResetButton);
     this.Controls.Add(this.SaveButton);
     this.Controls.Add(this.Cancel);
     this.Controls.Add(this.tabControl1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "ScoreSettings";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "Battlefield 2 Score Settings";
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.groupBox6.ResumeLayout(false);
     this.groupBox6.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.CoopDefendFlag)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.CoopFlagNeutralizeAsst)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.CoopFlagNeutralize)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.CoopFlagCaptureAsst)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.CoopFlagCapture)).EndInit();
     this.groupBox5.ResumeLayout(false);
     this.groupBox5.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ConqDefendFlag)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ConqFlagNeutralizeAsst)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ConqFlagNeutralize)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ConqFlagCaptureAsst)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ConqFlagCapture)).EndInit();
     this.groupBox4.ResumeLayout(false);
     this.groupBox4.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.SuicideScore)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.TeamVehicleDamage)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.TeamDamage)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.TeamKillScore)).EndInit();
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DamageAssist)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.TargeterKA)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.PassangerKA)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.DriverKA)).EndInit();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.VehicleRepair)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.GiveAmmo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.GiveHealth)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DestroyEnemyAsset)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ReviveScore)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.KillScore)).EndInit();
     this.tabPage2.ResumeLayout(false);
     this.groupBox7.ResumeLayout(false);
     this.groupBox7.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.AiCoopDefendFlag)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiCoopFlagNeutralizeAsst)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiCoopFlagNeutralize)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiCoopFlagCaptureAsst)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiCoopFlagCapture)).EndInit();
     this.groupBox8.ResumeLayout(false);
     this.groupBox8.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.AiCqDefendFlag)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiCqFlagNeutralizeAsst)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiCqFlagNeutralize)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiCqFlagCaptureAsst)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiCqFlagCapture)).EndInit();
     this.groupBox9.ResumeLayout(false);
     this.groupBox9.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.AiSuicideScore)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiTeamVehicleDamage)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiTeamDamage)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiTeamKillScore)).EndInit();
     this.groupBox10.ResumeLayout(false);
     this.groupBox10.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.AiDamageAssist)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiTargeterKA)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiPassangerKA)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiDriverKA)).EndInit();
     this.groupBox11.ResumeLayout(false);
     this.groupBox11.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.AiVehicleRepair)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiGiveAmmo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiGiveHealth)).EndInit();
     this.groupBox12.ResumeLayout(false);
     this.groupBox12.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.AiDestroyEnemyAsset)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiReviveScore)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AiKillScore)).EndInit();
     this.tabPage3.ResumeLayout(false);
     this.groupBox13.ResumeLayout(false);
     this.groupBox13.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ReplenishInterval)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.TeamVDamageLimit)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.TeamDamageLimit)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AmmoPointLimit)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.HealPointLimit)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.RepairPointLimit)).EndInit();
     this.contextMenuStrip1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 36
0
    private void btnTest_Click(object sender, RoutedEventArgs e) {
      /*
		We could easily move this to another project and send that method			 
		*/

      //Following could be an example of what the most basic plugin could look like
      //We could also separate plugins so they could be enabled WHEN
      //Always OR Folder_Selected OR File_Selected 
      Action<string, string> pluginExampleActivateBasic = (string pluginPath, string currentFileOrFolder) => Process.Start(pluginPath, currentFileOrFolder);

      var Tab = new Fluent.RibbonTabItem() { Header = "Plugins", ToolTip = "Plugins" };
      TheRibbon.Tabs.Add(Tab);
      var groupBox1 = new RibbonGroupBox() { Header = "Test" };
      Tab.Groups.Add(groupBox1);
      var XML =
                                      @"<Shortcuts>
						<Shortcut Name='Test' Path = 'C:\Aaron'/>
					</Shortcuts>";

      var xDoc = XElement.Parse(XML);
      var shortcuts = xDoc.Elements("Shortcut");

      var dropDown = new SplitButton();
      groupBox1.Items.Add(dropDown);

      foreach (var Node in xDoc.Elements("Shortcut")) {
        var item = new MenuItem() { Header = Node.Attribute("Name").Value };
        item.Click += (x, y) => Process.Start(Node.Attribute("Path").Value);
        dropDown.Items.Add(item);
      }
    }
 public void Setup()
 {
     _sut = SplitButton.Create("MySplitButton");
 }
Ejemplo n.º 38
0
        internal static void AddButtonToDemonbuddyMainTab(SplitButton Button)
        {
            var grid = GetDemonbuddyMainGrid();
            if (grid == null) return;

            grid.Children.Add(Button);
        }
Ejemplo n.º 39
0
 public SplitViewElement(UIImage image1, UIImage image2, string text1 = null, string text2 = null)
 {
     Button1 = new SplitButton(image1, text1);
     Button2 = new SplitButton(image2, text2);
 }
Ejemplo n.º 40
0
        internal static void InstallSettingsButton()
        {
            Application.Current.Dispatcher.Invoke(
                new Action(
                    () =>
                    {
                        Window mainWindow = Application.Current.MainWindow;
                        var tab = mainWindow.FindName("tabControlMain") as TabControl;
                        if (tab == null) return;
                        var infoDumpTab = tab.Items[0] as TabItem;
                        if (infoDumpTab == null) return;
                        var grid = infoDumpTab.Content as Grid;
                        if (grid == null) return;

                        SplitButton FunkyButton = grid.FindName("Funky") as SplitButton;
                        if (FunkyButton != null)
                        {
                            Logger.DBLog.DebugFormat("Funky Button handler added");
                        }
                        else
                        {
                            SplitButton[] splitbuttons = grid.Children.OfType<SplitButton>().ToArray();
                            if (splitbuttons.Any())
                            {

                                foreach (var item in splitbuttons)
                                {
                                    if (item.Name.Contains("Funky"))
                                    {
                                        FunkyButton = item;
                                        break;
                                    }
                                }
                            }
                        }

                        if (FunkyButton==null)
                        {
                            SplitButton btn = new SplitButton
                            {
                                Width = 125,
                                Height = 20,
                                HorizontalAlignment = HorizontalAlignment.Left,
                                VerticalAlignment = VerticalAlignment.Top,
                                Margin = new Thickness(425, 10, 0, 0),
                                IsEnabled = true,
                                Content = "Funky",
                                Name = "Funky",
                            };
                            btn.Click += lblFunky_Click;

                            lblDebug_OpenLog = new Label
                            {
                                Content = "Open DB LogFile",
                                Width = 100,
                                Height = 25,
                                HorizontalAlignment = HorizontalAlignment.Stretch,
                            };
                            lblDebug_OpenLog.MouseDown += lblDebug_OpenDBLog;

                            lblDebug_FunkyLog = new Label
                            {
                                Content = "Open Funky LogFile",
                                Width = 100,
                                Height = 25,
                                HorizontalAlignment = HorizontalAlignment.Stretch,
                            };
                            lblDebug_FunkyLog.MouseDown += lblDebug_OpenFunkyLog;

                            Label OpenTrinityFolder = new Label
                            {
                                Content = "Open Funky Folder",
                                Width = 100,
                                Height = 25,
                                HorizontalAlignment = HorizontalAlignment.Stretch,

                            };
                            OpenTrinityFolder.MouseDown += lblDebug_OpenTrinityFolder;

                            Label Recompile = new Label
                            {
                                Content = "Recompile Funky",
                                Width = 100,
                                Height = 25,
                                HorizontalAlignment = HorizontalAlignment.Stretch,

                            };
                            Recompile.MouseDown += lblCompile_Click;

                            menuItem_Debug = new MenuItem
                            {
                                Header = "Debuging",
                                Width = 125
                            };
                            menuItem_Debug.Items.Add(lblDebug_OpenLog);
                            menuItem_Debug.Items.Add(lblDebug_FunkyLog);
                            menuItem_Debug.Items.Add(OpenTrinityFolder);
                            menuItem_Debug.Items.Add(Recompile);
                            btn.ButtonMenuItemsSource.Add(menuItem_Debug);
                            btn.Click += buttonFunkySettingDB_Click;
                            grid.Children.Add(btn);
                        }
                    }
                )
            );
        }
Ejemplo n.º 41
0
 public SplitButton AddButton(string caption, string text = null)
 {
     var btn = new SplitButton(caption, text);
     _buttons.Add(btn);
     return btn;
 }
Ejemplo n.º 42
0
        public static SplitButton initDebugLabels()
        {
            SplitButton btn = new SplitButton
            {
                Width = 125,
                Height = 20,
                HorizontalAlignment = HorizontalAlignment.Left,
                VerticalAlignment = VerticalAlignment.Top,
                Margin = new Thickness(425, 10, 0, 0),
                IsEnabled = true,
                Content = "Funky",
                Name = "Funky",
            };
            btn.Click += lblFunky_Click;

            lblDebug_OpenLog = new Label
            {
                Content = "Open DB LogFile",
                Width = 100,
                Height = 25,
                HorizontalAlignment = HorizontalAlignment.Stretch,
            };
            lblDebug_OpenLog.MouseDown += lblDebug_OpenDBLog;

            lblDebug_FunkyLog = new Label
            {
                Content = "Open Funky LogFile",
                Width = 100,
                Height = 25,
                HorizontalAlignment = HorizontalAlignment.Stretch,
            };
            lblDebug_FunkyLog.MouseDown += lblDebug_OpenFunkyLog;

            Label OpenTrinityFolder = new Label
            {
                Content = "Open Funky Folder",
                Width = 100,
                Height = 25,
                HorizontalAlignment = HorizontalAlignment.Stretch,

            };
            OpenTrinityFolder.MouseDown += lblDebug_OpenTrinityFolder;

            Label Recompile = new Label
            {
                Content = "Recompile Funky",
                Width = 100,
                Height = 25,
                HorizontalAlignment = HorizontalAlignment.Stretch,

            };
            Recompile.MouseDown += lblCompile_Click;

            menuItem_Debug = new MenuItem
            {
                Header = "Debuging",
                Width = 125
            };
            menuItem_Debug.Items.Add(lblDebug_OpenLog);
            menuItem_Debug.Items.Add(lblDebug_FunkyLog);
            menuItem_Debug.Items.Add(OpenTrinityFolder);
            menuItem_Debug.Items.Add(Recompile);
            btn.ButtonMenuItemsSource.Add(menuItem_Debug);

            return btn;
        }