Add spellbooks and amulets
This commit is contained in:
94
NethackHelper/MainForm.Designer.cs
generated
94
NethackHelper/MainForm.Designer.cs
generated
@@ -28,26 +28,21 @@ namespace NethackHelper {
|
||||
private void InitializeComponent() {
|
||||
components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
||||
CharismaClass charismaClass8 = new CharismaClass();
|
||||
CharismaClass charismaClass9 = new CharismaClass();
|
||||
CharismaClass charismaClass10 = new CharismaClass();
|
||||
CharismaClass charismaClass11 = new CharismaClass();
|
||||
CharismaClass charismaClass12 = new CharismaClass();
|
||||
CharismaClass charismaClass13 = new CharismaClass();
|
||||
CharismaClass charismaClass14 = new CharismaClass();
|
||||
mainTabControl = new TabControl();
|
||||
itemsTab = new TabPage();
|
||||
suckerBox = new CheckBox();
|
||||
saveSourceBindingSource = new BindingSource(components);
|
||||
shoppingTabControl = new TabControl();
|
||||
itemTabControl = new TabControl();
|
||||
scrollPotionTab = new TabPage();
|
||||
potionDisplay = new ItemDisplay();
|
||||
scrollDisplay = new ItemDisplay();
|
||||
wandRingTab = new TabPage();
|
||||
ringDisplay = new ItemDisplay();
|
||||
wandDisplay = new ItemDisplay();
|
||||
spellbookTab = new TabPage();
|
||||
amuletDisplay = new ItemDisplay();
|
||||
spellbookDisplay = new ItemDisplay();
|
||||
charismaSelector = new ComboBox();
|
||||
charismaSourceBindingSource = new BindingSource(components);
|
||||
intrinsicsTab = new TabPage();
|
||||
label2 = new Label();
|
||||
lastPrayerPicker = new NumericUpDown();
|
||||
@@ -76,21 +71,23 @@ namespace NethackHelper {
|
||||
sokobanNext = new Button();
|
||||
sokobanSolution = new Label();
|
||||
sokobanLevelList = new ListBox();
|
||||
charismaSourceBindingSource = new BindingSource(components);
|
||||
mainMenu = new MenuStrip();
|
||||
fileToolStripMenuItem = new ToolStripMenuItem();
|
||||
resetToolStripMenuItem = new ToolStripMenuItem();
|
||||
mainTabControl.SuspendLayout();
|
||||
itemsTab.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize) saveSourceBindingSource).BeginInit();
|
||||
shoppingTabControl.SuspendLayout();
|
||||
itemTabControl.SuspendLayout();
|
||||
scrollPotionTab.SuspendLayout();
|
||||
wandRingTab.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize) charismaSourceBindingSource).BeginInit();
|
||||
spellbookTab.SuspendLayout();
|
||||
intrinsicsTab.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize) lastPrayerPicker).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize) intrinsicsBindingSource).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize) protectionPicker).BeginInit();
|
||||
sokobanTab.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize) charismaSourceBindingSource).BeginInit();
|
||||
mainMenu.SuspendLayout();
|
||||
SuspendLayout();
|
||||
//
|
||||
@@ -109,7 +106,7 @@ namespace NethackHelper {
|
||||
// itemsTab
|
||||
//
|
||||
itemsTab.Controls.Add(suckerBox);
|
||||
itemsTab.Controls.Add(shoppingTabControl);
|
||||
itemsTab.Controls.Add(itemTabControl);
|
||||
itemsTab.Controls.Add(charismaSelector);
|
||||
itemsTab.Location = new Point(4, 24);
|
||||
itemsTab.Name = "itemsTab";
|
||||
@@ -136,16 +133,17 @@ namespace NethackHelper {
|
||||
saveSourceBindingSource.DataSource = typeof(SaveSource);
|
||||
saveSourceBindingSource.Position = 0;
|
||||
//
|
||||
// shoppingTabControl
|
||||
// itemTabControl
|
||||
//
|
||||
shoppingTabControl.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||||
shoppingTabControl.Controls.Add(scrollPotionTab);
|
||||
shoppingTabControl.Controls.Add(wandRingTab);
|
||||
shoppingTabControl.Location = new Point(6, 35);
|
||||
shoppingTabControl.Name = "shoppingTabControl";
|
||||
shoppingTabControl.SelectedIndex = 0;
|
||||
shoppingTabControl.Size = new Size(652, 555);
|
||||
shoppingTabControl.TabIndex = 1;
|
||||
itemTabControl.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||||
itemTabControl.Controls.Add(scrollPotionTab);
|
||||
itemTabControl.Controls.Add(wandRingTab);
|
||||
itemTabControl.Controls.Add(spellbookTab);
|
||||
itemTabControl.Location = new Point(6, 35);
|
||||
itemTabControl.Name = "itemTabControl";
|
||||
itemTabControl.SelectedIndex = 0;
|
||||
itemTabControl.Size = new Size(652, 555);
|
||||
itemTabControl.TabIndex = 1;
|
||||
//
|
||||
// scrollPotionTab
|
||||
//
|
||||
@@ -207,25 +205,46 @@ namespace NethackHelper {
|
||||
wandDisplay.Size = new Size(313, 515);
|
||||
wandDisplay.TabIndex = 1;
|
||||
//
|
||||
// spellbookTab
|
||||
//
|
||||
spellbookTab.Controls.Add(amuletDisplay);
|
||||
spellbookTab.Controls.Add(spellbookDisplay);
|
||||
spellbookTab.Location = new Point(4, 24);
|
||||
spellbookTab.Name = "spellbookTab";
|
||||
spellbookTab.Padding = new Padding(3);
|
||||
spellbookTab.Size = new Size(644, 527);
|
||||
spellbookTab.TabIndex = 3;
|
||||
spellbookTab.Text = "Spellbooks / Amulets";
|
||||
spellbookTab.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// amuletDisplay
|
||||
//
|
||||
amuletDisplay.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Right;
|
||||
amuletDisplay.Columns = (System.Collections.Generic.List<ItemDisplayColumn>) resources.GetObject("amuletDisplay.Columns");
|
||||
amuletDisplay.Location = new Point(325, 6);
|
||||
amuletDisplay.Name = "amuletDisplay";
|
||||
amuletDisplay.Size = new Size(313, 515);
|
||||
amuletDisplay.TabIndex = 1;
|
||||
//
|
||||
// spellbookDisplay
|
||||
//
|
||||
spellbookDisplay.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left;
|
||||
spellbookDisplay.Columns = (System.Collections.Generic.List<ItemDisplayColumn>) resources.GetObject("spellbookDisplay.Columns");
|
||||
spellbookDisplay.Location = new Point(6, 6);
|
||||
spellbookDisplay.Name = "spellbookDisplay";
|
||||
spellbookDisplay.Size = new Size(313, 515);
|
||||
spellbookDisplay.TabIndex = 0;
|
||||
//
|
||||
// charismaSelector
|
||||
//
|
||||
charismaSelector.DataBindings.Add(new Binding("SelectedItem", saveSourceBindingSource, "CharismaClass", true));
|
||||
charismaSelector.DataSource = charismaSourceBindingSource;
|
||||
charismaSelector.DisplayMember = "DisplayName";
|
||||
charismaSelector.FormattingEnabled = true;
|
||||
charismaSelector.Items.AddRange(new object[] { charismaClass8, charismaClass9, charismaClass10, charismaClass11, charismaClass12, charismaClass13, charismaClass14 });
|
||||
charismaSelector.Location = new Point(6, 6);
|
||||
charismaSelector.Name = "charismaSelector";
|
||||
charismaSelector.Size = new Size(121, 23);
|
||||
charismaSelector.TabIndex = 0;
|
||||
charismaSelector.ValueMember = "Multiplier";
|
||||
charismaSelector.SelectedIndexChanged += charismaSelector_SelectedIndexChanged;
|
||||
//
|
||||
// charismaSourceBindingSource
|
||||
//
|
||||
charismaSourceBindingSource.DataSource = typeof(CharismaSource);
|
||||
charismaSourceBindingSource.Position = 0;
|
||||
//
|
||||
// intrinsicsTab
|
||||
//
|
||||
intrinsicsTab.Controls.Add(label2);
|
||||
@@ -547,6 +566,11 @@ namespace NethackHelper {
|
||||
sokobanLevelList.SelectedIndexChanged += sokobanLevelList_SelectedIndexChanged;
|
||||
sokobanLevelList.KeyDown += sokobanLevelList_KeyDown;
|
||||
//
|
||||
// charismaSourceBindingSource
|
||||
//
|
||||
charismaSourceBindingSource.DataSource = typeof(CharismaSource);
|
||||
charismaSourceBindingSource.Position = 0;
|
||||
//
|
||||
// mainMenu
|
||||
//
|
||||
mainMenu.Items.AddRange(new ToolStripItem[] { fileToolStripMenuItem });
|
||||
@@ -589,16 +613,17 @@ namespace NethackHelper {
|
||||
itemsTab.ResumeLayout(false);
|
||||
itemsTab.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize) saveSourceBindingSource).EndInit();
|
||||
shoppingTabControl.ResumeLayout(false);
|
||||
itemTabControl.ResumeLayout(false);
|
||||
scrollPotionTab.ResumeLayout(false);
|
||||
wandRingTab.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize) charismaSourceBindingSource).EndInit();
|
||||
spellbookTab.ResumeLayout(false);
|
||||
intrinsicsTab.ResumeLayout(false);
|
||||
intrinsicsTab.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize) lastPrayerPicker).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize) intrinsicsBindingSource).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize) protectionPicker).EndInit();
|
||||
sokobanTab.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize) charismaSourceBindingSource).EndInit();
|
||||
mainMenu.ResumeLayout(false);
|
||||
mainMenu.PerformLayout();
|
||||
ResumeLayout(false);
|
||||
@@ -617,7 +642,7 @@ namespace NethackHelper {
|
||||
private CheckBox sokobanHorizontal;
|
||||
private TabPage itemsTab;
|
||||
private ComboBox charismaSelector;
|
||||
private TabControl shoppingTabControl;
|
||||
private TabControl itemTabControl;
|
||||
private TabPage potionsTab;
|
||||
private TabPage scrollPotionTab;
|
||||
private ItemDisplay scrollDisplay;
|
||||
@@ -652,5 +677,8 @@ namespace NethackHelper {
|
||||
private MenuStrip mainMenu;
|
||||
private ToolStripMenuItem fileToolStripMenuItem;
|
||||
private ToolStripMenuItem resetToolStripMenuItem;
|
||||
private TabPage spellbookTab;
|
||||
private ItemDisplay spellbookDisplay;
|
||||
private ItemDisplay amuletDisplay;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user