diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1e9462b --- /dev/null +++ b/.gitignore @@ -0,0 +1,343 @@ +## CarbuncleTech-specific: local dotnet build output + scratch verification harnesses. +.scratch/ + +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding add-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- Backup*.rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# JetBrains Rider +.idea/ +*.sln.iml + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# BeatPulse healthcheck temp database +healthchecksdb \ No newline at end of file diff --git a/CarbuncleTech.csproj b/CarbuncleTech.csproj new file mode 100644 index 0000000..be0a94d --- /dev/null +++ b/CarbuncleTech.csproj @@ -0,0 +1,24 @@ + + + net10.0-windows + Library + CarbuncleTech + true + true + https://github.com/catrenelle/CarbuncleTech/ + 2026.9.9.1 + + + + + + + + + + + + diff --git a/CarbuncleTech.sln b/CarbuncleTech.sln new file mode 100644 index 0000000..d54009b --- /dev/null +++ b/CarbuncleTech.sln @@ -0,0 +1,34 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CarbuncleTech", "CarbuncleTech.csproj", "{D557B5F0-D53E-460D-A516-1505489B80E1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D557B5F0-D53E-460D-A516-1505489B80E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D557B5F0-D53E-460D-A516-1505489B80E1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D557B5F0-D53E-460D-A516-1505489B80E1}.Debug|x64.ActiveCfg = Debug|Any CPU + {D557B5F0-D53E-460D-A516-1505489B80E1}.Debug|x64.Build.0 = Debug|Any CPU + {D557B5F0-D53E-460D-A516-1505489B80E1}.Debug|x86.ActiveCfg = Debug|Any CPU + {D557B5F0-D53E-460D-A516-1505489B80E1}.Debug|x86.Build.0 = Debug|Any CPU + {D557B5F0-D53E-460D-A516-1505489B80E1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D557B5F0-D53E-460D-A516-1505489B80E1}.Release|Any CPU.Build.0 = Release|Any CPU + {D557B5F0-D53E-460D-A516-1505489B80E1}.Release|x64.ActiveCfg = Release|Any CPU + {D557B5F0-D53E-460D-A516-1505489B80E1}.Release|x64.Build.0 = Release|Any CPU + {D557B5F0-D53E-460D-A516-1505489B80E1}.Release|x86.ActiveCfg = Release|Any CPU + {D557B5F0-D53E-460D-A516-1505489B80E1}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Common/XamlLoader.cs b/Common/XamlLoader.cs new file mode 100644 index 0000000..20d2140 --- /dev/null +++ b/Common/XamlLoader.cs @@ -0,0 +1,34 @@ +namespace CarbuncleTech.Common +{ + using System; + using System.IO; + using System.Windows; + using System.Windows.Markup; + + /// + /// Loads plain .xaml files from disk via XamlReader.Parse. RebornBuddy's plugin loader compiles + /// this assembly's .cs files from source at runtime (there is no MSBuild step in that path), so a + /// normal x:Class/InitializeComponent code-behind would never get its generated partial class — + /// windows are parsed at runtime instead and wired up entirely through data binding. + /// + public static class XamlLoader + { + public static T Load(string pluginFolderName, string relativeXamlPath) where T : class + { + if (Application.Current == null) + new Application { ShutdownMode = ShutdownMode.OnExplicitShutdown }; + + var path = Path.Combine( + Environment.CurrentDirectory, + "Plugins", "CarbuncleTech", "Plugins", pluginFolderName, "Xaml", relativeXamlPath); + + if (!File.Exists(path)) + throw new FileNotFoundException($"WPF XAML file not found: {path}", path); + + if (XamlReader.Parse(File.ReadAllText(path)) is not T element) + throw new InvalidOperationException($"'{relativeXamlPath}' did not parse to a {typeof(T).Name}."); + + return element; + } + } +} diff --git a/Data/Images/Beastmaster.png b/Data/Images/Beastmaster.png new file mode 100644 index 0000000..deddb5f Binary files /dev/null and b/Data/Images/Beastmaster.png differ diff --git a/Data/Images/Pictomancer.png b/Data/Images/Pictomancer.png new file mode 100644 index 0000000..8f3c4c4 Binary files /dev/null and b/Data/Images/Pictomancer.png differ diff --git a/Data/Images/Reaper.png b/Data/Images/Reaper.png new file mode 100644 index 0000000..1d5f923 Binary files /dev/null and b/Data/Images/Reaper.png differ diff --git a/Data/Images/Sage.png b/Data/Images/Sage.png new file mode 100644 index 0000000..4a1d93c Binary files /dev/null and b/Data/Images/Sage.png differ diff --git a/Data/Images/Thumbs.db b/Data/Images/Thumbs.db deleted file mode 100644 index 2c942f8..0000000 Binary files a/Data/Images/Thumbs.db and /dev/null differ diff --git a/Data/Images/Viper.png b/Data/Images/Viper.png new file mode 100644 index 0000000..4a42eef Binary files /dev/null and b/Data/Images/Viper.png differ diff --git a/Plugins/GameTitlebar/GameTitlebar.cs b/Plugins/GameTitlebar/GameTitlebar.cs index f31dada..c5afe77 100644 --- a/Plugins/GameTitlebar/GameTitlebar.cs +++ b/Plugins/GameTitlebar/GameTitlebar.cs @@ -28,7 +28,7 @@ public class GameTitlebar : BotPlugin private static void SetGameTitle(bool customTitle = true) { var mainWindowHdl = Core.Memory.Process.MainWindowHandle; - var title = customTitle ? $@"{OriginalTitle} - {Core.Me.Name}" : OriginalTitle; + var title = customTitle ? $@"{OriginalTitle} - {Core.Me.Name} {Core.Memory.Process.Id}" : OriginalTitle; SendMessage(mainWindowHdl, WM_SETTEXT, IntPtr.Zero, title); } diff --git a/Plugins/SeleCR/Models/JobDefinition.cs b/Plugins/SeleCR/Models/JobDefinition.cs new file mode 100644 index 0000000..38de610 --- /dev/null +++ b/Plugins/SeleCR/Models/JobDefinition.cs @@ -0,0 +1,81 @@ +namespace CarbuncleTech.Plugins.SeleCR.Models +{ + using System; + using System.Collections.Generic; + using System.IO; + + public enum JobRole + { + Tank, + Healer, + MeleeDps, + PhysicalRangedDps, + MagicalRangedDps, + Limited + } + + public class JobDefinition + { + public string DisplayName { get; } + public string IconFileName { get; } + public JobRole Role { get; } + public bool HasPvp { get; } + public Func Getter { get; } + public Action Setter { get; } + + public JobDefinition(string displayName, string iconFileName, JobRole role, + Func getter, Action setter, bool hasPvp = true) + { + DisplayName = displayName; + IconFileName = iconFileName; + Role = role; + Getter = getter; + Setter = setter; + HasPvp = hasPvp; + } + + public static string IconPath(string fileName) => + Path.Combine(Environment.CurrentDirectory, "Plugins", "CarbuncleTech", "Data", "Images", fileName); + + public static readonly IReadOnlyList All = new List + { + // Tanks + new("Paladin", "Paladin.png", JobRole.Tank, s => s.PaladinRoutine, (s, v) => s.PaladinRoutine = v), + new("Warrior", "Warrior.png", JobRole.Tank, s => s.WarriorRoutine, (s, v) => s.WarriorRoutine = v), + new("Dark Knight", "DarkKnight.png", JobRole.Tank, s => s.DarkKnightRoutine, (s, v) => s.DarkKnightRoutine = v), + new("Gunbreaker", "Gunbreaker.png", JobRole.Tank, s => s.GunbreakerRoutine, (s, v) => s.GunbreakerRoutine = v), + + // Healers + new("White Mage", "WhiteMage.png", JobRole.Healer, s => s.WhiteMageRoutine, (s, v) => s.WhiteMageRoutine = v), + new("Scholar", "Scholar.png", JobRole.Healer, s => s.ScholarRoutine, (s, v) => s.ScholarRoutine = v), + new("Astrologian", "Astrologian.png", JobRole.Healer, s => s.AstrologianRoutine, (s, v) => s.AstrologianRoutine = v), + new("Sage", "Sage.png", JobRole.Healer, s => s.SageRoutine, (s, v) => s.SageRoutine = v), + + // Melee DPS + new("Monk", "Monk.png", JobRole.MeleeDps, s => s.MonkRoutine, (s, v) => s.MonkRoutine = v), + new("Dragoon", "Dragoon.png", JobRole.MeleeDps, s => s.DragoonRoutine, (s, v) => s.DragoonRoutine = v), + new("Ninja", "Ninja.png", JobRole.MeleeDps, s => s.NinjaRoutine, (s, v) => s.NinjaRoutine = v), + new("Samurai", "Samurai.png", JobRole.MeleeDps, s => s.SamuraiRoutine, (s, v) => s.SamuraiRoutine = v), + new("Reaper", "Reaper.png", JobRole.MeleeDps, s => s.ReaperRoutine, (s, v) => s.ReaperRoutine = v), + new("Viper", "Viper.png", JobRole.MeleeDps, s => s.ViperRoutine, (s, v) => s.ViperRoutine = v), + + // Physical Ranged DPS + new("Bard", "Bard.png", JobRole.PhysicalRangedDps, s => s.BardRoutine, (s, v) => s.BardRoutine = v), + new("Machinist", "Machinist.png", JobRole.PhysicalRangedDps, s => s.MachinistRoutine, (s, v) => s.MachinistRoutine = v), + new("Dancer", "Dancer.png", JobRole.PhysicalRangedDps, s => s.DancerRoutine, (s, v) => s.DancerRoutine = v), + + // Magical Ranged DPS + new("Arcanist", "Arcanist.png", JobRole.MagicalRangedDps, s => s.ArcanistRoutine, (s, v) => s.ArcanistRoutine = v), + new("Summoner", "Summoner.png", JobRole.MagicalRangedDps, s => s.SummonerRoutine, (s, v) => s.SummonerRoutine = v), + new("Black Mage", "BlackMage.png", JobRole.MagicalRangedDps, s => s.BlackMageRoutine, (s, v) => s.BlackMageRoutine = v), + new("Red Mage", "RedMage.png", JobRole.MagicalRangedDps, s => s.RedMageRoutine, (s, v) => s.RedMageRoutine = v), + new("Pictomancer", "Pictomancer.png", JobRole.MagicalRangedDps, s => s.PictomancerRoutine, (s, v) => s.PictomancerRoutine = v), + + // Limited Jobs (no PvP queue) + new("Blue Mage", "BlueMage.png", JobRole.Limited, s => s.BlueMageRoutine, (s, v) => s.BlueMageRoutine = v, hasPvp: false), +#if !RB_TC + new("Beastmaster", "Beastmaster.png", JobRole.Limited, s => s.BeastmasterRoutine, (s, v) => s.BeastmasterRoutine = v, hasPvp: false), +#endif + }; + } +} diff --git a/Plugins/SeleCR/Models/Scenario.cs b/Plugins/SeleCR/Models/Scenario.cs index a7712fb..1b68f1a 100644 --- a/Plugins/SeleCR/Models/Scenario.cs +++ b/Plugins/SeleCR/Models/Scenario.cs @@ -84,7 +84,27 @@ public class Scenario [DefaultValue("")] public string GunbreakerRoutine { get; set; } - public Scenario() + [Setting] + [DefaultValue("")] + public string ReaperRoutine { get; set; } + + [Setting] + [DefaultValue("")] + public string SageRoutine { get; set; } + + [Setting] + [DefaultValue("")] + public string ViperRoutine { get; set; } + + [Setting] + [DefaultValue("")] + public string PictomancerRoutine { get; set; } + + [Setting] + [DefaultValue("")] + public string BeastmasterRoutine { get; set; } + + public Scenario() { } diff --git a/Plugins/SeleCR/SeleCR.cs b/Plugins/SeleCR/SeleCR.cs index 8cf8805..8b48f93 100644 --- a/Plugins/SeleCR/SeleCR.cs +++ b/Plugins/SeleCR/SeleCR.cs @@ -20,22 +20,13 @@ public class SeleCR : BotPlugin public override string ButtonText => "Configure"; #endregion - private SettingsWindow _settingsWindow; private readonly Color LogColor = Color.FromRgb(215, 40, 200); private bool _inPvpArea; private WaitTimer _pulseTimer; public override void OnButtonPress() { - if (_settingsWindow == null || _settingsWindow.IsDisposed) - { - _settingsWindow = new SettingsWindow(); - _settingsWindow.Show(); - } - else - { - _settingsWindow.BringToFront(); - } + SettingsWindow.Show(); } public override void OnPulse() diff --git a/Plugins/SeleCR/Settings.cs b/Plugins/SeleCR/Settings.cs index bac7278..844882f 100644 --- a/Plugins/SeleCR/Settings.cs +++ b/Plugins/SeleCR/Settings.cs @@ -37,7 +37,7 @@ public Scenario Pvp [DefaultValue(false)] public bool AutoSelectPvp { get; set; } - public Settings() : base(CharacterSettingsDirectory + "/CarbuncleTech/SeleCR.json") + public Settings() : base(SettingsPath + "/CarbuncleTech/SeleCR.json") { } [JsonIgnore] @@ -416,6 +416,86 @@ public string SelectRoutine() return Pvp.GunbreakerRoutine; } break; + + case ClassJobType.Reaper: + if (WorldManager.InPvP) + { + if (AutoSelectPvp) + return Pvp.ReaperRoutine; + + if (AutoSelectPve) + return Pve.ReaperRoutine; + } + else + { + if (AutoSelectPve) + return Pve.ReaperRoutine; + + if (AutoSelectPvp) + return Pvp.ReaperRoutine; + } + break; + case ClassJobType.Sage: + if (WorldManager.InPvP) + { + if (AutoSelectPvp) + return Pvp.SageRoutine; + + if (AutoSelectPve) + return Pve.SageRoutine; + } + else + { + if (AutoSelectPve) + return Pve.SageRoutine; + + if (AutoSelectPvp) + return Pvp.SageRoutine; + } + break; + + case ClassJobType.Viper: + if (WorldManager.InPvP) + { + if (AutoSelectPvp) + return Pvp.ViperRoutine; + + if (AutoSelectPve) + return Pve.ViperRoutine; + } + else + { + if (AutoSelectPve) + return Pve.ViperRoutine; + + if (AutoSelectPvp) + return Pvp.ViperRoutine; + } + break; + + case ClassJobType.Pictomancer: + if (WorldManager.InPvP) + { + if (AutoSelectPvp) + return Pvp.PictomancerRoutine; + + if (AutoSelectPve) + return Pve.PictomancerRoutine; + } + else + { + if (AutoSelectPve) + return Pve.PictomancerRoutine; + + if (AutoSelectPvp) + return Pvp.PictomancerRoutine; + } + break; + + #if !RB_TC + case ClassJobType.BeastMaster: + return Pve.BeastmasterRoutine; + #endif default: return ""; diff --git a/Plugins/SeleCR/SettingsWindow.Designer.cs b/Plugins/SeleCR/SettingsWindow.Designer.cs deleted file mode 100644 index 26caec6..0000000 --- a/Plugins/SeleCR/SettingsWindow.Designer.cs +++ /dev/null @@ -1,1565 +0,0 @@ -namespace CarbuncleTech.Plugins.SeleCR -{ - partial class SettingsWindow - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.tcCategories = new System.Windows.Forms.TabControl(); - this.tpPVE = new System.Windows.Forms.TabPage(); - this.chkEnableInPve = new System.Windows.Forms.CheckBox(); - this.gbOthersPVE = new System.Windows.Forms.GroupBox(); - this.cmbNonBattlePVE = new System.Windows.Forms.ComboBox(); - this.picMinerPVE = new System.Windows.Forms.PictureBox(); - this.gbMagicalRangedDpsPVE = new System.Windows.Forms.GroupBox(); - this.cmbRedMagePVE = new System.Windows.Forms.ComboBox(); - this.cmbSummonerPVE = new System.Windows.Forms.ComboBox(); - this.cmbArcanistPVE = new System.Windows.Forms.ComboBox(); - this.picRedMagePVE = new System.Windows.Forms.PictureBox(); - this.picSummonerPVE = new System.Windows.Forms.PictureBox(); - this.picArcanistPVE = new System.Windows.Forms.PictureBox(); - this.cmbBlackMagePVE = new System.Windows.Forms.ComboBox(); - this.picBlackMagePVE = new System.Windows.Forms.PictureBox(); - this.gbHealersPVE = new System.Windows.Forms.GroupBox(); - this.cmbAstrologianPVE = new System.Windows.Forms.ComboBox(); - this.picAstrologianPVE = new System.Windows.Forms.PictureBox(); - this.cmbScholarPVE = new System.Windows.Forms.ComboBox(); - this.picScholarPVE = new System.Windows.Forms.PictureBox(); - this.cmbWhiteMagePVE = new System.Windows.Forms.ComboBox(); - this.picWhiteMagePVE = new System.Windows.Forms.PictureBox(); - this.gbPhysicalRangedDpsPVE = new System.Windows.Forms.GroupBox(); - this.cmbDancerPVE = new System.Windows.Forms.ComboBox(); - this.picDancerPVE = new System.Windows.Forms.PictureBox(); - this.cmbMachinistPVE = new System.Windows.Forms.ComboBox(); - this.picMachinistPVE = new System.Windows.Forms.PictureBox(); - this.cmbBardPVE = new System.Windows.Forms.ComboBox(); - this.picBardPVE = new System.Windows.Forms.PictureBox(); - this.gbMeleeDpsPVE = new System.Windows.Forms.GroupBox(); - this.cmbSamuraiPVE = new System.Windows.Forms.ComboBox(); - this.cmbNinjaPVE = new System.Windows.Forms.ComboBox(); - this.picSamuraiPVE = new System.Windows.Forms.PictureBox(); - this.picNinjaPVE = new System.Windows.Forms.PictureBox(); - this.cmbDragoonPVE = new System.Windows.Forms.ComboBox(); - this.picDragoonPVE = new System.Windows.Forms.PictureBox(); - this.cmbMonkPVE = new System.Windows.Forms.ComboBox(); - this.picMonkPVE = new System.Windows.Forms.PictureBox(); - this.gbTanksPVE = new System.Windows.Forms.GroupBox(); - this.cmbGunbreakerPVE = new System.Windows.Forms.ComboBox(); - this.picGunbreakerPVE = new System.Windows.Forms.PictureBox(); - this.cmbDarkKnightPVE = new System.Windows.Forms.ComboBox(); - this.picDarkKnightPVE = new System.Windows.Forms.PictureBox(); - this.picWarriorPVE = new System.Windows.Forms.PictureBox(); - this.cmbWarriorPVE = new System.Windows.Forms.ComboBox(); - this.picPaladinPVE = new System.Windows.Forms.PictureBox(); - this.cmbPaladinPVE = new System.Windows.Forms.ComboBox(); - this.tpPVP = new System.Windows.Forms.TabPage(); - this.chkEnableInPvp = new System.Windows.Forms.CheckBox(); - this.gbMagicalRangedDpsPVP = new System.Windows.Forms.GroupBox(); - this.cmbRedMagePVP = new System.Windows.Forms.ComboBox(); - this.cmbSummonerPVP = new System.Windows.Forms.ComboBox(); - this.cmbArcanistPVP = new System.Windows.Forms.ComboBox(); - this.picRedMagePVP = new System.Windows.Forms.PictureBox(); - this.picSummonerPVP = new System.Windows.Forms.PictureBox(); - this.picArcanistPVP = new System.Windows.Forms.PictureBox(); - this.cmbBlackMagePVP = new System.Windows.Forms.ComboBox(); - this.picBlackMagePVP = new System.Windows.Forms.PictureBox(); - this.gbHealersPVP = new System.Windows.Forms.GroupBox(); - this.cmbAstrologianPVP = new System.Windows.Forms.ComboBox(); - this.picAstrologianPVP = new System.Windows.Forms.PictureBox(); - this.cmbScholarPVP = new System.Windows.Forms.ComboBox(); - this.picScholarPVP = new System.Windows.Forms.PictureBox(); - this.cmbWhiteMagePVP = new System.Windows.Forms.ComboBox(); - this.picWhiteMagePVP = new System.Windows.Forms.PictureBox(); - this.gbPhysicalRangedDpsPVP = new System.Windows.Forms.GroupBox(); - this.cmbMachinistPVP = new System.Windows.Forms.ComboBox(); - this.picMachinistPVP = new System.Windows.Forms.PictureBox(); - this.cmbBardPVP = new System.Windows.Forms.ComboBox(); - this.picBardPVP = new System.Windows.Forms.PictureBox(); - this.gbMeleeDpsPVP = new System.Windows.Forms.GroupBox(); - this.cmbSamuraiPVP = new System.Windows.Forms.ComboBox(); - this.cmbNinjaPVP = new System.Windows.Forms.ComboBox(); - this.picSamuraiPVP = new System.Windows.Forms.PictureBox(); - this.picNinjaPVP = new System.Windows.Forms.PictureBox(); - this.cmbDragoonPVP = new System.Windows.Forms.ComboBox(); - this.picDragoonPVP = new System.Windows.Forms.PictureBox(); - this.cmbMonkPVP = new System.Windows.Forms.ComboBox(); - this.picMonkPVP = new System.Windows.Forms.PictureBox(); - this.gbTanksPVP = new System.Windows.Forms.GroupBox(); - this.cmbGunbreakerPVP = new System.Windows.Forms.ComboBox(); - this.picGunbreakerPVP = new System.Windows.Forms.PictureBox(); - this.cmbDarkKnightPVP = new System.Windows.Forms.ComboBox(); - this.picDarkKnightPVP = new System.Windows.Forms.PictureBox(); - this.picWarriorPVP = new System.Windows.Forms.PictureBox(); - this.cmbWarriorPVP = new System.Windows.Forms.ComboBox(); - this.picPaladinPVP = new System.Windows.Forms.PictureBox(); - this.cmbPaladinPVP = new System.Windows.Forms.ComboBox(); - this.cmbDancerPVP = new System.Windows.Forms.ComboBox(); - this.picDancerPVP = new System.Windows.Forms.PictureBox(); - this.gbLimitedPVE = new System.Windows.Forms.GroupBox(); - this.cmbBlueMagePVE = new System.Windows.Forms.ComboBox(); - this.picBlueMagePVE = new System.Windows.Forms.PictureBox(); - this.tcCategories.SuspendLayout(); - this.tpPVE.SuspendLayout(); - this.gbOthersPVE.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize) (this.picMinerPVE)).BeginInit(); - this.gbMagicalRangedDpsPVE.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize) (this.picRedMagePVE)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picSummonerPVE)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picArcanistPVE)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picBlackMagePVE)).BeginInit(); - this.gbHealersPVE.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize) (this.picAstrologianPVE)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picScholarPVE)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picWhiteMagePVE)).BeginInit(); - this.gbPhysicalRangedDpsPVE.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize) (this.picDancerPVE)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picMachinistPVE)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picBardPVE)).BeginInit(); - this.gbMeleeDpsPVE.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize) (this.picSamuraiPVE)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picNinjaPVE)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picDragoonPVE)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picMonkPVE)).BeginInit(); - this.gbTanksPVE.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize) (this.picGunbreakerPVE)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picDarkKnightPVE)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picWarriorPVE)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picPaladinPVE)).BeginInit(); - this.tpPVP.SuspendLayout(); - this.gbMagicalRangedDpsPVP.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize) (this.picRedMagePVP)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picSummonerPVP)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picArcanistPVP)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picBlackMagePVP)).BeginInit(); - this.gbHealersPVP.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize) (this.picAstrologianPVP)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picScholarPVP)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picWhiteMagePVP)).BeginInit(); - this.gbPhysicalRangedDpsPVP.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize) (this.picMachinistPVP)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picBardPVP)).BeginInit(); - this.gbMeleeDpsPVP.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize) (this.picSamuraiPVP)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picNinjaPVP)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picDragoonPVP)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picMonkPVP)).BeginInit(); - this.gbTanksPVP.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize) (this.picGunbreakerPVP)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picDarkKnightPVP)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picWarriorPVP)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picPaladinPVP)).BeginInit(); - ((System.ComponentModel.ISupportInitialize) (this.picDancerPVP)).BeginInit(); - this.gbLimitedPVE.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize) (this.picBlueMagePVE)).BeginInit(); - this.SuspendLayout(); - // - // tcCategories - // - this.tcCategories.Controls.Add(this.tpPVE); - this.tcCategories.Controls.Add(this.tpPVP); - this.tcCategories.Location = new System.Drawing.Point(14, 14); - this.tcCategories.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tcCategories.Name = "tcCategories"; - this.tcCategories.SelectedIndex = 0; - this.tcCategories.Size = new System.Drawing.Size(569, 610); - this.tcCategories.TabIndex = 1; - // - // tpPVE - // - this.tpPVE.BackColor = System.Drawing.Color.Transparent; - this.tpPVE.Controls.Add(this.gbLimitedPVE); - this.tpPVE.Controls.Add(this.chkEnableInPve); - this.tpPVE.Controls.Add(this.gbOthersPVE); - this.tpPVE.Controls.Add(this.gbMagicalRangedDpsPVE); - this.tpPVE.Controls.Add(this.gbHealersPVE); - this.tpPVE.Controls.Add(this.gbPhysicalRangedDpsPVE); - this.tpPVE.Controls.Add(this.gbMeleeDpsPVE); - this.tpPVE.Controls.Add(this.gbTanksPVE); - this.tpPVE.Location = new System.Drawing.Point(4, 24); - this.tpPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tpPVE.Name = "tpPVE"; - this.tpPVE.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tpPVE.Size = new System.Drawing.Size(561, 582); - this.tpPVE.TabIndex = 0; - this.tpPVE.Text = "PVE"; - // - // chkEnableInPve - // - this.chkEnableInPve.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.chkEnableInPve.Location = new System.Drawing.Point(14, 534); - this.chkEnableInPve.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.chkEnableInPve.Name = "chkEnableInPve"; - this.chkEnableInPve.Size = new System.Drawing.Size(254, 28); - this.chkEnableInPve.TabIndex = 21; - this.chkEnableInPve.Text = "Enable in PVE Areas"; - this.chkEnableInPve.UseVisualStyleBackColor = true; - this.chkEnableInPve.CheckedChanged += new System.EventHandler(this.SettingsChanged); - // - // gbOthersPVE - // - this.gbOthersPVE.Controls.Add(this.cmbNonBattlePVE); - this.gbOthersPVE.Controls.Add(this.picMinerPVE); - this.gbOthersPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.gbOthersPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.gbOthersPVE.Location = new System.Drawing.Point(7, 373); - this.gbOthersPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbOthersPVE.Name = "gbOthersPVE"; - this.gbOthersPVE.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbOthersPVE.Size = new System.Drawing.Size(270, 68); - this.gbOthersPVE.TabIndex = 18; - this.gbOthersPVE.TabStop = false; - this.gbOthersPVE.Text = "Hand and Land"; - // - // cmbNonBattlePVE - // - this.cmbNonBattlePVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbNonBattlePVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbNonBattlePVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbNonBattlePVE.FormattingEnabled = true; - this.cmbNonBattlePVE.Location = new System.Drawing.Point(51, 31); - this.cmbNonBattlePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbNonBattlePVE.Name = "cmbNonBattlePVE"; - this.cmbNonBattlePVE.Size = new System.Drawing.Size(209, 24); - this.cmbNonBattlePVE.TabIndex = 19; - this.cmbNonBattlePVE.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbNonBattlePVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picMinerPVE - // - this.picMinerPVE.Location = new System.Drawing.Point(7, 22); - this.picMinerPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picMinerPVE.Name = "picMinerPVE"; - this.picMinerPVE.Size = new System.Drawing.Size(37, 37); - this.picMinerPVE.TabIndex = 55; - this.picMinerPVE.TabStop = false; - // - // gbMagicalRangedDpsPVE - // - this.gbMagicalRangedDpsPVE.Controls.Add(this.cmbRedMagePVE); - this.gbMagicalRangedDpsPVE.Controls.Add(this.cmbSummonerPVE); - this.gbMagicalRangedDpsPVE.Controls.Add(this.cmbArcanistPVE); - this.gbMagicalRangedDpsPVE.Controls.Add(this.picRedMagePVE); - this.gbMagicalRangedDpsPVE.Controls.Add(this.picSummonerPVE); - this.gbMagicalRangedDpsPVE.Controls.Add(this.picArcanistPVE); - this.gbMagicalRangedDpsPVE.Controls.Add(this.cmbBlackMagePVE); - this.gbMagicalRangedDpsPVE.Controls.Add(this.picBlackMagePVE); - this.gbMagicalRangedDpsPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.gbMagicalRangedDpsPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.gbMagicalRangedDpsPVE.Location = new System.Drawing.Point(284, 373); - this.gbMagicalRangedDpsPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbMagicalRangedDpsPVE.Name = "gbMagicalRangedDpsPVE"; - this.gbMagicalRangedDpsPVE.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbMagicalRangedDpsPVE.Size = new System.Drawing.Size(270, 200); - this.gbMagicalRangedDpsPVE.TabIndex = 20; - this.gbMagicalRangedDpsPVE.TabStop = false; - this.gbMagicalRangedDpsPVE.Text = "Magical Ranged DPS (PVE)"; - // - // cmbRedMagePVE - // - this.cmbRedMagePVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbRedMagePVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbRedMagePVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbRedMagePVE.FormattingEnabled = true; - this.cmbRedMagePVE.Location = new System.Drawing.Point(51, 162); - this.cmbRedMagePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbRedMagePVE.Name = "cmbRedMagePVE"; - this.cmbRedMagePVE.Size = new System.Drawing.Size(209, 24); - this.cmbRedMagePVE.TabIndex = 24; - this.cmbRedMagePVE.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbRedMagePVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // cmbSummonerPVE - // - this.cmbSummonerPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbSummonerPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbSummonerPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbSummonerPVE.FormattingEnabled = true; - this.cmbSummonerPVE.Location = new System.Drawing.Point(51, 118); - this.cmbSummonerPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbSummonerPVE.Name = "cmbSummonerPVE"; - this.cmbSummonerPVE.Size = new System.Drawing.Size(209, 24); - this.cmbSummonerPVE.TabIndex = 23; - this.cmbSummonerPVE.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbSummonerPVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // cmbArcanistPVE - // - this.cmbArcanistPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbArcanistPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbArcanistPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbArcanistPVE.FormattingEnabled = true; - this.cmbArcanistPVE.Location = new System.Drawing.Point(51, 74); - this.cmbArcanistPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbArcanistPVE.Name = "cmbArcanistPVE"; - this.cmbArcanistPVE.Size = new System.Drawing.Size(209, 24); - this.cmbArcanistPVE.TabIndex = 22; - this.cmbArcanistPVE.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbArcanistPVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picRedMagePVE - // - this.picRedMagePVE.Location = new System.Drawing.Point(7, 152); - this.picRedMagePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picRedMagePVE.Name = "picRedMagePVE"; - this.picRedMagePVE.Size = new System.Drawing.Size(37, 37); - this.picRedMagePVE.TabIndex = 58; - this.picRedMagePVE.TabStop = false; - // - // picSummonerPVE - // - this.picSummonerPVE.Location = new System.Drawing.Point(7, 108); - this.picSummonerPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picSummonerPVE.Name = "picSummonerPVE"; - this.picSummonerPVE.Size = new System.Drawing.Size(37, 37); - this.picSummonerPVE.TabIndex = 57; - this.picSummonerPVE.TabStop = false; - // - // picArcanistPVE - // - this.picArcanistPVE.Location = new System.Drawing.Point(7, 65); - this.picArcanistPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picArcanistPVE.Name = "picArcanistPVE"; - this.picArcanistPVE.Size = new System.Drawing.Size(37, 37); - this.picArcanistPVE.TabIndex = 56; - this.picArcanistPVE.TabStop = false; - // - // cmbBlackMagePVE - // - this.cmbBlackMagePVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbBlackMagePVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbBlackMagePVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbBlackMagePVE.FormattingEnabled = true; - this.cmbBlackMagePVE.Location = new System.Drawing.Point(51, 30); - this.cmbBlackMagePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbBlackMagePVE.Name = "cmbBlackMagePVE"; - this.cmbBlackMagePVE.Size = new System.Drawing.Size(209, 24); - this.cmbBlackMagePVE.TabIndex = 21; - this.cmbBlackMagePVE.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbBlackMagePVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picBlackMagePVE - // - this.picBlackMagePVE.Location = new System.Drawing.Point(7, 21); - this.picBlackMagePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picBlackMagePVE.Name = "picBlackMagePVE"; - this.picBlackMagePVE.Size = new System.Drawing.Size(37, 37); - this.picBlackMagePVE.TabIndex = 54; - this.picBlackMagePVE.TabStop = false; - // - // gbHealersPVE - // - this.gbHealersPVE.Controls.Add(this.cmbAstrologianPVE); - this.gbHealersPVE.Controls.Add(this.picAstrologianPVE); - this.gbHealersPVE.Controls.Add(this.cmbScholarPVE); - this.gbHealersPVE.Controls.Add(this.picScholarPVE); - this.gbHealersPVE.Controls.Add(this.cmbWhiteMagePVE); - this.gbHealersPVE.Controls.Add(this.picWhiteMagePVE); - this.gbHealersPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.gbHealersPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.gbHealersPVE.Location = new System.Drawing.Point(7, 212); - this.gbHealersPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbHealersPVE.Name = "gbHealersPVE"; - this.gbHealersPVE.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbHealersPVE.Size = new System.Drawing.Size(270, 153); - this.gbHealersPVE.TabIndex = 11; - this.gbHealersPVE.TabStop = false; - this.gbHealersPVE.Text = "Healers (PVE)"; - // - // cmbAstrologianPVE - // - this.cmbAstrologianPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbAstrologianPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbAstrologianPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbAstrologianPVE.FormattingEnabled = true; - this.cmbAstrologianPVE.Location = new System.Drawing.Point(51, 118); - this.cmbAstrologianPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbAstrologianPVE.Name = "cmbAstrologianPVE"; - this.cmbAstrologianPVE.Size = new System.Drawing.Size(209, 24); - this.cmbAstrologianPVE.TabIndex = 14; - this.cmbAstrologianPVE.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbAstrologianPVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picAstrologianPVE - // - this.picAstrologianPVE.Location = new System.Drawing.Point(7, 108); - this.picAstrologianPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picAstrologianPVE.Name = "picAstrologianPVE"; - this.picAstrologianPVE.Size = new System.Drawing.Size(37, 37); - this.picAstrologianPVE.TabIndex = 57; - this.picAstrologianPVE.TabStop = false; - // - // cmbScholarPVE - // - this.cmbScholarPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbScholarPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbScholarPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbScholarPVE.FormattingEnabled = true; - this.cmbScholarPVE.Location = new System.Drawing.Point(51, 74); - this.cmbScholarPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbScholarPVE.Name = "cmbScholarPVE"; - this.cmbScholarPVE.Size = new System.Drawing.Size(209, 24); - this.cmbScholarPVE.TabIndex = 13; - this.cmbScholarPVE.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbScholarPVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picScholarPVE - // - this.picScholarPVE.Location = new System.Drawing.Point(7, 65); - this.picScholarPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picScholarPVE.Name = "picScholarPVE"; - this.picScholarPVE.Size = new System.Drawing.Size(37, 37); - this.picScholarPVE.TabIndex = 55; - this.picScholarPVE.TabStop = false; - // - // cmbWhiteMagePVE - // - this.cmbWhiteMagePVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbWhiteMagePVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbWhiteMagePVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbWhiteMagePVE.FormattingEnabled = true; - this.cmbWhiteMagePVE.Location = new System.Drawing.Point(51, 30); - this.cmbWhiteMagePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbWhiteMagePVE.Name = "cmbWhiteMagePVE"; - this.cmbWhiteMagePVE.Size = new System.Drawing.Size(209, 24); - this.cmbWhiteMagePVE.TabIndex = 12; - this.cmbWhiteMagePVE.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbWhiteMagePVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picWhiteMagePVE - // - this.picWhiteMagePVE.Location = new System.Drawing.Point(7, 21); - this.picWhiteMagePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picWhiteMagePVE.Name = "picWhiteMagePVE"; - this.picWhiteMagePVE.Size = new System.Drawing.Size(37, 37); - this.picWhiteMagePVE.TabIndex = 53; - this.picWhiteMagePVE.TabStop = false; - // - // gbPhysicalRangedDpsPVE - // - this.gbPhysicalRangedDpsPVE.Controls.Add(this.cmbDancerPVE); - this.gbPhysicalRangedDpsPVE.Controls.Add(this.picDancerPVE); - this.gbPhysicalRangedDpsPVE.Controls.Add(this.cmbMachinistPVE); - this.gbPhysicalRangedDpsPVE.Controls.Add(this.picMachinistPVE); - this.gbPhysicalRangedDpsPVE.Controls.Add(this.cmbBardPVE); - this.gbPhysicalRangedDpsPVE.Controls.Add(this.picBardPVE); - this.gbPhysicalRangedDpsPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.gbPhysicalRangedDpsPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.gbPhysicalRangedDpsPVE.Location = new System.Drawing.Point(284, 212); - this.gbPhysicalRangedDpsPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbPhysicalRangedDpsPVE.Name = "gbPhysicalRangedDpsPVE"; - this.gbPhysicalRangedDpsPVE.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbPhysicalRangedDpsPVE.Size = new System.Drawing.Size(270, 153); - this.gbPhysicalRangedDpsPVE.TabIndex = 15; - this.gbPhysicalRangedDpsPVE.TabStop = false; - this.gbPhysicalRangedDpsPVE.Text = "Physical Ranged DPS (PVE)"; - // - // cmbDancerPVE - // - this.cmbDancerPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbDancerPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbDancerPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbDancerPVE.FormattingEnabled = true; - this.cmbDancerPVE.Location = new System.Drawing.Point(51, 117); - this.cmbDancerPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbDancerPVE.Name = "cmbDancerPVE"; - this.cmbDancerPVE.Size = new System.Drawing.Size(209, 24); - this.cmbDancerPVE.TabIndex = 55; - this.cmbDancerPVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picDancerPVE - // - this.picDancerPVE.Location = new System.Drawing.Point(7, 108); - this.picDancerPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picDancerPVE.Name = "picDancerPVE"; - this.picDancerPVE.Size = new System.Drawing.Size(37, 37); - this.picDancerPVE.TabIndex = 56; - this.picDancerPVE.TabStop = false; - // - // cmbMachinistPVE - // - this.cmbMachinistPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbMachinistPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbMachinistPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbMachinistPVE.FormattingEnabled = true; - this.cmbMachinistPVE.Location = new System.Drawing.Point(51, 74); - this.cmbMachinistPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbMachinistPVE.Name = "cmbMachinistPVE"; - this.cmbMachinistPVE.Size = new System.Drawing.Size(209, 24); - this.cmbMachinistPVE.TabIndex = 17; - this.cmbMachinistPVE.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbMachinistPVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picMachinistPVE - // - this.picMachinistPVE.Location = new System.Drawing.Point(7, 65); - this.picMachinistPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picMachinistPVE.Name = "picMachinistPVE"; - this.picMachinistPVE.Size = new System.Drawing.Size(37, 37); - this.picMachinistPVE.TabIndex = 54; - this.picMachinistPVE.TabStop = false; - // - // cmbBardPVE - // - this.cmbBardPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbBardPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbBardPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, - System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbBardPVE.FormattingEnabled = true; - this.cmbBardPVE.Location = new System.Drawing.Point(51, 30); - this.cmbBardPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbBardPVE.Name = "cmbBardPVE"; - this.cmbBardPVE.Size = new System.Drawing.Size(209, 24); - this.cmbBardPVE.TabIndex = 16; - this.cmbBardPVE.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbBardPVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picBardPVE - // - this.picBardPVE.Location = new System.Drawing.Point(7, 21); - this.picBardPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picBardPVE.Name = "picBardPVE"; - this.picBardPVE.Size = new System.Drawing.Size(37, 37); - this.picBardPVE.TabIndex = 52; - this.picBardPVE.TabStop = false; - // - // gbMeleeDpsPVE - // - this.gbMeleeDpsPVE.Controls.Add(this.cmbSamuraiPVE); - this.gbMeleeDpsPVE.Controls.Add(this.cmbNinjaPVE); - this.gbMeleeDpsPVE.Controls.Add(this.picSamuraiPVE); - this.gbMeleeDpsPVE.Controls.Add(this.picNinjaPVE); - this.gbMeleeDpsPVE.Controls.Add(this.cmbDragoonPVE); - this.gbMeleeDpsPVE.Controls.Add(this.picDragoonPVE); - this.gbMeleeDpsPVE.Controls.Add(this.cmbMonkPVE); - this.gbMeleeDpsPVE.Controls.Add(this.picMonkPVE); - this.gbMeleeDpsPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.gbMeleeDpsPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.gbMeleeDpsPVE.Location = new System.Drawing.Point(284, 7); - this.gbMeleeDpsPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbMeleeDpsPVE.Name = "gbMeleeDpsPVE"; - this.gbMeleeDpsPVE.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbMeleeDpsPVE.Size = new System.Drawing.Size(270, 198); - this.gbMeleeDpsPVE.TabIndex = 6; - this.gbMeleeDpsPVE.TabStop = false; - this.gbMeleeDpsPVE.Text = "Melee DPS (PVE)"; - // - // cmbSamuraiPVE - // - this.cmbSamuraiPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbSamuraiPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbSamuraiPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbSamuraiPVE.FormattingEnabled = true; - this.cmbSamuraiPVE.Location = new System.Drawing.Point(51, 163); - this.cmbSamuraiPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbSamuraiPVE.Name = "cmbSamuraiPVE"; - this.cmbSamuraiPVE.Size = new System.Drawing.Size(209, 24); - this.cmbSamuraiPVE.TabIndex = 10; - this.cmbSamuraiPVE.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbSamuraiPVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // cmbNinjaPVE - // - this.cmbNinjaPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbNinjaPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbNinjaPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbNinjaPVE.FormattingEnabled = true; - this.cmbNinjaPVE.Location = new System.Drawing.Point(51, 119); - this.cmbNinjaPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbNinjaPVE.Name = "cmbNinjaPVE"; - this.cmbNinjaPVE.Size = new System.Drawing.Size(209, 24); - this.cmbNinjaPVE.TabIndex = 9; - this.cmbNinjaPVE.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbNinjaPVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picSamuraiPVE - // - this.picSamuraiPVE.Location = new System.Drawing.Point(7, 153); - this.picSamuraiPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picSamuraiPVE.Name = "picSamuraiPVE"; - this.picSamuraiPVE.Size = new System.Drawing.Size(37, 37); - this.picSamuraiPVE.TabIndex = 51; - this.picSamuraiPVE.TabStop = false; - // - // picNinjaPVE - // - this.picNinjaPVE.Location = new System.Drawing.Point(7, 110); - this.picNinjaPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picNinjaPVE.Name = "picNinjaPVE"; - this.picNinjaPVE.Size = new System.Drawing.Size(37, 37); - this.picNinjaPVE.TabIndex = 50; - this.picNinjaPVE.TabStop = false; - // - // cmbDragoonPVE - // - this.cmbDragoonPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbDragoonPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbDragoonPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbDragoonPVE.FormattingEnabled = true; - this.cmbDragoonPVE.Location = new System.Drawing.Point(51, 75); - this.cmbDragoonPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbDragoonPVE.Name = "cmbDragoonPVE"; - this.cmbDragoonPVE.Size = new System.Drawing.Size(209, 24); - this.cmbDragoonPVE.TabIndex = 8; - this.cmbDragoonPVE.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbDragoonPVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picDragoonPVE - // - this.picDragoonPVE.Location = new System.Drawing.Point(7, 66); - this.picDragoonPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picDragoonPVE.Name = "picDragoonPVE"; - this.picDragoonPVE.Size = new System.Drawing.Size(37, 37); - this.picDragoonPVE.TabIndex = 48; - this.picDragoonPVE.TabStop = false; - // - // cmbMonkPVE - // - this.cmbMonkPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbMonkPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbMonkPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, - System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbMonkPVE.FormattingEnabled = true; - this.cmbMonkPVE.Location = new System.Drawing.Point(51, 31); - this.cmbMonkPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbMonkPVE.Name = "cmbMonkPVE"; - this.cmbMonkPVE.Size = new System.Drawing.Size(209, 24); - this.cmbMonkPVE.TabIndex = 7; - this.cmbMonkPVE.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbMonkPVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picMonkPVE - // - this.picMonkPVE.Location = new System.Drawing.Point(7, 22); - this.picMonkPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picMonkPVE.Name = "picMonkPVE"; - this.picMonkPVE.Size = new System.Drawing.Size(37, 37); - this.picMonkPVE.TabIndex = 46; - this.picMonkPVE.TabStop = false; - // - // gbTanksPVE - // - this.gbTanksPVE.Controls.Add(this.cmbGunbreakerPVE); - this.gbTanksPVE.Controls.Add(this.picGunbreakerPVE); - this.gbTanksPVE.Controls.Add(this.cmbDarkKnightPVE); - this.gbTanksPVE.Controls.Add(this.picDarkKnightPVE); - this.gbTanksPVE.Controls.Add(this.picWarriorPVE); - this.gbTanksPVE.Controls.Add(this.cmbWarriorPVE); - this.gbTanksPVE.Controls.Add(this.picPaladinPVE); - this.gbTanksPVE.Controls.Add(this.cmbPaladinPVE); - this.gbTanksPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.gbTanksPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, - System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.gbTanksPVE.Location = new System.Drawing.Point(7, 7); - this.gbTanksPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbTanksPVE.Name = "gbTanksPVE"; - this.gbTanksPVE.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbTanksPVE.Size = new System.Drawing.Size(270, 198); - this.gbTanksPVE.TabIndex = 2; - this.gbTanksPVE.TabStop = false; - this.gbTanksPVE.Text = "Tanks (PVE)"; - // - // cmbGunbreakerPVE - // - this.cmbGunbreakerPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbGunbreakerPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbGunbreakerPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbGunbreakerPVE.FormattingEnabled = true; - this.cmbGunbreakerPVE.Location = new System.Drawing.Point(51, 163); - this.cmbGunbreakerPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbGunbreakerPVE.Name = "cmbGunbreakerPVE"; - this.cmbGunbreakerPVE.Size = new System.Drawing.Size(209, 24); - this.cmbGunbreakerPVE.TabIndex = 49; - this.cmbGunbreakerPVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picGunbreakerPVE - // - this.picGunbreakerPVE.Location = new System.Drawing.Point(7, 153); - this.picGunbreakerPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picGunbreakerPVE.Name = "picGunbreakerPVE"; - this.picGunbreakerPVE.Size = new System.Drawing.Size(37, 37); - this.picGunbreakerPVE.TabIndex = 50; - this.picGunbreakerPVE.TabStop = false; - // - // cmbDarkKnightPVE - // - this.cmbDarkKnightPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbDarkKnightPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbDarkKnightPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbDarkKnightPVE.FormattingEnabled = true; - this.cmbDarkKnightPVE.Location = new System.Drawing.Point(51, 118); - this.cmbDarkKnightPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbDarkKnightPVE.Name = "cmbDarkKnightPVE"; - this.cmbDarkKnightPVE.Size = new System.Drawing.Size(209, 24); - this.cmbDarkKnightPVE.TabIndex = 5; - this.cmbDarkKnightPVE.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbDarkKnightPVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picDarkKnightPVE - // - this.picDarkKnightPVE.Location = new System.Drawing.Point(7, 108); - this.picDarkKnightPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picDarkKnightPVE.Name = "picDarkKnightPVE"; - this.picDarkKnightPVE.Size = new System.Drawing.Size(37, 37); - this.picDarkKnightPVE.TabIndex = 48; - this.picDarkKnightPVE.TabStop = false; - // - // picWarriorPVE - // - this.picWarriorPVE.Location = new System.Drawing.Point(7, 65); - this.picWarriorPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picWarriorPVE.Name = "picWarriorPVE"; - this.picWarriorPVE.Size = new System.Drawing.Size(37, 37); - this.picWarriorPVE.TabIndex = 47; - this.picWarriorPVE.TabStop = false; - // - // cmbWarriorPVE - // - this.cmbWarriorPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbWarriorPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbWarriorPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbWarriorPVE.FormattingEnabled = true; - this.cmbWarriorPVE.Location = new System.Drawing.Point(51, 74); - this.cmbWarriorPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbWarriorPVE.Name = "cmbWarriorPVE"; - this.cmbWarriorPVE.Size = new System.Drawing.Size(209, 24); - this.cmbWarriorPVE.TabIndex = 4; - this.cmbWarriorPVE.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbWarriorPVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picPaladinPVE - // - this.picPaladinPVE.Location = new System.Drawing.Point(7, 21); - this.picPaladinPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picPaladinPVE.Name = "picPaladinPVE"; - this.picPaladinPVE.Size = new System.Drawing.Size(37, 37); - this.picPaladinPVE.TabIndex = 45; - this.picPaladinPVE.TabStop = false; - // - // cmbPaladinPVE - // - this.cmbPaladinPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbPaladinPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbPaladinPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbPaladinPVE.FormattingEnabled = true; - this.cmbPaladinPVE.Location = new System.Drawing.Point(51, 30); - this.cmbPaladinPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbPaladinPVE.Name = "cmbPaladinPVE"; - this.cmbPaladinPVE.Size = new System.Drawing.Size(209, 24); - this.cmbPaladinPVE.TabIndex = 3; - this.cmbPaladinPVE.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbPaladinPVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // tpPVP - // - this.tpPVP.Controls.Add(this.chkEnableInPvp); - this.tpPVP.Controls.Add(this.gbMagicalRangedDpsPVP); - this.tpPVP.Controls.Add(this.gbHealersPVP); - this.tpPVP.Controls.Add(this.gbPhysicalRangedDpsPVP); - this.tpPVP.Controls.Add(this.gbMeleeDpsPVP); - this.tpPVP.Controls.Add(this.gbTanksPVP); - this.tpPVP.Location = new System.Drawing.Point(4, 24); - this.tpPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tpPVP.Name = "tpPVP"; - this.tpPVP.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tpPVP.Size = new System.Drawing.Size(561, 582); - this.tpPVP.TabIndex = 1; - this.tpPVP.Text = "PVP"; - // - // chkEnableInPvp - // - this.chkEnableInPvp.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.chkEnableInPvp.Location = new System.Drawing.Point(14, 534); - this.chkEnableInPvp.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.chkEnableInPvp.Name = "chkEnableInPvp"; - this.chkEnableInPvp.Size = new System.Drawing.Size(254, 28); - this.chkEnableInPvp.TabIndex = 43; - this.chkEnableInPvp.Text = "Enable in PVP Areas"; - this.chkEnableInPvp.UseVisualStyleBackColor = true; - this.chkEnableInPvp.CheckedChanged += new System.EventHandler(this.SettingsChanged); - // - // gbMagicalRangedDpsPVP - // - this.gbMagicalRangedDpsPVP.Controls.Add(this.cmbRedMagePVP); - this.gbMagicalRangedDpsPVP.Controls.Add(this.cmbSummonerPVP); - this.gbMagicalRangedDpsPVP.Controls.Add(this.cmbArcanistPVP); - this.gbMagicalRangedDpsPVP.Controls.Add(this.picRedMagePVP); - this.gbMagicalRangedDpsPVP.Controls.Add(this.picSummonerPVP); - this.gbMagicalRangedDpsPVP.Controls.Add(this.picArcanistPVP); - this.gbMagicalRangedDpsPVP.Controls.Add(this.cmbBlackMagePVP); - this.gbMagicalRangedDpsPVP.Controls.Add(this.picBlackMagePVP); - this.gbMagicalRangedDpsPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.gbMagicalRangedDpsPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.gbMagicalRangedDpsPVP.Location = new System.Drawing.Point(284, 373); - this.gbMagicalRangedDpsPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbMagicalRangedDpsPVP.Name = "gbMagicalRangedDpsPVP"; - this.gbMagicalRangedDpsPVP.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbMagicalRangedDpsPVP.Size = new System.Drawing.Size(270, 200); - this.gbMagicalRangedDpsPVP.TabIndex = 42; - this.gbMagicalRangedDpsPVP.TabStop = false; - this.gbMagicalRangedDpsPVP.Text = "Magical Ranged DPS (PVP)"; - // - // cmbRedMagePVP - // - this.cmbRedMagePVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbRedMagePVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbRedMagePVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbRedMagePVP.FormattingEnabled = true; - this.cmbRedMagePVP.Location = new System.Drawing.Point(51, 162); - this.cmbRedMagePVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbRedMagePVP.Name = "cmbRedMagePVP"; - this.cmbRedMagePVP.Size = new System.Drawing.Size(209, 24); - this.cmbRedMagePVP.TabIndex = 46; - this.cmbRedMagePVP.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbRedMagePVP.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // cmbSummonerPVP - // - this.cmbSummonerPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbSummonerPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbSummonerPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbSummonerPVP.FormattingEnabled = true; - this.cmbSummonerPVP.Location = new System.Drawing.Point(51, 118); - this.cmbSummonerPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbSummonerPVP.Name = "cmbSummonerPVP"; - this.cmbSummonerPVP.Size = new System.Drawing.Size(209, 24); - this.cmbSummonerPVP.TabIndex = 45; - this.cmbSummonerPVP.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbSummonerPVP.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // cmbArcanistPVP - // - this.cmbArcanistPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbArcanistPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbArcanistPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbArcanistPVP.FormattingEnabled = true; - this.cmbArcanistPVP.Location = new System.Drawing.Point(51, 74); - this.cmbArcanistPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbArcanistPVP.Name = "cmbArcanistPVP"; - this.cmbArcanistPVP.Size = new System.Drawing.Size(209, 24); - this.cmbArcanistPVP.TabIndex = 44; - this.cmbArcanistPVP.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbArcanistPVP.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picRedMagePVP - // - this.picRedMagePVP.Location = new System.Drawing.Point(7, 152); - this.picRedMagePVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picRedMagePVP.Name = "picRedMagePVP"; - this.picRedMagePVP.Size = new System.Drawing.Size(37, 37); - this.picRedMagePVP.TabIndex = 58; - this.picRedMagePVP.TabStop = false; - // - // picSummonerPVP - // - this.picSummonerPVP.Location = new System.Drawing.Point(7, 108); - this.picSummonerPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picSummonerPVP.Name = "picSummonerPVP"; - this.picSummonerPVP.Size = new System.Drawing.Size(37, 37); - this.picSummonerPVP.TabIndex = 57; - this.picSummonerPVP.TabStop = false; - // - // picArcanistPVP - // - this.picArcanistPVP.Location = new System.Drawing.Point(7, 65); - this.picArcanistPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picArcanistPVP.Name = "picArcanistPVP"; - this.picArcanistPVP.Size = new System.Drawing.Size(37, 37); - this.picArcanistPVP.TabIndex = 56; - this.picArcanistPVP.TabStop = false; - // - // cmbBlackMagePVP - // - this.cmbBlackMagePVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbBlackMagePVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbBlackMagePVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbBlackMagePVP.FormattingEnabled = true; - this.cmbBlackMagePVP.Location = new System.Drawing.Point(51, 30); - this.cmbBlackMagePVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbBlackMagePVP.Name = "cmbBlackMagePVP"; - this.cmbBlackMagePVP.Size = new System.Drawing.Size(209, 24); - this.cmbBlackMagePVP.TabIndex = 43; - this.cmbBlackMagePVP.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbBlackMagePVP.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picBlackMagePVP - // - this.picBlackMagePVP.Location = new System.Drawing.Point(7, 21); - this.picBlackMagePVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picBlackMagePVP.Name = "picBlackMagePVP"; - this.picBlackMagePVP.Size = new System.Drawing.Size(37, 37); - this.picBlackMagePVP.TabIndex = 54; - this.picBlackMagePVP.TabStop = false; - // - // gbHealersPVP - // - this.gbHealersPVP.Controls.Add(this.cmbAstrologianPVP); - this.gbHealersPVP.Controls.Add(this.picAstrologianPVP); - this.gbHealersPVP.Controls.Add(this.cmbScholarPVP); - this.gbHealersPVP.Controls.Add(this.picScholarPVP); - this.gbHealersPVP.Controls.Add(this.cmbWhiteMagePVP); - this.gbHealersPVP.Controls.Add(this.picWhiteMagePVP); - this.gbHealersPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.gbHealersPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.gbHealersPVP.Location = new System.Drawing.Point(7, 212); - this.gbHealersPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbHealersPVP.Name = "gbHealersPVP"; - this.gbHealersPVP.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbHealersPVP.Size = new System.Drawing.Size(270, 153); - this.gbHealersPVP.TabIndex = 34; - this.gbHealersPVP.TabStop = false; - this.gbHealersPVP.Text = "Healers (PVP)"; - // - // cmbAstrologianPVP - // - this.cmbAstrologianPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbAstrologianPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbAstrologianPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbAstrologianPVP.FormattingEnabled = true; - this.cmbAstrologianPVP.Location = new System.Drawing.Point(51, 118); - this.cmbAstrologianPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbAstrologianPVP.Name = "cmbAstrologianPVP"; - this.cmbAstrologianPVP.Size = new System.Drawing.Size(209, 24); - this.cmbAstrologianPVP.TabIndex = 38; - this.cmbAstrologianPVP.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbAstrologianPVP.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picAstrologianPVP - // - this.picAstrologianPVP.Location = new System.Drawing.Point(7, 108); - this.picAstrologianPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picAstrologianPVP.Name = "picAstrologianPVP"; - this.picAstrologianPVP.Size = new System.Drawing.Size(37, 37); - this.picAstrologianPVP.TabIndex = 57; - this.picAstrologianPVP.TabStop = false; - // - // cmbScholarPVP - // - this.cmbScholarPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbScholarPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbScholarPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbScholarPVP.FormattingEnabled = true; - this.cmbScholarPVP.Location = new System.Drawing.Point(51, 74); - this.cmbScholarPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbScholarPVP.Name = "cmbScholarPVP"; - this.cmbScholarPVP.Size = new System.Drawing.Size(209, 24); - this.cmbScholarPVP.TabIndex = 36; - this.cmbScholarPVP.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbScholarPVP.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picScholarPVP - // - this.picScholarPVP.Location = new System.Drawing.Point(7, 65); - this.picScholarPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picScholarPVP.Name = "picScholarPVP"; - this.picScholarPVP.Size = new System.Drawing.Size(37, 37); - this.picScholarPVP.TabIndex = 55; - this.picScholarPVP.TabStop = false; - // - // cmbWhiteMagePVP - // - this.cmbWhiteMagePVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbWhiteMagePVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbWhiteMagePVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbWhiteMagePVP.FormattingEnabled = true; - this.cmbWhiteMagePVP.Location = new System.Drawing.Point(51, 30); - this.cmbWhiteMagePVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbWhiteMagePVP.Name = "cmbWhiteMagePVP"; - this.cmbWhiteMagePVP.Size = new System.Drawing.Size(209, 24); - this.cmbWhiteMagePVP.TabIndex = 35; - this.cmbWhiteMagePVP.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbWhiteMagePVP.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picWhiteMagePVP - // - this.picWhiteMagePVP.Location = new System.Drawing.Point(7, 21); - this.picWhiteMagePVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picWhiteMagePVP.Name = "picWhiteMagePVP"; - this.picWhiteMagePVP.Size = new System.Drawing.Size(37, 37); - this.picWhiteMagePVP.TabIndex = 53; - this.picWhiteMagePVP.TabStop = false; - // - // gbPhysicalRangedDpsPVP - // - this.gbPhysicalRangedDpsPVP.Controls.Add(this.cmbDancerPVP); - this.gbPhysicalRangedDpsPVP.Controls.Add(this.picDancerPVP); - this.gbPhysicalRangedDpsPVP.Controls.Add(this.cmbMachinistPVP); - this.gbPhysicalRangedDpsPVP.Controls.Add(this.picMachinistPVP); - this.gbPhysicalRangedDpsPVP.Controls.Add(this.cmbBardPVP); - this.gbPhysicalRangedDpsPVP.Controls.Add(this.picBardPVP); - this.gbPhysicalRangedDpsPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.gbPhysicalRangedDpsPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.gbPhysicalRangedDpsPVP.Location = new System.Drawing.Point(284, 212); - this.gbPhysicalRangedDpsPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbPhysicalRangedDpsPVP.Name = "gbPhysicalRangedDpsPVP"; - this.gbPhysicalRangedDpsPVP.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbPhysicalRangedDpsPVP.Size = new System.Drawing.Size(270, 153); - this.gbPhysicalRangedDpsPVP.TabIndex = 39; - this.gbPhysicalRangedDpsPVP.TabStop = false; - this.gbPhysicalRangedDpsPVP.Text = "Physical Ranged DPS (PVP)"; - // - // cmbMachinistPVP - // - this.cmbMachinistPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbMachinistPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbMachinistPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbMachinistPVP.FormattingEnabled = true; - this.cmbMachinistPVP.Location = new System.Drawing.Point(51, 74); - this.cmbMachinistPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbMachinistPVP.Name = "cmbMachinistPVP"; - this.cmbMachinistPVP.Size = new System.Drawing.Size(209, 24); - this.cmbMachinistPVP.TabIndex = 41; - this.cmbMachinistPVP.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbMachinistPVP.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picMachinistPVP - // - this.picMachinistPVP.Location = new System.Drawing.Point(7, 65); - this.picMachinistPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picMachinistPVP.Name = "picMachinistPVP"; - this.picMachinistPVP.Size = new System.Drawing.Size(37, 37); - this.picMachinistPVP.TabIndex = 54; - this.picMachinistPVP.TabStop = false; - // - // cmbBardPVP - // - this.cmbBardPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbBardPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbBardPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, - System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbBardPVP.FormattingEnabled = true; - this.cmbBardPVP.Location = new System.Drawing.Point(51, 30); - this.cmbBardPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbBardPVP.Name = "cmbBardPVP"; - this.cmbBardPVP.Size = new System.Drawing.Size(209, 24); - this.cmbBardPVP.TabIndex = 40; - this.cmbBardPVP.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbBardPVP.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picBardPVP - // - this.picBardPVP.Location = new System.Drawing.Point(7, 21); - this.picBardPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picBardPVP.Name = "picBardPVP"; - this.picBardPVP.Size = new System.Drawing.Size(37, 37); - this.picBardPVP.TabIndex = 52; - this.picBardPVP.TabStop = false; - // - // gbMeleeDpsPVP - // - this.gbMeleeDpsPVP.Controls.Add(this.cmbSamuraiPVP); - this.gbMeleeDpsPVP.Controls.Add(this.cmbNinjaPVP); - this.gbMeleeDpsPVP.Controls.Add(this.picSamuraiPVP); - this.gbMeleeDpsPVP.Controls.Add(this.picNinjaPVP); - this.gbMeleeDpsPVP.Controls.Add(this.cmbDragoonPVP); - this.gbMeleeDpsPVP.Controls.Add(this.picDragoonPVP); - this.gbMeleeDpsPVP.Controls.Add(this.cmbMonkPVP); - this.gbMeleeDpsPVP.Controls.Add(this.picMonkPVP); - this.gbMeleeDpsPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.gbMeleeDpsPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.gbMeleeDpsPVP.Location = new System.Drawing.Point(284, 7); - this.gbMeleeDpsPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbMeleeDpsPVP.Name = "gbMeleeDpsPVP"; - this.gbMeleeDpsPVP.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbMeleeDpsPVP.Size = new System.Drawing.Size(270, 198); - this.gbMeleeDpsPVP.TabIndex = 29; - this.gbMeleeDpsPVP.TabStop = false; - this.gbMeleeDpsPVP.Text = "Melee DPS (PVP)"; - // - // cmbSamuraiPVP - // - this.cmbSamuraiPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbSamuraiPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbSamuraiPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbSamuraiPVP.FormattingEnabled = true; - this.cmbSamuraiPVP.Location = new System.Drawing.Point(51, 163); - this.cmbSamuraiPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbSamuraiPVP.Name = "cmbSamuraiPVP"; - this.cmbSamuraiPVP.Size = new System.Drawing.Size(209, 24); - this.cmbSamuraiPVP.TabIndex = 33; - this.cmbSamuraiPVP.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbSamuraiPVP.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // cmbNinjaPVP - // - this.cmbNinjaPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbNinjaPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbNinjaPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbNinjaPVP.FormattingEnabled = true; - this.cmbNinjaPVP.Location = new System.Drawing.Point(51, 119); - this.cmbNinjaPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbNinjaPVP.Name = "cmbNinjaPVP"; - this.cmbNinjaPVP.Size = new System.Drawing.Size(209, 24); - this.cmbNinjaPVP.TabIndex = 32; - this.cmbNinjaPVP.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbNinjaPVP.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picSamuraiPVP - // - this.picSamuraiPVP.Location = new System.Drawing.Point(7, 153); - this.picSamuraiPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picSamuraiPVP.Name = "picSamuraiPVP"; - this.picSamuraiPVP.Size = new System.Drawing.Size(37, 37); - this.picSamuraiPVP.TabIndex = 51; - this.picSamuraiPVP.TabStop = false; - // - // picNinjaPVP - // - this.picNinjaPVP.Location = new System.Drawing.Point(7, 110); - this.picNinjaPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picNinjaPVP.Name = "picNinjaPVP"; - this.picNinjaPVP.Size = new System.Drawing.Size(37, 37); - this.picNinjaPVP.TabIndex = 50; - this.picNinjaPVP.TabStop = false; - // - // cmbDragoonPVP - // - this.cmbDragoonPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbDragoonPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbDragoonPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbDragoonPVP.FormattingEnabled = true; - this.cmbDragoonPVP.Location = new System.Drawing.Point(51, 75); - this.cmbDragoonPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbDragoonPVP.Name = "cmbDragoonPVP"; - this.cmbDragoonPVP.Size = new System.Drawing.Size(209, 24); - this.cmbDragoonPVP.TabIndex = 31; - this.cmbDragoonPVP.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbDragoonPVP.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picDragoonPVP - // - this.picDragoonPVP.Location = new System.Drawing.Point(7, 66); - this.picDragoonPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picDragoonPVP.Name = "picDragoonPVP"; - this.picDragoonPVP.Size = new System.Drawing.Size(37, 37); - this.picDragoonPVP.TabIndex = 48; - this.picDragoonPVP.TabStop = false; - // - // cmbMonkPVP - // - this.cmbMonkPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbMonkPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbMonkPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, - System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbMonkPVP.FormattingEnabled = true; - this.cmbMonkPVP.Location = new System.Drawing.Point(51, 31); - this.cmbMonkPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbMonkPVP.Name = "cmbMonkPVP"; - this.cmbMonkPVP.Size = new System.Drawing.Size(209, 24); - this.cmbMonkPVP.TabIndex = 30; - this.cmbMonkPVP.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbMonkPVP.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picMonkPVP - // - this.picMonkPVP.Location = new System.Drawing.Point(7, 22); - this.picMonkPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picMonkPVP.Name = "picMonkPVP"; - this.picMonkPVP.Size = new System.Drawing.Size(37, 37); - this.picMonkPVP.TabIndex = 46; - this.picMonkPVP.TabStop = false; - // - // gbTanksPVP - // - this.gbTanksPVP.Controls.Add(this.cmbGunbreakerPVP); - this.gbTanksPVP.Controls.Add(this.picGunbreakerPVP); - this.gbTanksPVP.Controls.Add(this.cmbDarkKnightPVP); - this.gbTanksPVP.Controls.Add(this.picDarkKnightPVP); - this.gbTanksPVP.Controls.Add(this.picWarriorPVP); - this.gbTanksPVP.Controls.Add(this.cmbWarriorPVP); - this.gbTanksPVP.Controls.Add(this.picPaladinPVP); - this.gbTanksPVP.Controls.Add(this.cmbPaladinPVP); - this.gbTanksPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.gbTanksPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, - System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.gbTanksPVP.Location = new System.Drawing.Point(7, 7); - this.gbTanksPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbTanksPVP.Name = "gbTanksPVP"; - this.gbTanksPVP.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbTanksPVP.Size = new System.Drawing.Size(270, 198); - this.gbTanksPVP.TabIndex = 25; - this.gbTanksPVP.TabStop = false; - this.gbTanksPVP.Text = "Tanks (PVP)"; - // - // cmbGunbreakerPVP - // - this.cmbGunbreakerPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbGunbreakerPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbGunbreakerPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbGunbreakerPVP.FormattingEnabled = true; - this.cmbGunbreakerPVP.Location = new System.Drawing.Point(51, 163); - this.cmbGunbreakerPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbGunbreakerPVP.Name = "cmbGunbreakerPVP"; - this.cmbGunbreakerPVP.Size = new System.Drawing.Size(209, 24); - this.cmbGunbreakerPVP.TabIndex = 49; - this.cmbGunbreakerPVP.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picGunbreakerPVP - // - this.picGunbreakerPVP.Location = new System.Drawing.Point(7, 153); - this.picGunbreakerPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picGunbreakerPVP.Name = "picGunbreakerPVP"; - this.picGunbreakerPVP.Size = new System.Drawing.Size(37, 37); - this.picGunbreakerPVP.TabIndex = 50; - this.picGunbreakerPVP.TabStop = false; - // - // cmbDarkKnightPVP - // - this.cmbDarkKnightPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbDarkKnightPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbDarkKnightPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbDarkKnightPVP.FormattingEnabled = true; - this.cmbDarkKnightPVP.Location = new System.Drawing.Point(51, 118); - this.cmbDarkKnightPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbDarkKnightPVP.Name = "cmbDarkKnightPVP"; - this.cmbDarkKnightPVP.Size = new System.Drawing.Size(209, 24); - this.cmbDarkKnightPVP.TabIndex = 28; - this.cmbDarkKnightPVP.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbDarkKnightPVP.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picDarkKnightPVP - // - this.picDarkKnightPVP.Location = new System.Drawing.Point(7, 108); - this.picDarkKnightPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picDarkKnightPVP.Name = "picDarkKnightPVP"; - this.picDarkKnightPVP.Size = new System.Drawing.Size(37, 37); - this.picDarkKnightPVP.TabIndex = 48; - this.picDarkKnightPVP.TabStop = false; - // - // picWarriorPVP - // - this.picWarriorPVP.Location = new System.Drawing.Point(7, 65); - this.picWarriorPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picWarriorPVP.Name = "picWarriorPVP"; - this.picWarriorPVP.Size = new System.Drawing.Size(37, 37); - this.picWarriorPVP.TabIndex = 47; - this.picWarriorPVP.TabStop = false; - // - // cmbWarriorPVP - // - this.cmbWarriorPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbWarriorPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbWarriorPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbWarriorPVP.FormattingEnabled = true; - this.cmbWarriorPVP.Location = new System.Drawing.Point(51, 74); - this.cmbWarriorPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbWarriorPVP.Name = "cmbWarriorPVP"; - this.cmbWarriorPVP.Size = new System.Drawing.Size(209, 24); - this.cmbWarriorPVP.TabIndex = 27; - this.cmbWarriorPVP.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbWarriorPVP.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picPaladinPVP - // - this.picPaladinPVP.Location = new System.Drawing.Point(7, 21); - this.picPaladinPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picPaladinPVP.Name = "picPaladinPVP"; - this.picPaladinPVP.Size = new System.Drawing.Size(37, 37); - this.picPaladinPVP.TabIndex = 45; - this.picPaladinPVP.TabStop = false; - // - // cmbPaladinPVP - // - this.cmbPaladinPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbPaladinPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbPaladinPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbPaladinPVP.FormattingEnabled = true; - this.cmbPaladinPVP.Location = new System.Drawing.Point(51, 30); - this.cmbPaladinPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbPaladinPVP.Name = "cmbPaladinPVP"; - this.cmbPaladinPVP.Size = new System.Drawing.Size(209, 24); - this.cmbPaladinPVP.TabIndex = 26; - this.cmbPaladinPVP.TextUpdate += new System.EventHandler(this.SettingsChanged); - this.cmbPaladinPVP.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // cmbDancerPVP - // - this.cmbDancerPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbDancerPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbDancerPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbDancerPVP.FormattingEnabled = true; - this.cmbDancerPVP.Location = new System.Drawing.Point(51, 117); - this.cmbDancerPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbDancerPVP.Name = "cmbDancerPVP"; - this.cmbDancerPVP.Size = new System.Drawing.Size(209, 24); - this.cmbDancerPVP.TabIndex = 55; - this.cmbDancerPVP.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picDancerPVP - // - this.picDancerPVP.Location = new System.Drawing.Point(7, 108); - this.picDancerPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picDancerPVP.Name = "picDancerPVP"; - this.picDancerPVP.Size = new System.Drawing.Size(37, 37); - this.picDancerPVP.TabIndex = 56; - this.picDancerPVP.TabStop = false; - // - // gbLimitedPVE - // - this.gbLimitedPVE.Controls.Add(this.cmbBlueMagePVE); - this.gbLimitedPVE.Controls.Add(this.picBlueMagePVE); - this.gbLimitedPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.gbLimitedPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.gbLimitedPVE.Location = new System.Drawing.Point(8, 447); - this.gbLimitedPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbLimitedPVE.Name = "gbLimitedPVE"; - this.gbLimitedPVE.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbLimitedPVE.Size = new System.Drawing.Size(270, 68); - this.gbLimitedPVE.TabIndex = 22; - this.gbLimitedPVE.TabStop = false; - this.gbLimitedPVE.Text = "Limited Jobs"; - // - // cmbBlueMagePVE - // - this.cmbBlueMagePVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbBlueMagePVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.cmbBlueMagePVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, - System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); - this.cmbBlueMagePVE.FormattingEnabled = true; - this.cmbBlueMagePVE.Location = new System.Drawing.Point(51, 31); - this.cmbBlueMagePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbBlueMagePVE.Name = "cmbBlueMagePVE"; - this.cmbBlueMagePVE.Size = new System.Drawing.Size(209, 24); - this.cmbBlueMagePVE.TabIndex = 19; - this.cmbBlueMagePVE.SelectedValueChanged += new System.EventHandler(this.SettingsChanged); - // - // picBlueMagePVE - // - this.picBlueMagePVE.Location = new System.Drawing.Point(7, 22); - this.picBlueMagePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.picBlueMagePVE.Name = "picBlueMagePVE"; - this.picBlueMagePVE.Size = new System.Drawing.Size(37, 37); - this.picBlueMagePVE.TabIndex = 55; - this.picBlueMagePVE.TabStop = false; - // - // SettingsWindow - // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(600, 639); - this.Controls.Add(this.tcCategories); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; - this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.Name = "SettingsWindow"; - this.Text = "SeleCR Settings"; - this.Load += new System.EventHandler(this.SettingsWindow_Load); - this.tcCategories.ResumeLayout(false); - this.tpPVE.ResumeLayout(false); - this.gbOthersPVE.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize) (this.picMinerPVE)).EndInit(); - this.gbMagicalRangedDpsPVE.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize) (this.picRedMagePVE)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picSummonerPVE)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picArcanistPVE)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picBlackMagePVE)).EndInit(); - this.gbHealersPVE.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize) (this.picAstrologianPVE)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picScholarPVE)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picWhiteMagePVE)).EndInit(); - this.gbPhysicalRangedDpsPVE.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize) (this.picDancerPVE)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picMachinistPVE)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picBardPVE)).EndInit(); - this.gbMeleeDpsPVE.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize) (this.picSamuraiPVE)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picNinjaPVE)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picDragoonPVE)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picMonkPVE)).EndInit(); - this.gbTanksPVE.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize) (this.picGunbreakerPVE)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picDarkKnightPVE)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picWarriorPVE)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picPaladinPVE)).EndInit(); - this.tpPVP.ResumeLayout(false); - this.gbMagicalRangedDpsPVP.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize) (this.picRedMagePVP)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picSummonerPVP)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picArcanistPVP)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picBlackMagePVP)).EndInit(); - this.gbHealersPVP.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize) (this.picAstrologianPVP)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picScholarPVP)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picWhiteMagePVP)).EndInit(); - this.gbPhysicalRangedDpsPVP.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize) (this.picMachinistPVP)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picBardPVP)).EndInit(); - this.gbMeleeDpsPVP.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize) (this.picSamuraiPVP)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picNinjaPVP)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picDragoonPVP)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picMonkPVP)).EndInit(); - this.gbTanksPVP.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize) (this.picGunbreakerPVP)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picDarkKnightPVP)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picWarriorPVP)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picPaladinPVP)).EndInit(); - ((System.ComponentModel.ISupportInitialize) (this.picDancerPVP)).EndInit(); - this.gbLimitedPVE.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize) (this.picBlueMagePVE)).EndInit(); - this.ResumeLayout(false); - } - - #endregion - - private System.Windows.Forms.ComboBox cmbDancerPVE; - private System.Windows.Forms.PictureBox picDancerPVE; - private System.Windows.Forms.GroupBox gbMagicalRangedDpsPVE; - private System.Windows.Forms.ComboBox cmbRedMagePVE; - private System.Windows.Forms.ComboBox cmbSummonerPVE; - private System.Windows.Forms.ComboBox cmbArcanistPVE; - private System.Windows.Forms.PictureBox picRedMagePVE; - private System.Windows.Forms.PictureBox picSummonerPVE; - private System.Windows.Forms.PictureBox picArcanistPVE; - private System.Windows.Forms.ComboBox cmbBlackMagePVE; - private System.Windows.Forms.PictureBox picBlackMagePVE; - private System.Windows.Forms.GroupBox gbHealersPVE; - private System.Windows.Forms.ComboBox cmbAstrologianPVE; - private System.Windows.Forms.PictureBox picAstrologianPVE; - private System.Windows.Forms.ComboBox cmbScholarPVE; - private System.Windows.Forms.PictureBox picScholarPVE; - private System.Windows.Forms.ComboBox cmbWhiteMagePVE; - private System.Windows.Forms.PictureBox picWhiteMagePVE; - private System.Windows.Forms.GroupBox gbPhysicalRangedDpsPVE; - private System.Windows.Forms.ComboBox cmbMachinistPVE; - private System.Windows.Forms.PictureBox picMachinistPVE; - private System.Windows.Forms.ComboBox cmbBardPVE; - private System.Windows.Forms.PictureBox picBardPVE; - private System.Windows.Forms.GroupBox gbMeleeDpsPVE; - private System.Windows.Forms.ComboBox cmbSamuraiPVE; - private System.Windows.Forms.ComboBox cmbNinjaPVE; - private System.Windows.Forms.PictureBox picSamuraiPVE; - private System.Windows.Forms.PictureBox picNinjaPVE; - private System.Windows.Forms.ComboBox cmbDragoonPVE; - private System.Windows.Forms.PictureBox picDragoonPVE; - private System.Windows.Forms.ComboBox cmbMonkPVE; - private System.Windows.Forms.PictureBox picMonkPVE; - private System.Windows.Forms.GroupBox gbTanksPVE; - private System.Windows.Forms.ComboBox cmbDarkKnightPVE; - private System.Windows.Forms.PictureBox picDarkKnightPVE; - private System.Windows.Forms.PictureBox picWarriorPVE; - private System.Windows.Forms.ComboBox cmbWarriorPVE; - private System.Windows.Forms.PictureBox picPaladinPVE; - private System.Windows.Forms.ComboBox cmbPaladinPVE; - private System.Windows.Forms.GroupBox gbOthersPVE; - private System.Windows.Forms.ComboBox cmbNonBattlePVE; - private System.Windows.Forms.PictureBox picMinerPVE; - private System.Windows.Forms.TabControl tcCategories; - private System.Windows.Forms.TabPage tpPVE; - private System.Windows.Forms.TabPage tpPVP; - private System.Windows.Forms.GroupBox gbMagicalRangedDpsPVP; - private System.Windows.Forms.ComboBox cmbRedMagePVP; - private System.Windows.Forms.ComboBox cmbSummonerPVP; - private System.Windows.Forms.ComboBox cmbArcanistPVP; - private System.Windows.Forms.PictureBox picRedMagePVP; - private System.Windows.Forms.PictureBox picSummonerPVP; - private System.Windows.Forms.PictureBox picArcanistPVP; - private System.Windows.Forms.ComboBox cmbBlackMagePVP; - private System.Windows.Forms.PictureBox picBlackMagePVP; - private System.Windows.Forms.GroupBox gbHealersPVP; - private System.Windows.Forms.ComboBox cmbAstrologianPVP; - private System.Windows.Forms.PictureBox picAstrologianPVP; - private System.Windows.Forms.ComboBox cmbScholarPVP; - private System.Windows.Forms.PictureBox picScholarPVP; - private System.Windows.Forms.ComboBox cmbWhiteMagePVP; - private System.Windows.Forms.PictureBox picWhiteMagePVP; - private System.Windows.Forms.GroupBox gbPhysicalRangedDpsPVP; - private System.Windows.Forms.ComboBox cmbMachinistPVP; - private System.Windows.Forms.PictureBox picMachinistPVP; - private System.Windows.Forms.ComboBox cmbBardPVP; - private System.Windows.Forms.PictureBox picBardPVP; - private System.Windows.Forms.GroupBox gbMeleeDpsPVP; - private System.Windows.Forms.ComboBox cmbSamuraiPVP; - private System.Windows.Forms.ComboBox cmbNinjaPVP; - private System.Windows.Forms.PictureBox picSamuraiPVP; - private System.Windows.Forms.PictureBox picNinjaPVP; - private System.Windows.Forms.ComboBox cmbDragoonPVP; - private System.Windows.Forms.PictureBox picDragoonPVP; - private System.Windows.Forms.ComboBox cmbMonkPVP; - private System.Windows.Forms.PictureBox picMonkPVP; - private System.Windows.Forms.GroupBox gbTanksPVP; - private System.Windows.Forms.ComboBox cmbDarkKnightPVP; - private System.Windows.Forms.PictureBox picDarkKnightPVP; - private System.Windows.Forms.PictureBox picWarriorPVP; - private System.Windows.Forms.ComboBox cmbWarriorPVP; - private System.Windows.Forms.PictureBox picPaladinPVP; - private System.Windows.Forms.ComboBox cmbPaladinPVP; - private System.Windows.Forms.CheckBox chkEnableInPve; - private System.Windows.Forms.ComboBox cmbGunbreakerPVE; - private System.Windows.Forms.PictureBox picGunbreakerPVE; - private System.Windows.Forms.ComboBox cmbGunbreakerPVP; - private System.Windows.Forms.PictureBox picGunbreakerPVP; - private System.Windows.Forms.GroupBox gbLimitedPVE; - private System.Windows.Forms.ComboBox cmbBlueMagePVE; - private System.Windows.Forms.PictureBox picBlueMagePVE; - private System.Windows.Forms.ComboBox cmbDancerPVP; - private System.Windows.Forms.PictureBox picDancerPVP; - private System.Windows.Forms.CheckBox chkEnableInPvp; - } -} \ No newline at end of file diff --git a/Plugins/SeleCR/SettingsWindow.cs b/Plugins/SeleCR/SettingsWindow.cs index a07e92e..ca444f6 100644 --- a/Plugins/SeleCR/SettingsWindow.cs +++ b/Plugins/SeleCR/SettingsWindow.cs @@ -1,308 +1,32 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Windows.Forms; -using ff14bot.Managers; - namespace CarbuncleTech.Plugins.SeleCR { - public partial class SettingsWindow : Form + using System.Windows; + using Common; + using ViewModels; + + /// + /// Singleton holder for the SeleCR settings window. The window itself is plain XAML parsed at + /// runtime (see XamlLoader) and wired up entirely through SettingsViewModel data binding. + /// + public static class SettingsWindow { - public SettingsWindow() - { - InitializeComponent(); - - picArcanistPVE.ImageLocation = GetImageLocation("Arcanist.png"); - picArcanistPVP.ImageLocation = GetImageLocation("Arcanist.png"); - picAstrologianPVE.ImageLocation = GetImageLocation("Astrologian.png"); - picAstrologianPVP.ImageLocation = GetImageLocation("Astrologian.png"); - picBardPVE.ImageLocation = GetImageLocation("Bard.png"); - picBardPVP.ImageLocation = GetImageLocation("Bard.png"); - picBlackMagePVE.ImageLocation = GetImageLocation("BlackMage.png"); - picBlackMagePVP.ImageLocation = GetImageLocation("BlackMage.png"); - picDancerPVE.ImageLocation = GetImageLocation("Dancer.png"); - picDancerPVP.ImageLocation = GetImageLocation("Dancer.png"); - picDarkKnightPVE.ImageLocation = GetImageLocation("DarkKnight.png"); - picDarkKnightPVP.ImageLocation = GetImageLocation("DarkKnight.png"); - picDragoonPVE.ImageLocation = GetImageLocation("Dragoon.png"); - picDragoonPVP.ImageLocation = GetImageLocation("Dragoon.png"); - picGunbreakerPVE.ImageLocation = GetImageLocation("Gunbreaker.png"); - picGunbreakerPVP.ImageLocation = GetImageLocation("Gunbreaker.png"); - picMachinistPVE.ImageLocation = GetImageLocation("Machinist.png"); - picMachinistPVP.ImageLocation = GetImageLocation("Machinist.png"); - picMonkPVE.ImageLocation = GetImageLocation("Monk.png"); - picMonkPVP.ImageLocation = GetImageLocation("Monk.png"); - picNinjaPVE.ImageLocation = GetImageLocation("Ninja.png"); - picNinjaPVP.ImageLocation = GetImageLocation("Ninja.png"); - picPaladinPVE.ImageLocation = GetImageLocation("Paladin.png"); - picPaladinPVP.ImageLocation = GetImageLocation("Paladin.png"); - picRedMagePVE.ImageLocation = GetImageLocation("RedMage.png"); - picRedMagePVP.ImageLocation = GetImageLocation("RedMage.png"); - picSamuraiPVE.ImageLocation = GetImageLocation("Samurai.png"); - picSamuraiPVP.ImageLocation = GetImageLocation("Samurai.png"); - picScholarPVE.ImageLocation = GetImageLocation("Scholar.png"); - picScholarPVP.ImageLocation = GetImageLocation("Scholar.png"); - picSummonerPVE.ImageLocation = GetImageLocation("Summoner.png"); - picSummonerPVP.ImageLocation = GetImageLocation("Summoner.png"); - picWarriorPVE.ImageLocation = GetImageLocation("Warrior.png"); - picWarriorPVP.ImageLocation = GetImageLocation("Warrior.png"); - picWhiteMagePVE.ImageLocation = GetImageLocation("WhiteMage.png"); - picWhiteMagePVP.ImageLocation = GetImageLocation("WhiteMage.png"); - picMinerPVE.ImageLocation = GetImageLocation("Miner.png"); - picBlueMagePVE.ImageLocation = GetImageLocation("BlueMage.png"); - - string[] routines = PopulateRoutines(); - cmbArcanistPVE.Items.AddRange(routines); - cmbArcanistPVP.Items.AddRange(routines); - cmbAstrologianPVE.Items.AddRange(routines); - cmbAstrologianPVP.Items.AddRange(routines); - cmbBardPVE.Items.AddRange(routines); - cmbBardPVP.Items.AddRange(routines); - cmbBlackMagePVE.Items.AddRange(routines); - cmbBlackMagePVP.Items.AddRange(routines); - cmbDancerPVE.Items.AddRange(routines); - cmbDancerPVP.Items.AddRange(routines); - cmbDarkKnightPVE.Items.AddRange(routines); - cmbDarkKnightPVP.Items.AddRange(routines); - cmbDragoonPVE.Items.AddRange(routines); - cmbDragoonPVP.Items.AddRange(routines); - cmbGunbreakerPVE.Items.AddRange(routines); - cmbGunbreakerPVP.Items.AddRange(routines); - cmbMachinistPVE.Items.AddRange(routines); - cmbMachinistPVP.Items.AddRange(routines); - cmbMonkPVE.Items.AddRange(routines); - cmbMonkPVP.Items.AddRange(routines); - cmbNinjaPVE.Items.AddRange(routines); - cmbNinjaPVP.Items.AddRange(routines); - cmbPaladinPVE.Items.AddRange(routines); - cmbPaladinPVP.Items.AddRange(routines); - cmbRedMagePVE.Items.AddRange(routines); - cmbRedMagePVP.Items.AddRange(routines); - cmbSamuraiPVE.Items.AddRange(routines); - cmbSamuraiPVP.Items.AddRange(routines); - cmbScholarPVE.Items.AddRange(routines); - cmbScholarPVP.Items.AddRange(routines); - cmbSummonerPVE.Items.AddRange(routines); - cmbSummonerPVP.Items.AddRange(routines); - cmbWarriorPVE.Items.AddRange(routines); - cmbWarriorPVP.Items.AddRange(routines); - cmbWhiteMagePVE.Items.AddRange(routines); - cmbWhiteMagePVP.Items.AddRange(routines); - cmbNonBattlePVE.Items.AddRange(routines); - cmbBlueMagePVE.Items.AddRange(routines); - } - - private string GetImageLocation(string fileName) - { - return Path.Combine(Environment.CurrentDirectory, $@"Plugins\CarbuncleTech\Data\Images\{fileName}"); - } + private static Window _instance; - private string[] PopulateRoutines() + public static void Show() { - HashSet routines = new HashSet(); - - foreach (var routine in RoutineManager.AllRoutines) + if (_instance != null) { - string routineDirectory = routine.Name.Split(' ')[0]; - routines.Add(routineDirectory); + _instance.Show(); + _instance.Activate(); + return; } - routines.Add(string.Empty); - - return routines.ToArray(); - } - - private void SettingsWindow_Load(object sender, EventArgs e) - { - /* Scenario PVE */ - cmbArcanistPVE.Text = Settings.Instance.Pve.ArcanistRoutine; - cmbAstrologianPVE.Text = Settings.Instance.Pve.AstrologianRoutine; - cmbBardPVE.Text = Settings.Instance.Pve.BardRoutine; - cmbBlackMagePVE.Text = Settings.Instance.Pve.BlackMageRoutine; - cmbDancerPVE.Text = Settings.Instance.Pve.DancerRoutine; - cmbDarkKnightPVE.Text = Settings.Instance.Pve.DarkKnightRoutine; - cmbDragoonPVE.Text = Settings.Instance.Pve.DragoonRoutine; - cmbGunbreakerPVE.Text = Settings.Instance.Pve.GunbreakerRoutine; - cmbMachinistPVE.Text = Settings.Instance.Pve.MachinistRoutine; - cmbMonkPVE.Text = Settings.Instance.Pve.MonkRoutine; - cmbNinjaPVE.Text = Settings.Instance.Pve.NinjaRoutine; - cmbPaladinPVE.Text = Settings.Instance.Pve.PaladinRoutine; - cmbRedMagePVE.Text = Settings.Instance.Pve.RedMageRoutine; - cmbSamuraiPVE.Text = Settings.Instance.Pve.SamuraiRoutine; - cmbScholarPVE.Text = Settings.Instance.Pve.ScholarRoutine; - cmbSummonerPVE.Text = Settings.Instance.Pve.SummonerRoutine; - cmbWhiteMagePVE.Text = Settings.Instance.Pve.WhiteMageRoutine; - cmbWarriorPVE.Text = Settings.Instance.Pve.WarriorRoutine; - cmbNonBattlePVE.Text = Settings.Instance.HandRoutine; - cmbBlueMagePVE.Text = Settings.Instance.Pve.BlueMageRoutine; - chkEnableInPve.Checked = Settings.Instance.AutoSelectPve; - - /* Scenario PVP */ - cmbArcanistPVP.Text = Settings.Instance.Pvp.ArcanistRoutine; - cmbAstrologianPVP.Text = Settings.Instance.Pvp.AstrologianRoutine; - cmbBardPVP.Text = Settings.Instance.Pvp.BardRoutine; - cmbBlackMagePVP.Text = Settings.Instance.Pvp.BlackMageRoutine; - cmbDancerPVP.Text = Settings.Instance.Pvp.DancerRoutine; - cmbDarkKnightPVP.Text = Settings.Instance.Pvp.DarkKnightRoutine; - cmbDragoonPVP.Text = Settings.Instance.Pvp.DragoonRoutine; - cmbGunbreakerPVP.Text = Settings.Instance.Pvp.GunbreakerRoutine; - cmbMachinistPVP.Text = Settings.Instance.Pvp.MachinistRoutine; - cmbMonkPVP.Text = Settings.Instance.Pvp.MonkRoutine; - cmbNinjaPVP.Text = Settings.Instance.Pvp.NinjaRoutine; - cmbPaladinPVP.Text = Settings.Instance.Pvp.PaladinRoutine; - cmbRedMagePVP.Text = Settings.Instance.Pvp.RedMageRoutine; - cmbSamuraiPVP.Text = Settings.Instance.Pvp.SamuraiRoutine; - cmbScholarPVP.Text = Settings.Instance.Pvp.ScholarRoutine; - cmbSummonerPVP.Text = Settings.Instance.Pvp.SummonerRoutine; - cmbWhiteMagePVP.Text = Settings.Instance.Pvp.WhiteMageRoutine; - cmbWarriorPVP.Text = Settings.Instance.Pvp.WarriorRoutine; - chkEnableInPvp.Checked = Settings.Instance.AutoSelectPvp; - } - - private void SettingsChanged(object sender, EventArgs e) - { - // Arcanist - if(sender == cmbArcanistPVE) - Settings.Instance.Pve.ArcanistRoutine = cmbArcanistPVE.Text; - - if(sender == cmbArcanistPVP) - Settings.Instance.Pvp.ArcanistRoutine = cmbArcanistPVP.Text; - - // Astrologian - if(sender == cmbAstrologianPVE) - Settings.Instance.Pve.AstrologianRoutine = cmbAstrologianPVE.Text; - - if(sender == cmbAstrologianPVP) - Settings.Instance.Pvp.AstrologianRoutine = cmbAstrologianPVP.Text; - - // Bard - if(sender == cmbBardPVE) - Settings.Instance.Pve.BardRoutine = cmbBardPVE.Text; - - if(sender == cmbBardPVP) - Settings.Instance.Pvp.BardRoutine = cmbBardPVP.Text; - - // Black Mage - if(sender == cmbBlackMagePVE) - Settings.Instance.Pve.BlackMageRoutine = cmbBlackMagePVE.Text; - - if(sender == cmbBlackMagePVP) - Settings.Instance.Pvp.BlackMageRoutine = cmbBlackMagePVP.Text; - - // Dancer - if(sender == cmbDancerPVE) - Settings.Instance.Pve.DancerRoutine = cmbDancerPVE.Text; - - if(sender == cmbDancerPVP) - Settings.Instance.Pvp.DancerRoutine = cmbDancerPVP.Text; - - // Dark Knight - if(sender == cmbDarkKnightPVE) - Settings.Instance.Pve.DarkKnightRoutine = cmbDarkKnightPVE.Text; - - if(sender == cmbDarkKnightPVP) - Settings.Instance.Pvp.DarkKnightRoutine = cmbDarkKnightPVP.Text; - - // Dragoon - if(sender == cmbDragoonPVE) - Settings.Instance.Pve.DragoonRoutine = cmbDragoonPVE.Text; - - if(sender == cmbDragoonPVP) - Settings.Instance.Pvp.DragoonRoutine = cmbDragoonPVP.Text; - - // Gunbreaker - if(sender == cmbGunbreakerPVE) - Settings.Instance.Pve.GunbreakerRoutine = cmbGunbreakerPVE.Text; - - if(sender == cmbGunbreakerPVP) - Settings.Instance.Pvp.GunbreakerRoutine = cmbGunbreakerPVP.Text; - - // Machinist - if(sender == cmbMachinistPVE) - Settings.Instance.Pve.MachinistRoutine = cmbMachinistPVE.Text; - - if(sender == cmbMachinistPVP) - Settings.Instance.Pvp.MachinistRoutine = cmbMachinistPVP.Text; - - // Monk - if(sender == cmbMonkPVE) - Settings.Instance.Pve.MonkRoutine = cmbMonkPVE.Text; - - if(sender == cmbMonkPVP) - Settings.Instance.Pvp.MonkRoutine = cmbMonkPVP.Text; - - // Ninja - if(sender == cmbNinjaPVE) - Settings.Instance.Pve.NinjaRoutine = cmbNinjaPVE.Text; - - if(sender == cmbNinjaPVP) - Settings.Instance.Pvp.NinjaRoutine = cmbNinjaPVP.Text; - - // Paladin - if(sender == cmbPaladinPVE) - Settings.Instance.Pve.PaladinRoutine = cmbPaladinPVE.Text; - - if(sender == cmbPaladinPVP) - Settings.Instance.Pvp.PaladinRoutine = cmbPaladinPVP.Text; - - // Red Mage - if(sender == cmbRedMagePVE) - Settings.Instance.Pve.RedMageRoutine = cmbRedMagePVE.Text; - - if(sender == cmbRedMagePVP) - Settings.Instance.Pvp.RedMageRoutine = cmbRedMagePVP.Text; - - // Samurai - if(sender == cmbSamuraiPVE) - Settings.Instance.Pve.SamuraiRoutine = cmbSamuraiPVE.Text; - - if(sender == cmbSamuraiPVP) - Settings.Instance.Pvp.SamuraiRoutine = cmbSamuraiPVP.Text; - - // Scholar - if(sender == cmbScholarPVE) - Settings.Instance.Pve.ScholarRoutine = cmbScholarPVE.Text; - - if(sender == cmbScholarPVP) - Settings.Instance.Pvp.ScholarRoutine = cmbScholarPVP.Text; - - // Summoner - if(sender == cmbSummonerPVE) - Settings.Instance.Pve.SummonerRoutine = cmbSummonerPVE.Text; - - if(sender == cmbSummonerPVP) - Settings.Instance.Pvp.SummonerRoutine = cmbSummonerPVP.Text; - - // Warrior - if(sender == cmbWarriorPVE) - Settings.Instance.Pve.WarriorRoutine = cmbWarriorPVE.Text; - - if(sender == cmbWarriorPVP) - Settings.Instance.Pvp.WarriorRoutine = cmbWarriorPVP.Text; - - // White Mage - if(sender == cmbWhiteMagePVE) - Settings.Instance.Pve.WhiteMageRoutine = cmbWhiteMagePVE.Text; - - if(sender == cmbWhiteMagePVP) - Settings.Instance.Pvp.WhiteMageRoutine = cmbWhiteMagePVP.Text; - - // Non battle - if(sender == cmbNonBattlePVE) - Settings.Instance.HandRoutine = cmbNonBattlePVE.Text; - - // Blue Mage - if (sender == cmbBlueMagePVE) - Settings.Instance.Pve.BlueMageRoutine = cmbBlueMagePVE.Text; - - if(sender == chkEnableInPve) - Settings.Instance.AutoSelectPve = chkEnableInPve.Checked; - - if(sender == chkEnableInPvp) - Settings.Instance.AutoSelectPvp = chkEnableInPvp.Checked; + var window = XamlLoader.Load("SeleCR", "SettingsWindow.xaml"); + window.DataContext = new SettingsViewModel(); + window.Closed += (s, e) => _instance = null; - Settings.Instance.Save(); + _instance = window; + window.Show(); } } } diff --git a/Plugins/SeleCR/SettingsWindow.resx b/Plugins/SeleCR/SettingsWindow.resx deleted file mode 100644 index 1af7de1..0000000 --- a/Plugins/SeleCR/SettingsWindow.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/Plugins/SeleCR/ViewModels/RoleGroupViewModel.cs b/Plugins/SeleCR/ViewModels/RoleGroupViewModel.cs new file mode 100644 index 0000000..e20ceb2 --- /dev/null +++ b/Plugins/SeleCR/ViewModels/RoleGroupViewModel.cs @@ -0,0 +1,17 @@ +namespace CarbuncleTech.Plugins.SeleCR.ViewModels +{ + using System.Collections.Generic; + using System.Collections.ObjectModel; + + public class RoleGroupViewModel + { + public string Title { get; } + public ObservableCollection Slots { get; } + + public RoleGroupViewModel(string title, IEnumerable slots) + { + Title = title; + Slots = new ObservableCollection(slots); + } + } +} diff --git a/Plugins/SeleCR/ViewModels/RoutineSlotViewModel.cs b/Plugins/SeleCR/ViewModels/RoutineSlotViewModel.cs new file mode 100644 index 0000000..9d3cc02 --- /dev/null +++ b/Plugins/SeleCR/ViewModels/RoutineSlotViewModel.cs @@ -0,0 +1,46 @@ +namespace CarbuncleTech.Plugins.SeleCR.ViewModels +{ + using System; + using System.Collections.ObjectModel; + using System.ComponentModel; + + public class RoutineSlotViewModel : INotifyPropertyChanged + { + private readonly Func _getRoutine; + private readonly Action _setRoutine; + + public string DisplayName { get; } + public string IconPath { get; } + public ObservableCollection AvailableRoutines { get; } + + public RoutineSlotViewModel(string displayName, string iconPath, ObservableCollection availableRoutines, + Func getRoutine, Action setRoutine) + { + DisplayName = displayName; + IconPath = iconPath; + AvailableRoutines = availableRoutines; + _getRoutine = getRoutine; + _setRoutine = setRoutine; + } + + public string Routine + { + get => _getRoutine(); + set + { + var normalized = value ?? string.Empty; + if (_getRoutine() == normalized) + return; + + _setRoutine(normalized); + Settings.Instance.Save(); + OnPropertyChanged(nameof(Routine)); + } + } + + public event PropertyChangedEventHandler PropertyChanged; + + private void OnPropertyChanged(string name) => + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name)); + } +} diff --git a/Plugins/SeleCR/ViewModels/SettingsViewModel.cs b/Plugins/SeleCR/ViewModels/SettingsViewModel.cs new file mode 100644 index 0000000..c794f91 --- /dev/null +++ b/Plugins/SeleCR/ViewModels/SettingsViewModel.cs @@ -0,0 +1,105 @@ +namespace CarbuncleTech.Plugins.SeleCR.ViewModels +{ + using System.Collections.Generic; + using System.Collections.ObjectModel; + using System.ComponentModel; + using System.Linq; + using ff14bot.Managers; + using Models; + + public class SettingsViewModel : INotifyPropertyChanged + { + public ObservableCollection PveGroups { get; } + public ObservableCollection PvpGroups { get; } + public ObservableCollection AvailableRoutines { get; } + + public SettingsViewModel() + { + AvailableRoutines = new ObservableCollection(PopulateRoutines()); + PveGroups = BuildGroups(isPvp: false, AvailableRoutines); + PvpGroups = BuildGroups(isPvp: true, AvailableRoutines); + } + + public bool AutoSelectPve + { + get => Settings.Instance.AutoSelectPve; + set + { + Settings.Instance.AutoSelectPve = value; + Settings.Instance.Save(); + OnPropertyChanged(nameof(AutoSelectPve)); + } + } + + public bool AutoSelectPvp + { + get => Settings.Instance.AutoSelectPvp; + set + { + Settings.Instance.AutoSelectPvp = value; + Settings.Instance.Save(); + OnPropertyChanged(nameof(AutoSelectPvp)); + } + } + + private static IEnumerable PopulateRoutines() + { + var routines = new HashSet(RoutineManager.AllRoutines.Select(r => r.Name.Split(' ')[0])); + routines.Add(string.Empty); + return routines.OrderBy(r => r); + } + + private static ObservableCollection BuildGroups(bool isPvp, ObservableCollection availableRoutines) + { + var scenario = isPvp ? Settings.Instance.Pvp : Settings.Instance.Pve; + var jobs = JobDefinition.All.Where(j => !isPvp || j.HasPvp); + + var groups = jobs + .GroupBy(j => j.Role) + .OrderBy(g => (int)g.Key) + .Select(g => new RoleGroupViewModel( + RoleTitle(g.Key), + g.Select(j => new RoutineSlotViewModel( + j.DisplayName, + JobDefinition.IconPath(j.IconFileName), + availableRoutines, + () => j.Getter(scenario), + v => j.Setter(scenario, v))))) + .ToList(); + + if (!isPvp) + { + groups.Add(new RoleGroupViewModel("Hand and Land", new[] + { + new RoutineSlotViewModel( + "Disciples of the Hand/Land", + JobDefinition.IconPath("Miner.png"), + availableRoutines, + () => Settings.Instance.HandRoutine, + v => Settings.Instance.HandRoutine = v) + })); + } + + return new ObservableCollection(groups); + } + + private static string RoleTitle(JobRole role) + { + return role switch + { + JobRole.Tank => "Tanks", + JobRole.Healer => "Healers", + JobRole.MeleeDps => "Melee DPS", + JobRole.PhysicalRangedDps => "Physical Ranged DPS", + JobRole.MagicalRangedDps => "Magical Ranged DPS", + JobRole.Limited => "Limited Jobs", + _ => role.ToString() + }; + } + + public event PropertyChangedEventHandler PropertyChanged; + + private void OnPropertyChanged(string name) => + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name)); + } +} diff --git a/Plugins/SeleCR/Xaml/SettingsWindow.xaml b/Plugins/SeleCR/Xaml/SettingsWindow.xaml new file mode 100644 index 0000000..4bc7fd4 --- /dev/null +++ b/Plugins/SeleCR/Xaml/SettingsWindow.xaml @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +