From 3bd8655dc5d631787169cea3eb63761da9a17909 Mon Sep 17 00:00:00 2001 From: Catherine Renelle <32781029+catrenelle@users.noreply.github.com> Date: Wed, 9 Sep 2026 22:06:17 -0400 Subject: [PATCH] SeleCR Update for 7.56 * Updated to .NET 10 * Added Beastmaster (excluding for RB_TC) * Converted Winform to WPF --- .gitignore | 343 ++++ CarbuncleTech.csproj | 24 + CarbuncleTech.sln | 34 + Common/XamlLoader.cs | 34 + Data/Images/Beastmaster.png | Bin 0 -> 2548 bytes Plugins/SeleCR/Models/JobDefinition.cs | 81 + Plugins/SeleCR/Models/Scenario.cs | 4 + Plugins/SeleCR/SeleCR.cs | 11 +- Plugins/SeleCR/Settings.cs | 7 +- Plugins/SeleCR/SettingsWindow.Designer.cs | 1761 ----------------- Plugins/SeleCR/SettingsWindow.cs | 385 +--- Plugins/SeleCR/SettingsWindow.resx | 120 -- .../SeleCR/ViewModels/RoleGroupViewModel.cs | 17 + .../SeleCR/ViewModels/RoutineSlotViewModel.cs | 46 + .../SeleCR/ViewModels/SettingsViewModel.cs | 105 + Plugins/SeleCR/Xaml/SettingsWindow.xaml | 134 ++ 16 files changed, 848 insertions(+), 2258 deletions(-) create mode 100644 .gitignore create mode 100644 CarbuncleTech.csproj create mode 100644 CarbuncleTech.sln create mode 100644 Common/XamlLoader.cs create mode 100644 Data/Images/Beastmaster.png create mode 100644 Plugins/SeleCR/Models/JobDefinition.cs delete mode 100644 Plugins/SeleCR/SettingsWindow.Designer.cs delete mode 100644 Plugins/SeleCR/SettingsWindow.resx create mode 100644 Plugins/SeleCR/ViewModels/RoleGroupViewModel.cs create mode 100644 Plugins/SeleCR/ViewModels/RoutineSlotViewModel.cs create mode 100644 Plugins/SeleCR/ViewModels/SettingsViewModel.cs create mode 100644 Plugins/SeleCR/Xaml/SettingsWindow.xaml 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 0000000000000000000000000000000000000000..deddb5f2daca89fc587449b56a221467857d7851 GIT binary patch literal 2548 zcmV1ezWa9Z_cB2M@#;_+Ik#syZhqpKlAH< z^NWA@S5N=CM?K`4+vl^6gQGRN{`zZq&6j^TPkF}KSNyiGe%~JmPY?gKpZ$HF@{~JS z4I}>%7K<4VeaHS@z2+;wI8T1Y*_*%jOWxym z_byy~@Hcz-1_}L|5vYd z&54cM>U>stv)6jDj~Z6X2Y=@e{3?I?q>G&1+~MJ;w%DG}=^_x%YjUzT3}lFf#YW#F zo(~CZR@21e9(R$gt*7x4FZSREzxcz>eC+Pt@}uit{KM_1UjJ1d`IdkEH&5a3o_2xj zcaHP06DK&aSTL)Vka%te_LfVwZaBkRy~Atpb)Wy;T)(r!tX9MecJuM$JngBwJo1qf z553{|+x+m~-~NR$>*_UR-f({RfN2bF*xu&&V!=k=QzDRrBqSjTBy6*{UbDFkZ}@r- z;`r&{!r>9NK|&Iekc1>8A&HPUUgnI=Y|hI~&gr3n-3{YZ(=h8g7F|zYDmJ7c4QWV2 z8ZymtnmBuKz+1fSYtSz?dE+;F1os{8aX5^$G-*gf8q$!4G^C-bAOh@g=7|6>7@$a$ z5Edk+Icb>0B&K23*|_u4B_96b58}<=@ojkW70YpCf3@Q27cRi|24D7_U&HVJ)VK26zxXpK zI^OneUV)WY?5$QLkbnUL1`HT5&w=0p4A_u{_0%|!c*Qq+9qu~3$WzYW$884(yu@p~ zCO`OdKg!`#f0A$b>hI%QzVB%~{_h^gLm&QNUjGdq&Yc%`S&k!_CJkvwLmJYM=7Fd@ zfH8?_PS$N=&61D)*tg+*KjaO$uvo(2i2Y>u;c<@7R z;!WPotG#$G^#9qvvUl`wO1-*-|f};@-P2Yc8_Kp-`GGB;@Q$X5S0fo zkWQMD#H`ni3m5j;JUrqXzxDUI?Ot(w^AuZ)o~{%OjIGfGzxT)Y^3LylikEr0n|ZT0 zyN#du=_k;4l||PfiTfqy0SF$zz`8XqE|*+dtvFl`Jn4x~XXn^SPG571zVA7<8@y95k#%L{@cD6k9vhS z<`rM@Wq6sFxQ=rN`%G>OZDR7smwe5qa>w6(H{bLHAIhhF@o)3PKk?^G;~^(bUC#%8 zz-zKU9B^rQM01iDW57HU!2>C{^Nx#r(Pw@>AM}B5$j|-CPx5h}_@Vsu@BS!9d-w98 zAM%zw_?BbbasDEAU)<%-Q{RK(9$H&f#888HWmwh`M2)j*M9kTIIbt~dq4R(eCs!S8(;cWKf|;>#}|G6 z`|#SY`55+BOCIrv>$&Htf5xx}J~ z@Axd<{lh+$JMTEhU1!arpV8F{3NG$0IeluACp=}3uldH`;PqayV?J*TQzO$n0Ks!f z#C+b4<>TLqo6c-< z=Y@$M{JDGi@Q?oqKI+52l%N0AClF;uDS<)=xb~VI*2^PW6UTS9LC0ClH?Sai4g}A| z5+EW9$2K>4{L@x^%{Trsw_Mlp$shMtTzhhZ$>wmq!ISUYf+x+?8AMmx`@N+!urj9TC?04a%U;Gxv zan0z7lo_VR(Xi(H;So39c#MZU^b~*dx3@y+i4qWjB`jf{0~G*snGql)p%CGqs~yL- zxB0!l*yr#oeu@uzuUFygzx@^%IZyq|f~gUiqc}gx7qvNAhN` z`52D9)x$Y<-Ho6H5gmK?+{Q2b(2sNP?u@PN9wd;kgn|g>_%)oo$!otDLrx%&KmrLOM1+V^ zn9q84wl~?_IYIWP*&EMr=cSW8{lW=uy>N=V4$d&eaptobk^qpvn2F>g-tV<|`crS` z@lU(&iRpZL*_ih{{jN*5Z}+_OOFa6<`HMgHChofL5{JuyacZQK<|J*>CT$Wxpb$}l zQiD17{2d&!r07&qN;n&>+u@$X?^wl!z}(jmY0^S{q8{Mw)ApFeH)=U0}<|Cxjp0dv-|J+uxqzI;pWpDk2tZjQD$A?Kf-b~aNoI0?Y6UrXYaT){%V>p z5Ak1uwS%MTvo*Z0000< KMNUMnLSTZrF=%xF literal 0 HcmV?d00001 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 2617891..1b68f1a 100644 --- a/Plugins/SeleCR/Models/Scenario.cs +++ b/Plugins/SeleCR/Models/Scenario.cs @@ -100,6 +100,10 @@ public class Scenario [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 efec6ae..844882f 100644 --- a/Plugins/SeleCR/Settings.cs +++ b/Plugins/SeleCR/Settings.cs @@ -454,7 +454,6 @@ public string SelectRoutine() } break; - #if RB_DT case ClassJobType.Viper: if (WorldManager.InPvP) { @@ -492,7 +491,11 @@ public string SelectRoutine() return Pvp.PictomancerRoutine; } break; - #endif + + #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 bcdb733..0000000 --- a/Plugins/SeleCR/SettingsWindow.Designer.cs +++ /dev/null @@ -1,1761 +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() - { - tcCategories = new System.Windows.Forms.TabControl(); - tpPVE = new System.Windows.Forms.TabPage(); - gbLimitedPVE = new System.Windows.Forms.GroupBox(); - cmbBlueMagePVE = new System.Windows.Forms.ComboBox(); - picBlueMagePVE = new System.Windows.Forms.PictureBox(); - chkEnableInPve = new System.Windows.Forms.CheckBox(); - gbOthersPVE = new System.Windows.Forms.GroupBox(); - cmbNonBattlePVE = new System.Windows.Forms.ComboBox(); - picMinerPVE = new System.Windows.Forms.PictureBox(); - gbMagicalRangedDpsPVE = new System.Windows.Forms.GroupBox(); - cmbPictomancerPVE = new System.Windows.Forms.ComboBox(); - picPictomancerPVE = new System.Windows.Forms.PictureBox(); - cmbRedMagePVE = new System.Windows.Forms.ComboBox(); - cmbSummonerPVE = new System.Windows.Forms.ComboBox(); - cmbArcanistPVE = new System.Windows.Forms.ComboBox(); - picRedMagePVE = new System.Windows.Forms.PictureBox(); - picSummonerPVE = new System.Windows.Forms.PictureBox(); - picArcanistPVE = new System.Windows.Forms.PictureBox(); - cmbBlackMagePVE = new System.Windows.Forms.ComboBox(); - picBlackMagePVE = new System.Windows.Forms.PictureBox(); - gbHealersPVE = new System.Windows.Forms.GroupBox(); - cmbSagePVE = new System.Windows.Forms.ComboBox(); - picSagePVE = new System.Windows.Forms.PictureBox(); - cmbAstrologianPVE = new System.Windows.Forms.ComboBox(); - picAstrologianPVE = new System.Windows.Forms.PictureBox(); - cmbScholarPVE = new System.Windows.Forms.ComboBox(); - picScholarPVE = new System.Windows.Forms.PictureBox(); - cmbWhiteMagePVE = new System.Windows.Forms.ComboBox(); - picWhiteMagePVE = new System.Windows.Forms.PictureBox(); - gbPhysicalRangedDpsPVE = new System.Windows.Forms.GroupBox(); - cmbDancerPVE = new System.Windows.Forms.ComboBox(); - picDancerPVE = new System.Windows.Forms.PictureBox(); - cmbMachinistPVE = new System.Windows.Forms.ComboBox(); - picMachinistPVE = new System.Windows.Forms.PictureBox(); - cmbBardPVE = new System.Windows.Forms.ComboBox(); - picBardPVE = new System.Windows.Forms.PictureBox(); - gbMeleeDpsPVE = new System.Windows.Forms.GroupBox(); - cmbViperPVE = new System.Windows.Forms.ComboBox(); - picViperPVE = new System.Windows.Forms.PictureBox(); - cmbReaperPVE = new System.Windows.Forms.ComboBox(); - picReaperPVE = new System.Windows.Forms.PictureBox(); - cmbSamuraiPVE = new System.Windows.Forms.ComboBox(); - cmbNinjaPVE = new System.Windows.Forms.ComboBox(); - picSamuraiPVE = new System.Windows.Forms.PictureBox(); - picNinjaPVE = new System.Windows.Forms.PictureBox(); - cmbDragoonPVE = new System.Windows.Forms.ComboBox(); - picDragoonPVE = new System.Windows.Forms.PictureBox(); - cmbMonkPVE = new System.Windows.Forms.ComboBox(); - picMonkPVE = new System.Windows.Forms.PictureBox(); - gbTanksPVE = new System.Windows.Forms.GroupBox(); - cmbGunbreakerPVE = new System.Windows.Forms.ComboBox(); - picGunbreakerPVE = new System.Windows.Forms.PictureBox(); - cmbDarkKnightPVE = new System.Windows.Forms.ComboBox(); - picDarkKnightPVE = new System.Windows.Forms.PictureBox(); - picWarriorPVE = new System.Windows.Forms.PictureBox(); - cmbWarriorPVE = new System.Windows.Forms.ComboBox(); - picPaladinPVE = new System.Windows.Forms.PictureBox(); - cmbPaladinPVE = new System.Windows.Forms.ComboBox(); - tpPVP = new System.Windows.Forms.TabPage(); - chkEnableInPvp = new System.Windows.Forms.CheckBox(); - gbMagicalRangedDpsPVP = new System.Windows.Forms.GroupBox(); - cmbPictomancerPVP = new System.Windows.Forms.ComboBox(); - picPictomancerPVP = new System.Windows.Forms.PictureBox(); - cmbRedMagePVP = new System.Windows.Forms.ComboBox(); - cmbSummonerPVP = new System.Windows.Forms.ComboBox(); - cmbArcanistPVP = new System.Windows.Forms.ComboBox(); - picRedMagePVP = new System.Windows.Forms.PictureBox(); - picSummonerPVP = new System.Windows.Forms.PictureBox(); - picArcanistPVP = new System.Windows.Forms.PictureBox(); - cmbBlackMagePVP = new System.Windows.Forms.ComboBox(); - picBlackMagePVP = new System.Windows.Forms.PictureBox(); - gbHealersPVP = new System.Windows.Forms.GroupBox(); - picSagePVP = new System.Windows.Forms.PictureBox(); - cmbSagePVP = new System.Windows.Forms.ComboBox(); - cmbAstrologianPVP = new System.Windows.Forms.ComboBox(); - picAstrologianPVP = new System.Windows.Forms.PictureBox(); - cmbScholarPVP = new System.Windows.Forms.ComboBox(); - picScholarPVP = new System.Windows.Forms.PictureBox(); - cmbWhiteMagePVP = new System.Windows.Forms.ComboBox(); - picWhiteMagePVP = new System.Windows.Forms.PictureBox(); - gbPhysicalRangedDpsPVP = new System.Windows.Forms.GroupBox(); - cmbDancerPVP = new System.Windows.Forms.ComboBox(); - picDancerPVP = new System.Windows.Forms.PictureBox(); - cmbMachinistPVP = new System.Windows.Forms.ComboBox(); - picMachinistPVP = new System.Windows.Forms.PictureBox(); - cmbBardPVP = new System.Windows.Forms.ComboBox(); - picBardPVP = new System.Windows.Forms.PictureBox(); - gbMeleeDpsPVP = new System.Windows.Forms.GroupBox(); - picViperPVP = new System.Windows.Forms.PictureBox(); - cmbViperPVP = new System.Windows.Forms.ComboBox(); - picReaperPVP = new System.Windows.Forms.PictureBox(); - cmbReaperPVP = new System.Windows.Forms.ComboBox(); - cmbSamuraiPVP = new System.Windows.Forms.ComboBox(); - cmbNinjaPVP = new System.Windows.Forms.ComboBox(); - picSamuraiPVP = new System.Windows.Forms.PictureBox(); - picNinjaPVP = new System.Windows.Forms.PictureBox(); - cmbDragoonPVP = new System.Windows.Forms.ComboBox(); - picDragoonPVP = new System.Windows.Forms.PictureBox(); - cmbMonkPVP = new System.Windows.Forms.ComboBox(); - picMonkPVP = new System.Windows.Forms.PictureBox(); - gbTanksPVP = new System.Windows.Forms.GroupBox(); - cmbGunbreakerPVP = new System.Windows.Forms.ComboBox(); - picGunbreakerPVP = new System.Windows.Forms.PictureBox(); - cmbDarkKnightPVP = new System.Windows.Forms.ComboBox(); - picDarkKnightPVP = new System.Windows.Forms.PictureBox(); - picWarriorPVP = new System.Windows.Forms.PictureBox(); - cmbWarriorPVP = new System.Windows.Forms.ComboBox(); - picPaladinPVP = new System.Windows.Forms.PictureBox(); - cmbPaladinPVP = new System.Windows.Forms.ComboBox(); - tcCategories.SuspendLayout(); - tpPVE.SuspendLayout(); - gbLimitedPVE.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)picBlueMagePVE).BeginInit(); - gbOthersPVE.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)picMinerPVE).BeginInit(); - gbMagicalRangedDpsPVE.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)picPictomancerPVE).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picRedMagePVE).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picSummonerPVE).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picArcanistPVE).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picBlackMagePVE).BeginInit(); - gbHealersPVE.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)picSagePVE).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picAstrologianPVE).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picScholarPVE).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picWhiteMagePVE).BeginInit(); - gbPhysicalRangedDpsPVE.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)picDancerPVE).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picMachinistPVE).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picBardPVE).BeginInit(); - gbMeleeDpsPVE.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)picViperPVE).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picReaperPVE).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picSamuraiPVE).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picNinjaPVE).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picDragoonPVE).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picMonkPVE).BeginInit(); - gbTanksPVE.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)picGunbreakerPVE).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picDarkKnightPVE).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picWarriorPVE).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picPaladinPVE).BeginInit(); - tpPVP.SuspendLayout(); - gbMagicalRangedDpsPVP.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)picPictomancerPVP).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picRedMagePVP).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picSummonerPVP).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picArcanistPVP).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picBlackMagePVP).BeginInit(); - gbHealersPVP.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)picSagePVP).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picAstrologianPVP).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picScholarPVP).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picWhiteMagePVP).BeginInit(); - gbPhysicalRangedDpsPVP.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)picDancerPVP).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picMachinistPVP).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picBardPVP).BeginInit(); - gbMeleeDpsPVP.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)picViperPVP).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picReaperPVP).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picSamuraiPVP).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picNinjaPVP).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picDragoonPVP).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picMonkPVP).BeginInit(); - gbTanksPVP.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)picGunbreakerPVP).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picDarkKnightPVP).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picWarriorPVP).BeginInit(); - ((System.ComponentModel.ISupportInitialize)picPaladinPVP).BeginInit(); - SuspendLayout(); - // - // tcCategories - // - tcCategories.Controls.Add(tpPVE); - tcCategories.Controls.Add(tpPVP); - tcCategories.Location = new System.Drawing.Point(14, 14); - tcCategories.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - tcCategories.Name = "tcCategories"; - tcCategories.SelectedIndex = 0; - tcCategories.Size = new System.Drawing.Size(572, 629); - tcCategories.TabIndex = 1; - // - // tpPVE - // - tpPVE.BackColor = System.Drawing.Color.Transparent; - tpPVE.Controls.Add(gbLimitedPVE); - tpPVE.Controls.Add(chkEnableInPve); - tpPVE.Controls.Add(gbOthersPVE); - tpPVE.Controls.Add(gbMagicalRangedDpsPVE); - tpPVE.Controls.Add(gbHealersPVE); - tpPVE.Controls.Add(gbPhysicalRangedDpsPVE); - tpPVE.Controls.Add(gbMeleeDpsPVE); - tpPVE.Controls.Add(gbTanksPVE); - tpPVE.Location = new System.Drawing.Point(4, 24); - tpPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - tpPVE.Name = "tpPVE"; - tpPVE.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - tpPVE.Size = new System.Drawing.Size(564, 601); - tpPVE.TabIndex = 0; - tpPVE.Text = "PVE"; - // - // gbLimitedPVE - // - gbLimitedPVE.Controls.Add(cmbBlueMagePVE); - gbLimitedPVE.Controls.Add(picBlueMagePVE); - gbLimitedPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - gbLimitedPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - gbLimitedPVE.Location = new System.Drawing.Point(7, 522); - gbLimitedPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbLimitedPVE.Name = "gbLimitedPVE"; - gbLimitedPVE.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbLimitedPVE.Size = new System.Drawing.Size(188, 68); - gbLimitedPVE.TabIndex = 22; - gbLimitedPVE.TabStop = false; - gbLimitedPVE.Text = "Limited Jobs"; - // - // cmbBlueMagePVE - // - cmbBlueMagePVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbBlueMagePVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbBlueMagePVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbBlueMagePVE.FormattingEnabled = true; - cmbBlueMagePVE.Location = new System.Drawing.Point(51, 30); - cmbBlueMagePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbBlueMagePVE.Name = "cmbBlueMagePVE"; - cmbBlueMagePVE.Size = new System.Drawing.Size(129, 24); - cmbBlueMagePVE.TabIndex = 19; - cmbBlueMagePVE.SelectedValueChanged += SettingsChanged; - // - // picBlueMagePVE - // - picBlueMagePVE.Location = new System.Drawing.Point(7, 21); - picBlueMagePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picBlueMagePVE.Name = "picBlueMagePVE"; - picBlueMagePVE.Size = new System.Drawing.Size(37, 37); - picBlueMagePVE.TabIndex = 55; - picBlueMagePVE.TabStop = false; - // - // chkEnableInPve - // - chkEnableInPve.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); - chkEnableInPve.Location = new System.Drawing.Point(405, 522); - chkEnableInPve.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - chkEnableInPve.Name = "chkEnableInPve"; - chkEnableInPve.Size = new System.Drawing.Size(151, 28); - chkEnableInPve.TabIndex = 21; - chkEnableInPve.Text = "Enable in PVE Areas"; - chkEnableInPve.UseVisualStyleBackColor = true; - chkEnableInPve.CheckedChanged += SettingsChanged; - // - // gbOthersPVE - // - gbOthersPVE.Controls.Add(cmbNonBattlePVE); - gbOthersPVE.Controls.Add(picMinerPVE); - gbOthersPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - gbOthersPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - gbOthersPVE.Location = new System.Drawing.Point(203, 522); - gbOthersPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbOthersPVE.Name = "gbOthersPVE"; - gbOthersPVE.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbOthersPVE.Size = new System.Drawing.Size(187, 68); - gbOthersPVE.TabIndex = 18; - gbOthersPVE.TabStop = false; - gbOthersPVE.Text = "Hand and Land"; - // - // cmbNonBattlePVE - // - cmbNonBattlePVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbNonBattlePVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbNonBattlePVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbNonBattlePVE.FormattingEnabled = true; - cmbNonBattlePVE.Location = new System.Drawing.Point(52, 30); - cmbNonBattlePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbNonBattlePVE.Name = "cmbNonBattlePVE"; - cmbNonBattlePVE.Size = new System.Drawing.Size(129, 24); - cmbNonBattlePVE.TabIndex = 19; - cmbNonBattlePVE.TextUpdate += SettingsChanged; - cmbNonBattlePVE.SelectedValueChanged += SettingsChanged; - // - // picMinerPVE - // - picMinerPVE.Location = new System.Drawing.Point(8, 21); - picMinerPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picMinerPVE.Name = "picMinerPVE"; - picMinerPVE.Size = new System.Drawing.Size(37, 37); - picMinerPVE.TabIndex = 55; - picMinerPVE.TabStop = false; - // - // gbMagicalRangedDpsPVE - // - gbMagicalRangedDpsPVE.Controls.Add(cmbPictomancerPVE); - gbMagicalRangedDpsPVE.Controls.Add(picPictomancerPVE); - gbMagicalRangedDpsPVE.Controls.Add(cmbRedMagePVE); - gbMagicalRangedDpsPVE.Controls.Add(cmbSummonerPVE); - gbMagicalRangedDpsPVE.Controls.Add(cmbArcanistPVE); - gbMagicalRangedDpsPVE.Controls.Add(picRedMagePVE); - gbMagicalRangedDpsPVE.Controls.Add(picSummonerPVE); - gbMagicalRangedDpsPVE.Controls.Add(picArcanistPVE); - gbMagicalRangedDpsPVE.Controls.Add(cmbBlackMagePVE); - gbMagicalRangedDpsPVE.Controls.Add(picBlackMagePVE); - gbMagicalRangedDpsPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - gbMagicalRangedDpsPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - gbMagicalRangedDpsPVE.Location = new System.Drawing.Point(8, 403); - gbMagicalRangedDpsPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbMagicalRangedDpsPVE.Name = "gbMagicalRangedDpsPVE"; - gbMagicalRangedDpsPVE.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbMagicalRangedDpsPVE.Size = new System.Drawing.Size(548, 113); - gbMagicalRangedDpsPVE.TabIndex = 20; - gbMagicalRangedDpsPVE.TabStop = false; - gbMagicalRangedDpsPVE.Text = "Magical Ranged DPS (PVE)"; - // - // cmbPictomancerPVE - // - cmbPictomancerPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbPictomancerPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbPictomancerPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbPictomancerPVE.FormattingEnabled = true; - cmbPictomancerPVE.Location = new System.Drawing.Point(231, 74); - cmbPictomancerPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbPictomancerPVE.Name = "cmbPictomancerPVE"; - cmbPictomancerPVE.Size = new System.Drawing.Size(129, 24); - cmbPictomancerPVE.TabIndex = 59; - cmbPictomancerPVE.SelectedIndexChanged += SettingsChanged; - // - // picPictomancerPVE - // - picPictomancerPVE.Location = new System.Drawing.Point(187, 64); - picPictomancerPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picPictomancerPVE.Name = "picPictomancerPVE"; - picPictomancerPVE.Size = new System.Drawing.Size(37, 37); - picPictomancerPVE.TabIndex = 60; - picPictomancerPVE.TabStop = false; - // - // cmbRedMagePVE - // - cmbRedMagePVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbRedMagePVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbRedMagePVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbRedMagePVE.FormattingEnabled = true; - cmbRedMagePVE.Location = new System.Drawing.Point(50, 74); - cmbRedMagePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbRedMagePVE.Name = "cmbRedMagePVE"; - cmbRedMagePVE.Size = new System.Drawing.Size(129, 24); - cmbRedMagePVE.TabIndex = 24; - cmbRedMagePVE.TextUpdate += SettingsChanged; - cmbRedMagePVE.SelectedValueChanged += SettingsChanged; - // - // cmbSummonerPVE - // - cmbSummonerPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbSummonerPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbSummonerPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbSummonerPVE.FormattingEnabled = true; - cmbSummonerPVE.Location = new System.Drawing.Point(412, 31); - cmbSummonerPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbSummonerPVE.Name = "cmbSummonerPVE"; - cmbSummonerPVE.Size = new System.Drawing.Size(129, 24); - cmbSummonerPVE.TabIndex = 23; - cmbSummonerPVE.TextUpdate += SettingsChanged; - cmbSummonerPVE.SelectedValueChanged += SettingsChanged; - // - // cmbArcanistPVE - // - cmbArcanistPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbArcanistPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbArcanistPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbArcanistPVE.FormattingEnabled = true; - cmbArcanistPVE.Location = new System.Drawing.Point(231, 30); - cmbArcanistPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbArcanistPVE.Name = "cmbArcanistPVE"; - cmbArcanistPVE.Size = new System.Drawing.Size(129, 24); - cmbArcanistPVE.TabIndex = 22; - cmbArcanistPVE.TextUpdate += SettingsChanged; - cmbArcanistPVE.SelectedValueChanged += SettingsChanged; - // - // picRedMagePVE - // - picRedMagePVE.Location = new System.Drawing.Point(6, 64); - picRedMagePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picRedMagePVE.Name = "picRedMagePVE"; - picRedMagePVE.Size = new System.Drawing.Size(37, 37); - picRedMagePVE.TabIndex = 58; - picRedMagePVE.TabStop = false; - // - // picSummonerPVE - // - picSummonerPVE.Location = new System.Drawing.Point(368, 21); - picSummonerPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picSummonerPVE.Name = "picSummonerPVE"; - picSummonerPVE.Size = new System.Drawing.Size(37, 37); - picSummonerPVE.TabIndex = 57; - picSummonerPVE.TabStop = false; - // - // picArcanistPVE - // - picArcanistPVE.Location = new System.Drawing.Point(187, 21); - picArcanistPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picArcanistPVE.Name = "picArcanistPVE"; - picArcanistPVE.Size = new System.Drawing.Size(37, 37); - picArcanistPVE.TabIndex = 56; - picArcanistPVE.TabStop = false; - // - // cmbBlackMagePVE - // - cmbBlackMagePVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbBlackMagePVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbBlackMagePVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbBlackMagePVE.FormattingEnabled = true; - cmbBlackMagePVE.Location = new System.Drawing.Point(50, 30); - cmbBlackMagePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbBlackMagePVE.Name = "cmbBlackMagePVE"; - cmbBlackMagePVE.Size = new System.Drawing.Size(129, 24); - cmbBlackMagePVE.TabIndex = 21; - cmbBlackMagePVE.TextUpdate += SettingsChanged; - cmbBlackMagePVE.SelectedValueChanged += SettingsChanged; - // - // picBlackMagePVE - // - picBlackMagePVE.Location = new System.Drawing.Point(6, 21); - picBlackMagePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picBlackMagePVE.Name = "picBlackMagePVE"; - picBlackMagePVE.Size = new System.Drawing.Size(37, 37); - picBlackMagePVE.TabIndex = 54; - picBlackMagePVE.TabStop = false; - // - // gbHealersPVE - // - gbHealersPVE.Controls.Add(cmbSagePVE); - gbHealersPVE.Controls.Add(picSagePVE); - gbHealersPVE.Controls.Add(cmbAstrologianPVE); - gbHealersPVE.Controls.Add(picAstrologianPVE); - gbHealersPVE.Controls.Add(cmbScholarPVE); - gbHealersPVE.Controls.Add(picScholarPVE); - gbHealersPVE.Controls.Add(cmbWhiteMagePVE); - gbHealersPVE.Controls.Add(picWhiteMagePVE); - gbHealersPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - gbHealersPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - gbHealersPVE.Location = new System.Drawing.Point(8, 116); - gbHealersPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbHealersPVE.Name = "gbHealersPVE"; - gbHealersPVE.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbHealersPVE.Size = new System.Drawing.Size(548, 109); - gbHealersPVE.TabIndex = 11; - gbHealersPVE.TabStop = false; - gbHealersPVE.Text = "Healers (PVE)"; - // - // cmbSagePVE - // - cmbSagePVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbSagePVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbSagePVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbSagePVE.FormattingEnabled = true; - cmbSagePVE.Location = new System.Drawing.Point(50, 71); - cmbSagePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbSagePVE.Name = "cmbSagePVE"; - cmbSagePVE.Size = new System.Drawing.Size(129, 24); - cmbSagePVE.TabIndex = 59; - cmbSagePVE.SelectedIndexChanged += SettingsChanged; - // - // picSagePVE - // - picSagePVE.Location = new System.Drawing.Point(6, 61); - picSagePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picSagePVE.Name = "picSagePVE"; - picSagePVE.Size = new System.Drawing.Size(37, 37); - picSagePVE.TabIndex = 58; - picSagePVE.TabStop = false; - // - // cmbAstrologianPVE - // - cmbAstrologianPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbAstrologianPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbAstrologianPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbAstrologianPVE.FormattingEnabled = true; - cmbAstrologianPVE.Location = new System.Drawing.Point(412, 31); - cmbAstrologianPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbAstrologianPVE.Name = "cmbAstrologianPVE"; - cmbAstrologianPVE.Size = new System.Drawing.Size(129, 24); - cmbAstrologianPVE.TabIndex = 14; - cmbAstrologianPVE.TextUpdate += SettingsChanged; - cmbAstrologianPVE.SelectedValueChanged += SettingsChanged; - // - // picAstrologianPVE - // - picAstrologianPVE.Location = new System.Drawing.Point(368, 21); - picAstrologianPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picAstrologianPVE.Name = "picAstrologianPVE"; - picAstrologianPVE.Size = new System.Drawing.Size(37, 37); - picAstrologianPVE.TabIndex = 57; - picAstrologianPVE.TabStop = false; - // - // cmbScholarPVE - // - cmbScholarPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbScholarPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbScholarPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbScholarPVE.FormattingEnabled = true; - cmbScholarPVE.Location = new System.Drawing.Point(231, 30); - cmbScholarPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbScholarPVE.Name = "cmbScholarPVE"; - cmbScholarPVE.Size = new System.Drawing.Size(129, 24); - cmbScholarPVE.TabIndex = 13; - cmbScholarPVE.TextUpdate += SettingsChanged; - cmbScholarPVE.SelectedValueChanged += SettingsChanged; - // - // picScholarPVE - // - picScholarPVE.Location = new System.Drawing.Point(187, 21); - picScholarPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picScholarPVE.Name = "picScholarPVE"; - picScholarPVE.Size = new System.Drawing.Size(37, 37); - picScholarPVE.TabIndex = 55; - picScholarPVE.TabStop = false; - // - // cmbWhiteMagePVE - // - cmbWhiteMagePVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbWhiteMagePVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbWhiteMagePVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbWhiteMagePVE.FormattingEnabled = true; - cmbWhiteMagePVE.Location = new System.Drawing.Point(49, 30); - cmbWhiteMagePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbWhiteMagePVE.Name = "cmbWhiteMagePVE"; - cmbWhiteMagePVE.Size = new System.Drawing.Size(129, 24); - cmbWhiteMagePVE.TabIndex = 12; - cmbWhiteMagePVE.TextUpdate += SettingsChanged; - cmbWhiteMagePVE.SelectedValueChanged += SettingsChanged; - // - // picWhiteMagePVE - // - picWhiteMagePVE.Location = new System.Drawing.Point(6, 18); - picWhiteMagePVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picWhiteMagePVE.Name = "picWhiteMagePVE"; - picWhiteMagePVE.Size = new System.Drawing.Size(37, 37); - picWhiteMagePVE.TabIndex = 53; - picWhiteMagePVE.TabStop = false; - // - // gbPhysicalRangedDpsPVE - // - gbPhysicalRangedDpsPVE.Controls.Add(cmbDancerPVE); - gbPhysicalRangedDpsPVE.Controls.Add(picDancerPVE); - gbPhysicalRangedDpsPVE.Controls.Add(cmbMachinistPVE); - gbPhysicalRangedDpsPVE.Controls.Add(picMachinistPVE); - gbPhysicalRangedDpsPVE.Controls.Add(cmbBardPVE); - gbPhysicalRangedDpsPVE.Controls.Add(picBardPVE); - gbPhysicalRangedDpsPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - gbPhysicalRangedDpsPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - gbPhysicalRangedDpsPVE.Location = new System.Drawing.Point(7, 336); - gbPhysicalRangedDpsPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbPhysicalRangedDpsPVE.Name = "gbPhysicalRangedDpsPVE"; - gbPhysicalRangedDpsPVE.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbPhysicalRangedDpsPVE.Size = new System.Drawing.Size(549, 67); - gbPhysicalRangedDpsPVE.TabIndex = 15; - gbPhysicalRangedDpsPVE.TabStop = false; - gbPhysicalRangedDpsPVE.Text = "Physical Ranged DPS (PVE)"; - // - // cmbDancerPVE - // - cmbDancerPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbDancerPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbDancerPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbDancerPVE.FormattingEnabled = true; - cmbDancerPVE.Location = new System.Drawing.Point(413, 30); - cmbDancerPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbDancerPVE.Name = "cmbDancerPVE"; - cmbDancerPVE.Size = new System.Drawing.Size(129, 24); - cmbDancerPVE.TabIndex = 55; - cmbDancerPVE.SelectedValueChanged += SettingsChanged; - // - // picDancerPVE - // - picDancerPVE.Location = new System.Drawing.Point(369, 21); - picDancerPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picDancerPVE.Name = "picDancerPVE"; - picDancerPVE.Size = new System.Drawing.Size(37, 37); - picDancerPVE.TabIndex = 56; - picDancerPVE.TabStop = false; - // - // cmbMachinistPVE - // - cmbMachinistPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbMachinistPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbMachinistPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbMachinistPVE.FormattingEnabled = true; - cmbMachinistPVE.Location = new System.Drawing.Point(232, 30); - cmbMachinistPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbMachinistPVE.Name = "cmbMachinistPVE"; - cmbMachinistPVE.Size = new System.Drawing.Size(129, 24); - cmbMachinistPVE.TabIndex = 17; - cmbMachinistPVE.TextUpdate += SettingsChanged; - cmbMachinistPVE.SelectedValueChanged += SettingsChanged; - // - // picMachinistPVE - // - picMachinistPVE.Location = new System.Drawing.Point(188, 21); - picMachinistPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picMachinistPVE.Name = "picMachinistPVE"; - picMachinistPVE.Size = new System.Drawing.Size(37, 37); - picMachinistPVE.TabIndex = 54; - picMachinistPVE.TabStop = false; - // - // cmbBardPVE - // - cmbBardPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbBardPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbBardPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbBardPVE.FormattingEnabled = true; - cmbBardPVE.Location = new System.Drawing.Point(51, 30); - cmbBardPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbBardPVE.Name = "cmbBardPVE"; - cmbBardPVE.Size = new System.Drawing.Size(129, 24); - cmbBardPVE.TabIndex = 16; - cmbBardPVE.TextUpdate += SettingsChanged; - cmbBardPVE.SelectedValueChanged += SettingsChanged; - // - // picBardPVE - // - picBardPVE.Location = new System.Drawing.Point(7, 21); - picBardPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picBardPVE.Name = "picBardPVE"; - picBardPVE.Size = new System.Drawing.Size(37, 37); - picBardPVE.TabIndex = 52; - picBardPVE.TabStop = false; - // - // gbMeleeDpsPVE - // - gbMeleeDpsPVE.Controls.Add(cmbViperPVE); - gbMeleeDpsPVE.Controls.Add(picViperPVE); - gbMeleeDpsPVE.Controls.Add(cmbReaperPVE); - gbMeleeDpsPVE.Controls.Add(picReaperPVE); - gbMeleeDpsPVE.Controls.Add(cmbSamuraiPVE); - gbMeleeDpsPVE.Controls.Add(cmbNinjaPVE); - gbMeleeDpsPVE.Controls.Add(picSamuraiPVE); - gbMeleeDpsPVE.Controls.Add(picNinjaPVE); - gbMeleeDpsPVE.Controls.Add(cmbDragoonPVE); - gbMeleeDpsPVE.Controls.Add(picDragoonPVE); - gbMeleeDpsPVE.Controls.Add(cmbMonkPVE); - gbMeleeDpsPVE.Controls.Add(picMonkPVE); - gbMeleeDpsPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - gbMeleeDpsPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - gbMeleeDpsPVE.Location = new System.Drawing.Point(8, 224); - gbMeleeDpsPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbMeleeDpsPVE.Name = "gbMeleeDpsPVE"; - gbMeleeDpsPVE.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbMeleeDpsPVE.Size = new System.Drawing.Size(548, 111); - gbMeleeDpsPVE.TabIndex = 6; - gbMeleeDpsPVE.TabStop = false; - gbMeleeDpsPVE.Text = "Melee DPS (PVE)"; - // - // cmbViperPVE - // - cmbViperPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbViperPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbViperPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbViperPVE.FormattingEnabled = true; - cmbViperPVE.Location = new System.Drawing.Point(412, 75); - cmbViperPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbViperPVE.Name = "cmbViperPVE"; - cmbViperPVE.Size = new System.Drawing.Size(129, 24); - cmbViperPVE.TabIndex = 55; - cmbViperPVE.SelectedIndexChanged += SettingsChanged; - // - // picViperPVE - // - picViperPVE.Location = new System.Drawing.Point(368, 65); - picViperPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picViperPVE.Name = "picViperPVE"; - picViperPVE.Size = new System.Drawing.Size(37, 37); - picViperPVE.TabIndex = 54; - picViperPVE.TabStop = false; - // - // cmbReaperPVE - // - cmbReaperPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbReaperPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbReaperPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbReaperPVE.FormattingEnabled = true; - cmbReaperPVE.Location = new System.Drawing.Point(231, 75); - cmbReaperPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbReaperPVE.Name = "cmbReaperPVE"; - cmbReaperPVE.Size = new System.Drawing.Size(129, 24); - cmbReaperPVE.TabIndex = 53; - cmbReaperPVE.SelectedIndexChanged += SettingsChanged; - // - // picReaperPVE - // - picReaperPVE.Location = new System.Drawing.Point(187, 65); - picReaperPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picReaperPVE.Name = "picReaperPVE"; - picReaperPVE.Size = new System.Drawing.Size(37, 37); - picReaperPVE.TabIndex = 52; - picReaperPVE.TabStop = false; - // - // cmbSamuraiPVE - // - cmbSamuraiPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbSamuraiPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbSamuraiPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbSamuraiPVE.FormattingEnabled = true; - cmbSamuraiPVE.Location = new System.Drawing.Point(50, 75); - cmbSamuraiPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbSamuraiPVE.Name = "cmbSamuraiPVE"; - cmbSamuraiPVE.Size = new System.Drawing.Size(129, 24); - cmbSamuraiPVE.TabIndex = 10; - cmbSamuraiPVE.TextUpdate += SettingsChanged; - cmbSamuraiPVE.SelectedValueChanged += SettingsChanged; - // - // cmbNinjaPVE - // - cmbNinjaPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbNinjaPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbNinjaPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbNinjaPVE.FormattingEnabled = true; - cmbNinjaPVE.Location = new System.Drawing.Point(412, 31); - cmbNinjaPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbNinjaPVE.Name = "cmbNinjaPVE"; - cmbNinjaPVE.Size = new System.Drawing.Size(129, 24); - cmbNinjaPVE.TabIndex = 9; - cmbNinjaPVE.TextUpdate += SettingsChanged; - cmbNinjaPVE.SelectedValueChanged += SettingsChanged; - // - // picSamuraiPVE - // - picSamuraiPVE.Location = new System.Drawing.Point(6, 65); - picSamuraiPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picSamuraiPVE.Name = "picSamuraiPVE"; - picSamuraiPVE.Size = new System.Drawing.Size(37, 37); - picSamuraiPVE.TabIndex = 51; - picSamuraiPVE.TabStop = false; - // - // picNinjaPVE - // - picNinjaPVE.Location = new System.Drawing.Point(368, 22); - picNinjaPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picNinjaPVE.Name = "picNinjaPVE"; - picNinjaPVE.Size = new System.Drawing.Size(37, 37); - picNinjaPVE.TabIndex = 50; - picNinjaPVE.TabStop = false; - // - // cmbDragoonPVE - // - cmbDragoonPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbDragoonPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbDragoonPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbDragoonPVE.FormattingEnabled = true; - cmbDragoonPVE.Location = new System.Drawing.Point(231, 31); - cmbDragoonPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbDragoonPVE.Name = "cmbDragoonPVE"; - cmbDragoonPVE.Size = new System.Drawing.Size(129, 24); - cmbDragoonPVE.TabIndex = 8; - cmbDragoonPVE.TextUpdate += SettingsChanged; - cmbDragoonPVE.SelectedValueChanged += SettingsChanged; - // - // picDragoonPVE - // - picDragoonPVE.Location = new System.Drawing.Point(187, 22); - picDragoonPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picDragoonPVE.Name = "picDragoonPVE"; - picDragoonPVE.Size = new System.Drawing.Size(37, 37); - picDragoonPVE.TabIndex = 48; - picDragoonPVE.TabStop = false; - // - // cmbMonkPVE - // - cmbMonkPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbMonkPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbMonkPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbMonkPVE.FormattingEnabled = true; - cmbMonkPVE.Location = new System.Drawing.Point(50, 30); - cmbMonkPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbMonkPVE.Name = "cmbMonkPVE"; - cmbMonkPVE.Size = new System.Drawing.Size(129, 24); - cmbMonkPVE.TabIndex = 7; - cmbMonkPVE.TextUpdate += SettingsChanged; - cmbMonkPVE.SelectedValueChanged += SettingsChanged; - // - // picMonkPVE - // - picMonkPVE.Location = new System.Drawing.Point(6, 21); - picMonkPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picMonkPVE.Name = "picMonkPVE"; - picMonkPVE.Size = new System.Drawing.Size(37, 37); - picMonkPVE.TabIndex = 46; - picMonkPVE.TabStop = false; - // - // gbTanksPVE - // - gbTanksPVE.Controls.Add(cmbGunbreakerPVE); - gbTanksPVE.Controls.Add(picGunbreakerPVE); - gbTanksPVE.Controls.Add(cmbDarkKnightPVE); - gbTanksPVE.Controls.Add(picDarkKnightPVE); - gbTanksPVE.Controls.Add(picWarriorPVE); - gbTanksPVE.Controls.Add(cmbWarriorPVE); - gbTanksPVE.Controls.Add(picPaladinPVE); - gbTanksPVE.Controls.Add(cmbPaladinPVE); - gbTanksPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - gbTanksPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - gbTanksPVE.Location = new System.Drawing.Point(7, 7); - gbTanksPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbTanksPVE.Name = "gbTanksPVE"; - gbTanksPVE.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbTanksPVE.Size = new System.Drawing.Size(549, 109); - gbTanksPVE.TabIndex = 2; - gbTanksPVE.TabStop = false; - gbTanksPVE.Text = "Tanks (PVE)"; - // - // cmbGunbreakerPVE - // - cmbGunbreakerPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbGunbreakerPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbGunbreakerPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbGunbreakerPVE.FormattingEnabled = true; - cmbGunbreakerPVE.Location = new System.Drawing.Point(51, 74); - cmbGunbreakerPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbGunbreakerPVE.Name = "cmbGunbreakerPVE"; - cmbGunbreakerPVE.Size = new System.Drawing.Size(129, 24); - cmbGunbreakerPVE.TabIndex = 49; - cmbGunbreakerPVE.SelectedValueChanged += SettingsChanged; - // - // picGunbreakerPVE - // - picGunbreakerPVE.Location = new System.Drawing.Point(7, 64); - picGunbreakerPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picGunbreakerPVE.Name = "picGunbreakerPVE"; - picGunbreakerPVE.Size = new System.Drawing.Size(37, 37); - picGunbreakerPVE.TabIndex = 50; - picGunbreakerPVE.TabStop = false; - // - // cmbDarkKnightPVE - // - cmbDarkKnightPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbDarkKnightPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbDarkKnightPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbDarkKnightPVE.FormattingEnabled = true; - cmbDarkKnightPVE.Location = new System.Drawing.Point(413, 31); - cmbDarkKnightPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbDarkKnightPVE.Name = "cmbDarkKnightPVE"; - cmbDarkKnightPVE.Size = new System.Drawing.Size(129, 24); - cmbDarkKnightPVE.TabIndex = 5; - cmbDarkKnightPVE.TextUpdate += SettingsChanged; - cmbDarkKnightPVE.SelectedValueChanged += SettingsChanged; - // - // picDarkKnightPVE - // - picDarkKnightPVE.Location = new System.Drawing.Point(369, 21); - picDarkKnightPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picDarkKnightPVE.Name = "picDarkKnightPVE"; - picDarkKnightPVE.Size = new System.Drawing.Size(37, 37); - picDarkKnightPVE.TabIndex = 48; - picDarkKnightPVE.TabStop = false; - // - // picWarriorPVE - // - picWarriorPVE.Location = new System.Drawing.Point(188, 21); - picWarriorPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picWarriorPVE.Name = "picWarriorPVE"; - picWarriorPVE.Size = new System.Drawing.Size(37, 37); - picWarriorPVE.TabIndex = 47; - picWarriorPVE.TabStop = false; - // - // cmbWarriorPVE - // - cmbWarriorPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbWarriorPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbWarriorPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbWarriorPVE.FormattingEnabled = true; - cmbWarriorPVE.Location = new System.Drawing.Point(232, 30); - cmbWarriorPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbWarriorPVE.Name = "cmbWarriorPVE"; - cmbWarriorPVE.Size = new System.Drawing.Size(129, 24); - cmbWarriorPVE.TabIndex = 4; - cmbWarriorPVE.TextUpdate += SettingsChanged; - cmbWarriorPVE.SelectedValueChanged += SettingsChanged; - // - // picPaladinPVE - // - picPaladinPVE.Location = new System.Drawing.Point(7, 21); - picPaladinPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picPaladinPVE.Name = "picPaladinPVE"; - picPaladinPVE.Size = new System.Drawing.Size(37, 37); - picPaladinPVE.TabIndex = 45; - picPaladinPVE.TabStop = false; - // - // cmbPaladinPVE - // - cmbPaladinPVE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbPaladinPVE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbPaladinPVE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbPaladinPVE.FormattingEnabled = true; - cmbPaladinPVE.Location = new System.Drawing.Point(51, 30); - cmbPaladinPVE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbPaladinPVE.Name = "cmbPaladinPVE"; - cmbPaladinPVE.Size = new System.Drawing.Size(129, 24); - cmbPaladinPVE.TabIndex = 3; - cmbPaladinPVE.TextUpdate += SettingsChanged; - cmbPaladinPVE.SelectedValueChanged += SettingsChanged; - // - // tpPVP - // - tpPVP.Controls.Add(chkEnableInPvp); - tpPVP.Controls.Add(gbMagicalRangedDpsPVP); - tpPVP.Controls.Add(gbHealersPVP); - tpPVP.Controls.Add(gbPhysicalRangedDpsPVP); - tpPVP.Controls.Add(gbMeleeDpsPVP); - tpPVP.Controls.Add(gbTanksPVP); - tpPVP.Location = new System.Drawing.Point(4, 24); - tpPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - tpPVP.Name = "tpPVP"; - tpPVP.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - tpPVP.Size = new System.Drawing.Size(564, 601); - tpPVP.TabIndex = 1; - tpPVP.Text = "PVP"; - // - // chkEnableInPvp - // - chkEnableInPvp.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); - chkEnableInPvp.Location = new System.Drawing.Point(405, 522); - chkEnableInPvp.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - chkEnableInPvp.Name = "chkEnableInPvp"; - chkEnableInPvp.Size = new System.Drawing.Size(151, 28); - chkEnableInPvp.TabIndex = 43; - chkEnableInPvp.Text = "Enable in PVP Areas"; - chkEnableInPvp.UseVisualStyleBackColor = true; - chkEnableInPvp.CheckedChanged += SettingsChanged; - // - // gbMagicalRangedDpsPVP - // - gbMagicalRangedDpsPVP.Controls.Add(cmbPictomancerPVP); - gbMagicalRangedDpsPVP.Controls.Add(picPictomancerPVP); - gbMagicalRangedDpsPVP.Controls.Add(cmbRedMagePVP); - gbMagicalRangedDpsPVP.Controls.Add(cmbSummonerPVP); - gbMagicalRangedDpsPVP.Controls.Add(cmbArcanistPVP); - gbMagicalRangedDpsPVP.Controls.Add(picRedMagePVP); - gbMagicalRangedDpsPVP.Controls.Add(picSummonerPVP); - gbMagicalRangedDpsPVP.Controls.Add(picArcanistPVP); - gbMagicalRangedDpsPVP.Controls.Add(cmbBlackMagePVP); - gbMagicalRangedDpsPVP.Controls.Add(picBlackMagePVP); - gbMagicalRangedDpsPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - gbMagicalRangedDpsPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - gbMagicalRangedDpsPVP.Location = new System.Drawing.Point(8, 403); - gbMagicalRangedDpsPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbMagicalRangedDpsPVP.Name = "gbMagicalRangedDpsPVP"; - gbMagicalRangedDpsPVP.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbMagicalRangedDpsPVP.Size = new System.Drawing.Size(548, 113); - gbMagicalRangedDpsPVP.TabIndex = 42; - gbMagicalRangedDpsPVP.TabStop = false; - gbMagicalRangedDpsPVP.Text = "Magical Ranged DPS (PVP)"; - // - // cmbPictomancerPVP - // - cmbPictomancerPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbPictomancerPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbPictomancerPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbPictomancerPVP.FormattingEnabled = true; - cmbPictomancerPVP.Location = new System.Drawing.Point(231, 74); - cmbPictomancerPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbPictomancerPVP.Name = "cmbPictomancerPVP"; - cmbPictomancerPVP.Size = new System.Drawing.Size(129, 24); - cmbPictomancerPVP.TabIndex = 59; - cmbPictomancerPVP.SelectedIndexChanged += SettingsChanged; - // - // picPictomancerPVP - // - picPictomancerPVP.Location = new System.Drawing.Point(187, 64); - picPictomancerPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picPictomancerPVP.Name = "picPictomancerPVP"; - picPictomancerPVP.Size = new System.Drawing.Size(37, 37); - picPictomancerPVP.TabIndex = 60; - picPictomancerPVP.TabStop = false; - // - // cmbRedMagePVP - // - cmbRedMagePVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbRedMagePVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbRedMagePVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbRedMagePVP.FormattingEnabled = true; - cmbRedMagePVP.Location = new System.Drawing.Point(50, 74); - cmbRedMagePVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbRedMagePVP.Name = "cmbRedMagePVP"; - cmbRedMagePVP.Size = new System.Drawing.Size(129, 24); - cmbRedMagePVP.TabIndex = 46; - cmbRedMagePVP.TextUpdate += SettingsChanged; - cmbRedMagePVP.SelectedValueChanged += SettingsChanged; - // - // cmbSummonerPVP - // - cmbSummonerPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbSummonerPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbSummonerPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbSummonerPVP.FormattingEnabled = true; - cmbSummonerPVP.Location = new System.Drawing.Point(412, 31); - cmbSummonerPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbSummonerPVP.Name = "cmbSummonerPVP"; - cmbSummonerPVP.Size = new System.Drawing.Size(129, 24); - cmbSummonerPVP.TabIndex = 45; - cmbSummonerPVP.TextUpdate += SettingsChanged; - cmbSummonerPVP.SelectedValueChanged += SettingsChanged; - // - // cmbArcanistPVP - // - cmbArcanistPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbArcanistPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbArcanistPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbArcanistPVP.FormattingEnabled = true; - cmbArcanistPVP.Location = new System.Drawing.Point(231, 30); - cmbArcanistPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbArcanistPVP.Name = "cmbArcanistPVP"; - cmbArcanistPVP.Size = new System.Drawing.Size(129, 24); - cmbArcanistPVP.TabIndex = 44; - cmbArcanistPVP.TextUpdate += SettingsChanged; - cmbArcanistPVP.SelectedValueChanged += SettingsChanged; - // - // picRedMagePVP - // - picRedMagePVP.Location = new System.Drawing.Point(6, 64); - picRedMagePVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picRedMagePVP.Name = "picRedMagePVP"; - picRedMagePVP.Size = new System.Drawing.Size(37, 37); - picRedMagePVP.TabIndex = 58; - picRedMagePVP.TabStop = false; - // - // picSummonerPVP - // - picSummonerPVP.Location = new System.Drawing.Point(368, 21); - picSummonerPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picSummonerPVP.Name = "picSummonerPVP"; - picSummonerPVP.Size = new System.Drawing.Size(37, 37); - picSummonerPVP.TabIndex = 57; - picSummonerPVP.TabStop = false; - // - // picArcanistPVP - // - picArcanistPVP.Location = new System.Drawing.Point(187, 21); - picArcanistPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picArcanistPVP.Name = "picArcanistPVP"; - picArcanistPVP.Size = new System.Drawing.Size(37, 37); - picArcanistPVP.TabIndex = 56; - picArcanistPVP.TabStop = false; - // - // cmbBlackMagePVP - // - cmbBlackMagePVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbBlackMagePVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbBlackMagePVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbBlackMagePVP.FormattingEnabled = true; - cmbBlackMagePVP.Location = new System.Drawing.Point(50, 30); - cmbBlackMagePVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbBlackMagePVP.Name = "cmbBlackMagePVP"; - cmbBlackMagePVP.Size = new System.Drawing.Size(129, 24); - cmbBlackMagePVP.TabIndex = 43; - cmbBlackMagePVP.TextUpdate += SettingsChanged; - cmbBlackMagePVP.SelectedValueChanged += SettingsChanged; - // - // picBlackMagePVP - // - picBlackMagePVP.Location = new System.Drawing.Point(6, 21); - picBlackMagePVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picBlackMagePVP.Name = "picBlackMagePVP"; - picBlackMagePVP.Size = new System.Drawing.Size(37, 37); - picBlackMagePVP.TabIndex = 54; - picBlackMagePVP.TabStop = false; - // - // gbHealersPVP - // - gbHealersPVP.Controls.Add(picSagePVP); - gbHealersPVP.Controls.Add(cmbSagePVP); - gbHealersPVP.Controls.Add(cmbAstrologianPVP); - gbHealersPVP.Controls.Add(picAstrologianPVP); - gbHealersPVP.Controls.Add(cmbScholarPVP); - gbHealersPVP.Controls.Add(picScholarPVP); - gbHealersPVP.Controls.Add(cmbWhiteMagePVP); - gbHealersPVP.Controls.Add(picWhiteMagePVP); - gbHealersPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - gbHealersPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - gbHealersPVP.Location = new System.Drawing.Point(8, 116); - gbHealersPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbHealersPVP.Name = "gbHealersPVP"; - gbHealersPVP.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbHealersPVP.Size = new System.Drawing.Size(548, 109); - gbHealersPVP.TabIndex = 34; - gbHealersPVP.TabStop = false; - gbHealersPVP.Text = "Healers (PVP)"; - // - // picSagePVP - // - picSagePVP.Location = new System.Drawing.Point(6, 61); - picSagePVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picSagePVP.Name = "picSagePVP"; - picSagePVP.Size = new System.Drawing.Size(37, 37); - picSagePVP.TabIndex = 59; - picSagePVP.TabStop = false; - // - // cmbSagePVP - // - cmbSagePVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbSagePVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbSagePVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbSagePVP.FormattingEnabled = true; - cmbSagePVP.Location = new System.Drawing.Point(50, 71); - cmbSagePVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbSagePVP.Name = "cmbSagePVP"; - cmbSagePVP.Size = new System.Drawing.Size(129, 24); - cmbSagePVP.TabIndex = 58; - cmbSagePVP.SelectedIndexChanged += SettingsChanged; - // - // cmbAstrologianPVP - // - cmbAstrologianPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbAstrologianPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbAstrologianPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbAstrologianPVP.FormattingEnabled = true; - cmbAstrologianPVP.Location = new System.Drawing.Point(412, 31); - cmbAstrologianPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbAstrologianPVP.Name = "cmbAstrologianPVP"; - cmbAstrologianPVP.Size = new System.Drawing.Size(129, 24); - cmbAstrologianPVP.TabIndex = 38; - cmbAstrologianPVP.TextUpdate += SettingsChanged; - cmbAstrologianPVP.SelectedValueChanged += SettingsChanged; - // - // picAstrologianPVP - // - picAstrologianPVP.Location = new System.Drawing.Point(368, 21); - picAstrologianPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picAstrologianPVP.Name = "picAstrologianPVP"; - picAstrologianPVP.Size = new System.Drawing.Size(37, 37); - picAstrologianPVP.TabIndex = 57; - picAstrologianPVP.TabStop = false; - // - // cmbScholarPVP - // - cmbScholarPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbScholarPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbScholarPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbScholarPVP.FormattingEnabled = true; - cmbScholarPVP.Location = new System.Drawing.Point(231, 30); - cmbScholarPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbScholarPVP.Name = "cmbScholarPVP"; - cmbScholarPVP.Size = new System.Drawing.Size(129, 24); - cmbScholarPVP.TabIndex = 36; - cmbScholarPVP.TextUpdate += SettingsChanged; - cmbScholarPVP.SelectedValueChanged += SettingsChanged; - // - // picScholarPVP - // - picScholarPVP.Location = new System.Drawing.Point(187, 21); - picScholarPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picScholarPVP.Name = "picScholarPVP"; - picScholarPVP.Size = new System.Drawing.Size(37, 37); - picScholarPVP.TabIndex = 55; - picScholarPVP.TabStop = false; - // - // cmbWhiteMagePVP - // - cmbWhiteMagePVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbWhiteMagePVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbWhiteMagePVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbWhiteMagePVP.FormattingEnabled = true; - cmbWhiteMagePVP.Location = new System.Drawing.Point(49, 30); - cmbWhiteMagePVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbWhiteMagePVP.Name = "cmbWhiteMagePVP"; - cmbWhiteMagePVP.Size = new System.Drawing.Size(129, 24); - cmbWhiteMagePVP.TabIndex = 35; - cmbWhiteMagePVP.TextUpdate += SettingsChanged; - cmbWhiteMagePVP.SelectedValueChanged += SettingsChanged; - // - // picWhiteMagePVP - // - picWhiteMagePVP.Location = new System.Drawing.Point(6, 18); - picWhiteMagePVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picWhiteMagePVP.Name = "picWhiteMagePVP"; - picWhiteMagePVP.Size = new System.Drawing.Size(37, 37); - picWhiteMagePVP.TabIndex = 53; - picWhiteMagePVP.TabStop = false; - // - // gbPhysicalRangedDpsPVP - // - gbPhysicalRangedDpsPVP.Controls.Add(cmbDancerPVP); - gbPhysicalRangedDpsPVP.Controls.Add(picDancerPVP); - gbPhysicalRangedDpsPVP.Controls.Add(cmbMachinistPVP); - gbPhysicalRangedDpsPVP.Controls.Add(picMachinistPVP); - gbPhysicalRangedDpsPVP.Controls.Add(cmbBardPVP); - gbPhysicalRangedDpsPVP.Controls.Add(picBardPVP); - gbPhysicalRangedDpsPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - gbPhysicalRangedDpsPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - gbPhysicalRangedDpsPVP.Location = new System.Drawing.Point(7, 336); - gbPhysicalRangedDpsPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbPhysicalRangedDpsPVP.Name = "gbPhysicalRangedDpsPVP"; - gbPhysicalRangedDpsPVP.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbPhysicalRangedDpsPVP.Size = new System.Drawing.Size(549, 67); - gbPhysicalRangedDpsPVP.TabIndex = 39; - gbPhysicalRangedDpsPVP.TabStop = false; - gbPhysicalRangedDpsPVP.Text = "Physical Ranged DPS (PVP)"; - // - // cmbDancerPVP - // - cmbDancerPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbDancerPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbDancerPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbDancerPVP.FormattingEnabled = true; - cmbDancerPVP.Location = new System.Drawing.Point(413, 30); - cmbDancerPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbDancerPVP.Name = "cmbDancerPVP"; - cmbDancerPVP.Size = new System.Drawing.Size(129, 24); - cmbDancerPVP.TabIndex = 55; - cmbDancerPVP.SelectedValueChanged += SettingsChanged; - // - // picDancerPVP - // - picDancerPVP.Location = new System.Drawing.Point(369, 21); - picDancerPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picDancerPVP.Name = "picDancerPVP"; - picDancerPVP.Size = new System.Drawing.Size(37, 37); - picDancerPVP.TabIndex = 56; - picDancerPVP.TabStop = false; - // - // cmbMachinistPVP - // - cmbMachinistPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbMachinistPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbMachinistPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbMachinistPVP.FormattingEnabled = true; - cmbMachinistPVP.Location = new System.Drawing.Point(232, 30); - cmbMachinistPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbMachinistPVP.Name = "cmbMachinistPVP"; - cmbMachinistPVP.Size = new System.Drawing.Size(129, 24); - cmbMachinistPVP.TabIndex = 41; - cmbMachinistPVP.TextUpdate += SettingsChanged; - cmbMachinistPVP.SelectedValueChanged += SettingsChanged; - // - // picMachinistPVP - // - picMachinistPVP.Location = new System.Drawing.Point(188, 21); - picMachinistPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picMachinistPVP.Name = "picMachinistPVP"; - picMachinistPVP.Size = new System.Drawing.Size(37, 37); - picMachinistPVP.TabIndex = 54; - picMachinistPVP.TabStop = false; - // - // cmbBardPVP - // - cmbBardPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbBardPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbBardPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbBardPVP.FormattingEnabled = true; - cmbBardPVP.Location = new System.Drawing.Point(51, 30); - cmbBardPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbBardPVP.Name = "cmbBardPVP"; - cmbBardPVP.Size = new System.Drawing.Size(129, 24); - cmbBardPVP.TabIndex = 40; - cmbBardPVP.TextUpdate += SettingsChanged; - cmbBardPVP.SelectedValueChanged += SettingsChanged; - // - // picBardPVP - // - picBardPVP.Location = new System.Drawing.Point(7, 21); - picBardPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picBardPVP.Name = "picBardPVP"; - picBardPVP.Size = new System.Drawing.Size(37, 37); - picBardPVP.TabIndex = 52; - picBardPVP.TabStop = false; - // - // gbMeleeDpsPVP - // - gbMeleeDpsPVP.Controls.Add(picViperPVP); - gbMeleeDpsPVP.Controls.Add(cmbViperPVP); - gbMeleeDpsPVP.Controls.Add(picReaperPVP); - gbMeleeDpsPVP.Controls.Add(cmbReaperPVP); - gbMeleeDpsPVP.Controls.Add(cmbSamuraiPVP); - gbMeleeDpsPVP.Controls.Add(cmbNinjaPVP); - gbMeleeDpsPVP.Controls.Add(picSamuraiPVP); - gbMeleeDpsPVP.Controls.Add(picNinjaPVP); - gbMeleeDpsPVP.Controls.Add(cmbDragoonPVP); - gbMeleeDpsPVP.Controls.Add(picDragoonPVP); - gbMeleeDpsPVP.Controls.Add(cmbMonkPVP); - gbMeleeDpsPVP.Controls.Add(picMonkPVP); - gbMeleeDpsPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - gbMeleeDpsPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - gbMeleeDpsPVP.Location = new System.Drawing.Point(8, 224); - gbMeleeDpsPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbMeleeDpsPVP.Name = "gbMeleeDpsPVP"; - gbMeleeDpsPVP.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbMeleeDpsPVP.Size = new System.Drawing.Size(548, 111); - gbMeleeDpsPVP.TabIndex = 29; - gbMeleeDpsPVP.TabStop = false; - gbMeleeDpsPVP.Text = "Melee DPS (PVP)"; - // - // picViperPVP - // - picViperPVP.Location = new System.Drawing.Point(368, 65); - picViperPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picViperPVP.Name = "picViperPVP"; - picViperPVP.Size = new System.Drawing.Size(37, 37); - picViperPVP.TabIndex = 55; - picViperPVP.TabStop = false; - // - // cmbViperPVP - // - cmbViperPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbViperPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbViperPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbViperPVP.FormattingEnabled = true; - cmbViperPVP.Location = new System.Drawing.Point(412, 75); - cmbViperPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbViperPVP.Name = "cmbViperPVP"; - cmbViperPVP.Size = new System.Drawing.Size(129, 24); - cmbViperPVP.TabIndex = 54; - cmbViperPVP.SelectedIndexChanged += SettingsChanged; - // - // picReaperPVP - // - picReaperPVP.Location = new System.Drawing.Point(187, 65); - picReaperPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picReaperPVP.Name = "picReaperPVP"; - picReaperPVP.Size = new System.Drawing.Size(37, 37); - picReaperPVP.TabIndex = 53; - picReaperPVP.TabStop = false; - // - // cmbReaperPVP - // - cmbReaperPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbReaperPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbReaperPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbReaperPVP.FormattingEnabled = true; - cmbReaperPVP.Location = new System.Drawing.Point(231, 75); - cmbReaperPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbReaperPVP.Name = "cmbReaperPVP"; - cmbReaperPVP.Size = new System.Drawing.Size(129, 24); - cmbReaperPVP.TabIndex = 52; - cmbReaperPVP.SelectedIndexChanged += SettingsChanged; - // - // cmbSamuraiPVP - // - cmbSamuraiPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbSamuraiPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbSamuraiPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbSamuraiPVP.FormattingEnabled = true; - cmbSamuraiPVP.Location = new System.Drawing.Point(50, 75); - cmbSamuraiPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbSamuraiPVP.Name = "cmbSamuraiPVP"; - cmbSamuraiPVP.Size = new System.Drawing.Size(129, 24); - cmbSamuraiPVP.TabIndex = 33; - cmbSamuraiPVP.TextUpdate += SettingsChanged; - cmbSamuraiPVP.SelectedValueChanged += SettingsChanged; - // - // cmbNinjaPVP - // - cmbNinjaPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbNinjaPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbNinjaPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbNinjaPVP.FormattingEnabled = true; - cmbNinjaPVP.Location = new System.Drawing.Point(412, 31); - cmbNinjaPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbNinjaPVP.Name = "cmbNinjaPVP"; - cmbNinjaPVP.Size = new System.Drawing.Size(129, 24); - cmbNinjaPVP.TabIndex = 32; - cmbNinjaPVP.TextUpdate += SettingsChanged; - cmbNinjaPVP.SelectedValueChanged += SettingsChanged; - // - // picSamuraiPVP - // - picSamuraiPVP.Location = new System.Drawing.Point(6, 65); - picSamuraiPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picSamuraiPVP.Name = "picSamuraiPVP"; - picSamuraiPVP.Size = new System.Drawing.Size(37, 37); - picSamuraiPVP.TabIndex = 51; - picSamuraiPVP.TabStop = false; - // - // picNinjaPVP - // - picNinjaPVP.Location = new System.Drawing.Point(368, 22); - picNinjaPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picNinjaPVP.Name = "picNinjaPVP"; - picNinjaPVP.Size = new System.Drawing.Size(37, 37); - picNinjaPVP.TabIndex = 50; - picNinjaPVP.TabStop = false; - // - // cmbDragoonPVP - // - cmbDragoonPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbDragoonPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbDragoonPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbDragoonPVP.FormattingEnabled = true; - cmbDragoonPVP.Location = new System.Drawing.Point(231, 31); - cmbDragoonPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbDragoonPVP.Name = "cmbDragoonPVP"; - cmbDragoonPVP.Size = new System.Drawing.Size(129, 24); - cmbDragoonPVP.TabIndex = 31; - cmbDragoonPVP.TextUpdate += SettingsChanged; - cmbDragoonPVP.SelectedValueChanged += SettingsChanged; - // - // picDragoonPVP - // - picDragoonPVP.Location = new System.Drawing.Point(187, 22); - picDragoonPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picDragoonPVP.Name = "picDragoonPVP"; - picDragoonPVP.Size = new System.Drawing.Size(37, 37); - picDragoonPVP.TabIndex = 48; - picDragoonPVP.TabStop = false; - // - // cmbMonkPVP - // - cmbMonkPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbMonkPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbMonkPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbMonkPVP.FormattingEnabled = true; - cmbMonkPVP.Location = new System.Drawing.Point(50, 30); - cmbMonkPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbMonkPVP.Name = "cmbMonkPVP"; - cmbMonkPVP.Size = new System.Drawing.Size(129, 24); - cmbMonkPVP.TabIndex = 30; - cmbMonkPVP.TextUpdate += SettingsChanged; - cmbMonkPVP.SelectedValueChanged += SettingsChanged; - // - // picMonkPVP - // - picMonkPVP.Location = new System.Drawing.Point(6, 21); - picMonkPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picMonkPVP.Name = "picMonkPVP"; - picMonkPVP.Size = new System.Drawing.Size(37, 37); - picMonkPVP.TabIndex = 46; - picMonkPVP.TabStop = false; - // - // gbTanksPVP - // - gbTanksPVP.Controls.Add(cmbGunbreakerPVP); - gbTanksPVP.Controls.Add(picGunbreakerPVP); - gbTanksPVP.Controls.Add(cmbDarkKnightPVP); - gbTanksPVP.Controls.Add(picDarkKnightPVP); - gbTanksPVP.Controls.Add(picWarriorPVP); - gbTanksPVP.Controls.Add(cmbWarriorPVP); - gbTanksPVP.Controls.Add(picPaladinPVP); - gbTanksPVP.Controls.Add(cmbPaladinPVP); - gbTanksPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - gbTanksPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - gbTanksPVP.Location = new System.Drawing.Point(7, 7); - gbTanksPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbTanksPVP.Name = "gbTanksPVP"; - gbTanksPVP.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - gbTanksPVP.Size = new System.Drawing.Size(549, 109); - gbTanksPVP.TabIndex = 25; - gbTanksPVP.TabStop = false; - gbTanksPVP.Text = "Tanks (PVP)"; - // - // cmbGunbreakerPVP - // - cmbGunbreakerPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbGunbreakerPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbGunbreakerPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbGunbreakerPVP.FormattingEnabled = true; - cmbGunbreakerPVP.Location = new System.Drawing.Point(51, 74); - cmbGunbreakerPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbGunbreakerPVP.Name = "cmbGunbreakerPVP"; - cmbGunbreakerPVP.Size = new System.Drawing.Size(129, 24); - cmbGunbreakerPVP.TabIndex = 49; - cmbGunbreakerPVP.SelectedValueChanged += SettingsChanged; - // - // picGunbreakerPVP - // - picGunbreakerPVP.Location = new System.Drawing.Point(7, 64); - picGunbreakerPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picGunbreakerPVP.Name = "picGunbreakerPVP"; - picGunbreakerPVP.Size = new System.Drawing.Size(37, 37); - picGunbreakerPVP.TabIndex = 50; - picGunbreakerPVP.TabStop = false; - // - // cmbDarkKnightPVP - // - cmbDarkKnightPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbDarkKnightPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbDarkKnightPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbDarkKnightPVP.FormattingEnabled = true; - cmbDarkKnightPVP.Location = new System.Drawing.Point(413, 31); - cmbDarkKnightPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbDarkKnightPVP.Name = "cmbDarkKnightPVP"; - cmbDarkKnightPVP.Size = new System.Drawing.Size(129, 24); - cmbDarkKnightPVP.TabIndex = 28; - cmbDarkKnightPVP.TextUpdate += SettingsChanged; - cmbDarkKnightPVP.SelectedValueChanged += SettingsChanged; - // - // picDarkKnightPVP - // - picDarkKnightPVP.Location = new System.Drawing.Point(369, 21); - picDarkKnightPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picDarkKnightPVP.Name = "picDarkKnightPVP"; - picDarkKnightPVP.Size = new System.Drawing.Size(37, 37); - picDarkKnightPVP.TabIndex = 48; - picDarkKnightPVP.TabStop = false; - // - // picWarriorPVP - // - picWarriorPVP.Location = new System.Drawing.Point(188, 21); - picWarriorPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picWarriorPVP.Name = "picWarriorPVP"; - picWarriorPVP.Size = new System.Drawing.Size(37, 37); - picWarriorPVP.TabIndex = 47; - picWarriorPVP.TabStop = false; - // - // cmbWarriorPVP - // - cmbWarriorPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbWarriorPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbWarriorPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbWarriorPVP.FormattingEnabled = true; - cmbWarriorPVP.Location = new System.Drawing.Point(232, 30); - cmbWarriorPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbWarriorPVP.Name = "cmbWarriorPVP"; - cmbWarriorPVP.Size = new System.Drawing.Size(129, 24); - cmbWarriorPVP.TabIndex = 27; - cmbWarriorPVP.TextUpdate += SettingsChanged; - cmbWarriorPVP.SelectedValueChanged += SettingsChanged; - // - // picPaladinPVP - // - picPaladinPVP.Location = new System.Drawing.Point(7, 21); - picPaladinPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - picPaladinPVP.Name = "picPaladinPVP"; - picPaladinPVP.Size = new System.Drawing.Size(37, 37); - picPaladinPVP.TabIndex = 45; - picPaladinPVP.TabStop = false; - // - // cmbPaladinPVP - // - cmbPaladinPVP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - cmbPaladinPVP.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - cmbPaladinPVP.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); - cmbPaladinPVP.FormattingEnabled = true; - cmbPaladinPVP.Location = new System.Drawing.Point(51, 30); - cmbPaladinPVP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - cmbPaladinPVP.Name = "cmbPaladinPVP"; - cmbPaladinPVP.Size = new System.Drawing.Size(129, 24); - cmbPaladinPVP.TabIndex = 26; - cmbPaladinPVP.TextUpdate += SettingsChanged; - cmbPaladinPVP.SelectedValueChanged += SettingsChanged; - // - // SettingsWindow - // - AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); - AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - ClientSize = new System.Drawing.Size(602, 657); - Controls.Add(tcCategories); - FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; - Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - Name = "SettingsWindow"; - Text = "SeleCR Settings"; - Load += SettingsWindow_Load; - tcCategories.ResumeLayout(false); - tpPVE.ResumeLayout(false); - gbLimitedPVE.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)picBlueMagePVE).EndInit(); - gbOthersPVE.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)picMinerPVE).EndInit(); - gbMagicalRangedDpsPVE.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)picPictomancerPVE).EndInit(); - ((System.ComponentModel.ISupportInitialize)picRedMagePVE).EndInit(); - ((System.ComponentModel.ISupportInitialize)picSummonerPVE).EndInit(); - ((System.ComponentModel.ISupportInitialize)picArcanistPVE).EndInit(); - ((System.ComponentModel.ISupportInitialize)picBlackMagePVE).EndInit(); - gbHealersPVE.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)picSagePVE).EndInit(); - ((System.ComponentModel.ISupportInitialize)picAstrologianPVE).EndInit(); - ((System.ComponentModel.ISupportInitialize)picScholarPVE).EndInit(); - ((System.ComponentModel.ISupportInitialize)picWhiteMagePVE).EndInit(); - gbPhysicalRangedDpsPVE.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)picDancerPVE).EndInit(); - ((System.ComponentModel.ISupportInitialize)picMachinistPVE).EndInit(); - ((System.ComponentModel.ISupportInitialize)picBardPVE).EndInit(); - gbMeleeDpsPVE.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)picViperPVE).EndInit(); - ((System.ComponentModel.ISupportInitialize)picReaperPVE).EndInit(); - ((System.ComponentModel.ISupportInitialize)picSamuraiPVE).EndInit(); - ((System.ComponentModel.ISupportInitialize)picNinjaPVE).EndInit(); - ((System.ComponentModel.ISupportInitialize)picDragoonPVE).EndInit(); - ((System.ComponentModel.ISupportInitialize)picMonkPVE).EndInit(); - gbTanksPVE.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)picGunbreakerPVE).EndInit(); - ((System.ComponentModel.ISupportInitialize)picDarkKnightPVE).EndInit(); - ((System.ComponentModel.ISupportInitialize)picWarriorPVE).EndInit(); - ((System.ComponentModel.ISupportInitialize)picPaladinPVE).EndInit(); - tpPVP.ResumeLayout(false); - gbMagicalRangedDpsPVP.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)picPictomancerPVP).EndInit(); - ((System.ComponentModel.ISupportInitialize)picRedMagePVP).EndInit(); - ((System.ComponentModel.ISupportInitialize)picSummonerPVP).EndInit(); - ((System.ComponentModel.ISupportInitialize)picArcanistPVP).EndInit(); - ((System.ComponentModel.ISupportInitialize)picBlackMagePVP).EndInit(); - gbHealersPVP.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)picSagePVP).EndInit(); - ((System.ComponentModel.ISupportInitialize)picAstrologianPVP).EndInit(); - ((System.ComponentModel.ISupportInitialize)picScholarPVP).EndInit(); - ((System.ComponentModel.ISupportInitialize)picWhiteMagePVP).EndInit(); - gbPhysicalRangedDpsPVP.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)picDancerPVP).EndInit(); - ((System.ComponentModel.ISupportInitialize)picMachinistPVP).EndInit(); - ((System.ComponentModel.ISupportInitialize)picBardPVP).EndInit(); - gbMeleeDpsPVP.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)picViperPVP).EndInit(); - ((System.ComponentModel.ISupportInitialize)picReaperPVP).EndInit(); - ((System.ComponentModel.ISupportInitialize)picSamuraiPVP).EndInit(); - ((System.ComponentModel.ISupportInitialize)picNinjaPVP).EndInit(); - ((System.ComponentModel.ISupportInitialize)picDragoonPVP).EndInit(); - ((System.ComponentModel.ISupportInitialize)picMonkPVP).EndInit(); - gbTanksPVP.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)picGunbreakerPVP).EndInit(); - ((System.ComponentModel.ISupportInitialize)picDarkKnightPVP).EndInit(); - ((System.ComponentModel.ISupportInitialize)picWarriorPVP).EndInit(); - ((System.ComponentModel.ISupportInitialize)picPaladinPVP).EndInit(); - ResumeLayout(false); - } - - private System.Windows.Forms.PictureBox picReaperPVE; - - private System.Windows.Forms.PictureBox picSagePVE; - - private System.Windows.Forms.PictureBox picReaperPVP; - - private System.Windows.Forms.ComboBox cmbSagePVP; - private System.Windows.Forms.PictureBox picSagePVP; - private System.Windows.Forms.ComboBox cmbReaperPVP; - - private System.Windows.Forms.ComboBox cmbReaperPVE; - - private System.Windows.Forms.ComboBox cmbSagePVE; - - private System.Windows.Forms.PictureBox picViperPVE; - - #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; - private System.Windows.Forms.CheckBox chkEnableInPVE; - private System.Windows.Forms.ComboBox cmbViperPVE; - private System.Windows.Forms.ComboBox cmbPictomancerPVE; - private System.Windows.Forms.PictureBox picPictomancerPVE; - private System.Windows.Forms.ComboBox cmbPictomancerPVP; - private System.Windows.Forms.PictureBox picPictomancerPVP; - private System.Windows.Forms.PictureBox picViperPVP; - private System.Windows.Forms.ComboBox cmbViperPVP; - } -} \ No newline at end of file diff --git a/Plugins/SeleCR/SettingsWindow.cs b/Plugins/SeleCR/SettingsWindow.cs index 2751eef..ca444f6 100644 --- a/Plugins/SeleCR/SettingsWindow.cs +++ b/Plugins/SeleCR/SettingsWindow.cs @@ -1,377 +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"); - picReaperPVE.ImageLocation = GetImageLocation("Reaper.png"); - picReaperPVP.ImageLocation = GetImageLocation("Reaper.png"); - picSagePVE.ImageLocation = GetImageLocation("Sage.png"); - picSagePVP.ImageLocation = GetImageLocation("Sage.png"); - picViperPVE.ImageLocation = GetImageLocation("Viper.png"); - picViperPVP.ImageLocation = GetImageLocation("Viper.png"); - picPictomancerPVE.ImageLocation = GetImageLocation("Pictomancer.png"); - picPictomancerPVP.ImageLocation = GetImageLocation("Pictomancer.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); - cmbSagePVE.Items.AddRange(routines); - cmbSagePVP.Items.AddRange(routines); - cmbReaperPVE.Items.AddRange(routines); - cmbReaperPVP.Items.AddRange(routines); - cmbViperPVE.Items.AddRange(routines); - cmbViperPVP.Items.AddRange(routines); - cmbPictomancerPVE.Items.AddRange(routines); - cmbPictomancerPVP.Items.AddRange(routines); - - - #if !RB_DT - picViperPVE.Visible = false; - picViperPVP.Visible = false; - picPictomancerPVE.Visible = false; - picPictomancerPVP.Visible = false; - - - cmbViperPVE.Visible = false; - cmbViperPVP.Visible = false; - cmbPictomancerPVE.Visible = false; - cmbPictomancerPVP.Visible = false; - #endif - } + private static Window _instance; - private string GetImageLocation(string fileName) + public static void Show() { - return Path.Combine(Environment.CurrentDirectory, $@"Plugins\CarbuncleTech\Data\Images\{fileName}"); - } - - private string[] PopulateRoutines() - { - 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; - cmbSagePVE.Text = Settings.Instance.Pve.SageRoutine; - cmbReaperPVE.Text = Settings.Instance.Pve.ReaperRoutine; - cmbViperPVE.Text = Settings.Instance.Pve.ViperRoutine; - cmbPictomancerPVE.Text = Settings.Instance.Pve.PictomancerRoutine; - - 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; - cmbReaperPVP.Text = Settings.Instance.Pvp.ReaperRoutine; - cmbSagePVP.Text = Settings.Instance.Pvp.SageRoutine; - cmbViperPVP.Text = Settings.Instance.Pvp.ViperRoutine; - cmbPictomancerPVP.Text = Settings.Instance.Pvp.PictomancerRoutine; - - 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; - - // Sage - if(sender == cmbSagePVE) - Settings.Instance.Pve.SageRoutine = cmbSagePVE.Text; - - if(sender == cmbSagePVP) - Settings.Instance.Pvp.SageRoutine = cmbSagePVP.Text; - - // Reaper - if(sender == cmbReaperPVE) - Settings.Instance.Pve.ReaperRoutine = cmbReaperPVE.Text; - - if(sender == cmbReaperPVP) - Settings.Instance.Pvp.ReaperRoutine = cmbReaperPVP.Text; - - // Viper - if (sender == cmbViperPVE) - Settings.Instance.Pve.ViperRoutine = cmbViperPVE.Text; - - if (sender == cmbViperPVP) - Settings.Instance.Pvp.ViperRoutine = cmbViperPVP.Text; - - // Pictomancer - if (sender == cmbPictomancerPVE) - Settings.Instance.Pve.PictomancerRoutine = cmbPictomancerPVE.Text; - - if (sender == cmbPictomancerPVP) - Settings.Instance.Pvp.PictomancerRoutine = cmbPictomancerPVP.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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +