/// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.TextBox = new System.Windows.Forms.TextBox();
     this.CoreControl.SuspendLayout();
     this.SuspendLayout();
     //
     // CoreControl
     //
     this.CoreControl.Controls.Add(this.TextBox);
     this.CoreControl.Size = DPIScalingHelper.GetScaledSize(300, 29);
     //
     // TextBox
     //
     this.TextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this, "Text", true));
     this.TextBox.Location = DPIScalingHelper.GetScaledPoint(0, 1);
     this.TextBox.Name     = "TextBox";
     this.TextBox.Size     = DPIScalingHelper.GetScaledSize(300, 23);
     this.TextBox.TabIndex = 2;
     //
     // VTextBox
     //
     this.AutoScaleDimensions = DPIScalingHelper.AutoSizeDimensions;
     this.Name = "VTextBox";
     this.Size = DPIScalingHelper.GetScaledSize(300, 24);
     this.CoreControl.ResumeLayout(false);
     this.CoreControl.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.AddNewSoulButton = new DPIButton();
     this.SoulComboBox     = new System.Windows.Forms.ComboBox();
     this.BindingSource    = new VBindingSource();
     ((ISupportInitialize)this.BindingSource).BeginInit();
     this.SuspendLayout();
     //
     // BindingSource
     //
     this.BindingSource.DataSource = typeof(VSoul);
     //
     // AddNewSoulButton
     //
     this.AddNewSoulButton.Click   += AddNewSoulButton_Click;
     this.AddNewSoulButton.Location = DPIScalingHelper.GetScaledPoint(375, 20);
     this.AddNewSoulButton.Name     = "AddNewSoulButton";
     this.AddNewSoulButton.Size     = DPIScalingHelper.GetScaledSize(25, 25);
     this.AddNewSoulButton.Text     = "+";
     //
     // SoulComboBox
     //
     this.SoulComboBox.Location              = DPIScalingHelper.GetScaledPoint(15, 20);
     this.SoulComboBox.Size                  = DPIScalingHelper.GetScaledSize(350, 25);
     this.SoulComboBox.DataSource            = SoulList;
     this.SoulComboBox.SelectedValueChanged += SoulChanged;
     //
     // SoulControl
     //
     this.Controls.Add(this.SoulComboBox);
     this.Controls.Add(this.AddNewSoulButton);
     this.Name = "SoulForm";
     this.Size = DPIScalingHelper.GetScaledSize(410, 55);
     ((ISupportInitialize)this.BindingSource).EndInit();
 }
示例#3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components                   = new System.ComponentModel.Container();
     this.CostCaption             = new VLabel();
     this.CostLabel               = new VLabel();
     this.CurrentLevelCaption     = new VLabel();
     this.CurrentLevelIncrementor = new VIncrementor();
     this.gemBindingSource        = new VBindingSource();
     ((System.ComponentModel.ISupportInitialize)(this.gemBindingSource)).BeginInit();
     //
     // CostCaption
     //
     this.CostCaption.Location  = DPIScalingHelper.GetScaledPoint(5, 50);
     this.CostCaption.Name      = "CostCaption";
     this.CostCaption.Size      = DPIScalingHelper.GetScaledSize(110, 23);
     this.CostCaption.TabIndex  = 6;
     this.CostCaption.Text      = "Next Lvl Cost:";
     this.CostCaption.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // CostLabel
     //
     this.CostLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.gemBindingSource, "NextLevelCost"));
     this.CostLabel.Location  = DPIScalingHelper.GetScaledPoint(116, 50);
     this.CostLabel.Name      = "CostLabel";
     this.CostLabel.Size      = DPIScalingHelper.GetScaledSize(40, 23);
     this.CostLabel.TabIndex  = 6;
     this.CostLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // CurrentLevelCaption
     //
     this.CurrentLevelCaption.Location  = DPIScalingHelper.GetScaledPoint(1, 17);
     this.CurrentLevelCaption.Name      = "CurrentLevelCaption";
     this.CurrentLevelCaption.Size      = DPIScalingHelper.GetScaledSize(70, 23);
     this.CurrentLevelCaption.TabIndex  = 3;
     this.CurrentLevelCaption.Text      = "Current:";
     this.CurrentLevelCaption.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // this.CurrentLevelIncrementor
     //
     this.CurrentLevelIncrementor.Location = DPIScalingHelper.GetScaledPoint(27, 20);
     this.CurrentLevelIncrementor.DataBindings.Add("Value", gemBindingSource, "CurrentLevel");
     this.CurrentLevelIncrementor.DataBindings.Add("MaxValue", gemBindingSource, "MaxValue");
     this.CurrentLevelIncrementor.MinValue      = 0;
     this.CurrentLevelIncrementor.IncrementHint = (x) => { return(Gem.GetIncrementHint(x)); };
     this.CurrentLevelIncrementor.DecrementHint = (x) => { return(Gem.GetDecrementHint(x)); };
     //
     // perkBindingSource
     //
     this.gemBindingSource.DataSource = typeof(VGem);
     //
     // VPerkControl
     //
     this.Controls.Add(this.CostLabel);
     this.Controls.Add(this.CostCaption);
     this.Controls.Add(this.CurrentLevelIncrementor);
     this.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.gemBindingSource, "Name"));
     this.Size = DPIScalingHelper.GetScaledSize(160, 75);
     ((System.ComponentModel.ISupportInitialize)(this.gemBindingSource)).EndInit();
 }
示例#4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components     = new System.ComponentModel.Container();
     this.CostLabel = new VLabel();
     this.CurrentLevelIncrementor = new VIncrementor();
     this.CostCaption             = new VLabel();
     this.perkBindingSource       = new VBindingSource();
     this.perkInfo = new ToolTip();
     ((System.ComponentModel.ISupportInitialize)(this.perkBindingSource)).BeginInit();
     //
     // CostCaption
     //
     this.CostCaption.Location  = DPIScalingHelper.GetScaledPoint(10, 69);
     this.CostCaption.Name      = "CostCaption";
     this.CostCaption.Size      = DPIScalingHelper.GetScaledSize(50, 23);
     this.CostCaption.TabIndex  = 6;
     this.CostCaption.Text      = "Cost";
     this.CostCaption.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // CostLabel
     //
     this.CostLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.perkBindingSource, "RemainingCost"));
     this.CostLabel.Location  = DPIScalingHelper.GetScaledPoint(70, 69);
     this.CostLabel.Name      = "CostLabel";
     this.CostLabel.Size      = DPIScalingHelper.GetScaledSize(70, 23);
     this.CostLabel.TabIndex  = 6;
     this.CostLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // CurrentLevelIncrementor
     //
     this.CurrentLevelIncrementor.Location = DPIScalingHelper.GetScaledPoint(27, 30);
     this.CurrentLevelIncrementor.DataBindings.Add("Value", perkBindingSource, "DesiredLevel");
     this.CurrentLevelIncrementor.DataBindings.Add("MaxValue", perkBindingSource, "MaxLevel");
     this.CurrentLevelIncrementor.IncrementHint = (x) => Perk.GetIncrementHint(x);
     this.CurrentLevelIncrementor.DecrementHint = (x) => Perk.GetDecrementHint(x);
     //
     // perkInfo
     //
     this.perkInfo.SetToolTip(this, "Perk Info");
     this.perkInfo.Popup += PerkInfo_Popup;
     //
     // perkBindingSource
     //
     this.perkBindingSource.DataSource = typeof(VPerk);
     //
     // VPerkControl
     //
     this.Controls.Add(this.CostLabel);
     this.Controls.Add(this.CurrentLevelIncrementor);
     this.Controls.Add(this.CostCaption);
     this.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.perkBindingSource, "Name"));
     this.Size = DPIScalingHelper.GetScaledSize(160, 100);
     ((System.ComponentModel.ISupportInitialize)(this.perkBindingSource)).EndInit();
 }
示例#5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(VForm));
     this.BindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.SaveButton    = new VUserInterface.CommonControls.VButton();
     this.CancelButton  = new VUserInterface.CommonControls.VButton();
     ((System.ComponentModel.ISupportInitialize)(this.BindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // BindingSource
     //
     this.BindingSource.DataSource = typeof(VEntityFramework.Data.BusinessObject);
     //
     // SaveButton
     //
     this.SaveButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.SaveButton.Click += SaveButton_Click;
     this.SaveButton.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", this.BindingSource, "HasChanges", true));
     this.SaveButton.Location = DPIScalingHelper.GetScaledPoint(0, 0);
     this.SaveButton.Name     = "SaveButton";
     this.SaveButton.Size     = DPIScalingHelper.GetScaledSize(80, 25);
     this.SaveButton.TabIndex = 0;
     this.SaveButton.Text     = "Save";
     //
     // CancelButton
     //
     this.CancelButton.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.CancelButton.Click       += CancelButton_Click;
     this.CancelButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.CancelButton.Location     = new System.Drawing.Point(0, 0);
     this.CancelButton.Name         = "CancelButton";
     this.CancelButton.Size         = DPIScalingHelper.GetScaledSize(80, 25);
     this.CancelButton.TabIndex     = 1;
     this.CancelButton.Text         = "Close";
     //
     // VForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = DPIScalingHelper.GetScaledSize(331, 301);
     this.Controls.Add(this.SaveButton);
     this.Controls.Add(this.CancelButton);
     this.DataBindings.Add("BizoHasChanges", BindingSource, "HasChanges");
     this.Icon   = Properties.Resources.asflogo;
     this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
     this.Name   = "VForm";
     this.Text   = "Annihilation Special Forces Companion App";
     ((System.ComponentModel.ISupportInitialize)(this.BindingSource)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components     = new System.ComponentModel.Container();
     this.CostLabel = new VLabel();
     this.CurrentLevelIncrementor = new VIncrementor();
     this.bindingSource           = new VBindingSource();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit();
     //
     // CostLabel
     //
     this.CostLabel.AutoSize = true;
     this.CostLabel.Caption  = "Next Level Cost";
     this.CostLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "NextLevelCost"));
     this.CostLabel.Location  = DPIScalingHelper.GetScaledPoint(140, 29);
     this.CostLabel.Name      = "CostLabel";
     this.CostLabel.TabIndex  = 6;
     this.CostLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // CurrentLevelIncrementor
     //
     this.CurrentLevelIncrementor.Location = DPIScalingHelper.GetScaledPoint(48, 1);
     this.CurrentLevelIncrementor.DataBindings.Add("Value", bindingSource, "CurrentLevel");
     this.CurrentLevelIncrementor.DataBindings.Add("MaxValue", bindingSource, "MaxValue");
     this.CurrentLevelIncrementor.DataBindings.Add("MinValue", bindingSource, "MinValue");
     this.CurrentLevelIncrementor.DisableShiftClick = true;
     this.CurrentLevelIncrementor.IncrementorStyle  = IncrementorStyle.Compact;
     this.CurrentLevelIncrementor.MinValue          = 0;
     this.CurrentLevelIncrementor.IncrementHint     = (x) => ChallengePoint.GetIncrementHint(x);
     this.CurrentLevelIncrementor.DecrementHint     = (x) => ChallengePoint.GetDecrementHint(x);
     //
     // ChallengePointBindingSource
     //
     this.bindingSource.DataSource = typeof(ChallengePoint);
     //
     // VChallengePointControl
     //
     this.Controls.Add(this.CostLabel);
     this.Controls.Add(this.CurrentLevelIncrementor);
     this.Size = DPIScalingHelper.GetScaledSize(160, 50);
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).EndInit();
 }
示例#7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components              = new System.ComponentModel.Container();
     this.bindingSource      = new VBindingSource();
     this.UnitsLoadList      = new UnitSelectList();
     this.CurrentUnitControl = new UnitControl();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit();
     //
     // bindingSource
     //
     this.bindingSource.DataSource = typeof(Loadout);
     //
     // UnitsLoadList
     //
     this.UnitsLoadList.DataBindings.Add("List", bindingSource, "Units", true, DataSourceUpdateMode.OnPropertyChanged);
     this.UnitsLoadList.DataBindings.Add("Loadout", bindingSource, ".", true, DataSourceUpdateMode.OnPropertyChanged);
     this.UnitsLoadList.DataBindings.Add("CurrentUnit", bindingSource, "CurrentUnit", true, DataSourceUpdateMode.OnPropertyChanged);
     this.UnitsLoadList.Location = DPIScalingHelper.GetScaledPoint(20, 30);
     this.UnitsLoadList.Name     = "UnitsLoadList";
     this.UnitsLoadList.Size     = DPIScalingHelper.GetScaledSize(330, 160);
     this.UnitsLoadList.TabIndex = 0;
     this.UnitsLoadList.Text     = "Units";
     //
     // CurrentUnitControl
     //
     this.CurrentUnitControl.DataBindings.Add("Unit", bindingSource, "CurrentUnit");
     this.CurrentUnitControl.Name     = "CurrentUserControl";
     this.CurrentUnitControl.Location = DPIScalingHelper.GetScaledPoint(330, 30);
     //
     // VSoulCollectionControl
     //
     this.Controls.Add(UnitsLoadList);
     this.Controls.Add(CurrentUnitControl);
     this.Size = DPIScalingHelper.GetScaledSize(589, 272);
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).EndInit();
 }
示例#8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components                = new System.ComponentModel.Container();
     this.DamageLabel          = new VLabel();
     this.ToughnessLabel       = new VLabel();
     this.RecoveryLabel        = new VLabel();
     this.AttackLabel          = new VLabel();
     this.AttackSpeedLabel     = new VLabel();
     this.CriticalDamageLabel  = new VLabel();
     this.CriticalChanceLabel  = new VLabel();
     this.HealthLabel          = new VLabel();
     this.HealthArmorLabel     = new VLabel();
     this.ShieldsLabel         = new VLabel();
     this.ShieldsArmorLabel    = new VLabel();
     this.DamageReductionLabel = new VLabel();
     this.DamageIncreaseLabel  = new VLabel();
     this.AccelLabel           = new VLabel();
     this.statsBindingSource   = new VBindingSource();
     this.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.statsBindingSource)).BeginInit();
     //
     // statsBindingSource
     //
     this.statsBindingSource.DataSource = typeof(Stats);
     //
     // DamageLabel
     //
     this.DamageLabel.Caption = "Damage Score:";
     this.DamageLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.statsBindingSource, "Damage"));
     this.DamageLabel.Location          = DPIScalingHelper.GetScaledPoint(120, 20);
     this.DamageLabel.Name              = "DamageLabel";
     this.DamageLabel.Size              = DPIScalingHelper.GetScaledSize(62, 21);
     this.DamageLabel.TextAlign         = System.Drawing.ContentAlignment.MiddleLeft;
     this.DamageLabel.UseNumberSuffixes = true;
     //
     // ToughnessLabel
     //
     this.ToughnessLabel.Caption = "Toughness Score:";
     this.ToughnessLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.statsBindingSource, "Toughness"));
     this.ToughnessLabel.Location          = DPIScalingHelper.GetScaledPoint(120, 40);
     this.ToughnessLabel.Name              = "ToughnessLabel";
     this.ToughnessLabel.Size              = DPIScalingHelper.GetScaledSize(62, 21);
     this.ToughnessLabel.TextAlign         = System.Drawing.ContentAlignment.MiddleLeft;
     this.ToughnessLabel.UseNumberSuffixes = true;
     //
     // RecoveryLabel
     //
     this.RecoveryLabel.Caption = "Recovery:";
     this.RecoveryLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.statsBindingSource, "Recovery"));
     this.RecoveryLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 60);
     this.RecoveryLabel.Name      = "RecoveryLabel";
     this.RecoveryLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.RecoveryLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // DamageIncreaseLabel
     //
     this.DamageIncreaseLabel.Caption = "Dmg Increase:";
     this.DamageIncreaseLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.statsBindingSource, "DamageIncreaseForBinding"));
     this.DamageIncreaseLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 260);
     this.DamageIncreaseLabel.Name      = "DamageIncreaseLabel";
     this.DamageIncreaseLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.DamageIncreaseLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // AttackLabel
     //
     this.AttackLabel.Caption = "Attack";
     this.AttackLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.statsBindingSource, "AttackForBinding"));
     this.AttackLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 80);
     this.AttackLabel.Name      = "AttackLabel";
     this.AttackLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.AttackLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // AttackSpeedLabel
     //
     this.AttackSpeedLabel.Caption = "Attack Speed:";
     this.AttackSpeedLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.statsBindingSource, "AttackSpeedForBinding"));
     this.AttackSpeedLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 100);
     this.AttackSpeedLabel.Name      = "AttackSpeedLabel";
     this.AttackSpeedLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.AttackSpeedLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // CriticalChanceLabel
     //
     this.CriticalChanceLabel.Caption = "Crit Chance:";
     this.CriticalChanceLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.statsBindingSource, "CriticalChanceForBinding"));
     this.CriticalChanceLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 120);
     this.CriticalChanceLabel.Name      = "CriticalChanceLabel";
     this.CriticalChanceLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.CriticalChanceLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // CriticalDamageLabel
     //
     this.CriticalDamageLabel.Caption = "Crit Damage:";
     this.CriticalDamageLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.statsBindingSource, "CriticalDamageForBinding"));
     this.CriticalDamageLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 140);
     this.CriticalDamageLabel.Name      = "CriticalDamageLabel";
     this.CriticalDamageLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.CriticalDamageLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // HealthLabel
     //
     this.HealthLabel.Caption = "Health:";
     this.HealthLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.statsBindingSource, "HealthForBinding"));
     this.HealthLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 160);
     this.HealthLabel.Name      = "HealthLabel";
     this.HealthLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.HealthLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // HealthArmorLabel
     //
     this.HealthArmorLabel.Caption = "Health Armor:";
     this.HealthArmorLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.statsBindingSource, "HealthArmorForBinding"));
     this.HealthArmorLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 180);
     this.HealthArmorLabel.Name      = "HealthArmorLabel";
     this.HealthArmorLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.HealthArmorLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ShieldsLabel
     //
     this.ShieldsLabel.Caption = "Shields:";
     this.ShieldsLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.statsBindingSource, "ShieldsForBinding"));
     this.ShieldsLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 200);
     this.ShieldsLabel.Name      = "ShieldsLabel";
     this.ShieldsLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.ShieldsLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ShieldsArmorLabel
     //
     this.ShieldsArmorLabel.Caption = "Shields Armor:";
     this.ShieldsArmorLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.statsBindingSource, "ShieldsArmorForBinding"));
     this.ShieldsArmorLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 220);
     this.ShieldsArmorLabel.Name      = "ShieldsArmorLabel";
     this.ShieldsArmorLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.ShieldsArmorLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // DamageReductionLabel
     //
     this.DamageReductionLabel.Caption = "Dmg Rdct:";
     this.DamageReductionLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.statsBindingSource, "DamageReductionForBinding"));
     this.DamageReductionLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 280);
     this.DamageReductionLabel.Name      = "DamageReductionLabel";
     this.DamageReductionLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.DamageReductionLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // AccelLabel
     //
     this.AccelLabel.Caption = "Acceleration:";
     this.AccelLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.statsBindingSource, "AccelerationForBinding"));
     this.AccelLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 240);
     this.AccelLabel.Name      = "AccelLabel";
     this.AccelLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.AccelLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // StatsControl
     //
     this.Controls.Add(DamageLabel);
     this.Controls.Add(ToughnessLabel);
     this.Controls.Add(AttackLabel);
     this.Controls.Add(AttackSpeedLabel);
     this.Controls.Add(CriticalDamageLabel);
     this.Controls.Add(CriticalChanceLabel);
     this.Controls.Add(HealthLabel);
     this.Controls.Add(HealthArmorLabel);
     this.Controls.Add(ShieldsLabel);
     this.Controls.Add(ShieldsArmorLabel);
     this.Controls.Add(DamageReductionLabel);
     this.Controls.Add(DamageIncreaseLabel);
     this.Controls.Add(AccelLabel);
     this.Size = DPIScalingHelper.GetScaledSize(175, 310);
     this.Text = "Stats";
     ((System.ComponentModel.ISupportInitialize)(this.statsBindingSource)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
示例#9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components                      = new System.ComponentModel.Container();
     this.TotalGemsLabel             = new VLabel();
     this.RemainingGemsLabel         = new VLabel();
     this.AttackGemControl           = new GemControl();
     this.AttackSpeedGemControl      = new GemControl();
     this.ShieldsGemControl          = new GemControl();
     this.ShieldsArmorGemControl     = new GemControl();
     this.HealthGemControl           = new GemControl();
     this.HealthArmorGemControl      = new GemControl();
     this.CriticalChanceGemControl   = new GemControl();
     this.CriticalDamageGemControl   = new GemControl();
     this.DoubleWarpGemControl       = new GemControl();
     this.BindingSource              = new VBindingSource();
     this.OptimiseForDamageButton    = new VButton();
     this.OptimiseForToughnessButton = new VButton();
     ((System.ComponentModel.ISupportInitialize)(this.BindingSource)).BeginInit();
     //
     // TotalGemsLabel;
     //
     this.TotalGemsLabel.DataBindings.Add("Text", BindingSource, "TotalCost");
     this.TotalGemsLabel.Caption  = "Total Gems:";
     this.TotalGemsLabel.Location = DPIScalingHelper.GetScaledPoint(200, 0);
     this.TotalGemsLabel.Name     = "TotalGemsLabel";
     this.TotalGemsLabel.Size     = DPIScalingHelper.GetScaledSize(100, 25);
     //
     // RemainingGemsLabel;
     //
     this.RemainingGemsLabel.DataBindings.Add("Text", BindingSource, "RemainingGems");
     this.RemainingGemsLabel.Caption  = "Remaining Gems:";
     this.RemainingGemsLabel.Location = DPIScalingHelper.GetScaledPoint(450, 0);
     this.RemainingGemsLabel.Name     = "RemainingGemsLabel";
     this.RemainingGemsLabel.Size     = DPIScalingHelper.GetScaledSize(100, 25);
     //
     // AttackControl
     //
     this.AttackGemControl.Location = DPIScalingHelper.GetScaledPoint(35, 50);
     this.AttackGemControl.DataBindings.Add("Gem", this.BindingSource, "AttackGem");
     this.AttackGemControl.TabIndex = 2;
     //
     // AttackSpeedControl
     //
     this.AttackSpeedGemControl.Location = DPIScalingHelper.GetScaledPoint(208, 50);
     this.AttackSpeedGemControl.DataBindings.Add("Gem", this.BindingSource, "AttackSpeedGem");
     this.AttackSpeedGemControl.TabIndex = 3;
     //
     // ShieldsControl
     //
     this.ShieldsGemControl.Location = DPIScalingHelper.GetScaledPoint(381, 50);
     this.ShieldsGemControl.DataBindings.Add("Gem", this.BindingSource, "ShieldsGem");
     this.ShieldsGemControl.TabIndex = 4;
     //
     // ShieldsArmorControl
     //
     this.ShieldsArmorGemControl.Location = DPIScalingHelper.GetScaledPoint(35, 137);
     this.ShieldsArmorGemControl.DataBindings.Add("Gem", this.BindingSource, "ShieldsArmorGem");
     this.ShieldsArmorGemControl.TabIndex = 5;
     //
     // HealthControl
     //
     this.HealthGemControl.Location = DPIScalingHelper.GetScaledPoint(208, 137);
     this.HealthGemControl.DataBindings.Add("Gem", this.BindingSource, "HealthGem");
     this.HealthGemControl.TabIndex = 6;
     //
     // HealthArmorControl
     //
     this.HealthArmorGemControl.Location = DPIScalingHelper.GetScaledPoint(381, 137);
     this.HealthArmorGemControl.DataBindings.Add("Gem", this.BindingSource, "HealthArmorGem");
     this.HealthArmorGemControl.TabIndex = 7;
     //
     // CriticalChanceControl
     //
     this.CriticalChanceGemControl.Location = DPIScalingHelper.GetScaledPoint(35, 217);
     this.CriticalChanceGemControl.DataBindings.Add("Gem", this.BindingSource, "CritChanceGem");
     this.CriticalChanceGemControl.TabIndex = 8;
     //
     // CriticalDamageControl
     //
     this.CriticalDamageGemControl.Location = DPIScalingHelper.GetScaledPoint(208, 217);
     this.CriticalDamageGemControl.DataBindings.Add("Gem", this.BindingSource, "CritDamageGem");
     this.CriticalDamageGemControl.TabIndex = 9;
     //
     // DoubleWarpControl
     //
     this.DoubleWarpGemControl.Location = DPIScalingHelper.GetScaledPoint(381, 217);
     this.DoubleWarpGemControl.DataBindings.Add("Gem", this.BindingSource, "EconomyGem");
     this.DoubleWarpGemControl.TabIndex = 10;
     //
     // OptimiseForDamageButton
     //
     this.OptimiseForDamageButton.Click   += OptimiseForDamageButton_Click;
     this.OptimiseForDamageButton.Name     = "OptimiseForDamageButton";
     this.OptimiseForDamageButton.Text     = "Maximise Damage";
     this.OptimiseForDamageButton.Location = DPIScalingHelper.GetScaledPoint(70, 25);
     this.OptimiseForDamageButton.Size     = DPIScalingHelper.GetScaledSize(150, 25);
     //
     // OptimiseForToughnessButton
     //
     this.OptimiseForToughnessButton.Click   += OptimiseForToughnessButton_Click;
     this.OptimiseForToughnessButton.Name     = "OptimiseForToughnessButton";
     this.OptimiseForToughnessButton.Text     = "Maximise Toughness";
     this.OptimiseForToughnessButton.Location = DPIScalingHelper.GetScaledPoint(350, 25);
     this.OptimiseForToughnessButton.Size     = DPIScalingHelper.GetScaledSize(150, 25);
     //
     // gemsBindingSource
     //
     this.BindingSource.DataSource = typeof(VGemCollection);
     //
     // VPerkPageControl
     //
     this.Controls.Add(AttackGemControl);
     this.Controls.Add(AttackSpeedGemControl);
     this.Controls.Add(ShieldsGemControl);
     this.Controls.Add(ShieldsArmorGemControl);
     this.Controls.Add(HealthGemControl);
     this.Controls.Add(HealthArmorGemControl);
     this.Controls.Add(CriticalChanceGemControl);
     this.Controls.Add(CriticalDamageGemControl);
     this.Controls.Add(DoubleWarpGemControl);
     this.Controls.Add(TotalGemsLabel);
     this.Controls.Add(RemainingGemsLabel);
     this.Controls.Add(OptimiseForDamageButton);
     this.Controls.Add(OptimiseForToughnessButton);
     this.Size = DPIScalingHelper.GetScaledSize(589, 302);
     ((System.ComponentModel.ISupportInitialize)(this.BindingSource)).EndInit();
 }
