private void createWeaponButtonItem_Click(object sender, EventArgs e)
 {
     using (var wCreator = new WeaponCreator())
     {
         wCreator.ShowDialog();
     }
 }
        private void editWeaponButtonItem_Click(object sender, EventArgs e)
        {
            string itemID = String.Empty;

            if (Methods.InputBox("Entry ID", "What is the entry id of the weapon?", ref itemID) == DialogResult.OK)
            {
                int id = 0;

                if (int.TryParse(itemID, out id))
                {
                    using (var wEditor = new WeaponCreator() { editor = true, editItemID = id })
                    {
                        wEditor.ShowDialog();
                    }
                }
                else
                {
                    TaskDialog.Show(new TaskDialogInfo("Error", eTaskDialogIcon.Stop, "Error!",
                    "The entry id must be a number", eTaskDialogButton.Ok));
                }
            }
        }