private void createItemButtonItem_Click(object sender, EventArgs e)
 {
     using (var iCreator = new ItemCreator())
     {
         iCreator.ShowDialog();
     }
 }
        private void editItemButtonItem_Click(object sender, EventArgs e)
        {
            string itemID = String.Empty;

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

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