示例#10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components                      = new System.ComponentModel.Container();
     this.MainTabControl                  = new DPITabControl();
     this.DetailsTabPage                  = new DPITabPage();
     this.PerksTabPage                    = new DPITabPage();
     this.GemsTabPage                     = new DPITabPage();
     this.SoulsTabPage                    = new DPITabPage();
     this.CPTabPage                       = new DPITabPage();
     this.UpgradesTabPage                 = new DPITabPage();
     this.IncomeConfigurationTabPage      = new DPITabPage();
     this.UnitTabPage                     = new DPITabPage();
     this.InfoTabControl                  = new DPITabControl();
     this.StatsTabPage                    = new DPITabPage();
     this.IncomeTabPage                   = new DPITabPage();
     this.ModsTabPage                     = new DPITabPage();
     this.PerkPageControl                 = new VPerkCollectionControl();
     this.bindingSource                   = new VBindingSource();
     this.StatsControl                    = new VStatsControl();
     this.IncomeControl                   = new IncomeStatisticsControl();
     this.GemsControl                     = new VGemCollectionControl();
     this.SoulsControl                    = new VLoadoutSoulsControl();
     this.ChallengePointCollectionControl = new ChallengePointCollectionControl();
     this.UnitControl                     = new UnitsControl();
     this.UpgradeControl                  = new UpgradeControl();
     this.LoadoutIncomeControl            = new LoadoutIncomeControl();
     this.ModsControl                     = new ModCollectionControl();
     this.UnitForStatsDisplayDropBox      = new VDropBox();
     this.UnitForIncomeDisplayDropBox     = new VDropBox();
     this.DetailsControl                  = new LoadoutDetailsControl();
     ((ISupportInitialize)this.bindingSource).BeginInit();
     this.SuspendLayout();
     //
     // LoadoutBindingSource
     //
     this.bindingSource.DataSource = typeof(Loadout);
     //
     // MainTabControl
     //
     this.MainTabControl.Anchor  |= AnchorStyles.Right | AnchorStyles.Bottom;
     this.MainTabControl.Name     = "MainTabControl";
     this.MainTabControl.Location = DPIScalingHelper.GetScaledPoint(5, 5);
     this.MainTabControl.Size     = DPIScalingHelper.GetScaledSize(600, 410);
     this.MainTabControl.TabPages.Add(DetailsTabPage);
     this.MainTabControl.TabPages.Add(PerksTabPage);
     this.MainTabControl.TabPages.Add(GemsTabPage);
     this.MainTabControl.TabPages.Add(SoulsTabPage);
     this.MainTabControl.TabPages.Add(CPTabPage);
     this.MainTabControl.TabPages.Add(UpgradesTabPage);
     this.MainTabControl.TabPages.Add(IncomeConfigurationTabPage);
     this.MainTabControl.TabPages.Add(UnitTabPage);
     this.MainTabControl.TabPages.Add(ModsTabPage);
     //
     // DetailsTabPage
     //
     this.DetailsTabPage.Name = "DetailsTabPage";
     this.DetailsTabPage.Text = "Details";
     this.DetailsTabPage.Controls.Add(DetailsControl);
     //
     // PerksTabPage
     //
     this.PerksTabPage.Name = "PerksTabPage";
     this.PerksTabPage.Text = "Perks";
     this.PerksTabPage.Controls.Add(PerkPageControl);
     //
     // GemsTabPage
     //
     this.GemsTabPage.Name = "GemsTabPage";
     this.GemsTabPage.Text = "Gems";
     this.GemsTabPage.Controls.Add(GemsControl);
     //
     // SoulsTabPage
     //
     this.SoulsTabPage.Name = "SoulsTabPage";
     this.SoulsTabPage.Text = "Souls";
     this.SoulsTabPage.Controls.Add(SoulsControl);
     //
     // CPTabPage
     //
     this.CPTabPage.Name = "CPTabPage";
     this.CPTabPage.Text = "Challenge Points";
     this.CPTabPage.Controls.Add(ChallengePointCollectionControl);
     //
     // UpgradesTabPage
     //
     this.UpgradesTabPage.Name = "UpgradesTabPage";
     this.UpgradesTabPage.Text = "Upgrades";
     this.UpgradesTabPage.Controls.Add(UpgradeControl);
     //
     // ConfigTabPage
     //
     this.IncomeConfigurationTabPage.Name = "IncomeConfigurationTabPage";
     this.IncomeConfigurationTabPage.Text = "Income";
     this.IncomeConfigurationTabPage.Controls.Add(LoadoutIncomeControl);
     //
     // UnitTabPage
     //
     this.UnitTabPage.Name = "UnitTabPage";
     this.UnitTabPage.Text = "Units";
     this.UnitTabPage.Controls.Add(UnitControl);
     //
     // ModsTabPage
     //
     this.ModsTabPage.Name = "ModsTabPage";
     this.ModsTabPage.Text = "Mods";
     this.ModsTabPage.Controls.Add(ModsControl);
     //
     // InfoTabControl
     //
     this.InfoTabControl.Anchor = AnchorStyles.Top | AnchorStyles.Right | AnchorStyles.Bottom;
     this.InfoTabControl.Name   = "InfoTabControl";
     //this.InfoTabControl.Dock = DockStyle.Fill;
     this.InfoTabControl.Location = DPIScalingHelper.GetScaledPoint(605, 5);
     this.InfoTabControl.Size     = DPIScalingHelper.GetScaledSize(190, 410);
     this.InfoTabControl.TabPages.Add(StatsTabPage);
     this.InfoTabControl.TabPages.Add(IncomeTabPage);
     //
     // StatsTabPage
     //
     this.StatsTabPage.Name = "StatsTabPage";
     this.StatsTabPage.Text = "Stats";
     this.StatsTabPage.Controls.Add(UnitForStatsDisplayDropBox);
     this.StatsTabPage.Controls.Add(StatsControl);
     //
     // IncomeTabPage
     //
     this.IncomeTabPage.Name = "IncomeTabPage";
     this.IncomeTabPage.Text = "Income";
     this.IncomeTabPage.Controls.Add(UnitForIncomeDisplayDropBox);
     this.IncomeTabPage.Controls.Add(IncomeControl);
     //
     // UnitForStatsDisplayDropBox
     //
     this.UnitForStatsDisplayDropBox.AllowSelectionOfStrings = true;
     this.UnitForStatsDisplayDropBox.Location              = DPIScalingHelper.GetScaledPoint(10, 10);
     this.UnitForStatsDisplayDropBox.Name                  = "UnitForStatsDisplayDropBox";
     this.UnitForStatsDisplayDropBox.SelectedValueChanged += UnitForIncomeDisplayDropBox_SelectedValueChanged;
     this.UnitForStatsDisplayDropBox.Size                  = DPIScalingHelper.GetScaledSize(165, 30);
     //
     // UnitForIncomeDisplayDropBox
     //
     this.UnitForIncomeDisplayDropBox.AllowSelectionOfStrings = true;
     this.UnitForIncomeDisplayDropBox.Location              = DPIScalingHelper.GetScaledPoint(10, 10);
     this.UnitForIncomeDisplayDropBox.Name                  = "UnitForIncomeDisplayDropBox";
     this.UnitForIncomeDisplayDropBox.SelectedValueChanged += UnitForStatsDisplayDropBox_SelectedValueChanged;
     this.UnitForIncomeDisplayDropBox.Size                  = DPIScalingHelper.GetScaledSize(165, 30);
     //
     // PerkPageControl
     //
     this.PerkPageControl.Location = DPIScalingHelper.GetScaledPoint(0, 10);
     this.PerkPageControl.DataBindings.Add("Perks", this.bindingSource, "Perks");
     this.PerkPageControl.DataBindings.Add("Text", this.bindingSource, "Perks.PageTitle");
     this.PerkPageControl.Name = "PerkPageControl";
     //
     // DetailsControl
     //
     this.DetailsControl.Dock     = DockStyle.Fill;
     this.DetailsControl.Location = DPIScalingHelper.GetScaledPoint(0, 0);
     this.DetailsControl.DataBindings.Add("Loadout", this.bindingSource, ".");
     this.DetailsControl.Name = "PerkPageControl";
     //
     // GemsControl
     //
     this.GemsControl.Location = DPIScalingHelper.GetScaledPoint(0, 10);
     this.GemsControl.DataBindings.Add("Gems", this.bindingSource, "Gems");
     this.GemsControl.Name = "GemsControl";
     //
     // UnitControl
     //
     this.UnitControl.DataBindings.Add("Loadout", this.bindingSource, ".");
     this.UnitControl.Location = DPIScalingHelper.GetScaledPoint(5, 40);
     this.UnitControl.Name     = "UnitControl";
     //
     // SoulsControl
     //
     this.SoulsControl.Location = DPIScalingHelper.GetScaledPoint(0, 10);
     this.SoulsControl.DataBindings.Add("Souls", this.bindingSource, "Souls");
     this.SoulsControl.Text = "Soul";
     //
     // ChallengePointCollectionControl
     //
     this.ChallengePointCollectionControl.Location = DPIScalingHelper.GetScaledPoint(5, 10);
     this.ChallengePointCollectionControl.DataBindings.Add("ChallengePointCollection", this.bindingSource, "ChallengePoints");
     this.ChallengePointCollectionControl.Text = "Challenge Points";
     //
     // UpgradesControl
     //
     this.UpgradeControl.Location = DPIScalingHelper.GetScaledPoint(5, 40);
     this.UpgradeControl.DataBindings.Add("Upgrades", this.bindingSource, "Upgrades");
     this.UpgradeControl.Name = "UpgradesControl";
     //
     // LoadoutIncomeControl
     //
     this.LoadoutIncomeControl.Location = DPIScalingHelper.GetScaledPoint(5, 40);
     this.LoadoutIncomeControl.DataBindings.Add("IncomeManager", this.bindingSource, "IncomeManager");
     this.LoadoutIncomeControl.Name = "LoadoutConfigurationControl";
     //
     // ModsControl
     //
     this.ModsControl.DataBindings.Add("Mods", this.bindingSource, "Mods");
     this.ModsControl.Dock     = DockStyle.Fill;
     this.ModsControl.Location = DPIScalingHelper.GetScaledPoint(0, 30);
     this.ModsControl.Name     = "ModsControl";
     //
     // StatsControl
     //
     this.StatsControl.DataBindings.Add("Stats", this.bindingSource, "Stats");
     this.StatsControl.Name     = "StatsControl";
     this.StatsControl.Location = DPIScalingHelper.GetScaledPoint(0, 40);
     //
     // IncomeControl
     //
     this.IncomeControl.DataBindings.Add("IncomeManager", this.bindingSource, "IncomeManager");
     this.IncomeControl.Name     = "IncomeControl";
     this.IncomeControl.Location = DPIScalingHelper.GetScaledPoint(0, 40);
     //
     // PerkPlanningForm
     //
     this.AutoScaleDimensions = DPIScalingHelper.AutoSizeDimensions;
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = DPIScalingHelper.GetScaledSize(800, 450);
     this.Controls.Add(MainTabControl);
     this.Controls.Add(InfoTabControl);
     this.Name = "LoadoutForm";
     ((ISupportInitialize)this.bindingSource).EndInit();
     this.ResumeLayout();
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components                         = new System.ComponentModel.Container();
     this.bindingSource                 = new VBindingSource();
     this.AttackCPControl               = new ChallengePointControl();
     this.CriticalChanceCPControl       = new ChallengePointControl();
     this.CriticalDamageCPControl       = new ChallengePointControl();
     this.AttackSpeedCPControl          = new ChallengePointControl();
     this.HealthCPControl               = new ChallengePointControl();
     this.ShieldsCPControl              = new ChallengePointControl();
     this.DefensiveEssenceCPControl     = new ChallengePointControl();
     this.DamageReductionCPControl      = new ChallengePointControl();
     this.MiningCPControl               = new ChallengePointControl();
     this.KillsCPControl                = new ChallengePointControl();
     this.VeterancyCPControl            = new ChallengePointControl();
     this.AccelCPControl                = new ChallengePointControl();
     this.AvailableChallengePointsLabel = new VLabel();
     this.RemainingChallengePointsLabel = new VLabel();
     this.OptimiseForDamageButton       = new VButton();
     this.OptimiseForToughnessButton    = new VButton();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit();
     //
     // bindingSource
     //
     this.bindingSource.DataSource = typeof(ChallengePointCollection);
     //
     // AvailableChallengePointsLabel
     //
     this.AvailableChallengePointsLabel.Caption = "Available CP:";
     this.AvailableChallengePointsLabel.DataBindings.Add("Text", bindingSource, "TotalCost");
     this.AvailableChallengePointsLabel.Location = DPIScalingHelper.GetScaledPoint(200, 0);
     this.AvailableChallengePointsLabel.Name     = "AvailableChallengePointsLabel";
     this.AvailableChallengePointsLabel.Size     = DPIScalingHelper.GetScaledSize(100, 25);
     //
     // RemainingChallengePointsLabel
     //
     this.RemainingChallengePointsLabel.Caption = "Remaining CP:";
     this.RemainingChallengePointsLabel.DataBindings.Add("Text", bindingSource, "RemainingCP");
     this.RemainingChallengePointsLabel.Location = DPIScalingHelper.GetScaledPoint(450, 0);
     this.RemainingChallengePointsLabel.Name     = "RemainingChallengePointsLabel";
     this.RemainingChallengePointsLabel.Size     = DPIScalingHelper.GetScaledSize(100, 25);
     //
     // AttackCPControl
     //
     this.AttackCPControl.Caption = "Attack";
     this.AttackCPControl.DataBindings.Add("ChallengePoint", bindingSource, "Attack");
     this.AttackCPControl.Location = DPIScalingHelper.GetScaledPoint(35, 50);
     //
     // CriticalDamageCPControl
     //
     this.CriticalDamageCPControl.Caption = "Crit Dmg";
     this.CriticalDamageCPControl.DataBindings.Add("ChallengePoint", bindingSource, "CriticalDamage");
     this.CriticalDamageCPControl.Location = DPIScalingHelper.GetScaledPoint(30, 110);
     //
     // CriticalChanceCPControl
     //
     this.CriticalChanceCPControl.Caption = "Crit Chance";
     this.CriticalChanceCPControl.DataBindings.Add("ChallengePoint", bindingSource, "CriticalChance");
     this.CriticalChanceCPControl.Location = DPIScalingHelper.GetScaledPoint(30, 170);
     //
     // AttackSpeedCPControl
     //
     this.AttackSpeedCPControl.Caption = "Atk Speed";
     this.AttackSpeedCPControl.DataBindings.Add("ChallengePoint", bindingSource, "AttackSpeed");
     this.AttackSpeedCPControl.Location = DPIScalingHelper.GetScaledPoint(30, 230);
     //
     // HealthCPControl
     //
     this.HealthCPControl.Caption = "Health";
     this.HealthCPControl.DataBindings.Add("ChallengePoint", bindingSource, "Health");
     this.HealthCPControl.Location = DPIScalingHelper.GetScaledPoint(208, 50);
     //
     // ShieldsCPControl
     //
     this.ShieldsCPControl.Caption = "Shields";
     this.ShieldsCPControl.DataBindings.Add("ChallengePoint", bindingSource, "Shields");
     this.ShieldsCPControl.Location = DPIScalingHelper.GetScaledPoint(208, 110);
     //
     // DefensiveEssenceCPControl
     //
     this.DefensiveEssenceCPControl.Caption = "Def Ess";
     this.DefensiveEssenceCPControl.DataBindings.Add("ChallengePoint", bindingSource, "DefensiveEssence");
     this.DefensiveEssenceCPControl.Location = DPIScalingHelper.GetScaledPoint(208, 170);
     //
     // DamageReductionCPControl
     //
     this.DamageReductionCPControl.Caption = "Dmg Rdct";
     this.DamageReductionCPControl.DataBindings.Add("ChallengePoint", bindingSource, "DamageReduction");
     this.DamageReductionCPControl.Location = DPIScalingHelper.GetScaledPoint(208, 230);
     //
     // MiningCPControl
     //
     this.MiningCPControl.Caption = "Mining";
     this.MiningCPControl.DataBindings.Add("ChallengePoint", bindingSource, "Mining");
     this.MiningCPControl.Location = DPIScalingHelper.GetScaledPoint(381, 50);
     //
     // KillsCPControl
     //
     this.KillsCPControl.Caption = "Kills";
     this.KillsCPControl.DataBindings.Add("ChallengePoint", bindingSource, "Kills");
     this.KillsCPControl.Location = DPIScalingHelper.GetScaledPoint(381, 110);
     //
     // VeterancyCPControl
     //
     this.VeterancyCPControl.Caption = "Vet";
     this.VeterancyCPControl.DataBindings.Add("ChallengePoint", bindingSource, "Veterancy");
     this.VeterancyCPControl.Location = DPIScalingHelper.GetScaledPoint(381, 170);
     //
     // AccelCPControl
     //
     this.AccelCPControl.Caption = "Accel";
     this.AccelCPControl.DataBindings.Add("ChallengePoint", bindingSource, "Acceleration");
     this.AccelCPControl.Location = DPIScalingHelper.GetScaledPoint(381, 230);
     //
     // OptimiseForDamageButton
     //
     this.OptimiseForDamageButton.Click   += OptimiseForDamageButton_Click;
     this.OptimiseForDamageButton.Name     = "OptimiseForDamageButton";
     this.OptimiseForDamageButton.Text     = "Maximise Damage";
     this.OptimiseForDamageButton.Location = DPIScalingHelper.GetScaledPoint(70, 25);
     this.OptimiseForDamageButton.Size     = DPIScalingHelper.GetScaledSize(150, 25);
     //
     // OptimiseForToughnessButton
     //
     this.OptimiseForToughnessButton.Click   += OptimiseForToughnessButton_Click;
     this.OptimiseForToughnessButton.Name     = "OptimiseForToughnessButton";
     this.OptimiseForToughnessButton.Text     = "Maximise Toughness";
     this.OptimiseForToughnessButton.Location = DPIScalingHelper.GetScaledPoint(350, 25);
     this.OptimiseForToughnessButton.Size     = DPIScalingHelper.GetScaledSize(150, 25);
     //
     // ChallengePointCollectionControl
     //
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScaleDimensions = DPIScalingHelper.AutoSizeDimensions;
     this.Controls.Add(AvailableChallengePointsLabel);
     this.Controls.Add(RemainingChallengePointsLabel);
     this.Controls.Add(AttackCPControl);
     this.Controls.Add(CriticalChanceCPControl);
     this.Controls.Add(CriticalDamageCPControl);
     this.Controls.Add(AttackSpeedCPControl);
     this.Controls.Add(HealthCPControl);
     this.Controls.Add(ShieldsCPControl);
     this.Controls.Add(DefensiveEssenceCPControl);
     this.Controls.Add(DamageReductionCPControl);
     this.Controls.Add(MiningCPControl);
     this.Controls.Add(KillsCPControl);
     this.Controls.Add(VeterancyCPControl);
     this.Controls.Add(AccelCPControl);
     this.Controls.Add(OptimiseForDamageButton);
     this.Controls.Add(OptimiseForToughnessButton);
     this.Size = DPIScalingHelper.GetScaledSize(589, 292);
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components            = new System.ComponentModel.Container();
     this.UnitTypeDropBox       = new VUserInterface.CommonControls.VDropBox();
     this.BindingSource         = new System.Windows.Forms.BindingSource(this.components);
     this.InfusionIncrementor   = new VUserInterface.CommonControls.VIncrementor();
     this.RankDropBox           = new VUserInterface.CommonControls.VDropBox();
     this.KillIncrementor       = new VUserInterface.CommonControls.VIncrementor();
     this.IsLimitBrokenCheckBox = new VCheckControl();
     this.TitleLabel            = new VLabel();
     this.SpecCheckBox          = new VCheckControl();
     ((System.ComponentModel.ISupportInitialize)(this.BindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // TitleLabel
     //
     this.TitleLabel.Font     = new System.Drawing.Font(TitleLabel.Font, System.Drawing.FontStyle.Bold);
     this.TitleLabel.Text     = "Current Unit";
     this.TitleLabel.Name     = "TitleLabel";
     this.TitleLabel.AutoSize = true;
     this.TitleLabel.Location = DPIScalingHelper.GetScaledPoint(50, 0);
     //
     // UnitTypeDropBox
     //
     this.UnitTypeDropBox.Caption = "Type:";
     this.UnitTypeDropBox.SelectedValueChanged += UnitTypeDropBox_SelectedValueChanged;
     this.UnitTypeDropBox.DataBindings.Add("SelectedValue", BindingSource, "UnitData.Type");
     this.UnitTypeDropBox.List     = UnitsTypesList;
     this.UnitTypeDropBox.Location = DPIScalingHelper.GetScaledPoint(106, 30);
     this.UnitTypeDropBox.Name     = "UnitTypeDropBox";
     this.UnitTypeDropBox.Size     = DPIScalingHelper.GetScaledSize(150, 29);
     this.UnitTypeDropBox.Visible  = true;
     //
     // BindingSource
     //
     this.BindingSource.DataSource = typeof(VBusiness.Units.Unit);
     //
     // InfusionIncrementor
     //
     this.InfusionIncrementor.Caption = "Infusion:";
     this.InfusionIncrementor.DataBindings.Add("Value", BindingSource, "CurrentInfusion");
     this.InfusionIncrementor.DataBindings.Add("MaxValue", BindingSource, "MaximumInfusion");
     this.InfusionIncrementor.Location = DPIScalingHelper.GetScaledPoint(106, 90);
     this.InfusionIncrementor.Name     = "InfusionIncrementor";
     this.InfusionIncrementor.TabIndex = 1;
     this.InfusionIncrementor.Value    = 0;
     //
     // RankDropBox
     //
     this.RankDropBox.Caption = "Rank";
     this.RankDropBox.DataBindings.Add("Enabled", BindingSource, "UnitRank_Modifiable");
     this.RankDropBox.DataBindings.Add("SelectedValue", BindingSource, "UnitRank");
     this.RankDropBox.List     = RanksList;
     this.RankDropBox.Location = DPIScalingHelper.GetScaledPoint(106, 60);
     this.RankDropBox.Name     = "RankDropBox";
     this.RankDropBox.Size     = DPIScalingHelper.GetScaledSize(150, 29);
     this.RankDropBox.TabIndex = 2;
     //
     // KillIncrementor
     //
     this.KillIncrementor.Caption = "Kills:";
     this.KillIncrementor.DataBindings.Add("Value", BindingSource, "CurrentKills");
     this.KillIncrementor.DataBindings.Add("MaxValue", BindingSource, "MaximumKills");
     this.KillIncrementor.IncrementAmount = 100;
     this.KillIncrementor.Location        = DPIScalingHelper.GetScaledPoint(106, 120);
     this.KillIncrementor.Name            = "KillIncrementor";
     this.KillIncrementor.TabIndex        = 3;
     this.KillIncrementor.Value           = 0;
     //
     // SpecCheckBox
     //
     this.SpecCheckBox.Caption = "Unit Spec";
     this.SpecCheckBox.DataBindings.Add("Checked", BindingSource, "HasUnitSpec");
     this.SpecCheckBox.Enabled  = false;
     this.SpecCheckBox.Location = DPIScalingHelper.GetScaledPoint(106, 150);
     this.SpecCheckBox.Name     = "SpecCheckBox";
     //
     // IsLimitBrokenCheckBox
     //
     this.IsLimitBrokenCheckBox.Caption = "Is Limit Broken";
     this.IsLimitBrokenCheckBox.DataBindings.Add("Checked", BindingSource, "IsLimitBroken");
     this.IsLimitBrokenCheckBox.DataBindings.Add("Enabled", BindingSource, "IsLimitBroken_Modifiable");
     this.IsLimitBrokenCheckBox.Location = DPIScalingHelper.GetScaledPoint(106, 180);
     this.IsLimitBrokenCheckBox.Name     = "IsLimitBrokenCheckBox";
     //
     // UnitControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.DataBindings.DefaultDataSourceUpdateMode = System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged;
     this.Controls.Add(this.KillIncrementor);
     this.Controls.Add(this.RankDropBox);
     this.Controls.Add(this.InfusionIncrementor);
     this.Controls.Add(this.UnitTypeDropBox);
     this.Controls.Add(this.TitleLabel);
     this.Controls.Add(this.SpecCheckBox);
     this.Controls.Add(this.IsLimitBrokenCheckBox);
     this.Name = "UnitControl";
     this.Size = DPIScalingHelper.GetScaledSize(256, 240);
     ((System.ComponentModel.ISupportInitialize)(this.BindingSource)).EndInit();
     this.ResumeLayout(false);
 }
示例#13
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components         = new System.ComponentModel.Container();
     this.BindingSource = new VBindingSource();
     this.SyncProfileBankCheckControl    = new VCheckControl();
     this.SyncLoadoutBankCheckControl    = new VCheckControl();
     this.SyncSoulBankCheckControl       = new VCheckControl();
     this.BankBackupFrequencyDescription = new VLabel();
     this.BankBackupFrequencyUnitsLabel  = new VLabel();
     this.BankBackupFrequencyTextBox     = new VTextBox();
     this.BankBackupFrequencyInfoButton  = new VButton();
     this.TitleLabel   = new VLabel();
     this.VersionLabel = new VLabel();
     this.SaveButton   = new VButton();
     //
     // BindingSource
     //
     this.BindingSource.DataSource = typeof(Registry);
     //
     // ProfileTitleLabel
     //
     this.TitleLabel.Name     = "TitleLabel";
     this.TitleLabel.Location = DPIScalingHelper.GetScaledPoint(120, 22);
     this.TitleLabel.Text     = "Settings";
     this.TitleLabel.Font     = new System.Drawing.Font(this.TitleLabel.Font.FontFamily, 14);
     this.TitleLabel.Height   = DPIScalingHelper.GetScaledY(30);
     //
     // VersionLabel
     //
     this.VersionLabel.Name     = "VersionLabel";
     this.VersionLabel.Location = DPIScalingHelper.GetScaledPoint(120, 230);
     this.VersionLabel.Text     = "Version Date: " + VersionHelper.GetVersionBuildDate().ToString("dd-MMM-yyyy");
     //
     // SaveEditButton
     //
     this.SaveButton.DataBindings.Add("Enabled", BindingSource, "HasChanges");
     this.SaveButton.Location = DPIScalingHelper.GetScaledPoint(275, 22);
     this.SaveButton.Name     = "SaveEditButton";
     this.SaveButton.Size     = DPIScalingHelper.GetScaledSize(75, 23);
     this.SaveButton.TabIndex = 0;
     this.SaveButton.Text     = "Save";
     this.SaveButton.Click   += new System.EventHandler(this.SaveEditButton_Click);
     //
     // SyncProfileBankControl
     //
     this.SyncProfileBankCheckControl.Caption = "Sync Profile on app start:";
     this.SyncProfileBankCheckControl.DataBindings.Add("Checked", BindingSource, "SyncProfileWithBank");
     this.SyncProfileBankCheckControl.Location = DPIScalingHelper.GetScaledPoint(200, 60);
     this.SyncProfileBankCheckControl.Name     = "SyncProfileBankCheckControl";
     //
     // SyncLoadoutBankControl
     //
     this.SyncLoadoutBankCheckControl.Caption = "Sync all loadouts on app start:";
     this.SyncLoadoutBankCheckControl.DataBindings.Add("Checked", BindingSource, "SyncLoadoutsWithBank");
     this.SyncLoadoutBankCheckControl.Location = DPIScalingHelper.GetScaledPoint(200, 85);
     this.SyncLoadoutBankCheckControl.Name     = "SyncLoadoutBankCheckControl";
     //
     // SyncSoulBankControl
     //
     this.SyncSoulBankCheckControl.Caption = "Sync all souls on app start:";
     this.SyncSoulBankCheckControl.DataBindings.Add("Checked", BindingSource, "SyncSoulsWithBank");
     this.SyncSoulBankCheckControl.Location = DPIScalingHelper.GetScaledPoint(200, 110);
     this.SyncSoulBankCheckControl.Name     = "SyncSoulBankCheckControl";
     //
     // BankBackupFrequencyTextBox
     //
     this.BankBackupFrequencyTextBox.Caption = "Bank back-up frequency:";
     this.BankBackupFrequencyTextBox.DataBindings.Add("Text", BindingSource, "BackupFrequency");
     this.BankBackupFrequencyTextBox.DataBindings.Add("Enabled", BindingSource, "BackupFrequency_Editable");
     this.BankBackupFrequencyTextBox.Location = DPIScalingHelper.GetScaledPoint(200, 135);
     this.BankBackupFrequencyTextBox.Name     = "BankBackupFrequencyTextBox";
     this.BankBackupFrequencyTextBox.Size     = DPIScalingHelper.GetScaledSize(50, 25);
     //
     // BankBackupFrequencyInfoButton
     //
     this.BankBackupFrequencyInfoButton.Click   += BankBackupFrequencyInfoButton_Click;
     this.BankBackupFrequencyInfoButton.Location = DPIScalingHelper.GetScaledPoint(275, 135);
     this.BankBackupFrequencyInfoButton.Name     = "BankBackupFrequencyInfoButton";
     this.BankBackupFrequencyInfoButton.Size     = DPIScalingHelper.GetScaledSize(25, 25);
     this.BankBackupFrequencyInfoButton.Text     = "?";
     //
     // BankBackupFrequencyUnitsLabel
     //
     this.BankBackupFrequencyUnitsLabel.Location = DPIScalingHelper.GetScaledPoint(250, 136);
     this.BankBackupFrequencyUnitsLabel.Name     = "BankBackupFrequencyUnitsLabel";
     this.BankBackupFrequencyUnitsLabel.Size     = DPIScalingHelper.GetScaledSize(25, 30);
     this.BankBackupFrequencyUnitsLabel.Text     = "RP";
     //
     // RegistryControl
     //
     this.Controls.Add(SyncProfileBankCheckControl);
     this.Controls.Add(SyncLoadoutBankCheckControl);
     this.Controls.Add(SyncSoulBankCheckControl);
     this.Controls.Add(BankBackupFrequencyTextBox);
     this.Controls.Add(BankBackupFrequencyDescription);
     this.Controls.Add(BankBackupFrequencyUnitsLabel);
     this.Controls.Add(BankBackupFrequencyInfoButton);
     this.Controls.Add(VersionLabel);
     this.Controls.Add(SaveButton);
     this.Controls.Add(TitleLabel);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components                   = new System.ComponentModel.Container();
     this.DoubleWarpLabel         = new VLabel();
     this.TripleWarpLabel         = new VLabel();
     this.LoadoutMineralCostLabel = new VLabel();
     this.LoadoutKillCostLabel    = new VLabel();
     this.VeterancyLabel          = new VLabel();
     this.InfuseRecycleLabel      = new VLabel();
     this.KillRecycleLabel        = new VLabel();
     this.RankRevisionLabel       = new VLabel();
     this.MineralsPerMinuteLabel  = new VLabel();
     this.KillsPerMinuteLabel     = new VLabel();
     this.bindingSource           = new VBindingSource();
     this.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit();
     //
     // statsBindingSource
     //
     this.bindingSource.DataSource = typeof(IncomeManager);
     //
     // LoadoutMineralCostLabel
     //
     this.LoadoutMineralCostLabel.Caption = "Mineral Cost:";
     this.LoadoutMineralCostLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "LoadoutMineralCost", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
     this.LoadoutMineralCostLabel.Location          = DPIScalingHelper.GetScaledPoint(120, 20);
     this.LoadoutMineralCostLabel.Name              = "LoadoutMineralCostLabel";
     this.LoadoutMineralCostLabel.Size              = DPIScalingHelper.GetScaledSize(62, 21);
     this.LoadoutMineralCostLabel.TextAlign         = System.Drawing.ContentAlignment.MiddleLeft;
     this.LoadoutMineralCostLabel.UseNumberSuffixes = true;
     //
     // LoadoutKillCostLabel
     //
     this.LoadoutKillCostLabel.Caption = "Kill Cost:";
     this.LoadoutKillCostLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "LoadoutKillCost", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
     this.LoadoutKillCostLabel.Location          = DPIScalingHelper.GetScaledPoint(120, 40);
     this.LoadoutKillCostLabel.Name              = "LoadoutKillCostLabel";
     this.LoadoutKillCostLabel.Size              = DPIScalingHelper.GetScaledSize(62, 21);
     this.LoadoutKillCostLabel.TextAlign         = System.Drawing.ContentAlignment.MiddleLeft;
     this.LoadoutKillCostLabel.UseNumberSuffixes = true;
     //
     // DoubleWarpLabel
     //
     this.DoubleWarpLabel.Caption = "Double Warp:";
     this.DoubleWarpLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "DoubleWarp"));
     this.DoubleWarpLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 60);
     this.DoubleWarpLabel.Name      = "DoubleWarpLabel";
     this.DoubleWarpLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.DoubleWarpLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // TripleWarpLabel
     //
     this.TripleWarpLabel.Caption = "Triple Warp:";
     this.TripleWarpLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "TripleWarp"));
     this.TripleWarpLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 80);
     this.TripleWarpLabel.Name      = "TripleWarpLabel";
     this.TripleWarpLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.TripleWarpLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // VeterencyLabel
     //
     this.VeterancyLabel.Caption = "Veterancy:";
     this.VeterancyLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "Veterancy"));
     this.VeterancyLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 100);
     this.VeterancyLabel.Name      = "VeterancyLabel";
     this.VeterancyLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.VeterancyLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // InfuseRecycleLabel
     //
     this.InfuseRecycleLabel.Caption = "Infusion Recycle:";
     this.InfuseRecycleLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "InfuseRecycle"));
     this.InfuseRecycleLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 120);
     this.InfuseRecycleLabel.Name      = "InfuseRecycleLabel";
     this.InfuseRecycleLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.InfuseRecycleLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // KillRecycleLabel
     //
     this.KillRecycleLabel.Caption = "Kill Recycle:";
     this.KillRecycleLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "KillRecycle"));
     this.KillRecycleLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 140);
     this.KillRecycleLabel.Name      = "KillRecycleLabel";
     this.KillRecycleLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.KillRecycleLabel.Suffix    = "%";
     this.KillRecycleLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // VeterencyLabel
     //
     this.RankRevisionLabel.Caption = "Rank Revision:";
     this.RankRevisionLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "RankRevision"));
     this.RankRevisionLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 160);
     this.RankRevisionLabel.Name      = "RankRevisionLabel";
     this.RankRevisionLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.RankRevisionLabel.Suffix    = "%";
     this.RankRevisionLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // MineralsPerMinuteLabel
     //
     this.MineralsPerMinuteLabel.Caption = "Minerals / min:";
     this.MineralsPerMinuteLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "MineralsPerMinute"));
     this.MineralsPerMinuteLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 180);
     this.MineralsPerMinuteLabel.Name      = "MineralsPerMinuteLabel";
     this.MineralsPerMinuteLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.MineralsPerMinuteLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // KillsPerMinuteLabel
     //
     this.KillsPerMinuteLabel.Caption = "Kills / min:";
     this.KillsPerMinuteLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "KillsPerMinute"));
     this.KillsPerMinuteLabel.Location  = DPIScalingHelper.GetScaledPoint(120, 200);
     this.KillsPerMinuteLabel.Name      = "KillsPerMinuteLabel";
     this.KillsPerMinuteLabel.Size      = DPIScalingHelper.GetScaledSize(62, 21);
     this.KillsPerMinuteLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // StatsControl
     //
     this.Controls.Add(DoubleWarpLabel);
     this.Controls.Add(TripleWarpLabel);
     this.Controls.Add(LoadoutMineralCostLabel);
     this.Controls.Add(LoadoutKillCostLabel);
     this.Controls.Add(VeterancyLabel);
     this.Controls.Add(InfuseRecycleLabel);
     this.Controls.Add(KillRecycleLabel);
     this.Controls.Add(RankRevisionLabel);
     this.Controls.Add(MineralsPerMinuteLabel);
     this.Controls.Add(KillsPerMinuteLabel);
     this.Size = DPIScalingHelper.GetScaledSize(175, 310);
     this.Text = "Income";
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.AttackIncrementor            = new VUserInterface.CommonControls.VIncrementor();
     this.AttackSpeedIncrementor       = new VUserInterface.CommonControls.VIncrementor();
     this.ShieldsIncrementor           = new VUserInterface.CommonControls.VIncrementor();
     this.ShieldsArmorIncrementor      = new VUserInterface.CommonControls.VIncrementor();
     this.HealthIncrementor            = new VUserInterface.CommonControls.VIncrementor();
     this.HealthArmorIncrementor       = new VUserInterface.CommonControls.VIncrementor();
     this.IncludeUpgradesInLoadoutCost = new VUserInterface.CommonControls.VCheckControl();
     this.BindingSource = new VBindingSource();
     this.SuspendLayout();
     //
     // BindingSource
     //
     this.BindingSource.DataSource = typeof(VUpgradeManager);
     //
     // AttackIncrementor
     //
     this.AttackIncrementor.Caption = "Attack";
     this.AttackIncrementor.DataBindings.Add("Value", BindingSource, "AttackUpgrade");
     this.AttackIncrementor.DataBindings.Add("MaxValue", BindingSource, "MaxAttack");
     this.AttackIncrementor.Location = DPIScalingHelper.GetScaledPoint(125, 0);
     this.AttackIncrementor.Name     = "AttackIncrementor";
     this.AttackIncrementor.Size     = DPIScalingHelper.GetScaledSize(155, 28);
     this.AttackIncrementor.TabIndex = 0;
     //
     // AttackSpeedIncrementor
     //
     this.AttackSpeedIncrementor.Caption = "Attack Speed";
     this.AttackSpeedIncrementor.DataBindings.Add("Value", BindingSource, "AttackSpeedUpgrade");
     this.AttackSpeedIncrementor.DataBindings.Add("MaxValue", BindingSource, "MaxAttackSpeed");
     this.AttackSpeedIncrementor.Location = DPIScalingHelper.GetScaledPoint(125, 30);
     this.AttackSpeedIncrementor.Name     = "AttackSpeedIncrementor";
     this.AttackSpeedIncrementor.Size     = DPIScalingHelper.GetScaledSize(190, 28);
     this.AttackSpeedIncrementor.TabIndex = 1;
     //
     // ShieldsIncrementor
     //
     this.ShieldsIncrementor.Caption = "Shields";
     this.ShieldsIncrementor.DataBindings.Add("Value", BindingSource, "ShieldsUpgrade");
     this.ShieldsIncrementor.DataBindings.Add("MaxValue", BindingSource, "MaxShields");
     this.ShieldsIncrementor.Location = DPIScalingHelper.GetScaledPoint(125, 60);
     this.ShieldsIncrementor.Name     = "ShieldsIncrementor";
     this.ShieldsIncrementor.Size     = DPIScalingHelper.GetScaledSize(158, 28);
     this.ShieldsIncrementor.TabIndex = 2;
     //
     // ShieldsArmorIncrement
     //
     this.ShieldsArmorIncrementor.Caption = "Shields Armor";
     this.ShieldsArmorIncrementor.DataBindings.Add("Value", BindingSource, "ShieldsArmorUpgrade");
     this.ShieldsArmorIncrementor.DataBindings.Add("MaxValue", BindingSource, "MaxShieldsArmor");
     this.ShieldsArmorIncrementor.Location = DPIScalingHelper.GetScaledPoint(125, 90);
     this.ShieldsArmorIncrementor.Name     = "ShieldsArmorIncrementor";
     this.ShieldsArmorIncrementor.Size     = DPIScalingHelper.GetScaledSize(195, 28);
     this.ShieldsArmorIncrementor.TabIndex = 3;
     //
     // HealthIncrementor
     //
     this.HealthIncrementor.Caption = "Health";
     this.HealthIncrementor.DataBindings.Add("Value", BindingSource, "HealthUpgrade");
     this.HealthIncrementor.DataBindings.Add("MaxValue", BindingSource, "MaxHealth");
     this.HealthIncrementor.Location = DPIScalingHelper.GetScaledPoint(125, 120);
     this.HealthIncrementor.Name     = "HealthIncrementor";
     this.HealthIncrementor.Size     = DPIScalingHelper.GetScaledSize(156, 28);
     this.HealthIncrementor.TabIndex = 4;
     //
     // HealthArmorIncrementor
     //
     this.HealthArmorIncrementor.Caption = "Health Armor";
     this.HealthArmorIncrementor.DataBindings.Add("Value", BindingSource, "HealthArmorUpgrade");
     this.HealthArmorIncrementor.DataBindings.Add("MaxValue", BindingSource, "MaxHealthArmor");
     this.HealthArmorIncrementor.Location = DPIScalingHelper.GetScaledPoint(125, 150);
     this.HealthArmorIncrementor.Name     = "HealthArmorIncrementor";
     this.HealthArmorIncrementor.Size     = DPIScalingHelper.GetScaledSize(193, 28);
     this.HealthArmorIncrementor.TabIndex = 5;
     //
     // IncludeUpgradesInLoadoutCost
     //
     this.IncludeUpgradesInLoadoutCost.Caption = "Include upgrades cost in loadout cost:";
     this.IncludeUpgradesInLoadoutCost.DataBindings.Add("Checked", BindingSource, "IncludeUpgradesInLoadoutCost");
     this.IncludeUpgradesInLoadoutCost.Location = DPIScalingHelper.GetScaledPoint(220, 190);
     this.IncludeUpgradesInLoadoutCost.Name     = "IncludeUpgradesInLoadoutCost";
     this.IncludeUpgradesInLoadoutCost.TabIndex = 6;
     //
     // UpgradeControl
     //
     this.Controls.Add(this.HealthArmorIncrementor);
     this.Controls.Add(this.HealthIncrementor);
     this.Controls.Add(this.ShieldsArmorIncrementor);
     this.Controls.Add(this.ShieldsIncrementor);
     this.Controls.Add(this.AttackSpeedIncrementor);
     this.Controls.Add(this.AttackIncrementor);
     this.Controls.Add(this.IncludeUpgradesInLoadoutCost);
     this.Name = "UpgradeControl";
     this.Size = DPIScalingHelper.GetScaledSize(250, 233);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components                = new System.ComponentModel.Container();
     this.BindingSource        = new VBindingSource();
     this.LoadoutNameTextBox   = new VTextBox();
     this.SlotNumberTextBox    = new VTextBox();
     this.SyncWithBankCheckBox = new VCheckControl();
     this.RemoveProfileRestrictionsCheckBox = new VCheckControl();
     this.DifficultyDropBox    = new VDropBox();
     this.SoloBonusCheckBox    = new VCheckControl();
     this.UnitSpecDropBox      = new VDropBox();
     this.TotalPerkPointsLabel = new VLabel();
     this.TotalGemsLabel       = new VLabel();
     this.TotalCPLabel         = new VLabel();
     ((ISupportInitialize)this.BindingSource).BeginInit();
     this.SuspendLayout();
     //
     // BindingSource
     //
     this.BindingSource.DataSource = typeof(Loadout);
     //
     // LoadoutNameTextBox
     //
     this.LoadoutNameTextBox.DataBindings.Add("Text", this.BindingSource, "Name", true);
     this.LoadoutNameTextBox.Location = DPIScalingHelper.GetScaledPoint(100, 20);
     this.LoadoutNameTextBox.Name     = "LoadoutNameTextBox";
     this.LoadoutNameTextBox.Caption  = "Name";
     this.LoadoutNameTextBox.Width    = 100;
     //
     // SlotNumberTextBox
     //
     this.SlotNumberTextBox.DataBindings.Add("Text", this.BindingSource, "Slot", true);
     this.SlotNumberTextBox.Location = DPIScalingHelper.GetScaledPoint(100, 50);
     this.SlotNumberTextBox.Name     = "SlotNumberTextBox";
     this.SlotNumberTextBox.Width    = 30;
     this.SlotNumberTextBox.Caption  = "Save Slot";
     //
     // SyncWithBankCheckBox
     //
     this.SyncWithBankCheckBox.Name    = "SyncWithBankCheckBox";
     this.SyncWithBankCheckBox.Caption = "Sync Loadout on opening";
     this.SyncWithBankCheckBox.DataBindings.Add("Checked", BindingSource, "SyncWithBank");
     this.SyncWithBankCheckBox.Location = DPIScalingHelper.GetScaledPoint(500, 20);
     //
     // RestrictCheckBox
     //
     this.RemoveProfileRestrictionsCheckBox.Name    = "RemoveProfileRestrictionsCheckBox";
     this.RemoveProfileRestrictionsCheckBox.Caption = "Remove Loadout Restrictions";
     this.RemoveProfileRestrictionsCheckBox.DataBindings.Add("Checked", BindingSource, "RemoveProfileLimits");
     this.RemoveProfileRestrictionsCheckBox.Location = DPIScalingHelper.GetScaledPoint(500, 50);
     //
     // SoloBonusCheckBox
     //
     this.SoloBonusCheckBox.Location = DPIScalingHelper.GetScaledPoint(100, 140);
     this.SoloBonusCheckBox.Caption  = "Solo Bonus:";
     this.SoloBonusCheckBox.Name     = "SoloBonuscheckBox";
     this.SoloBonusCheckBox.DataBindings.Add("Checked", BindingSource, "UnitConfiguration.HasSoloBonus");
     //
     // DifficutlyComboBox
     //
     this.DifficultyDropBox.DataBindings.Add("SelectedValue", BindingSource, "UnitConfiguration.DifficultyLevel");
     this.DifficultyDropBox.Name     = "DifficultyDropBox";
     this.DifficultyDropBox.List     = DifficultyList;
     this.DifficultyDropBox.Location = DPIScalingHelper.GetScaledPoint(100, 80);
     this.DifficultyDropBox.Caption  = "Difficulty:";
     //
     // UnitSpecComboBox
     //
     this.UnitSpecDropBox.DataBindings.Add("SelectedValue", BindingSource, "UnitSpec");
     this.UnitSpecDropBox.DataBindings.Add("Enabled", BindingSource, "UnitSpec_Readonly");
     this.UnitSpecDropBox.List     = UnitSpecList;
     this.UnitSpecDropBox.Location = DPIScalingHelper.GetScaledPoint(100, 110);
     this.UnitSpecDropBox.Name     = "UnitSpecDropBox";
     this.UnitSpecDropBox.Caption  = "UnitSpec:";
     //
     // TotalPerkPointsLabel
     //
     this.TotalPerkPointsLabel.Caption = "Total Perk Points:";
     this.TotalPerkPointsLabel.DataBindings.Add("Text", BindingSource, "PerkPointsCost");
     this.TotalPerkPointsLabel.Name     = "TotalPerkPointsLabel";
     this.TotalPerkPointsLabel.Location = DPIScalingHelper.GetScaledPoint(450, 80);
     //
     // TotalGemsLabel
     //
     this.TotalGemsLabel.Caption = "Total Gems:";
     this.TotalGemsLabel.DataBindings.Add("Text", BindingSource, "Gems.TotalCost");
     this.TotalGemsLabel.Name     = "TotalGemsLabel";
     this.TotalGemsLabel.Location = DPIScalingHelper.GetScaledPoint(450, 110);
     //
     // TotalCPLabel
     //
     this.TotalCPLabel.Caption = "Total Challenge Points:";
     this.TotalCPLabel.DataBindings.Add("Text", BindingSource, "ChallengePoints.TotalCost");
     this.TotalCPLabel.Name     = "TotalCPLabel";
     this.TotalCPLabel.Location = DPIScalingHelper.GetScaledPoint(450, 140);
     //
     // LoadoutDetailsControl
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(LoadoutNameTextBox);
     this.Controls.Add(SlotNumberTextBox);
     this.Controls.Add(SyncWithBankCheckBox);
     this.Controls.Add(RemoveProfileRestrictionsCheckBox);
     this.Controls.Add(SoloBonusCheckBox);
     this.Controls.Add(DifficultyDropBox);
     this.Controls.Add(UnitSpecDropBox);
     this.Controls.Add(TotalPerkPointsLabel);
     this.Controls.Add(TotalGemsLabel);
     this.Controls.Add(TotalCPLabel);
     ((ISupportInitialize)this.BindingSource).EndInit();
     this.ResumeLayout();
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.TypeCaption            = new VLabel();
     this.TypeDropBox            = new VDropBox();
     this.SaveSlotTextBox        = new VTextBox();
     this.BindingSource          = new VBindingSource();
     this.AttackIncrementor      = new VIncrementor();
     this.AttackSpeedIncrementor = new VIncrementor();
     this.VitalsIncrementor      = new VIncrementor();
     this.ArmorIncrementor       = new VIncrementor();
     this.CritChanceIncrementor  = new VIncrementor();
     this.CritDamageIncrementor  = new VIncrementor();
     this.MineralsIncrementor    = new VIncrementor();
     this.KillsIncrementor       = new VIncrementor();
     ((ISupportInitialize)this.BindingSource).BeginInit();
     this.SuspendLayout();
     //
     // BindingSource
     //
     this.BindingSource.DataSource = typeof(Soul);
     // TypeCaption
     //
     this.TypeCaption.AutoSize = true;
     this.TypeCaption.Location = DPIScalingHelper.GetScaledPoint(20, 60);
     this.TypeCaption.Name     = "TypeCaption";
     this.TypeCaption.Size     = DPIScalingHelper.GetScaledSize(57, 15);
     this.TypeCaption.TabIndex = 8;
     this.TypeCaption.Text     = "Soul Type";
     //
     // SaveSlotTextBox
     //
     this.SaveSlotTextBox.Caption  = "Save Slot";
     this.SaveSlotTextBox.Location = DPIScalingHelper.GetScaledPoint(130, 29);
     this.SaveSlotTextBox.DataBindings.Add("Text", BindingSource, "SaveSlot");
     this.SaveSlotTextBox.Name     = "SaveSlotComboBox";
     this.SaveSlotTextBox.Size     = DPIScalingHelper.GetScaledSize(50, 24);
     this.SaveSlotTextBox.TabIndex = 0;
     //
     // TypeComboBox
     //
     this.TypeDropBox.SelectedValueChanged += TypeComboBox_SelectionChanged;
     this.TypeDropBox.Location              = DPIScalingHelper.GetScaledPoint(20, 91);
     this.TypeDropBox.BindingContext        = new BindingContext();
     this.TypeDropBox.List     = SoulTypesList;
     this.TypeDropBox.Name     = "TypeComboBox";
     this.TypeDropBox.Size     = DPIScalingHelper.GetScaledSize(220, 23);
     this.TypeDropBox.TabIndex = 9;
     //
     // AttackIncrementor
     //
     this.AttackIncrementor.Location = DPIScalingHelper.GetScaledPoint(130, 124);
     this.AttackIncrementor.Caption  = "Attack:";
     this.AttackIncrementor.DataBindings.Add("Value", BindingSource, "Attack");
     this.AttackIncrementor.DataBindings.Add("MaxValue", BindingSource, "MaxAttack");
     this.AttackIncrementor.DataBindings.Add("MinValue", BindingSource, "MinAttack");
     //
     // AttackSpeedIncrementor
     //
     this.AttackSpeedIncrementor.Location = DPIScalingHelper.GetScaledPoint(130, 155);
     this.AttackSpeedIncrementor.Caption  = "Attack Speed:";
     this.AttackSpeedIncrementor.DataBindings.Add("Value", BindingSource, "AttackSpeed");
     this.AttackSpeedIncrementor.DataBindings.Add("MaxValue", BindingSource, "MaxAttackSpeed");
     this.AttackSpeedIncrementor.DataBindings.Add("MinValue", BindingSource, "MinAttackSpeed");
     //
     // VitalsIncrementor
     //
     this.VitalsIncrementor.Location = DPIScalingHelper.GetScaledPoint(130, 186);
     this.VitalsIncrementor.Caption  = "Vitals:";
     this.VitalsIncrementor.DataBindings.Add("Value", BindingSource, "Vitals");
     this.VitalsIncrementor.DataBindings.Add("MaxValue", BindingSource, "MaxVitals");
     this.VitalsIncrementor.DataBindings.Add("MinValue", BindingSource, "MinVitals");
     //
     // ArmorIncrementor
     //
     this.ArmorIncrementor.Location = DPIScalingHelper.GetScaledPoint(130, 217);
     this.ArmorIncrementor.Caption  = "Armor:";
     this.ArmorIncrementor.DataBindings.Add("Value", BindingSource, "Armor");
     this.ArmorIncrementor.DataBindings.Add("MaxValue", BindingSource, "MaxArmor");
     this.ArmorIncrementor.DataBindings.Add("MinValue", BindingSource, "MinArmor");
     //
     // CritChanceIncrementor
     //
     this.CritChanceIncrementor.Location = DPIScalingHelper.GetScaledPoint(130, 248);
     this.CritChanceIncrementor.Caption  = "Crit Chance:";
     this.CritChanceIncrementor.DataBindings.Add("Value", BindingSource, "CriticalChance");
     this.CritChanceIncrementor.DataBindings.Add("MaxValue", BindingSource, "MaxCriticalChance");
     this.CritChanceIncrementor.DataBindings.Add("MinValue", BindingSource, "MinCriticalChance");
     //
     // CritDamageIncrementor
     //
     this.CritDamageIncrementor.Location = DPIScalingHelper.GetScaledPoint(130, 279);
     this.CritDamageIncrementor.Caption  = "Crit Damage:";
     this.CritDamageIncrementor.DataBindings.Add("Value", BindingSource, "CriticalDamage");
     this.CritDamageIncrementor.DataBindings.Add("MaxValue", BindingSource, "MaxCriticalDamage");
     this.CritDamageIncrementor.DataBindings.Add("MinValue", BindingSource, "MinCriticalDamage");
     //
     // MineralsIncrementor
     //
     this.MineralsIncrementor.Location = DPIScalingHelper.GetScaledPoint(130, 310);
     this.MineralsIncrementor.Caption  = "Minerals:";
     this.MineralsIncrementor.DataBindings.Add("Value", BindingSource, "Minerals");
     this.MineralsIncrementor.DataBindings.Add("MaxValue", BindingSource, "MaxMinerals");
     this.MineralsIncrementor.DataBindings.Add("MinValue", BindingSource, "MinMinerals");
     this.MineralsIncrementor.IncrementAmount = 1000;
     //
     // KillsIncrementor
     //
     this.KillsIncrementor.Location = DPIScalingHelper.GetScaledPoint(130, 341);
     this.KillsIncrementor.Caption  = "Kills:";
     this.KillsIncrementor.DataBindings.Add("Value", BindingSource, "Kills");
     this.KillsIncrementor.DataBindings.Add("MaxValue", BindingSource, "MaxKills");
     this.KillsIncrementor.DataBindings.Add("MinValue", BindingSource, "MinKills");
     this.KillsIncrementor.IncrementAmount = 100;
     //
     // SoulForm
     //
     this.AutoScaleDimensions = DPIScalingHelper.AutoSizeDimensions;
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = DPIScalingHelper.GetScaledSize(258, 419);
     this.Controls.Add(this.TypeCaption);
     this.Controls.Add(this.TypeDropBox);
     this.Controls.Add(this.SaveSlotTextBox);
     this.Controls.Add(this.AttackIncrementor);
     this.Controls.Add(this.AttackSpeedIncrementor);
     this.Controls.Add(this.VitalsIncrementor);
     this.Controls.Add(this.ArmorIncrementor);
     this.Controls.Add(this.CritChanceIncrementor);
     this.Controls.Add(this.CritDamageIncrementor);
     this.Controls.Add(this.MineralsIncrementor);
     this.Controls.Add(this.KillsIncrementor);
     this.Name = "SoulForm";
     this.Text = "Create/Edit Soul";
     ((ISupportInitialize)this.BindingSource).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
示例#18
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.TitleLabel               = new VLabel();
     this.TotalUniquesLabel        = new VLabel();
     this.RemainingPowerSoulsLabel = new VLabel();
     this.SoulControl1             = new VUserInterface.SingleSoulControl();
     this.SoulControl2             = new VUserInterface.SingleSoulControl();
     this.SoulControl3             = new VUserInterface.SingleSoulControl();
     this.SoulControl4             = new VUserInterface.SingleSoulControl();
     this.SoulControl5             = new VUserInterface.SingleSoulControl();
     this.SoulControl6             = new VUserInterface.SingleSoulControl();
     this.SoulControl7             = new VUserInterface.SingleSoulControl();
     this.SoulControl8             = new VUserInterface.SingleSoulControl();
     this.SoulControl9             = new VUserInterface.SingleSoulControl();
     this.SoulControl10            = new VUserInterface.SingleSoulControl();
     this.SoulControl11            = new VUserInterface.SingleSoulControl();
     this.SoulControl12            = new VUserInterface.SingleSoulControl();
     this.SoulControl13            = new VUserInterface.SingleSoulControl();
     this.SoulControl14            = new VUserInterface.SingleSoulControl();
     this.SoulControl15            = new VUserInterface.SingleSoulControl();
     this.Page1Button              = new VUserInterface.CommonControls.DPIButton();
     this.Page2Button              = new VUserInterface.CommonControls.DPIButton();
     this.Page3Button              = new VUserInterface.CommonControls.DPIButton();
     this.BindingSource            = new VBindingSource();
     this.SuspendLayout();
     //
     // BindingSource
     //
     this.BindingSource.DataSource = typeof(ISoulCollectable);
     //
     // TitleLabel
     //
     this.TitleLabel.AutoSize = true;
     this.TitleLabel.Font     = new System.Drawing.Font("Segoe UI", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
     this.TitleLabel.Location = DPIScalingHelper.GetScaledPoint(235, 13);
     this.TitleLabel.Name     = "TitleLabel";
     this.TitleLabel.Size     = DPIScalingHelper.GetScaledSize(130, 25);
     this.TitleLabel.TabIndex = 0;
     this.TitleLabel.Text     = "Soul Collection";
     //
     // TotalUniquesLabel
     //
     this.TotalUniquesLabel.AutoSize = true;
     this.TotalUniquesLabel.Caption  = "Uniques";
     this.TotalUniquesLabel.DataBindings.Add("Text", BindingSource, "TotalUniques");
     this.TotalUniquesLabel.Location = DPIScalingHelper.GetScaledPoint(200, 42);
     this.TotalUniquesLabel.Name     = "TotalUniquesLabel";
     this.TotalUniquesLabel.Size     = DPIScalingHelper.GetScaledSize(50, 15);
     this.TotalUniquesLabel.TabIndex = 1;
     //
     // RemainingPowerSoulsLabel
     //
     this.RemainingPowerSoulsLabel.AutoSize = true;
     this.RemainingPowerSoulsLabel.DataBindings.Add("Caption", BindingSource, "PowerSoulsCountCaption");
     this.RemainingPowerSoulsLabel.DataBindings.Add("Text", BindingSource, "PowerSoulsCount");
     this.RemainingPowerSoulsLabel.Location = DPIScalingHelper.GetScaledPoint(445, 42);
     this.RemainingPowerSoulsLabel.Name     = "RemainingPowerSoulsLabel";
     this.RemainingPowerSoulsLabel.Size     = DPIScalingHelper.GetScaledSize(68, 15);
     this.RemainingPowerSoulsLabel.TabIndex = 2;
     //
     // SoulControl1
     //
     this.SoulControl1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.SoulControl1.Location  = DPIScalingHelper.GetScaledPoint(37, 69);
     this.SoulControl1.Name      = "SoulControl1";
     this.SoulControl1.Selected  = false;
     this.SoulControl1.Size      = DPIScalingHelper.GetScaledSize(100, 70);
     this.SoulControl1.TabIndex  = 3;
     this.SoulControl1.UseVisualStyleBackColor = true;
     this.SoulControl1.SelectedChanged        += SoulControl_SelectedChanged;
     //
     // SoulControl2
     //
     this.SoulControl2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.SoulControl2.Location  = DPIScalingHelper.GetScaledPoint(37, 146);
     this.SoulControl2.Name      = "SoulControl2";
     this.SoulControl2.Selected  = false;
     this.SoulControl2.Size      = DPIScalingHelper.GetScaledSize(100, 70);
     this.SoulControl2.TabIndex  = 4;
     this.SoulControl2.UseVisualStyleBackColor = true;
     this.SoulControl2.SelectedChanged        += SoulControl_SelectedChanged;
     //
     // SoulControl3
     //
     this.SoulControl3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.SoulControl3.Location  = DPIScalingHelper.GetScaledPoint(37, 222);
     this.SoulControl3.Name      = "SoulControl3";
     this.SoulControl3.Selected  = false;
     this.SoulControl3.Size      = DPIScalingHelper.GetScaledSize(100, 70);
     this.SoulControl3.TabIndex  = 5;
     this.SoulControl3.UseVisualStyleBackColor = true;
     this.SoulControl3.SelectedChanged        += SoulControl_SelectedChanged;
     //
     // SoulControl4
     //
     this.SoulControl4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.SoulControl4.Location  = DPIScalingHelper.GetScaledPoint(143, 69);
     this.SoulControl4.Name      = "SoulControl4";
     this.SoulControl4.Selected  = false;
     this.SoulControl4.Size      = DPIScalingHelper.GetScaledSize(100, 70);
     this.SoulControl4.TabIndex  = 11;
     this.SoulControl4.UseVisualStyleBackColor = true;
     this.SoulControl4.SelectedChanged        += SoulControl_SelectedChanged;
     //
     // SoulControl5
     //
     this.SoulControl5.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.SoulControl5.Location  = DPIScalingHelper.GetScaledPoint(143, 146);
     this.SoulControl5.Name      = "SoulControl5";
     this.SoulControl5.Selected  = false;
     this.SoulControl5.Size      = DPIScalingHelper.GetScaledSize(100, 70);
     this.SoulControl5.TabIndex  = 10;
     this.SoulControl5.UseVisualStyleBackColor = true;
     this.SoulControl5.SelectedChanged        += SoulControl_SelectedChanged;
     //
     // SoulControl6
     //
     this.SoulControl6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.SoulControl6.Location  = DPIScalingHelper.GetScaledPoint(143, 222);
     this.SoulControl6.Name      = "SoulControl6";
     this.SoulControl6.Selected  = false;
     this.SoulControl6.Size      = DPIScalingHelper.GetScaledSize(100, 70);
     this.SoulControl6.TabIndex  = 9;
     this.SoulControl6.UseVisualStyleBackColor = true;
     this.SoulControl6.SelectedChanged        += SoulControl_SelectedChanged;
     //
     // SoulControl7
     //
     this.SoulControl7.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.SoulControl7.Location  = DPIScalingHelper.GetScaledPoint(249, 69);
     this.SoulControl7.Name      = "SoulControl7";
     this.SoulControl7.Selected  = false;
     this.SoulControl7.Size      = DPIScalingHelper.GetScaledSize(100, 70);
     this.SoulControl7.TabIndex  = 14;
     this.SoulControl7.UseVisualStyleBackColor = true;
     this.SoulControl7.SelectedChanged        += SoulControl_SelectedChanged;
     //
     // SoulControl8
     //
     this.SoulControl8.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.SoulControl8.Location  = DPIScalingHelper.GetScaledPoint(249, 146);
     this.SoulControl8.Name      = "SoulControl8";
     this.SoulControl8.Selected  = false;
     this.SoulControl8.Size      = DPIScalingHelper.GetScaledSize(100, 70);
     this.SoulControl8.TabIndex  = 13;
     this.SoulControl8.UseVisualStyleBackColor = true;
     this.SoulControl8.SelectedChanged        += SoulControl_SelectedChanged;
     //
     // SoulControl9
     //
     this.SoulControl9.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.SoulControl9.Location  = DPIScalingHelper.GetScaledPoint(249, 222);
     this.SoulControl9.Name      = "SoulControl9";
     this.SoulControl9.Selected  = false;
     this.SoulControl9.Size      = DPIScalingHelper.GetScaledSize(100, 70);
     this.SoulControl9.TabIndex  = 12;
     this.SoulControl9.UseVisualStyleBackColor = true;
     this.SoulControl9.SelectedChanged        += SoulControl_SelectedChanged;
     //
     // SoulControl10
     //
     this.SoulControl10.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.SoulControl10.Location  = DPIScalingHelper.GetScaledPoint(355, 69);
     this.SoulControl10.Name      = "SoulControl10";
     this.SoulControl10.Selected  = false;
     this.SoulControl10.Size      = DPIScalingHelper.GetScaledSize(100, 70);
     this.SoulControl10.TabIndex  = 17;
     this.SoulControl10.UseVisualStyleBackColor = true;
     this.SoulControl10.SelectedChanged        += SoulControl_SelectedChanged;
     //
     // SoulControl11
     //
     this.SoulControl11.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.SoulControl11.Location  = DPIScalingHelper.GetScaledPoint(355, 146);
     this.SoulControl11.Name      = "SoulControl11";
     this.SoulControl11.Selected  = false;
     this.SoulControl11.Size      = DPIScalingHelper.GetScaledSize(100, 70);
     this.SoulControl11.TabIndex  = 16;
     this.SoulControl11.UseVisualStyleBackColor = true;
     this.SoulControl11.SelectedChanged        += SoulControl_SelectedChanged;
     //
     // SoulControl12
     //
     this.SoulControl12.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.SoulControl12.Location  = DPIScalingHelper.GetScaledPoint(355, 222);
     this.SoulControl12.Name      = "SoulControl12";
     this.SoulControl12.Selected  = false;
     this.SoulControl12.Size      = DPIScalingHelper.GetScaledSize(100, 70);
     this.SoulControl12.TabIndex  = 15;
     this.SoulControl12.UseVisualStyleBackColor = true;
     this.SoulControl12.SelectedChanged        += SoulControl_SelectedChanged;
     //
     // SoulControl13
     //
     this.SoulControl13.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.SoulControl13.Location  = DPIScalingHelper.GetScaledPoint(461, 69);
     this.SoulControl13.Name      = "SoulControl13";
     this.SoulControl13.Selected  = false;
     this.SoulControl13.Size      = DPIScalingHelper.GetScaledSize(100, 70);
     this.SoulControl13.TabIndex  = 20;
     this.SoulControl13.UseVisualStyleBackColor = true;
     this.SoulControl13.SelectedChanged        += SoulControl_SelectedChanged;
     //
     // SoulControl14
     //
     this.SoulControl14.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.SoulControl14.Location  = DPIScalingHelper.GetScaledPoint(461, 146);
     this.SoulControl14.Name      = "SoulControl14";
     this.SoulControl14.Selected  = false;
     this.SoulControl14.Size      = DPIScalingHelper.GetScaledSize(100, 70);
     this.SoulControl14.TabIndex  = 19;
     this.SoulControl14.UseVisualStyleBackColor = true;
     this.SoulControl14.SelectedChanged        += SoulControl_SelectedChanged;
     //
     // SoulControl15
     //
     this.SoulControl15.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.SoulControl15.Location  = DPIScalingHelper.GetScaledPoint(461, 222);
     this.SoulControl15.Name      = "SoulControl15";
     this.SoulControl15.Selected  = false;
     this.SoulControl15.Size      = DPIScalingHelper.GetScaledSize(100, 70);
     this.SoulControl15.TabIndex  = 18;
     this.SoulControl15.UseVisualStyleBackColor = true;
     this.SoulControl15.SelectedChanged        += SoulControl_SelectedChanged;
     //
     // button1
     //
     this.Page1Button.Click   += OnPageButtonClick;
     this.Page1Button.Location = DPIScalingHelper.GetScaledPoint(143, 298);
     this.Page1Button.Name     = "Page1Button";
     this.Page1Button.Size     = DPIScalingHelper.GetScaledSize(100, 24);
     this.Page1Button.TabIndex = 6;
     this.Page1Button.Text     = "1";
     this.Page1Button.UseVisualStyleBackColor = true;
     //
     // button2
     //
     this.Page2Button.Click   += OnPageButtonClick;
     this.Page2Button.Location = DPIScalingHelper.GetScaledPoint(249, 298);
     this.Page2Button.Name     = "Page2Button";
     this.Page2Button.Size     = DPIScalingHelper.GetScaledSize(100, 24);
     this.Page2Button.TabIndex = 7;
     this.Page2Button.Text     = "2";
     this.Page2Button.UseVisualStyleBackColor = true;
     //
     // button3
     //
     this.Page3Button.Click   += OnPageButtonClick;
     this.Page3Button.Location = DPIScalingHelper.GetScaledPoint(355, 298);
     this.Page3Button.Name     = "Page3Button";
     this.Page3Button.Size     = DPIScalingHelper.GetScaledSize(100, 24);
     this.Page3Button.TabIndex = 8;
     this.Page3Button.Text     = "3";
     this.Page3Button.UseVisualStyleBackColor = true;
     //
     // VCommonSoulCollectionControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.SoulControl13);
     this.Controls.Add(this.SoulControl14);
     this.Controls.Add(this.SoulControl15);
     this.Controls.Add(this.SoulControl10);
     this.Controls.Add(this.SoulControl11);
     this.Controls.Add(this.SoulControl12);
     this.Controls.Add(this.SoulControl7);
     this.Controls.Add(this.SoulControl8);
     this.Controls.Add(this.SoulControl9);
     this.Controls.Add(this.SoulControl4);
     this.Controls.Add(this.SoulControl5);
     this.Controls.Add(this.SoulControl6);
     this.Controls.Add(this.Page3Button);
     this.Controls.Add(this.Page2Button);
     this.Controls.Add(this.Page1Button);
     this.Controls.Add(this.SoulControl3);
     this.Controls.Add(this.SoulControl2);
     this.Controls.Add(this.SoulControl1);
     this.Controls.Add(this.RemainingPowerSoulsLabel);
     this.Controls.Add(this.TotalUniquesLabel);
     this.Controls.Add(this.TitleLabel);
     this.Name = "VCommonSoulCollectionControl";
     this.Size = DPIScalingHelper.GetScaledSize(575, 342);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.LoadoutsLoadList     = new VUserInterface.CommonControls.LoadList();
     this.SoulsLoadList        = new VUserInterface.CommonControls.LoadList();
     this.TitleLabel           = new VUserInterface.CommonControls.VLabel();
     this.LeftPanel            = new VUserInterface.CommonControls.DPIPanel();
     this.SoulsButton          = new VUserInterface.CommonControls.VButton();
     this.LoadoutsButton       = new VUserInterface.CommonControls.VButton();
     this.ProfileButton        = new VUserInterface.CommonControls.VButton();
     this.RegistryButton       = new VButton();
     this.RightPanel           = new VUserInterface.CommonControls.DPIPanel();
     this.ProfilePanel         = new VUserInterface.CommonControls.DPIPanel();
     this.RegistryPanel        = new DPIPanel();
     this.LoadoutsPanel        = new VUserInterface.CommonControls.DPIPanel();
     this.SoulsPanel           = new VUserInterface.CommonControls.DPIPanel();
     this.SoulCollectionButton = new VButton();
     this.ProfileControl       = new ProfileControl();
     this.RegistryControl      = new RegistryControl();
     this.LeftPanel.SuspendLayout();
     this.RightPanel.SuspendLayout();
     this.LoadoutsPanel.SuspendLayout();
     this.SoulsPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // LoadoutsLoadList
     //
     this.LoadoutsLoadList.BizoType = typeof(VBusiness.Loadouts.Loadout);
     this.LoadoutsLoadList.Location = DPIScalingHelper.GetScaledPoint(50, 30);
     this.LoadoutsLoadList.Name     = "LoadoutsLoadList";
     this.LoadoutsLoadList.Size     = DPIScalingHelper.GetScaledSize(330, 160);
     this.LoadoutsLoadList.TabIndex = 0;
     this.LoadoutsLoadList.Text     = "Loadouts";
     //
     // SoulsLoadList
     //
     this.SoulsLoadList.BizoType = typeof(VBusiness.Souls.Soul);
     this.SoulsLoadList.Location = DPIScalingHelper.GetScaledPoint(50, 30);
     this.SoulsLoadList.Name     = "SoulsLoadList";
     this.SoulsLoadList.Size     = DPIScalingHelper.GetScaledSize(330, 160);
     this.SoulsLoadList.TabIndex = 0;
     this.SoulsLoadList.Text     = "Souls";
     //
     // TitleLabel
     //
     this.TitleLabel.AutoSize  = true;
     this.TitleLabel.Font      = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
     this.TitleLabel.Location  = DPIScalingHelper.GetScaledPoint(1, 5);
     this.TitleLabel.Name      = "TitleLabel";
     this.TitleLabel.Size      = DPIScalingHelper.GetScaledSize(598, 30);
     this.TitleLabel.TabIndex  = 0;
     this.TitleLabel.Text      = "Annihilation Special Forces Companion Application";
     this.TitleLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // LeftPanel
     //
     this.LeftPanel.Controls.Add(this.SoulsButton);
     this.LeftPanel.Controls.Add(this.LoadoutsButton);
     this.LeftPanel.Controls.Add(this.ProfileButton);
     this.LeftPanel.Controls.Add(this.RegistryButton);
     this.LeftPanel.Controls.Add(this.SoulCollectionButton);
     this.LeftPanel.Location = DPIScalingHelper.GetScaledPoint(0, 35);
     this.LeftPanel.Name     = "LeftPanel";
     this.LeftPanel.Size     = DPIScalingHelper.GetScaledSize(200, 400);
     this.LeftPanel.TabIndex = 0;
     //
     // SoulsButton
     //
     this.SoulsButton.Location = DPIScalingHelper.GetScaledPoint(12, 133);
     this.SoulsButton.Name     = "SoulsButton";
     this.SoulsButton.Size     = DPIScalingHelper.GetScaledSize(182, 31);
     this.SoulsButton.TabIndex = 2;
     this.SoulsButton.Text     = "Souls";
     this.SoulsButton.UseVisualStyleBackColor = true;
     this.SoulsButton.Click += new System.EventHandler(this.SoulsButton_Click);
     //
     // LoadoutsButton
     //
     this.LoadoutsButton.Location = DPIScalingHelper.GetScaledPoint(12, 96);
     this.LoadoutsButton.Name     = "LoadoutsButton";
     this.LoadoutsButton.Size     = DPIScalingHelper.GetScaledSize(182, 31);
     this.LoadoutsButton.TabIndex = 1;
     this.LoadoutsButton.Text     = "Loadouts";
     this.LoadoutsButton.UseVisualStyleBackColor = true;
     this.LoadoutsButton.Click += new System.EventHandler(this.LoadoutsButton_Click);
     //
     // SoulCollectionButton
     //
     this.SoulCollectionButton.Location = DPIScalingHelper.GetScaledPoint(12, 170);
     this.SoulCollectionButton.Name     = "SoulCollectionButton";
     this.SoulCollectionButton.Size     = DPIScalingHelper.GetScaledSize(182, 31);
     this.SoulCollectionButton.TabIndex = 1;
     this.SoulCollectionButton.Text     = "Soul Collection";
     this.SoulCollectionButton.UseVisualStyleBackColor = true;
     this.SoulCollectionButton.Click += new System.EventHandler(this.SoulCollectionButton_Click);
     //
     // ProfileButton
     //
     this.ProfileButton.Location = DPIScalingHelper.GetScaledPoint(12, 59);
     this.ProfileButton.Name     = "ProfileButton";
     this.ProfileButton.Size     = DPIScalingHelper.GetScaledSize(182, 31);
     this.ProfileButton.TabIndex = 0;
     this.ProfileButton.Text     = "Profile";
     this.ProfileButton.UseVisualStyleBackColor = true;
     this.ProfileButton.Visible = true;
     this.ProfileButton.Click  += new System.EventHandler(this.ProfileButton_Click);
     //
     // RegistryButton
     //
     this.RegistryButton.Location = DPIScalingHelper.GetScaledPoint(12, 207);
     this.RegistryButton.Name     = "RegistryButton";
     this.RegistryButton.Size     = DPIScalingHelper.GetScaledSize(182, 31);
     this.RegistryButton.TabIndex = 0;
     this.RegistryButton.Text     = "Settings";
     this.RegistryButton.UseVisualStyleBackColor = true;
     this.RegistryButton.Visible = true;
     this.RegistryButton.Click  += new System.EventHandler(this.RegistryButton_Click);
     //
     // RightPanel
     //
     this.RightPanel.Controls.Add(this.ProfilePanel);
     this.RightPanel.Controls.Add(this.LoadoutsPanel);
     this.RightPanel.Controls.Add(this.SoulsPanel);
     this.RightPanel.Controls.Add(this.RegistryPanel);
     this.RightPanel.Location = DPIScalingHelper.GetScaledPoint(200, 35);
     this.RightPanel.Name     = "RightPanel";
     this.RightPanel.Size     = DPIScalingHelper.GetScaledSize(450, 400);
     this.RightPanel.TabIndex = 1;
     //
     // ProfilePanel
     //
     this.ProfilePanel.Controls.Add(this.ProfileControl);
     this.ProfilePanel.Location = DPIScalingHelper.GetScaledPoint(0, 0);
     this.ProfilePanel.Name     = "ProfilePanel";
     this.ProfilePanel.Size     = DPIScalingHelper.GetScaledSize(450, 400);
     this.ProfilePanel.TabIndex = 1;
     this.ProfilePanel.Visible  = true;
     //
     // LoadoutsPanel
     //
     this.LoadoutsPanel.Controls.Add(this.LoadoutsLoadList);
     this.LoadoutsPanel.Location = DPIScalingHelper.GetScaledPoint(0, 0);
     this.LoadoutsPanel.Name     = "LoadoutsPanel";
     this.LoadoutsPanel.Size     = DPIScalingHelper.GetScaledSize(450, 400);
     this.LoadoutsPanel.TabIndex = 1;
     this.LoadoutsPanel.Visible  = false;
     //
     // SoulsPanel
     //
     this.SoulsPanel.Controls.Add(this.SoulsLoadList);
     this.SoulsPanel.Location = DPIScalingHelper.GetScaledPoint(0, 0);
     this.SoulsPanel.Name     = "SoulsPanel";
     this.SoulsPanel.Size     = DPIScalingHelper.GetScaledSize(450, 400);
     this.SoulsPanel.TabIndex = 1;
     this.SoulsPanel.Visible  = false;
     //
     // RegistryPanel
     //
     this.RegistryPanel.Controls.Add(this.RegistryControl);
     this.RegistryPanel.Location = DPIScalingHelper.GetScaledPoint(0, 0);
     this.RegistryPanel.Name     = "RegistryPanel";
     this.RegistryPanel.Size     = DPIScalingHelper.GetScaledSize(450, 400);
     this.RegistryPanel.TabIndex = 1;
     this.RegistryPanel.Visible  = false;
     //
     // ProfileControl
     //
     this.ProfileControl.Name     = "ProfileControl";
     this.ProfileControl.Size     = DPIScalingHelper.GetScaledSize(350, 300);
     this.ProfileControl.Location = DPIScalingHelper.GetScaledPoint(0, 0);
     //
     // RegistryControl
     //
     this.RegistryControl.Name     = "RegistryControl";
     this.RegistryControl.Size     = DPIScalingHelper.GetScaledSize(350, 300);
     this.RegistryControl.Location = DPIScalingHelper.GetScaledPoint(0, 0);
     //
     // MainForm
     //
     this.AutoScaleDimensions = DPIScalingHelper.AutoSizeDimensions;
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = DPIScalingHelper.GetScaledSize(600, 300);
     this.Controls.Add(this.TitleLabel);
     this.Controls.Add(this.LeftPanel);
     this.Controls.Add(this.RightPanel);
     this.Icon = Properties.Resources.asflogo;
     this.Name = "MainForm";
     this.Text = "Annihilation Special Forces Companion App";
     this.LeftPanel.ResumeLayout(false);
     this.RightPanel.ResumeLayout(false);
     this.LoadoutsPanel.ResumeLayout(false);
     this.SoulsPanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components              = new System.ComponentModel.Container();
     this.bindingSource      = new VBindingSource();
     this.SoulsCostLabel     = new VLabel();
     this.TotalCostLabel     = new VLabel();
     this.RemainingCostLabel = new VLabel();
     this.Soul1Control       = new SoulControl();
     this.Soul2Control       = new SoulControl();
     this.Soul3Control       = new SoulControl();
     this.SoulPowerButton    = new DPIButton();
     this.SoulPower1Label    = new VLabel();
     this.SoulPower2Label    = new VLabel();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit();
     //
     // bindingSource
     //
     this.bindingSource.DataSource = typeof(VLoadoutSouls);
     //
     // PageCostLabel;
     //
     this.SoulsCostLabel.DataBindings.Add("Text", bindingSource, "SoulCosts");
     this.SoulsCostLabel.Caption  = "Cost of Souls:";
     this.SoulsCostLabel.Location = DPIScalingHelper.GetScaledPoint(100, 0);
     this.SoulsCostLabel.Name     = "PageCostLabel";
     this.SoulsCostLabel.Size     = DPIScalingHelper.GetScaledSize(100, 30);
     //
     // TotalCostLabel;
     //
     this.TotalCostLabel.DataBindings.Add("Text", bindingSource, "Loadout.PerkPointsCost");
     this.TotalCostLabel.Caption  = "Total Loadout Cost:";
     this.TotalCostLabel.Location = DPIScalingHelper.GetScaledPoint(300, 0);
     this.TotalCostLabel.Name     = "TotalCostLabel";
     this.TotalCostLabel.Size     = DPIScalingHelper.GetScaledSize(100, 30);
     //
     // RemainingCostLabel;
     //
     this.RemainingCostLabel.DataBindings.Add("Text", bindingSource, "Loadout.RemainingPerkPoints");
     this.RemainingCostLabel.Caption  = "Available PP:";
     this.RemainingCostLabel.Location = DPIScalingHelper.GetScaledPoint(500, 0);
     this.RemainingCostLabel.Name     = "RemainingCostLabel";
     this.RemainingCostLabel.Size     = DPIScalingHelper.GetScaledSize(100, 30);
     //
     // Soul1Control
     //
     this.Soul1Control.DataBindings.Add("Soul", bindingSource, "Soul1");
     this.Soul1Control.DataBindings.Add("SoulCollection", bindingSource, ".");
     this.Soul1Control.Location       = DPIScalingHelper.GetScaledPoint(85, 30);
     this.Soul1Control.OnSoulChanged += Soul1Control_OnSoulChanged;
     //
     // Soul2Control
     //
     this.Soul2Control.DataBindings.Add("Soul", bindingSource, "Soul2");
     this.Soul2Control.DataBindings.Add("SoulCollection", bindingSource, ".");
     this.Soul2Control.Enabled        = Profile.GetProfile().Rank >= PlayerRank.SuperCrusader;
     this.Soul2Control.Location       = DPIScalingHelper.GetScaledPoint(85, 90);
     this.Soul2Control.OnSoulChanged += Soul2Control_OnSoulChanged;
     //
     // Soul3Control
     //
     this.Soul3Control.DataBindings.Add("Soul", bindingSource, "Soul3");
     this.Soul3Control.DataBindings.Add("SoulCollection", bindingSource, ".");
     this.Soul3Control.Enabled        = false;
     this.Soul3Control.Location       = DPIScalingHelper.GetScaledPoint(85, 150);
     this.Soul3Control.OnSoulChanged += Soul3Control_OnSoulChanged;
     //
     // SoulPowerButton
     //
     this.SoulPowerButton.Click   += VLoadoutSoulsControl_Click;
     this.SoulPowerButton.Size     = DPIScalingHelper.GetScaledSize(150, 30);
     this.SoulPowerButton.Location = DPIScalingHelper.GetScaledPoint(85, 220);
     this.SoulPowerButton.Name     = "SoulPowerButton";
     this.SoulPowerButton.Text     = "Soul Powers";
     //
     // SoulPower1Label
     //
     this.SoulPower1Label.Caption = "Soul Power 1:";
     this.SoulPower1Label.DataBindings.Add("Text", bindingSource, "SoulPower1");
     this.SoulPower1Label.Location = DPIScalingHelper.GetScaledPoint(170, 260);
     this.SoulPower1Label.Name     = "SoulPowerButton";
     this.SoulPower1Label.Visible  = Profile.GetProfile().SoulCollection.PowerSoulsCount > 0;
     //
     // SoulPower2Label
     //
     this.SoulPower2Label.Caption = "Soul Power 2:";
     this.SoulPower2Label.DataBindings.Add("Text", bindingSource, "SoulPower2");
     this.SoulPower2Label.Location = DPIScalingHelper.GetScaledPoint(170, 290);
     this.SoulPower2Label.Name     = "SoulPowerButton";
     this.SoulPower2Label.Visible  = Profile.GetProfile().SoulCollection.PowerSoulsCount > 1;
     //
     // VSoulCollectionControl
     //
     this.Controls.Add(TotalCostLabel);
     this.Controls.Add(SoulsCostLabel);
     this.Controls.Add(RemainingCostLabel);
     this.Controls.Add(Soul1Control);
     this.Controls.Add(Soul2Control);
     this.Controls.Add(Soul3Control);
     this.Controls.Add(SoulPowerButton);
     this.Controls.Add(SoulPower1Label);
     this.Controls.Add(SoulPower2Label);
     this.Size = DPIScalingHelper.GetScaledSize(589, 330);
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components = new System.ComponentModel.Container();
     this.OptimiseForDamageButton    = new VButton();
     this.OptimiseForToughnessButton = new VButton();
     this.Perk1Control       = new VPerkControl();
     this.Perk2Control       = new VPerkControl();
     this.Perk3Control       = new VPerkControl();
     this.Perk4Control       = new VPerkControl();
     this.Perk5Control       = new VPerkControl();
     this.Perk6Control       = new VPerkControl();
     this.perksBindingSource = new VBindingSource();
     this.MainGroupBox       = new DPIGroupBox();
     this.PageCostLabel      = new VLabel();
     this.TotalCostLabel     = new VLabel();
     this.RemainingCostLabel = new VLabel();
     this.page1Button        = new VUserInterface.CommonControls.VButton();
     this.page2Button        = new VUserInterface.CommonControls.VButton();
     this.page3Button        = new VUserInterface.CommonControls.VButton();
     this.page4Button        = new VUserInterface.CommonControls.VButton();
     this.page5Button        = new VUserInterface.CommonControls.VButton();
     this.page6Button        = new VUserInterface.CommonControls.VButton();
     this.page7Button        = new VUserInterface.CommonControls.VButton();
     this.page8Button        = new VUserInterface.CommonControls.VButton();
     this.page9Button        = new VUserInterface.CommonControls.VButton();
     this.page10Button       = new VUserInterface.CommonControls.VButton();
     this.page11Button       = new VUserInterface.CommonControls.VButton();
     this.page12Button       = new VUserInterface.CommonControls.VButton();
     this.page13Button       = new VUserInterface.CommonControls.VButton();
     this.page14Button       = new VUserInterface.CommonControls.VButton();
     this.page15Button       = new VUserInterface.CommonControls.VButton();
     this.previousPageButton = new VUserInterface.CommonControls.VButton();
     this.nextPageButton     = new VUserInterface.CommonControls.VButton();
     ((System.ComponentModel.ISupportInitialize)(this.perksBindingSource)).BeginInit();
     //
     // OptimiseForDamageButton
     //
     this.OptimiseForDamageButton.Click   += OptimiseForDamageButton_Click;
     this.OptimiseForDamageButton.Name     = "OptimiseForDamageButton";
     this.OptimiseForDamageButton.Text     = "Maximise Damage";
     this.OptimiseForDamageButton.Location = DPIScalingHelper.GetScaledPoint(70, 25);
     this.OptimiseForDamageButton.Size     = DPIScalingHelper.GetScaledSize(150, 25);
     //
     // OptimiseForToughnessButton
     //
     this.OptimiseForToughnessButton.Click   += OptimiseForToughnessButton_Click;
     this.OptimiseForToughnessButton.Name     = "OptimiseForToughnessButton";
     this.OptimiseForToughnessButton.Text     = "Maximise Toughness";
     this.OptimiseForToughnessButton.Location = DPIScalingHelper.GetScaledPoint(350, 25);
     this.OptimiseForToughnessButton.Size     = DPIScalingHelper.GetScaledSize(150, 25);
     //
     // Perk1Control
     //
     this.Perk1Control.Location = DPIScalingHelper.GetScaledPoint(35, 20);
     this.Perk1Control.DataBindings.Add("Perk", this.perksBindingSource, "Perk1");
     this.Perk1Control.TabIndex = 2;
     //
     // Perk2Control
     //
     this.Perk2Control.Location = DPIScalingHelper.GetScaledPoint(208, 20);
     this.Perk2Control.DataBindings.Add("Perk", this.perksBindingSource, "Perk2");
     this.Perk2Control.TabIndex = 3;
     //
     // Perk3Control
     //
     this.Perk3Control.Location = DPIScalingHelper.GetScaledPoint(381, 20);
     this.Perk3Control.DataBindings.Add("Perk", this.perksBindingSource, "Perk3");
     this.Perk3Control.TabIndex = 4;
     //
     // Perk4Control
     //
     this.Perk4Control.Location = DPIScalingHelper.GetScaledPoint(35, 127);
     this.Perk4Control.DataBindings.Add("Perk", this.perksBindingSource, "Perk4");
     this.Perk4Control.TabIndex = 5;
     //
     // Perk5Control
     //
     this.Perk5Control.Location = DPIScalingHelper.GetScaledPoint(208, 127);
     this.Perk5Control.DataBindings.Add("Perk", this.perksBindingSource, "Perk5");
     this.Perk5Control.TabIndex = 6;
     //
     // Perk6Control
     //
     this.Perk6Control.Location = DPIScalingHelper.GetScaledPoint(381, 127);
     this.Perk6Control.DataBindings.Add("Perk", this.perksBindingSource, "Perk6");
     this.Perk6Control.TabIndex = 7;
     //
     // perksBindingSource
     //
     this.perksBindingSource.DataSource = typeof(PerkCollection);
     //
     // PageCostLabel;
     //
     this.PageCostLabel.DataBindings.Add("Text", perksBindingSource, "PageCost");
     this.PageCostLabel.Caption  = "Cost of Page:";
     this.PageCostLabel.Location = DPIScalingHelper.GetScaledPoint(100, 0);
     this.PageCostLabel.Name     = "PageCostLabel";
     this.PageCostLabel.Size     = DPIScalingHelper.GetScaledSize(100, 25);
     //
     // TotalCostLabel;
     //
     this.TotalCostLabel.DataBindings.Add("Text", perksBindingSource, "TotalCost");
     this.TotalCostLabel.Caption  = "Total Cost:";
     this.TotalCostLabel.Location = DPIScalingHelper.GetScaledPoint(300, 0);
     this.TotalCostLabel.Name     = "TotalCostLabel";
     this.TotalCostLabel.Size     = DPIScalingHelper.GetScaledSize(100, 25);
     //
     // RemainingCostLabel;
     //
     this.RemainingCostLabel.DataBindings.Add("Text", perksBindingSource, "RemainingCost");
     this.RemainingCostLabel.Caption  = "Available PP:";
     this.RemainingCostLabel.Location = DPIScalingHelper.GetScaledPoint(500, 0);
     this.RemainingCostLabel.Name     = "RemainingCostLabel";
     this.TotalCostLabel.Size         = DPIScalingHelper.GetScaledSize(100, 25);
     //
     // page1Button
     //
     this.page1Button.Click += UpdatePage;
     this.page1Button.DisableStyleChanging = true;
     this.page1Button.Location             = DPIScalingHelper.GetScaledPoint(24, 234);
     this.page1Button.Size = DPIScalingHelper.GetScaledSize(27, 27);
     this.page1Button.Text = "1";
     //
     // page2Button
     //
     this.page2Button.Click += UpdatePage;
     this.page2Button.DisableStyleChanging = true;
     this.page2Button.Location             = DPIScalingHelper.GetScaledPoint(60, 234);
     this.page2Button.Size = DPIScalingHelper.GetScaledSize(27, 27);
     this.page2Button.Text = "2";
     //
     // page3Button
     //
     this.page3Button.Click += UpdatePage;
     this.page3Button.DisableStyleChanging = true;
     this.page3Button.Location             = DPIScalingHelper.GetScaledPoint(96, 234);
     this.page3Button.Size = DPIScalingHelper.GetScaledSize(27, 27);
     this.page3Button.Text = "3";
     //
     // page4Button
     //
     this.page4Button.Click += UpdatePage;
     this.page4Button.DisableStyleChanging = true;
     this.page4Button.Location             = DPIScalingHelper.GetScaledPoint(132, 234);
     this.page4Button.Size = DPIScalingHelper.GetScaledSize(27, 27);
     this.page4Button.Text = "4";
     //
     // page5Button
     //
     this.page5Button.Click += UpdatePage;
     this.page5Button.DisableStyleChanging = true;
     this.page5Button.Location             = DPIScalingHelper.GetScaledPoint(168, 234);
     this.page5Button.Size = DPIScalingHelper.GetScaledSize(27, 27);
     this.page5Button.Text = "5";
     //
     // page6Button
     //
     this.page6Button.Click += UpdatePage;
     this.page6Button.DisableStyleChanging = true;
     this.page6Button.Location             = DPIScalingHelper.GetScaledPoint(204, 234);
     this.page6Button.Size = DPIScalingHelper.GetScaledSize(27, 27);
     this.page6Button.Text = "6";
     //
     // page7Button
     //
     this.page7Button.Click += UpdatePage;
     this.page7Button.DisableStyleChanging = true;
     this.page7Button.Location             = DPIScalingHelper.GetScaledPoint(240, 234);
     this.page7Button.Size = DPIScalingHelper.GetScaledSize(27, 27);
     this.page7Button.Text = "7";
     //
     // page8Button
     //
     this.page8Button.Click += UpdatePage;
     this.page8Button.DisableStyleChanging = true;
     this.page8Button.Location             = DPIScalingHelper.GetScaledPoint(276, 234);
     this.page8Button.Size = DPIScalingHelper.GetScaledSize(27, 27);
     this.page8Button.Text = "8";
     //
     // page9Button
     //
     this.page9Button.Click += UpdatePage;
     this.page9Button.DisableStyleChanging = true;
     this.page9Button.Location             = DPIScalingHelper.GetScaledPoint(312, 234);
     this.page9Button.Size = DPIScalingHelper.GetScaledSize(27, 27);
     this.page9Button.Text = "9";
     //
     // page10Button
     //
     this.page10Button.Click += UpdatePage;
     this.page10Button.DisableStyleChanging = true;
     this.page10Button.Location             = DPIScalingHelper.GetScaledPoint(348, 234);
     this.page10Button.Size = DPIScalingHelper.GetScaledSize(27, 27);
     this.page10Button.Text = "10";
     //
     // page11Button
     //
     this.page11Button.Click += UpdatePage;
     this.page11Button.DisableStyleChanging = true;
     this.page11Button.Location             = DPIScalingHelper.GetScaledPoint(384, 234);
     this.page11Button.Size = DPIScalingHelper.GetScaledSize(27, 27);
     this.page11Button.Text = "11";
     //
     // page12Button
     //
     this.page12Button.Click += UpdatePage;
     this.page12Button.DisableStyleChanging = true;
     this.page12Button.Location             = DPIScalingHelper.GetScaledPoint(420, 234);
     this.page12Button.Size = DPIScalingHelper.GetScaledSize(27, 27);
     this.page12Button.Text = "12";
     //
     // page13Button
     //
     this.page13Button.Click += UpdatePage;
     this.page13Button.DisableStyleChanging = true;
     this.page13Button.Location             = DPIScalingHelper.GetScaledPoint(456, 234);
     this.page13Button.Size = DPIScalingHelper.GetScaledSize(27, 27);
     this.page13Button.Text = "13";
     //
     // page14Button
     //
     this.page14Button.Click += UpdatePage;
     this.page14Button.DisableStyleChanging = true;
     this.page14Button.Location             = DPIScalingHelper.GetScaledPoint(492, 234);
     this.page14Button.Size = DPIScalingHelper.GetScaledSize(27, 27);
     this.page14Button.Text = "14";
     //
     // page15Button
     //
     this.page15Button.Click += UpdatePage;
     this.page15Button.DisableStyleChanging = true;
     this.page15Button.Location             = DPIScalingHelper.GetScaledPoint(528, 234);
     this.page15Button.Size = DPIScalingHelper.GetScaledSize(27, 27);
     this.page15Button.Text = "15";
     //
     // previousPageButton
     //
     this.previousPageButton.Click   += UpdatePage;
     this.previousPageButton.Location = DPIScalingHelper.GetScaledPoint(3, 70);
     this.previousPageButton.Size     = DPIScalingHelper.GetScaledSize(27, 90);
     this.previousPageButton.TabIndex = 1;
     this.previousPageButton.Text     = "<";
     //
     // nextPageButton
     //
     this.nextPageButton.Click   += UpdatePage;
     this.nextPageButton.Location = DPIScalingHelper.GetScaledPoint(554, 70);
     this.nextPageButton.Size     = DPIScalingHelper.GetScaledSize(27, 90);
     this.nextPageButton.TabIndex = 8;
     this.nextPageButton.Text     = ">";
     //
     // MainGroupBox
     //
     this.MainGroupBox.Name     = "MainGroupBox";
     this.MainGroupBox.Location = DPIScalingHelper.GetScaledPoint(0, 50);
     this.MainGroupBox.Text     = "Perks";
     this.MainGroupBox.Controls.Add(Perk1Control);
     this.MainGroupBox.Controls.Add(Perk2Control);
     this.MainGroupBox.Controls.Add(Perk3Control);
     this.MainGroupBox.Controls.Add(Perk4Control);
     this.MainGroupBox.Controls.Add(Perk5Control);
     this.MainGroupBox.Controls.Add(Perk6Control);
     this.MainGroupBox.Controls.Add(page1Button);
     this.MainGroupBox.Controls.Add(page2Button);
     this.MainGroupBox.Controls.Add(page3Button);
     this.MainGroupBox.Controls.Add(page4Button);
     this.MainGroupBox.Controls.Add(page5Button);
     this.MainGroupBox.Controls.Add(page6Button);
     this.MainGroupBox.Controls.Add(page7Button);
     this.MainGroupBox.Controls.Add(page8Button);
     this.MainGroupBox.Controls.Add(page9Button);
     this.MainGroupBox.Controls.Add(page10Button);
     this.MainGroupBox.Controls.Add(page11Button);
     this.MainGroupBox.Controls.Add(page12Button);
     this.MainGroupBox.Controls.Add(page13Button);
     this.MainGroupBox.Controls.Add(page14Button);
     this.MainGroupBox.Controls.Add(page15Button);
     this.MainGroupBox.Controls.Add(previousPageButton);
     this.MainGroupBox.Controls.Add(nextPageButton);
     this.MainGroupBox.Size = DPIScalingHelper.GetScaledSize(589, 271);
     //
     // VPerkPageControl
     //
     this.Controls.Add(PageCostLabel);
     this.Controls.Add(TotalCostLabel);
     this.Controls.Add(OptimiseForDamageButton);
     this.Controls.Add(OptimiseForToughnessButton);
     this.Controls.Add(RemainingCostLabel);
     this.Controls.Add(MainGroupBox);
     this.Size = DPIScalingHelper.GetScaledSize(589, 322);
     ((System.ComponentModel.ISupportInitialize)(this.perksBindingSource)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components         = new System.ComponentModel.Container();
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.CheckBox1     = new VCheckBox();
     this.CheckBox2     = new VCheckBox();
     this.CheckBox3     = new VCheckBox();
     this.CheckBox4     = new VCheckBox();
     this.CheckBox5     = new VCheckBox();
     this.CheckBox6     = new VCheckBox();
     this.bindingSource = new VBindingSource();
     //
     // bindingSource
     //
     this.bindingSource.DataSource = typeof(VBrutaliskOverride);
     //
     // CheckBox1
     //
     this.CheckBox1.AutoSize = false;
     this.CheckBox1.DataBindings.Add("CheckState", bindingSource, "Bruta1", true, DataSourceUpdateMode.OnPropertyChanged, CheckState.Indeterminate);
     this.CheckBox1.Location = DPIScalingHelper.GetScaledPoint(0, 0);
     this.CheckBox1.Name     = "CheckBox1";
     this.CheckBox1.Size     = DPIScalingHelper.GetScaledSize(20, 20);
     //
     // CheckBox2
     //
     this.CheckBox2.AutoSize = false;
     this.CheckBox2.DataBindings.Add("CheckState", bindingSource, "Bruta2", true, DataSourceUpdateMode.OnPropertyChanged, CheckState.Indeterminate);
     this.CheckBox2.Location = DPIScalingHelper.GetScaledPoint(20, 0);
     this.CheckBox2.Name     = "CheckBox2";
     this.CheckBox2.Size     = DPIScalingHelper.GetScaledSize(20, 20);
     //
     // CheckBox3
     //
     this.CheckBox3.AutoSize = false;
     this.CheckBox3.DataBindings.Add("CheckState", bindingSource, "Bruta3", true, DataSourceUpdateMode.OnPropertyChanged, CheckState.Indeterminate);
     this.CheckBox3.Location = DPIScalingHelper.GetScaledPoint(40, 0);
     this.CheckBox3.Name     = "CheckBox3";
     this.CheckBox3.Size     = DPIScalingHelper.GetScaledSize(20, 20);
     //
     // CheckBox4
     //
     this.CheckBox4.AutoSize = false;
     this.CheckBox4.DataBindings.Add("CheckState", bindingSource, "Bruta4", true, DataSourceUpdateMode.OnPropertyChanged, CheckState.Indeterminate);
     this.CheckBox4.Location = DPIScalingHelper.GetScaledPoint(60, 0);
     this.CheckBox4.Name     = "CheckBox4";
     this.CheckBox4.Size     = DPIScalingHelper.GetScaledSize(20, 20);
     //
     // CheckBox5
     //
     this.CheckBox5.AutoSize = false;
     this.CheckBox5.DataBindings.Add("CheckState", bindingSource, "Bruta5", true, DataSourceUpdateMode.OnPropertyChanged, CheckState.Indeterminate);
     this.CheckBox5.Location = DPIScalingHelper.GetScaledPoint(80, 0);
     this.CheckBox5.Name     = "CheckBox5";
     this.CheckBox5.Size     = DPIScalingHelper.GetScaledSize(20, 20);
     //
     // CheckBox6
     //
     this.CheckBox6.AutoSize = false;
     this.CheckBox6.DataBindings.Add("CheckState", bindingSource, "Bruta6", true, DataSourceUpdateMode.OnPropertyChanged, CheckState.Indeterminate);
     this.CheckBox6.Location = DPIScalingHelper.GetScaledPoint(100, 0);
     this.CheckBox6.Name     = "CheckBox6";
     this.CheckBox6.Size     = DPIScalingHelper.GetScaledSize(20, 20);
     //
     // CoreControl
     //
     this.CoreControl.Controls.Add(CheckBox1);
     this.CoreControl.Controls.Add(CheckBox2);
     this.CoreControl.Controls.Add(CheckBox3);
     this.CoreControl.Controls.Add(CheckBox4);
     this.CoreControl.Controls.Add(CheckBox5);
     this.CoreControl.Controls.Add(CheckBox6);
     //
     // BrutaliskOverrideControl
     //
     this.DataBindings.DefaultDataSourceUpdateMode = DataSourceUpdateMode.OnPropertyChanged;
     this.Size = DPIScalingHelper.GetScaledSize(121, 21);
 }
示例#23
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components = new System.ComponentModel.Container();
     this.TotalModScoreLabel                = new VLabel();
     this.DifficultyDropBox                 = new VDropBox();
     this.BindingSource                     = new VBindingSource();
     this.DamageIncrementor                 = new VIncrementor();
     this.HealthIncrementor                 = new VIncrementor();
     this.ArmorIncrementor                  = new VIncrementor();
     this.SelfMitigationIncrementor         = new VIncrementor();
     this.SpeedIncrementor                  = new VIncrementor();
     this.DamageReductionIncrementor        = new VIncrementor();
     this.DifficultyIncrementor             = new VIncrementor();
     this.PotencyIncrementor                = new VIncrementor();
     this.TaxesIncrementor                  = new VIncrementor();
     this.RankIncrementor                   = new VIncrementor();
     this.TierIncrementor                   = new VIncrementor();
     this.ScarcityIncrementor               = new VIncrementor();
     this.BountylessIncrementor             = new VIncrementor();
     this.UnwellIncrementor                 = new VIncrementor();
     this.RankReversionIncrementor          = new VIncrementor();
     this.BossPowerIncrementor              = new VIncrementor();
     this.CriticalMiscalculationIncrementor = new VIncrementor();
     this.GlassCannonIncrementor            = new VIncrementor();
     this.SupplyIncrementor                 = new VIncrementor();
     this.VolatileDeadIncrementor           = new VIncrementor();
     ((System.ComponentModel.ISupportInitialize)(this.BindingSource)).BeginInit();
     //
     // BindingSource
     //
     this.BindingSource.DataSource = typeof(VModsCollection);
     //
     // TotalModScoreLabel
     //
     this.TotalModScoreLabel.DataBindings.Add("Text", BindingSource, "TotalModScore", true, DataSourceUpdateMode.OnPropertyChanged);
     this.TotalModScoreLabel.Caption  = "Score";
     this.TotalModScoreLabel.Name     = "TotalModScoreLabel";
     this.TotalModScoreLabel.Location = DPIScalingHelper.GetScaledPoint(100, 30);
     this.TotalModScoreLabel.Size     = DPIScalingHelper.GetScaledSize(29, 30);
     //
     // DifficultyDropBox
     //
     this.DifficultyDropBox.DataBindings.Add("SelectedValue", BindingSource, "Loadout.UnitConfiguration.DifficultyLevel");
     this.DifficultyDropBox.Caption  = "Difficulty";
     this.DifficultyDropBox.Name     = "DifficultyDropBox";
     this.DifficultyDropBox.List     = Enums.GetValues <DifficultyLevel>().Cast <object>().ToList();
     this.DifficultyDropBox.Location = DPIScalingHelper.GetScaledPoint(300, 30);
     //
     // DamageIncrementor
     //
     this.DamageIncrementor.DataBindings.Add("Caption", BindingSource, "Damage.Name");
     this.DamageIncrementor.DataBindings.Add("Value", BindingSource, "Damage.CurrentLevel");
     this.DamageIncrementor.DataBindings.Add("MaxValue", BindingSource, "Damage.MaxValue");
     this.DamageIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.DamageIncrementor.Location         = DPIScalingHelper.GetScaledPoint(100, 70);
     this.DamageIncrementor.Name             = "DamageIncrementor";
     this.DamageIncrementor.TabIndex         = 1;
     //
     // HealthIncrementor
     //
     this.HealthIncrementor.DataBindings.Add("Caption", BindingSource, "Health.Name");
     this.HealthIncrementor.DataBindings.Add("Value", BindingSource, "Health.CurrentLevel");
     this.HealthIncrementor.DataBindings.Add("MaxValue", BindingSource, "Health.MaxValue");
     this.HealthIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.HealthIncrementor.Location         = DPIScalingHelper.GetScaledPoint(300, 70);
     this.HealthIncrementor.Name             = "HealthIncrementor";
     this.HealthIncrementor.TabIndex         = 1;
     //
     // ArmorIncrementor
     //
     this.ArmorIncrementor.DataBindings.Add("Caption", BindingSource, "Armor.Name");
     this.ArmorIncrementor.DataBindings.Add("Value", BindingSource, "Armor.CurrentLevel");
     this.ArmorIncrementor.DataBindings.Add("MaxValue", BindingSource, "Armor.MaxValue");
     this.ArmorIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.ArmorIncrementor.Location         = DPIScalingHelper.GetScaledPoint(500, 70);
     this.ArmorIncrementor.Name             = "ArmorIncrementor";
     this.ArmorIncrementor.TabIndex         = 1;
     //
     // SelfMitigationIncrementor
     //
     this.SelfMitigationIncrementor.DataBindings.Add("Caption", BindingSource, "SelfMitigation.Name");
     this.SelfMitigationIncrementor.DataBindings.Add("Value", BindingSource, "SelfMitigation.CurrentLevel");
     this.SelfMitigationIncrementor.DataBindings.Add("MaxValue", BindingSource, "SelfMitigation.MaxValue");
     this.SelfMitigationIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.SelfMitigationIncrementor.Location         = DPIScalingHelper.GetScaledPoint(100, 100);
     this.SelfMitigationIncrementor.Name             = "SelfMitigationIncrementor";
     this.SelfMitigationIncrementor.TabIndex         = 1;
     //
     // SpeedIncrementor
     //
     this.SpeedIncrementor.DataBindings.Add("Caption", BindingSource, "Speed.Name");
     this.SpeedIncrementor.DataBindings.Add("Value", BindingSource, "Speed.CurrentLevel");
     this.SpeedIncrementor.DataBindings.Add("MaxValue", BindingSource, "Speed.MaxValue");
     this.SpeedIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.SpeedIncrementor.Location         = DPIScalingHelper.GetScaledPoint(300, 100);
     this.SpeedIncrementor.Name             = "SpeedIncrementor";
     this.SpeedIncrementor.TabIndex         = 1;
     //
     // DamageReductionIncrementor
     //
     this.DamageReductionIncrementor.DataBindings.Add("Caption", BindingSource, "DamageReduction.Name");
     this.DamageReductionIncrementor.DataBindings.Add("Value", BindingSource, "DamageReduction.CurrentLevel");
     this.DamageReductionIncrementor.DataBindings.Add("MaxValue", BindingSource, "DamageReduction.MaxValue");
     this.DamageReductionIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.DamageReductionIncrementor.Location         = DPIScalingHelper.GetScaledPoint(500, 100);
     this.DamageReductionIncrementor.Name             = "DamageReductionIncrementor";
     this.DamageReductionIncrementor.TabIndex         = 1;
     //
     // DifficultyIncrementor
     //
     this.DifficultyIncrementor.DataBindings.Add("Caption", BindingSource, "Difficulty.Name");
     this.DifficultyIncrementor.DataBindings.Add("Value", BindingSource, "Difficulty.CurrentLevel");
     this.DifficultyIncrementor.DataBindings.Add("MaxValue", BindingSource, "Difficulty.MaxValue");
     this.DifficultyIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.DifficultyIncrementor.Location         = DPIScalingHelper.GetScaledPoint(100, 130);
     this.DifficultyIncrementor.Name             = "DifficultyIncrementor";
     this.DifficultyIncrementor.TabIndex         = 1;
     //
     // PotencyIncrementor
     //
     this.PotencyIncrementor.DataBindings.Add("Caption", BindingSource, "Potency.Name");
     this.PotencyIncrementor.DataBindings.Add("Value", BindingSource, "Potency.CurrentLevel");
     this.PotencyIncrementor.DataBindings.Add("MaxValue", BindingSource, "Potency.MaxValue");
     this.PotencyIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.PotencyIncrementor.Location         = DPIScalingHelper.GetScaledPoint(300, 130);
     this.PotencyIncrementor.Name             = "PotencyIncrementor";
     this.PotencyIncrementor.TabIndex         = 1;
     //
     // TaxesIncrementor
     //
     this.TaxesIncrementor.DataBindings.Add("Caption", BindingSource, "Taxes.Name");
     this.TaxesIncrementor.DataBindings.Add("Value", BindingSource, "Taxes.CurrentLevel");
     this.TaxesIncrementor.DataBindings.Add("MaxValue", BindingSource, "Taxes.MaxValue");
     this.TaxesIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.TaxesIncrementor.Location         = DPIScalingHelper.GetScaledPoint(500, 130);
     this.TaxesIncrementor.Name             = "TaxesIncrementor";
     this.TaxesIncrementor.TabIndex         = 1;
     //
     // RankIncrementor
     //
     this.RankIncrementor.DataBindings.Add("Caption", BindingSource, "Rank.Name");
     this.RankIncrementor.DataBindings.Add("Value", BindingSource, "Rank.CurrentLevel");
     this.RankIncrementor.DataBindings.Add("MaxValue", BindingSource, "Rank.MaxValue");
     this.RankIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.RankIncrementor.Location         = DPIScalingHelper.GetScaledPoint(100, 160);
     this.RankIncrementor.Name             = "RankIncrementor";
     this.RankIncrementor.TabIndex         = 1;
     //
     // TierIncrementor
     //
     this.TierIncrementor.DataBindings.Add("Caption", BindingSource, "Tier.Name");
     this.TierIncrementor.DataBindings.Add("Value", BindingSource, "Tier.CurrentLevel");
     this.TierIncrementor.DataBindings.Add("MaxValue", BindingSource, "Tier.MaxValue");
     this.TierIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.TierIncrementor.Location         = DPIScalingHelper.GetScaledPoint(300, 160);
     this.TierIncrementor.Name             = "TierIncrementor";
     this.TierIncrementor.TabIndex         = 1;
     //
     // ScarcityIncrementor
     //
     this.ScarcityIncrementor.DataBindings.Add("Caption", BindingSource, "Scarcity.Name");
     this.ScarcityIncrementor.DataBindings.Add("Value", BindingSource, "Scarcity.CurrentLevel");
     this.ScarcityIncrementor.DataBindings.Add("MaxValue", BindingSource, "Scarcity.MaxValue");
     this.ScarcityIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.ScarcityIncrementor.Location         = DPIScalingHelper.GetScaledPoint(500, 160);
     this.ScarcityIncrementor.Name             = "ScarcityIncrementor";
     this.ScarcityIncrementor.TabIndex         = 1;
     //
     // BountylessIncrementor
     //
     this.BountylessIncrementor.DataBindings.Add("Caption", BindingSource, "Bountyless.Name");
     this.BountylessIncrementor.DataBindings.Add("Value", BindingSource, "Bountyless.CurrentLevel");
     this.BountylessIncrementor.DataBindings.Add("MaxValue", BindingSource, "Bountyless.MaxValue");
     this.BountylessIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.BountylessIncrementor.Location         = DPIScalingHelper.GetScaledPoint(100, 190);
     this.BountylessIncrementor.Name             = "BountylessIncrementor";
     this.BountylessIncrementor.TabIndex         = 1;
     //
     // UnwellIncrementor
     //
     this.UnwellIncrementor.DataBindings.Add("Caption", BindingSource, "Unwell.Name");
     this.UnwellIncrementor.DataBindings.Add("Value", BindingSource, "Unwell.CurrentLevel");
     this.UnwellIncrementor.DataBindings.Add("MaxValue", BindingSource, "Unwell.MaxValue");
     this.UnwellIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.UnwellIncrementor.Location         = DPIScalingHelper.GetScaledPoint(300, 190);
     this.UnwellIncrementor.Name             = "UnwellIncrementor";
     this.UnwellIncrementor.TabIndex         = 1;
     //
     // RankReversionIncrementor
     //
     this.RankReversionIncrementor.DataBindings.Add("Caption", BindingSource, "RankReversion.Name");
     this.RankReversionIncrementor.DataBindings.Add("Value", BindingSource, "RankReversion.CurrentLevel");
     this.RankReversionIncrementor.DataBindings.Add("MaxValue", BindingSource, "RankReversion.MaxValue");
     this.RankReversionIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.RankReversionIncrementor.Location         = DPIScalingHelper.GetScaledPoint(500, 190);
     this.RankReversionIncrementor.Name             = "RankReversionIncrementor";
     this.RankReversionIncrementor.TabIndex         = 1;
     //
     // BossPowerIncrementor
     //
     this.BossPowerIncrementor.DataBindings.Add("Caption", BindingSource, "BossPower.Name");
     this.BossPowerIncrementor.DataBindings.Add("Value", BindingSource, "BossPower.CurrentLevel");
     this.BossPowerIncrementor.DataBindings.Add("MaxValue", BindingSource, "BossPower.MaxValue");
     this.BossPowerIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.BossPowerIncrementor.Location         = DPIScalingHelper.GetScaledPoint(100, 220);
     this.BossPowerIncrementor.Name             = "BossPowerIncrementor";
     this.BossPowerIncrementor.TabIndex         = 1;
     //
     // CriticalMiscalculationIncrementor
     //
     this.CriticalMiscalculationIncrementor.DataBindings.Add("Caption", BindingSource, "CriticalMiscalculation.Name");
     this.CriticalMiscalculationIncrementor.DataBindings.Add("Value", BindingSource, "CriticalMiscalculation.CurrentLevel");
     this.CriticalMiscalculationIncrementor.DataBindings.Add("MaxValue", BindingSource, "CriticalMiscalculation.MaxValue");
     this.CriticalMiscalculationIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.CriticalMiscalculationIncrementor.Location         = DPIScalingHelper.GetScaledPoint(300, 220);
     this.CriticalMiscalculationIncrementor.Name             = "CriticalMiscalculationIncrementor";
     this.CriticalMiscalculationIncrementor.TabIndex         = 1;
     //
     // GlassCannonIncrementor
     //
     this.GlassCannonIncrementor.DataBindings.Add("Caption", BindingSource, "GlassCannon.Name");
     this.GlassCannonIncrementor.DataBindings.Add("Value", BindingSource, "GlassCannon.CurrentLevel");
     this.GlassCannonIncrementor.DataBindings.Add("MaxValue", BindingSource, "GlassCannon.MaxValue");
     this.GlassCannonIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.GlassCannonIncrementor.Location         = DPIScalingHelper.GetScaledPoint(500, 220);
     this.GlassCannonIncrementor.Name             = "GlassCannonIncrementor";
     this.GlassCannonIncrementor.TabIndex         = 1;
     //
     // SupplyIncrementor
     //
     this.SupplyIncrementor.DataBindings.Add("Caption", BindingSource, "Supply.Name");
     this.SupplyIncrementor.DataBindings.Add("Value", BindingSource, "Supply.CurrentLevel");
     this.SupplyIncrementor.DataBindings.Add("MaxValue", BindingSource, "Supply.MaxValue");
     this.SupplyIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.SupplyIncrementor.Location         = DPIScalingHelper.GetScaledPoint(100, 250);
     this.SupplyIncrementor.Name             = "SupplyIncrementor";
     this.SupplyIncrementor.TabIndex         = 1;
     //
     // VolatileDeadIncrementor
     //
     this.VolatileDeadIncrementor.DataBindings.Add("Caption", BindingSource, "VolatileDead.Name");
     this.VolatileDeadIncrementor.DataBindings.Add("Value", BindingSource, "VolatileDead.CurrentLevel");
     this.VolatileDeadIncrementor.DataBindings.Add("MaxValue", BindingSource, "VolatileDead.MaxValue");
     this.VolatileDeadIncrementor.IncrementorStyle = IncrementorStyle.Compact;
     this.VolatileDeadIncrementor.Location         = DPIScalingHelper.GetScaledPoint(300, 250);
     this.VolatileDeadIncrementor.Name             = "VolatileDeadIncrementor";
     this.VolatileDeadIncrementor.TabIndex         = 1;
     //
     // ModCollectionControl
     //
     ((System.ComponentModel.ISupportInitialize)(this.BindingSource)).EndInit();
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(TotalModScoreLabel);
     this.Controls.Add(DifficultyDropBox);
     this.Controls.Add(DamageIncrementor);
     this.Controls.Add(HealthIncrementor);
     this.Controls.Add(ArmorIncrementor);
     this.Controls.Add(SelfMitigationIncrementor);
     this.Controls.Add(SpeedIncrementor);
     this.Controls.Add(DamageReductionIncrementor);
     this.Controls.Add(DifficultyIncrementor);
     this.Controls.Add(PotencyIncrementor);
     this.Controls.Add(TaxesIncrementor);
     this.Controls.Add(RankIncrementor);
     this.Controls.Add(TierIncrementor);
     this.Controls.Add(ScarcityIncrementor);
     this.Controls.Add(BountylessIncrementor);
     this.Controls.Add(UnwellIncrementor);
     this.Controls.Add(RankReversionIncrementor);
     this.Controls.Add(BossPowerIncrementor);
     this.Controls.Add(CriticalMiscalculationIncrementor);
     this.Controls.Add(GlassCannonIncrementor);
     this.Controls.Add(SupplyIncrementor);
     this.Controls.Add(VolatileDeadIncrementor);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components                     = new System.ComponentModel.Container();
     this.BindingSource             = new VBindingSource();
     this.FarmRoomDropBox           = new VDropBox();
     this.AdditionalFarmRoomDropBox = new VDropBox();
     this.BrutaliskOverrideControl  = new BrutaliskOverrideControl();
     this.BrutaliskOverrideCheckBox = new VCheckControl();
     this.InfinitySpawnerCheckBox   = new VCheckControl();
     ((System.ComponentModel.ISupportInitialize)(this.BindingSource)).BeginInit();
     //
     // BindingSource
     //
     this.BindingSource.DataSource = typeof(IncomeManager);
     //
     // FarmRoomComboBox
     //
     this.FarmRoomDropBox.Caption = "Farming Room:";
     this.FarmRoomDropBox.DataBindings.Add("SelectedValue", BindingSource, "FarmRoom");
     this.FarmRoomDropBox.List        = FarmRoomList;
     this.FarmRoomDropBox.Location    = DPIScalingHelper.GetScaledPoint(175, 20);
     this.FarmRoomDropBox.MaximumSize = DPIScalingHelper.GetScaledSize(500, 30);
     this.FarmRoomDropBox.Name        = "FarmRoomDropBox";
     this.FarmRoomDropBox.Size        = DPIScalingHelper.GetScaledSize(190, 30);
     //
     // AdditionalFarmRoomComboBox
     //
     this.AdditionalFarmRoomDropBox.AllowSelectionOfStrings = true;
     this.AdditionalFarmRoomDropBox.Caption = "Farming Room:";
     this.AdditionalFarmRoomDropBox.DataBindings.Add("SelectedValue", BindingSource, "AdditionalFarmRoom");
     this.AdditionalFarmRoomDropBox.DataBindings.Add("List", BindingSource, "AdditionalRoomsLookup");
     this.AdditionalFarmRoomDropBox.DataBindings.Add("Visible", BindingSource, "AdditionalFarmRoom_Visible");
     this.AdditionalFarmRoomDropBox.Location    = DPIScalingHelper.GetScaledPoint(175, 50);
     this.AdditionalFarmRoomDropBox.MaximumSize = DPIScalingHelper.GetScaledSize(500, 30);
     this.AdditionalFarmRoomDropBox.Name        = "AdditionalFarmRoomDropBox";
     this.AdditionalFarmRoomDropBox.Size        = DPIScalingHelper.GetScaledSize(190, 30);
     //
     // BrutaliskOverrideControl
     //
     this.BrutaliskOverrideControl.Caption = "Brutalisks";
     this.BrutaliskOverrideControl.DataBindings.Add("BrutaliskOverride", BindingSource, "BrutaliskOverride");
     this.BrutaliskOverrideControl.Enabled  = false;
     this.BrutaliskOverrideControl.Location = DPIScalingHelper.GetScaledPoint(175, 80);
     this.BrutaliskOverrideControl.Name     = "BrutaliskOverrideControl";
     //
     // BrutaliskOverrideCheckBox
     //
     this.BrutaliskOverrideCheckBox.DataBindings.Add("Checked", BindingSource, "BrutaliskOverride.ShouldOverrideBrutalisks");
     this.BrutaliskOverrideCheckBox.Location        = DPIScalingHelper.GetScaledPoint(175, 110);
     this.BrutaliskOverrideCheckBox.Caption         = "Override Brutalisks";
     this.BrutaliskOverrideCheckBox.Name            = "BrutaliskOverrideCheckBox";
     this.BrutaliskOverrideCheckBox.CheckedChanged += BrutaliskOverrideCheckBox_CheckedChanged;
     //
     // InfinitySpawnerCheckBox
     //
     this.InfinitySpawnerCheckBox.DataBindings.Add("Checked", BindingSource, "HasInfinitySpawner");
     this.InfinitySpawnerCheckBox.Location = DPIScalingHelper.GetScaledPoint(175, 140);
     this.InfinitySpawnerCheckBox.Caption  = "Infinity Spawner";
     this.InfinitySpawnerCheckBox.Name     = "InfinitySpawnerCheckBox";
     //
     // VLoadoutConfigurationControl
     //
     this.Controls.Add(FarmRoomDropBox);
     this.Controls.Add(BrutaliskOverrideControl);
     this.Controls.Add(BrutaliskOverrideCheckBox);
     this.Controls.Add(InfinitySpawnerCheckBox);
     this.Controls.Add(AdditionalFarmRoomDropBox);
     this.Size = DPIScalingHelper.GetScaledSize(589, 272);
     ((System.ComponentModel.ISupportInitialize)(this.BindingSource)).EndInit();
 }
示例#25
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components         = new System.ComponentModel.Container();
     this.BindingSource      = new System.Windows.Forms.BindingSource(this.components);
     this.NameTextBox        = new VUserInterface.VTextBox();
     this.RankDropBox        = new VUserInterface.CommonControls.VDropBox();
     this.PerkPointsLabel2   = new VLabel();
     this.RankPointsTextBox  = new VUserInterface.VTextBox();
     this.ModScoreTextBox    = new VUserInterface.VTextBox();
     this.GemsTextBox        = new VUserInterface.VTextBox();
     this.CPTextBox          = new VUserInterface.VTextBox();
     this.NameLabel          = new VUserInterface.CommonControls.VLabel();
     this.RankLabel          = new VUserInterface.CommonControls.VLabel();
     this.PerkPointsLabel    = new VLabel();
     this.RankPointsLabel    = new VUserInterface.CommonControls.VLabel();
     this.ModScoreLabel      = new VUserInterface.CommonControls.VLabel();
     this.GemsLabel          = new VUserInterface.CommonControls.VLabel();
     this.CPLabel            = new VUserInterface.CommonControls.VLabel();
     this.EditPanel          = new VUserInterface.CommonControls.DPIPanel();
     this.ReadonlyPanel      = new VUserInterface.CommonControls.DPIPanel();
     this.SaveEditButton     = new VUserInterface.CommonControls.VButton();
     this.AchievementsLabel  = new VLabel();
     this.AchievementsButton = new VButton();
     this.ModsButton         = new VButton();
     this.ProfileTitleLabel  = new VLabel();
     ((System.ComponentModel.ISupportInitialize)(this.BindingSource)).BeginInit();
     this.EditPanel.SuspendLayout();
     this.ReadonlyPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // BindingSource
     //
     this.BindingSource.DataSource = typeof(VEntityFramework.Model.VProfile);
     //
     // ProfileTitleLabel
     //
     this.ProfileTitleLabel.Name     = "ProfileTitleLabel";
     this.ProfileTitleLabel.Location = DPIScalingHelper.GetScaledPoint(120, 10);
     this.ProfileTitleLabel.Text     = "Profile";
     this.ProfileTitleLabel.Font     = new System.Drawing.Font(this.ProfileTitleLabel.Font.FontFamily, 14);
     this.ProfileTitleLabel.Height   = DPIScalingHelper.GetScaledY(30);
     //
     // NameTextBox
     //
     this.NameTextBox.Caption = "Name:";
     this.NameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BindingSource, "Name", true));
     this.NameTextBox.Location    = DPIScalingHelper.GetScaledPoint(150, 0);
     this.NameTextBox.MaximumSize = DPIScalingHelper.GetScaledSize(500, 24);
     this.NameTextBox.Name        = "NameTextBox";
     this.NameTextBox.Size        = DPIScalingHelper.GetScaledSize(150, 24);
     this.NameTextBox.TabIndex    = 0;
     //
     // RankDropBox
     //
     this.RankDropBox.Caption = "Rank:";
     this.RankDropBox.DataBindings.Add("SelectedValue", BindingSource, "Rank");
     this.RankDropBox.List                  = PlayerRankList;
     this.RankDropBox.Location              = DPIScalingHelper.GetScaledPoint(150, 25);
     this.RankDropBox.Name                  = "RankDropBox";
     this.RankDropBox.SelectedIndex         = -1;
     this.RankDropBox.SelectedValueChanged += PlayerRankChanged;
     this.RankDropBox.Size                  = DPIScalingHelper.GetScaledSize(150, 24);
     this.RankDropBox.TabIndex              = 0;
     //
     // PerkPointsLabel2
     //
     this.PerkPointsLabel2.Caption = "Perk Points:";
     this.PerkPointsLabel2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BindingSource, "PerkPoints", true));
     this.PerkPointsLabel2.Location    = DPIScalingHelper.GetScaledPoint(150, 50);
     this.PerkPointsLabel2.MaximumSize = DPIScalingHelper.GetScaledSize(500, 24);
     this.PerkPointsLabel2.Name        = "PerkPointsLabel2";
     this.PerkPointsLabel2.Size        = DPIScalingHelper.GetScaledSize(300, 24);
     this.PerkPointsLabel2.TabIndex    = 0;
     this.PerkPointsLabel2.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // RankPointsTextBox
     //
     this.RankPointsTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BindingSource, "RankPoints", true));
     this.RankPointsTextBox.Location    = DPIScalingHelper.GetScaledPoint(150, 75);
     this.RankPointsTextBox.MaximumSize = DPIScalingHelper.GetScaledSize(500, 22);
     this.RankPointsTextBox.Name        = "RankPointsTextBox";
     this.RankPointsTextBox.Size        = DPIScalingHelper.GetScaledSize(75, 24);
     this.RankPointsTextBox.TabIndex    = 0;
     this.RankPointsTextBox.Caption     = "Rank Points:";
     //
     // ModScoreTextBox
     //
     this.ModScoreTextBox.Caption = "Mod Score:";
     this.ModScoreTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BindingSource, "ModScore", true));
     this.ModScoreTextBox.Location    = DPIScalingHelper.GetScaledPoint(150, 100);
     this.ModScoreTextBox.MaximumSize = DPIScalingHelper.GetScaledSize(500, 24);
     this.ModScoreTextBox.Name        = "ModScoreTextBox";
     this.ModScoreTextBox.Size        = DPIScalingHelper.GetScaledSize(75, 24);
     this.ModScoreTextBox.TabIndex    = 0;
     //
     // GemsTextBox
     //
     this.GemsTextBox.Caption = "Gems:";
     this.GemsTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BindingSource, "Gems", true));
     this.GemsTextBox.Location    = DPIScalingHelper.GetScaledPoint(150, 125);
     this.GemsTextBox.MaximumSize = DPIScalingHelper.GetScaledSize(500, 24);
     this.GemsTextBox.Name        = "GemsTextBox";
     this.GemsTextBox.Size        = DPIScalingHelper.GetScaledSize(75, 24);
     this.GemsTextBox.TabIndex    = 0;
     //
     // CPTextBox
     //
     this.CPTextBox.Caption = "Challenge Points:";
     this.CPTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BindingSource, "ChallengePoints", true));
     this.CPTextBox.Location    = DPIScalingHelper.GetScaledPoint(150, 150);
     this.CPTextBox.MaximumSize = DPIScalingHelper.GetScaledSize(500, 24);
     this.CPTextBox.Name        = "CPTextBox";
     this.CPTextBox.Size        = DPIScalingHelper.GetScaledSize(75, 24);
     this.CPTextBox.TabIndex    = 0;
     //
     // NameLabel
     //
     this.NameLabel.Caption = "Name:";
     this.NameLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BindingSource, "Name", true));
     this.NameLabel.Location    = DPIScalingHelper.GetScaledPoint(150, 0);
     this.NameLabel.MaximumSize = DPIScalingHelper.GetScaledSize(500, 24);
     this.NameLabel.Name        = "NameLabel";
     this.NameLabel.Size        = DPIScalingHelper.GetScaledSize(300, 24);
     this.NameLabel.TabIndex    = 0;
     this.NameLabel.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // RankLabel
     //
     this.RankLabel.Caption = "Rank:";
     this.RankLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BindingSource, "Rank", true));
     this.RankLabel.Location    = DPIScalingHelper.GetScaledPoint(150, 25);
     this.RankLabel.MaximumSize = DPIScalingHelper.GetScaledSize(500, 24);
     this.RankLabel.Name        = "RankLabel";
     this.RankLabel.Size        = DPIScalingHelper.GetScaledSize(300, 24);
     this.RankLabel.TabIndex    = 0;
     this.RankLabel.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // PerkPointsLabel
     //
     this.PerkPointsLabel.Caption = "Perk Points:";
     this.PerkPointsLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BindingSource, "PerkPoints", true));
     this.PerkPointsLabel.Location    = DPIScalingHelper.GetScaledPoint(150, 50);
     this.PerkPointsLabel.MaximumSize = DPIScalingHelper.GetScaledSize(500, 24);
     this.PerkPointsLabel.Name        = "PerkPointsLabel";
     this.PerkPointsLabel.Size        = DPIScalingHelper.GetScaledSize(300, 24);
     this.PerkPointsLabel.TabIndex    = 0;
     this.PerkPointsLabel.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // RankPointsLabel
     //
     this.RankPointsLabel.Caption = "Rank Points:";
     this.RankPointsLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BindingSource, "RankPoints", true));
     this.RankPointsLabel.Location    = DPIScalingHelper.GetScaledPoint(150, 75);
     this.RankPointsLabel.MaximumSize = DPIScalingHelper.GetScaledSize(500, 24);
     this.RankPointsLabel.Name        = "RankPointsLabel";
     this.RankPointsLabel.Size        = DPIScalingHelper.GetScaledSize(300, 24);
     this.RankPointsLabel.TabIndex    = 0;
     this.RankPointsLabel.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ModScoreLabel
     //
     this.ModScoreLabel.Caption = "Mod Score:";
     this.ModScoreLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BindingSource, "ModScore", true));
     this.ModScoreLabel.Location    = DPIScalingHelper.GetScaledPoint(150, 100);
     this.ModScoreLabel.MaximumSize = DPIScalingHelper.GetScaledSize(500, 24);
     this.ModScoreLabel.Name        = "ModScoreLabel";
     this.ModScoreLabel.Size        = DPIScalingHelper.GetScaledSize(300, 24);
     this.ModScoreLabel.TabIndex    = 0;
     this.ModScoreLabel.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // GemsLabel
     //
     this.GemsLabel.Caption = "Gems:";
     this.GemsLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BindingSource, "Gems", true));
     this.GemsLabel.Location    = DPIScalingHelper.GetScaledPoint(150, 125);
     this.GemsLabel.MaximumSize = DPIScalingHelper.GetScaledSize(500, 24);
     this.GemsLabel.Name        = "GemsLabel";
     this.GemsLabel.Size        = DPIScalingHelper.GetScaledSize(300, 24);
     this.GemsLabel.TabIndex    = 0;
     this.GemsLabel.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // CPLabel
     //
     this.CPLabel.Caption = "Challenge Points:";
     this.CPLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BindingSource, "ChallengePoints", true));
     this.CPLabel.Location    = DPIScalingHelper.GetScaledPoint(150, 150);
     this.CPLabel.MaximumSize = DPIScalingHelper.GetScaledSize(500, 24);
     this.CPLabel.Name        = "CPLabel";
     this.CPLabel.Size        = DPIScalingHelper.GetScaledSize(300, 24);
     this.CPLabel.TabIndex    = 0;
     this.CPLabel.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // EditPanel
     //
     this.EditPanel.Controls.Add(this.NameTextBox);
     this.EditPanel.Controls.Add(this.RankDropBox);
     this.EditPanel.Controls.Add(this.PerkPointsLabel);
     this.EditPanel.Controls.Add(this.RankPointsTextBox);
     this.EditPanel.Controls.Add(this.ModScoreTextBox);
     this.EditPanel.Controls.Add(this.GemsTextBox);
     this.EditPanel.Controls.Add(this.CPTextBox);
     this.EditPanel.Location = DPIScalingHelper.GetScaledPoint(0, 40);
     this.EditPanel.Name     = "EditPanel";
     this.EditPanel.Size     = DPIScalingHelper.GetScaledSize(400, 400);
     this.EditPanel.TabIndex = 1;
     this.EditPanel.Visible  = false;
     //
     // ReadonlyPanel
     //
     this.ReadonlyPanel.Controls.Add(this.NameLabel);
     this.ReadonlyPanel.Controls.Add(this.RankLabel);
     this.ReadonlyPanel.Controls.Add(this.PerkPointsLabel2);
     this.ReadonlyPanel.Controls.Add(this.RankPointsLabel);
     this.ReadonlyPanel.Controls.Add(this.ModScoreLabel);
     this.ReadonlyPanel.Controls.Add(this.GemsLabel);
     this.ReadonlyPanel.Controls.Add(this.CPLabel);
     this.ReadonlyPanel.Location = DPIScalingHelper.GetScaledPoint(0, 40);
     this.ReadonlyPanel.Name     = "ReadonlyPanel";
     this.ReadonlyPanel.Size     = DPIScalingHelper.GetScaledSize(400, 400);
     this.ReadonlyPanel.TabIndex = 2;
     //
     // SaveEditButton
     //
     this.SaveEditButton.Location = DPIScalingHelper.GetScaledPoint(275, 12);
     this.SaveEditButton.Name     = "SaveEditButton";
     this.SaveEditButton.Size     = DPIScalingHelper.GetScaledSize(75, 23);
     this.SaveEditButton.TabIndex = 0;
     this.SaveEditButton.Text     = "Edit";
     this.SaveEditButton.Click   += new System.EventHandler(this.SaveEditButton_Click);
     //
     // AchievementsButton
     //
     this.AchievementsButton.Location = DPIScalingHelper.GetScaledPoint(250, 215);
     this.AchievementsButton.Name     = "AchievementsButton";
     this.AchievementsButton.Size     = DPIScalingHelper.GetScaledSize(100, 23);
     this.AchievementsButton.TabIndex = 0;
     this.AchievementsButton.Text     = "Achievements";
     this.AchievementsButton.Click   += AchievementsButton_Click;
     //
     // ModsButton
     //
     this.ModsButton.Location = DPIScalingHelper.GetScaledPoint(250, 140);
     this.ModsButton.Name     = "ModsButton";
     this.ModsButton.Size     = DPIScalingHelper.GetScaledSize(100, 23);
     this.ModsButton.TabIndex = 0;
     this.ModsButton.Text     = "Mods";
     this.ModsButton.Click   += ModsButton_Click;
     //
     // AchievementsLabel
     //
     this.AchievementsLabel.Caption = "Achievements";
     this.AchievementsLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BindingSource, "AchievementCount", true));
     this.AchievementsLabel.Location = DPIScalingHelper.GetScaledPoint(150, 215);
     this.AchievementsLabel.Name     = "AchievementsLabel";
     this.AchievementsLabel.Size     = DPIScalingHelper.GetScaledSize(100, 23);
     this.AchievementsLabel.TabIndex = 0;
     //
     // ProfileControl
     //
     this.Controls.Add(this.SaveEditButton);
     this.Controls.Add(this.EditPanel);
     this.Controls.Add(this.ReadonlyPanel);
     this.Controls.Add(this.ProfileTitleLabel);
     this.Controls.Add(this.AchievementsButton);
     this.Controls.Add(this.AchievementsLabel);
     this.Controls.Add(this.ModsButton);
     this.Controls.SetChildIndex(this.AchievementsButton, 0);
     this.Controls.SetChildIndex(this.AchievementsLabel, 0);
     this.Controls.SetChildIndex(this.ModsButton, 0);
     this.Name = "ProfileControl";
     this.Size = DPIScalingHelper.GetScaledSize(400, 400);
     ((System.ComponentModel.ISupportInitialize)(this.BindingSource)).EndInit();
     this.EditPanel.ResumeLayout(false);
     this.ReadonlyPanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }