// Decompiled with JetBrains decompiler
// Type: LcDevPack_TeamDamonA.Tools.QuestEditor
// Assembly: LcDevPack_TeamDamonA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 6B9BC8BF-B510-4945-A515-04135CC0F4A4
// Assembly location: C:\Users\NTServer\Desktop\LcDevPack_TeamDamonA\LcDevPack_TeamDamonA\LcDevPack_TeamDamonA.exe

using MySql.Data.MySqlClient;
using StringExporter;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;

namespace LcDevPack_TeamDamonA.Tools
{
    public class QuestEditor : Form
    {
        public static Connection connection = new Connection();
        private string Host = QuestEditor.connection.ReadSettings("Host");
        private string User = QuestEditor.connection.ReadSettings("User");
        private string Password = QuestEditor.connection.ReadSettings("Password");
        private string Database = QuestEditor.connection.ReadSettings("Database");
        private DatabaseHandle databaseHandle = new DatabaseHandle();
        public string rowName = "a_index";
        public string[] menuArray = new string[2]
        {
      "a_index",
      "a_name"
        };

        //dethunter12 4/11/2018 language system
        private string language = ItemEditor2.connection.ReadSettings("Language");//dethunter12 test
        public string[] menuArrayGER = new string[2]
                 {
      "a_index",
      "a_name_ger"
                 };
        public string[] menuArrayPOL = new string[2]
                   {
      "a_index",
      "a_name_pld"
                   };
        public string[] menuArrayBRA = new string[2]
                      {
      "a_index",
      "a_name_brz"
                      };
        public string[] menuArrayRUS = new string[2]
                      {
      "a_index",
      "a_name_rus"
                      };
        public string[] menuArrayFRA = new string[2]
                      {
      "a_index",
      "a_name_frc"
                      };
        public string[] menuArrayESP = new string[2]
                      {
      "a_index",
      "a_name_spn"
                      };
        public string[] menuArrayMEX = new string[2]
                      {
      "a_index",
      "a_name_mex"
                      };
        public string[] menuArrayTHA = new string[2]
                      {
      "a_index",
      "a_name_thai"
                      };
        public string[] menuArrayITA = new string[2]
                      {
      "a_index",
      "a_name_ita"
                      };
        public string[] menuArrayUSA = new string[2]
                      {
      "a_index",
      "a_name_usa"
                      };
        private string namee; //dethunter12 stringfrom lang modify
        public string adesc = "";
        public string aname = ""; //dehtunter12 add
        public string desc;
        public string adesc2 = "";
        public string adesc3 = "";
        public string desc2;
        private Label label112;
        private Label label111;
        private Label label110;
        private Label label113;
        private Label lblLang;
        private ComboBox CbRvRGrade;
        private ComboBox CbRvrType;
        private ComboBox CbRvRGrade1;
        private Button BtnCopy;
        private PictureBox PbPItem5;
        private PictureBox PbPItem4;
        private PictureBox PbPItem3;
        private PictureBox PbPItem2;
        private PictureBox PbPItem1;
        private PictureBox PbItem7;
        private PictureBox PbItem6;
        private PictureBox PbItem5;
        private PictureBox PbItem4;
        private PictureBox PbItem3;
        private PictureBox PbItem2;
        private PictureBox PbItem1;
        private PictureBox PbCond1;
        private PictureBox PbCond2;
        private PictureBox PbCond3;
        private TextBox tbItemDesc5;
        private TextBox tbItemDesc4;
        private TextBox tbItemDesc3;
        private TextBox tbItemDesc2;
        private TextBox tbItemDesc1;
        private TextBox TbPrize2ItemDesc1;
        private TextBox TbPrize2ItemDesc2;
        private TextBox TbPrize2ItemDesc3;
        private TextBox TbPrize2ItemDesc4;
        private TextBox TbPrize2ItemDesc5;
        private TextBox TbPrize2ItemDesc6;
        private TextBox TbPrize2ItemDesc7;
        public string desc3;
        private TextBox TbObj1Name0;
        private TextBox TbObj2Name0;
        private TextBox TbObj3Name0;
        private TextBox TbObj3Name3;
        private PictureBox PbNpcID3;
        private TextBox TbObj3Name2;
        private PictureBox PbNpcID2;
        private TextBox TbObj3Name1;
        private PictureBox PbNpcID1;
        private TextBox TbObj1Name3;
        private PictureBox PbObj1NpcID3;
        private TextBox TbObj1Name2;
        private PictureBox PbObj1NpcID2;
        private TextBox TbObj1Name1;
        private PictureBox PbObj1NpcID1;
        private Label label116;
        private TextBox TbObj2Name3;
        private PictureBox PbObj2NpcID3;
        private TextBox TbObj2Name2;
        private PictureBox PbObj2NpcID2;
        private TextBox TbObj2Name1;
        private PictureBox PbObj2NpcID1;
        private Label label115;
        private Label label114;
        private Label label118;
        private Label label117;
        private TextBox TbEndNpcName;
        private TextBox TbStartNpcName;
        private PictureBox PbItemNeed5;
        private PictureBox PbItemNeed4;
        private PictureBox PbItemNeed3;
        private PictureBox PbItemNeed2;
        private PictureBox PbItemNeed1;
        private TextBox TbNeedName5;
        private TextBox TbNeedName4;
        private TextBox TbNeedName3;
        private TextBox TbNeedName2;
        private TextBox TbNeedName1;
        private PictureBox PbEndNPCItem;
        private PictureBox PbStartItemNPC;
        private Label label119;
        private PictureBox pictureBox1;
        private Label label120;
        private Label label121;
        private PictureBox pictureBox2;
        private Label label122;
        private PictureBox pictureBox3;
        private CheckBox cbEnabled;
        private Button btnSaveAndNext;
        private PictureBox PbOptPrize8;
        private PictureBox PbOptPrize7;
        private PictureBox PbOptPrize6;
        private PictureBox PbOptPrize5;
        private PictureBox PbOptPrize3;
        private PictureBox PbOptPrize2;
        private PictureBox PbOptPrize1;
        private TextBox TbFileCol;
        private TextBox tbFileRow;
        private TextBox tbFileID;
        private PictureBox PbPrize5;
        private PictureBox PbPrize4;
        private PictureBox PbPrize3;
        private PictureBox PbPrize2;
        private PictureBox PbPrize1;
        private PictureBox pbIconNeed5;
        private PictureBox pbIconNeed4;
        private PictureBox pbIconNeed3;
        private PictureBox pbIconNeed2;
        private PictureBox pbIconNeed1;
        private Label lblPercent;
        private Label lblPercent2;
        private Label lblPercent3;
        private PictureBox pbObj1;
        private PictureBox pbObj2;
        private PictureBox pbObj3;
        public string nameholder1; //dethunter12 test
        
        private ExportLodHandle exportLodhandle = new ExportLodHandle();
        private IContainer components = (IContainer)null;
        public string name;
        public int index;
        public string test2;
        private MenuStrip menuStrip1;
        private ToolStripMenuItem fileExportToolStripMenuItem;
        private GroupBox groupBox3;
        private Button BtnDelete;
        private Button BtnAddNew;
        private ListBox listBox1;
        private GroupBox groupBox5;
        private Label label7;
        private TextBox textBox12;
        private TabControl tabControl1;
        private TabPage tabPage1;
        private TextBox TbQuestName;
        private Label label3;
        private Label label2;
        private Label label6;
        private TextBox TbIndex;
        private Label label5;
        private Label label1;
        private TextBox TbNeedQuestId;
        private TextBox TbEndNpc;
        private Label label11;
        private Label label12;
        private Label label13;
        private TextBox TbMinLvl;
        private Label label10;
        private Label label46;
        private Label label47;
        private Label label54;
        private Label label52;
        private Label label59;
        private TabPage Page2;
        private TextBox TbEnable;
        private GroupBox groupBox1;
        private TextBox tbNeedAmnt1;
        private Label label85;
        private Label label93;
        private TextBox TbNeedItm5;
        private TextBox tbNeedAmnt3;
        private Label label22;
        private TextBox tbNeedAmnt2;
        private Label label23;
        private GroupBox groupBox4;
        private TextBox TbNeedItm4;
        private TextBox TbNeedItm2;
        private Label label14;
        private Label label92;
        private TextBox TbNeedItm1;
        private Label label91;
        private Label label18;
        private TextBox TbNeedItm3;
        private TextBox TbMaxLvl;
        private Label label15;
        private Label label16;
        private Label label4;
        private TextBox tbNeedAmnt4;
        private TextBox tbNeedAmnt5;
        private Label label37;
        private TextBox TbObj2Ptg;
        private Label label38;
        private Label label39;
        private Label label40;
        private TextBox TbObj3Npc1;
        private TextBox TbObj3Npc2;
        private TextBox TbObj3Npc3;
        private Label label32;
        private TextBox TbObj1Npc3;
        private Label label33;
        private Label label35;
        private Label label36;
        private TextBox TbObj1Ptg;
        private TextBox TbObj2Npc2;
        private TextBox TbObj2Npc3;
        private Label label34;
        private TextBox TbObj2Npc1;
        private GroupBox groupBox6;
        private Label label17;
        private Label label19;
        private Label label20;
        private Label label26;
        private TextBox TbObj2Id;
        private Label label27;
        private TextBox TbObj1Id;
        private Label label28;
        private Label label25;
        private TextBox TbObj3Id;
        private Label label24;
        private TextBox TbObjcAmount1;
        private Label label21;
        private TextBox TbObjcAmount2;
        private Label label29;
        private Label label30;
        private Label label31;
        private TextBox TbObjcAmount3;
        private TextBox TbObj1Npc1;
        private TextBox TbObj1Npc2;
        private TextBox TbObj3Ptg;
        private TextBox TbPrizeItm1;
        private TextBox TbPrizeItm2;
        private TextBox TbPrizeItm3;
        private TextBox TbPrizeItm4;
        private TextBox TbPrizeItm5;
        private Label label48;
        private Label label49;
        private Label label50;
        private Label label51;
        private Label label53;
        private Label label45;
        private Label label44;
        private Label label43;
        private Label label42;
        private Label label41;
        private TextBox TbPrizeAmount1;
        private TextBox TbPrizeAmount2;
        private TextBox TbPrizeAmount3;
        private TextBox TbPrizeAmount4;
        private TextBox TbPrizeAmount5;
        private Label label60;
        private Label label58;
        private Label label57;
        private Label label56;
        private Label label55;
        private Label label96;
        private Label label95;
        private Label label104;
        private TextBox textBox104;
        private ComboBox comboBox2;
        private ComboBox comboBox1;
        private GroupBox groupBox9;
        private ComboBox comboBox3;
        private GroupBox groupBox10;
        private ComboBox comboBox4;
        private Label label98;
        private GroupBox groupBox11;
        private ComboBox CbStartFrom;
        private Button button6;
        private Button button5;
        private TabControl tabControl2;
        private TabPage tabPage2;
        private TabPage tabPage4;
        private TabPage tabPage3;
        private TabPage tabPage5;
        private ComboBox comboBox6;
        private GroupBox GbNpcQuestItm;
        private ComboBox comboBox7;
        private GroupBox groupBox12;
        private ComboBox comboBox8;
        private TabControl tabControl3;
        private TabPage tabPage8;
        private TabPage tabPage9;
        private ComboBox CbPrizeType5;
        private ComboBox CbPrizeType4;
        private ComboBox CbPrizeType3;
        private ComboBox CbPrizeType2;
        private ComboBox CbPrizeType1;
        private TextBox textBox86;
        private TextBox textBox87;
        private TextBox textBox92;
        private Label label83;
        private Label label90;
        private Label label84;
        private Label label89;
        private TextBox textBox88;
        private Label label88;
        private TextBox textBox89;
        private Label label87;
        private TextBox textBox90;
        private Label label86;
        private TextBox textBox91;
        private TextBox TbOptPrizeItm1;
        private TextBox TbOptPrizeItm2;
        private Label label69;
        private Label label70;
        private TextBox TbOptPrizeItm3;
        private TextBox TbOptPrizeItm4;
        private TextBox TbOptPrizeItm5;
        private TextBox TbOptPrizeItm6;
        private TextBox TbOptPrizeItm7;
        private Label label71;
        private Label label72;
        private Label label73;
        private Label label74;
        private Label label75;
        private TextBox TbPrizeOptAmount1;
        private TextBox TbPrizeOptAmount2;
        private Label label76;
        private Label label77;
        private TextBox TbPrizeOptAmount3;
        private TextBox TbPrizeOptAmount4;
        private TextBox TbPrizeOptAmount5;
        private TextBox TbPrizeOptAmount6;
        private TextBox TbPrizeOptAmount7;
        private Label label78;
        private Label label79;
        private Label label80;
        private Label label81;
        private Label label82;
        private ComboBox CbOptPrizeType7;
        private ComboBox CbOptPrizeType6;
        private ComboBox CbOptPrizeType5;
        private ComboBox CbOptPrizeType4;
        private ComboBox CbOptPrizeType3;
        private ComboBox CbOptPrizeType2;
        private ComboBox CbOptPrizeType1;
        private Label label67;
        private Label label68;
        private Label label66;
        private Label label65;
        private Label label64;
        private Label label63;
        private Label label62;
        private ComboBox comboBox22;
        private ComboBox comboBox21;
        private TextBox TbType2;
        private TextBox TbType1;
        private TextBox textBox7;
        private TextBox textBox11;
        private TextBox textBox9;
        private TextBox textBox98;
        private Label label106;
        private Label label105;
        private Label label107;
        private Label label108;
        private Label label109;
        private TextBox textBox15;
        private TextBox TbObj1Type;
        private TextBox TbObj2Type;
        private TextBox TbObj3Type;
        private TextBox textBox53;
        private TextBox textBox52;
        private TextBox textBox51;
        private TextBox textBox50;
        private TextBox textBox49;
        private TextBox textBox65;
        private TextBox textBox66;
        private TextBox textBox67;
        private TextBox textBox71;
        private TextBox textBox68;
        private TextBox textBox70;
        private TextBox textBox69;
        private TextBox textBox93;
        private Label label94;
        private TextBox textBox64;
        private Label label61;
        private Button BtnSave;
        private RichTextBox RtbStartDescr;
        private RichTextBox RtbCondDescr;
        private RichTextBox RtbRewardDescr;
        public TextBox TbStartNpc;
        private TabPage tabPage7;
        private GroupBox groupBox7;
        private TextBox TbQuestflag;
        private Label label103;
        private TextBox TbStartTriggerID;
        private Label label102;
        private Label label99;
        private TextBox TbGiveKind;
        private TextBox tbFailvalue;
        private Label label97;
        private TextBox TbGiveNum;
        private Label label101;
        private TextBox TbStartGive;
        private Label label100;
        private GroupBox groupBox8;
        private Label label8;
        private Label label9;
        private TextBox TbRvrType;
        private TextBox TbRvrGrade;
        private ToolStripMenuItem exportToolStripMenuItem;
        private ToolStripMenuItem exportStrQuestToolStripMenuItem;

        public QuestEditor()
        {
            InitializeComponent();
        }

        private void LoadListBox()
        {
            //dethunter12 4/11/2018 language system
            if (language == "GER")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayGER, Host, User, Password, Database, "select a_index, a_name_ger from t_quest ORDER BY a_index;");
            }
            else if (language == "POL")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayPOL, Host, User, Password, Database, "select a_index, a_name_pld from t_quest ORDER BY a_index;");
            }
            else if (language == "BRA")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayBRA, Host, User, Password, Database, "select a_index, a_name_brz from t_quest ORDER BY a_index;");
            }
            else if (language == "RUS")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayRUS, Host, User, Password, Database, "select a_index, a_name_rus from t_quest ORDER BY a_index;");
            }
            else if (language == "FRA")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayFRA, Host, User, Password, Database, "select a_index, a_name_frc from t_quest ORDER BY a_index;");
            }
            else if (language == "ESP")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayESP, Host, User, Password, Database, "select a_index, a_name_spn from t_quest ORDER BY a_index;");
            }
            else if (language == "MEX")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayMEX, Host, User, Password, Database, "select a_index, a_name_mex from t_quest ORDER BY a_index;");
            }
            else if (language == "THA")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayTHA, Host, User, Password, Database, "select a_index, CONVERT(a_name_thai USING tis620) as a_name_thai from t_quest ORDER BY a_index;");
            }
            else if (language == "ITA")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayITA, Host, User, Password, Database, "select a_index, a_name_ita from t_quest ORDER BY a_index;");
            }
            else if (language == "USA")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayUSA, Host, User, Password, Database, "select a_index, a_name_usa from t_quest ORDER BY a_index;");
            }
            //dethunter12 4/11/2018 language end
            else
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArray, Host, User, Password, Database, "select a_index, a_name from t_quest ORDER BY a_index;");
            }
        }

        public void SearchList(string searchString)
        {
            searchString = searchString.Replace("\\", "\\\\").Replace("'", "\\'");
            string lower = searchString.ToLower();
            string upper = searchString.ToUpper();
            string str = "";
            if (searchString.Length > 1)
                str = char.ToUpper(searchString[0]).ToString() + searchString.Substring(1);
            //search paramater change language 4/11/2018 dethunter12
            if (language == "GER")
            {
                //search the list box with german
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayGER, Host, User, Password, Database, "select a_index, a_name_ger from t_quest WHERE a_name_ger LIKE '%" + searchString + "%'" + " OR a_index LIKE '%" + searchString + "%'" + " OR a_name_ger LIKE '%" + lower + "%' OR a_index  LIKE '%" + lower + "%'" + " OR a_name_ger LIKE '%" + upper + "%' OR a_index LIKE '%" + upper + "%'" + " OR a_name_ger LIKE '%" + str + "%' OR a_index LIKE '%" + str + "%'" + " ORDER BY a_index;");

            }
            else if (language == "POL")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayPOL, Host, User, Password, Database, "select a_index, a_name_pld from t_quest WHERE a_name_pld LIKE '%" + searchString + "%'" + " OR a_index LIKE '%" + searchString + "%'" + " OR a_name_pld LIKE '%" + lower + "%' OR a_index  LIKE '%" + lower + "%'" + " OR a_name_pld LIKE '%" + upper + "%' OR a_index LIKE '%" + upper + "%'" + " OR a_name_pld LIKE '%" + str + "%' OR a_index LIKE '%" + str + "%'" + " ORDER BY a_index;");

            }
            else if (language == "BRA")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayBRA, Host, User, Password, Database, "select a_index, a_name_brz from t_quest WHERE a_name_brz LIKE '%" + searchString + "%'" + " OR a_index LIKE '%" + searchString + "%'" + " OR a_name_brz LIKE '%" + lower + "%' OR a_index  LIKE '%" + lower + "%'" + " OR a_name_brz LIKE '%" + upper + "%' OR a_index LIKE '%" + upper + "%'" + " OR a_name_brz LIKE '%" + str + "%' OR a_index LIKE '%" + str + "%'" + " ORDER BY a_index;");

            }
            else if (language == "RUS")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayRUS, Host, User, Password, Database, "select a_index, a_name_rus from t_quest WHERE a_name_rus LIKE '%" + searchString + "%'" + " OR a_index LIKE '%" + searchString + "%'" + " OR a_name_rus LIKE '%" + lower + "%' OR a_index  LIKE '%" + lower + "%'" + " OR a_name_rus LIKE '%" + upper + "%' OR a_index LIKE '%" + upper + "%'" + " OR a_name_rus LIKE '%" + str + "%' OR a_index LIKE '%" + str + "%'" + " ORDER BY a_index;");

            }
            else if (language == "FRA")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayFRA, Host, User, Password, Database, "select a_index, a_name_frc from t_quest WHERE a_name_frc LIKE '%" + searchString + "%'" + " OR a_index LIKE '%" + searchString + "%'" + " OR a_name_frc LIKE '%" + lower + "%' OR a_index  LIKE '%" + lower + "%'" + " OR a_name_frc LIKE '%" + upper + "%' OR a_index LIKE '%" + upper + "%'" + " OR a_name_frc LIKE '%" + str + "%' OR a_index LIKE '%" + str + "%'" + " ORDER BY a_index;");

            }
            else if (language == "ESP")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayESP, Host, User, Password, Database, "select a_index, a_name_spn from t_quest WHERE a_name_spn LIKE '%" + searchString + "%'" + " OR a_index LIKE '%" + searchString + "%'" + " OR a_name_spn LIKE '%" + lower + "%' OR a_index  LIKE '%" + lower + "%'" + " OR a_name_spn LIKE '%" + upper + "%' OR a_index LIKE '%" + upper + "%'" + " OR a_name_spn LIKE '%" + str + "%' OR a_index LIKE '%" + str + "%'" + " ORDER BY a_index;");

            }
            else if (language == "MEX")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayMEX, Host, User, Password, Database, "select a_index, a_name_mex from t_quest WHERE a_name_mex LIKE '%" + searchString + "%'" + " OR a_index LIKE '%" + searchString + "%'" + " OR a_name_mex LIKE '%" + lower + "%' OR a_index  LIKE '%" + lower + "%'" + " OR a_name_mex LIKE '%" + upper + "%' OR a_index LIKE '%" + upper + "%'" + " OR a_name_mex LIKE '%" + str + "%' OR a_index LIKE '%" + str + "%'" + " ORDER BY a_index;");

            }
            else if (language == "THA")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayTHA, Host, User, Password, Database, "select a_index, CONVERT(a_name_thai USING utf8) as a_name_thai from t_quest WHERE a_name_thai LIKE '%" + searchString + "%'" + " OR a_index LIKE '%" + searchString + "%'" + " OR a_name_thai LIKE '%" + lower + "%' OR a_index  LIKE '%" + lower + "%'" + " OR a_name_thai LIKE '%" + upper + "%' OR a_index LIKE '%" + upper + "%'" + " OR a_name_thai LIKE '%" + str + "%' OR a_index LIKE '%" + str + "%'" + " ORDER BY a_index;");

            }
            else if (language == "ITA")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayITA, Host, User, Password, Database, "select a_index, a_name_ita from t_quest WHERE a_name_ita LIKE '%" + searchString + "%'" + " OR a_index LIKE '%" + searchString + "%'" + " OR a_name_ita LIKE '%" + lower + "%' OR a_index  LIKE '%" + lower + "%'" + " OR a_name_ita LIKE '%" + upper + "%' OR a_index LIKE '%" + upper + "%'" + " OR a_name_ita LIKE '%" + str + "%' OR a_index LIKE '%" + str + "%'" + " ORDER BY a_index;");

            }
            else if (language == "USA")
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArrayUSA, Host, User, Password, Database, "select a_index, a_name_usa from t_quest WHERE a_name_usa LIKE '%" + searchString + "%'" + " OR a_index LIKE '%" + searchString + "%'" + " OR a_name_usa LIKE '%" + lower + "%' OR a_index  LIKE '%" + lower + "%'" + " OR a_name_usa LIKE '%" + upper + "%' OR a_index LIKE '%" + upper + "%'" + " OR a_name_usa LIKE '%" + str + "%' OR a_index LIKE '%" + str + "%'" + " ORDER BY a_index;");

            }
            else // if none of these do default search a_name
            {
                listBox1.DataSource = databaseHandle.SelectMySqlReturnList(menuArray, Host, User, Password, Database, "select a_index, a_name from t_quest WHERE a_name LIKE '%" + searchString + "%'" + " OR a_index LIKE '%" + searchString + "%'" + " OR a_name LIKE '%" + lower + "%' OR a_index  LIKE '%" + lower + "%'" + " OR a_name LIKE '%" + upper + "%' OR a_index LIKE '%" + upper + "%'" + " OR a_name LIKE '%" + str + "%' OR a_index LIKE '%" + str + "%'" + " ORDER BY a_index;");

            }
        }
        private void LoadLangAtStartup() //dethunter12 4/12/2018 add
        {
            if (language == "GER")
            {
                lblLang.Text = "German";
            }
            else if (language == "POL")
            {
                lblLang.Text = "Polish";
            }
            else if (language == "BRA")
            {
                lblLang.Text = "Brasilian";
            }
            else if (language == "RUS")
            {
                lblLang.Text = "Russian";
            }
            else if (language == "FRA")
            {
                lblLang.Text = "French";
            }
            else if (language == "ESP")
            {
                lblLang.Text = "Spanish";
            }
            else if (language == "MEX")
            {
                lblLang.Text = "Mex";
            }
            else if (language == "THA")
            {
                lblLang.Text = "Thai";
            }
            else if (language == "ITA")
            {
                lblLang.Text = "Italian";
            }
            else if (language == "USA")
            {
                lblLang.Text = "English";
            }
            else
            {
                lblLang.Text = "";
            }
        }

        private void Update_Probability_Text() //dethunter12 9/3/2020
        {
            if (TbObj1Type.Text == "1" && int.Parse(TbObj1Ptg.Text) >= 0)
            {

                lblPercent.Text = "";
                decimal result = ((int.Parse(TbObj1Ptg.Text) *100m) / 10000m);
                lblPercent.Text = Convert.ToString(result) + "%";
            }
            if (TbObj1Type.Text == "1" && TbObj2Ptg.Text != "" && int.Parse(TbObj2Ptg.Text) >= 0) //fix dethunter12 9/30/2020
            {

                lblPercent2.Text = "";
                decimal result = ((int.Parse(TbObj2Ptg.Text) * 100m) / 10000m);
                lblPercent2.Text = Convert.ToString(result) + "%";
            }
            if (TbObj3Type.Text == "1" && TbObj3Ptg.Text != "" && int.Parse(TbObj3Ptg.Text) >= 0) //fix dethunter12 9/30/2020
            {

                lblPercent3.Text = "";
                decimal result = ((int.Parse(TbObj3Ptg.Text) * 100m) / 10000m);
                lblPercent3.Text = Convert.ToString(result) + "%";
            }
        }
        private void Form3_Load(object sender, EventArgs e)
        {
            LoadListBox();
            LoadStartUp();
            SelectBoxes();
            LoadLangAtStartup(); //dethunter12 language 4/12/2018
          
        }

        public int GetIndex()
        {
            try
            {
                return Convert.ToInt32(listBox1.Text.Split(' ')[0]);
            }
            catch
            {
                return 0;
            }
        }

        public int GetIndexByComboBox(string comboBox)
        {
            try
            {
                return Convert.ToInt32(comboBox.Split(' ')[0]);
            }
            catch
            {
                return 0;
            }
        }


        private void ClearTextFields()
        {
            tbItemDesc1.Text = ""; //dethunter12 add 6/14/2018
            tbItemDesc2.Text = ""; //dethunter12 add 6/14/2018
            tbItemDesc3.Text = ""; //dethunter12 add 6/14/2018
            tbItemDesc4.Text = ""; //dethunter12 add 6/14/2018
            tbItemDesc5.Text = ""; //dethunter12 add 6/14/2018
            TbPrize2ItemDesc1.Text = ""; //dethunter12 add 6/14/2018
            TbPrize2ItemDesc2.Text = ""; //dethunter12 add 6/14/2018 
            TbPrize2ItemDesc3.Text = ""; //dethunter12 add 6/14/2018
            TbPrize2ItemDesc4.Text = ""; //dethunter12 add 6/14/2018
            TbPrize2ItemDesc5.Text = ""; //dethunter12 add 6/14/2018
            TbPrize2ItemDesc6.Text = ""; //dethunter12 add 6/14/2018
            TbPrize2ItemDesc7.Text = ""; //dethunter12 add 6/14/2018
            TbObj1Name0.Text = ""; //dethunter12 add 6/14/2018
            TbObj2Name0.Text = ""; //dethunter12 add 6/14/2018
            TbObj3Name0.Text = ""; //dethunter12 add 6/14/2018
            TbObj3Name1.Text = ""; //dethunter12 add 6/14/2018
            TbObj3Name2.Text = ""; //dethunter12 add 6/14/2018
            TbObj3Name3.Text = ""; //dethunter12 add 6/14/2018
            TbObj1Name1.Text = ""; //dethunter12 add 6/14/2018
            TbObj1Name2.Text = ""; //dethunter12 add 6/14/2018
            TbObj1Name3.Text = ""; //dethunter12 add 6/14/2018
            TbObj2Name1.Text = ""; //dethunter12 add 6/14/2018
            TbObj2Name2.Text = ""; //dethunter12 add 6/14/2018
            TbObj2Name3.Text = ""; //dethunter12 add 6/14/2018
            TbStartNpcName.Text = ""; //dethunter12 add 6/14/2018
            TbEndNpcName.Text = ""; //dethunter12 add 6/14/2018
            TbNeedName1.Text = ""; //dethunter12 add 6/14/2018
            TbNeedName2.Text = ""; //dethunter12 add 6/14/2018
            TbNeedName3.Text = ""; //dethunter12 add 6/14/2018
            TbNeedName4.Text = ""; //dethunter12 add 6/14/2018
            TbNeedName5.Text = ""; //dethunter12 add 6/14/2018
        }
        private void ClearBackgrounds()
        {
            TbQuestName.BackColor = Color.White;
            TbQuestName.BackColor = Color.White;
            TbEnable.BackColor = Color.White;
            TbNeedQuestId.BackColor = Color.White;
            TbStartNpc.BackColor = Color.White;
            TbEndNpc.BackColor = Color.White;
            textBox12.BackColor = Color.White;
            TbMinLvl.BackColor = Color.White;
            TbMaxLvl.BackColor = Color.White;
            TbNeedItm1.BackColor = Color.White;
            TbNeedItm2.BackColor = Color.White;
            TbNeedItm3.BackColor = Color.White;
            TbNeedItm4.BackColor = Color.White;
            TbNeedItm5.BackColor = Color.White;
            tbNeedAmnt1.BackColor = Color.White;
            tbNeedAmnt2.BackColor = Color.White;
            tbNeedAmnt3.BackColor = Color.White;
            tbNeedAmnt4.BackColor = Color.White;
            tbNeedAmnt5.BackColor = Color.White;
            TbRvrType.BackColor = Color.White;
            TbRvrGrade.BackColor = Color.White;
            TbObj1Id.BackColor = Color.White;
            TbObj2Id.BackColor = Color.White;
            TbObj3Id.BackColor = Color.White;
            TbObjcAmount1.BackColor = Color.White;
            TbObjcAmount2.BackColor = Color.White;
            TbObjcAmount3.BackColor = Color.White;
            TbObj1Npc1.BackColor = Color.White;
            TbObj1Npc2.BackColor = Color.White;
            TbObj1Npc3.BackColor = Color.White;
            TbObj1Ptg.BackColor = Color.White;
            TbObj2Npc1.BackColor = Color.White;
            TbObj2Npc2.BackColor = Color.White;
            TbObj2Npc3.BackColor = Color.White;
            TbObj2Ptg.BackColor = Color.White;
            TbObj3Npc1.BackColor = Color.White;
            TbObj3Npc2.BackColor = Color.White;
            TbObj3Npc3.BackColor = Color.White;
            TbObj3Ptg.BackColor = Color.White;
            TbPrizeItm1.BackColor = Color.White;
            TbPrizeItm2.BackColor = Color.White;
            TbPrizeItm3.BackColor = Color.White;
            TbPrizeItm4.BackColor = Color.White;
            TbPrizeItm5.BackColor = Color.White;
            TbPrizeAmount1.BackColor = Color.White;
            TbPrizeAmount2.BackColor = Color.White;
            TbPrizeAmount3.BackColor = Color.White;
            TbPrizeAmount4.BackColor = Color.White;
            TbPrizeAmount5.BackColor = Color.White;
            textBox64.BackColor = Color.White;
            TbOptPrizeItm1.BackColor = Color.White;
            TbOptPrizeItm2.BackColor = Color.White;
            TbOptPrizeItm3.BackColor = Color.White;
            TbOptPrizeItm4.BackColor = Color.White;
            TbOptPrizeItm5.BackColor = Color.White;
            TbOptPrizeItm6.BackColor = Color.White;
            TbOptPrizeItm7.BackColor = Color.White;
            TbPrizeOptAmount1.BackColor = Color.White;
            TbPrizeOptAmount2.BackColor = Color.White;
            TbPrizeOptAmount3.BackColor = Color.White;
            TbPrizeOptAmount4.BackColor = Color.White;
            TbPrizeOptAmount5.BackColor = Color.White;
            TbPrizeOptAmount6.BackColor = Color.White;
            TbPrizeOptAmount7.BackColor = Color.White;
            textBox86.BackColor = Color.White;
            textBox87.BackColor = Color.White;
            textBox88.BackColor = Color.White;
            textBox89.BackColor = Color.White;
            textBox90.BackColor = Color.White;
            textBox91.BackColor = Color.White;
            textBox92.BackColor = Color.White;
            textBox93.BackColor = Color.White;
            RtbStartDescr.BackColor = Color.White;
            RtbRewardDescr.BackColor = Color.White;
            RtbCondDescr.BackColor = Color.White;
            tbFailvalue.BackColor = Color.White;
            TbStartGive.BackColor = Color.White;
            TbGiveKind.BackColor = Color.White;
            TbGiveNum.BackColor = Color.White;
            TbStartTriggerID.BackColor = Color.White;
            TbQuestflag.BackColor = Color.White;
            textBox104.BackColor = Color.White;
            comboBox1.BackColor = Color.White;
            comboBox2.BackColor = Color.White;
            comboBox3.BackColor = Color.White;
            comboBox4.BackColor = Color.White;
            CbStartFrom.BackColor = Color.White;
            comboBox6.BackColor = Color.White;
            comboBox7.BackColor = Color.White;
            comboBox8.BackColor = Color.White;
            CbPrizeType1.BackColor = Color.White;
            CbPrizeType2.BackColor = Color.White;
            CbPrizeType3.BackColor = Color.White;
            CbPrizeType4.BackColor = Color.White;
            CbPrizeType5.BackColor = Color.White;
            CbOptPrizeType1.BackColor = Color.White;
            CbOptPrizeType2.BackColor = Color.White;
            CbOptPrizeType3.BackColor = Color.White;
            CbOptPrizeType4.BackColor = Color.White;
            CbOptPrizeType5.BackColor = Color.White;
            CbOptPrizeType6.BackColor = Color.White;
            CbOptPrizeType7.BackColor = Color.White;
            comboBox21.BackColor = Color.White;
            comboBox22.BackColor = Color.White;
        }
        private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (listBox1.SelectedIndex != -1)

             ClearTextFields();
             ClearBackgrounds();
            TbIndex.Text = GetIndex().ToString();
            string Query = " select a_index , a_name , a_type1 , a_type2 , a_enable , a_prequest_num , a_start_type , a_start_data , a_start_npc_zone_num , a_prize_npc , a_prize_npc_zone_num , a_need_exp , a_need_min_level , a_need_max_level , a_need_job , a_need_item0 , a_need_item1 , a_need_item2 , a_need_item3 , a_need_item4 , a_need_item_count0 , a_need_item_count1 , a_need_item_count2 , a_need_item_count3 , a_need_item_count4 , a_need_rvr_type , a_need_rvr_grade , a_condition0_type , a_condition1_type , a_condition2_type , a_condition0_index , a_condition1_index , a_condition2_index , a_condition0_num , a_condition1_num , a_condition2_num , a_condition0_data0 , a_condition0_data1 , a_condition0_data2 , a_condition0_data3 , a_condition1_data0 , a_condition1_data1 , a_condition1_data2 , a_condition1_data3 , a_condition2_data0 , a_condition2_data1 , a_condition2_data2 , a_condition2_data3 , a_prize_type0 , a_prize_type1 , a_prize_type2 , a_prize_type3 , a_prize_type4 , a_prize_index0 , a_prize_index1 , a_prize_index2 , a_prize_index3 , a_prize_index4 , a_prize_data0 , a_prize_data1 , a_prize_data2 , a_prize_data3 , a_prize_data4 , a_option_prize , a_opt_prize_type0 , a_opt_prize_type1 , a_opt_prize_type2 , a_opt_prize_type3 , a_opt_prize_type4 , a_opt_prize_type5 , a_opt_prize_type6 , a_opt_prize_index0 , a_opt_prize_index1 , a_opt_prize_index2 , a_opt_prize_index3 , a_opt_prize_index4 , a_opt_prize_index5 a_opt_prize_index5 , a_opt_prize_index6 , a_opt_prize_data0 , a_opt_prize_data1 , a_opt_prize_data2 , a_opt_prize_data3 , a_opt_prize_data4 , a_opt_prize_data5 , a_opt_prize_data6 , a_opt_prize_plus0 , a_opt_prize_plus1 , a_opt_prize_plus2 , a_opt_prize_plus3 , a_opt_prize_plus4 , a_opt_prize_plus5 , a_opt_prize_plus6 , a_only_opt_prize , a_desc_usa , a_desc2_usa , a_desc3_usa , a_failvalue , a_partyscale , a_start_give_item , a_start_give_kindcount , a_start_give_numcount , a_start_trigger_id , a_quest_flag, a_name_ger, a_desc_ger, a_desc2_ger, a_desc3_ger, a_name_rus, a_desc_rus, a_desc2_rus, a_desc3_rus, a_name_thai, a_desc_thai, a_desc2_thai, a_desc3_thai, a_name_frc, a_desc_frc, a_desc2_frc, a_desc3_frc, a_name_mex, a_desc_mex, a_desc2_mex, a_desc3_mex, a_name_brz, a_desc_brz, a_desc2_brz, a_desc3_brz, a_name_spn, a_desc_spn, a_desc2_spn, a_desc3_spn, a_name_ita, a_desc_ita, a_desc2_ita, a_desc3_ita, a_name_pld, a_desc_pld, a_desc2_pld, a_desc3_pld, a_name_usa from t_quest WHERE a_index ='" + TbIndex.Text + "';"; //dethunter12 4/11/2018 lang select modify
            string[] rows = new string[140]
            {
        "a_index", //0
        "a_name", //1
        "a_type1", //2
        "a_type2",//3
        "a_enable",//4
        "a_prequest_num",//5
        "a_start_type",//6
        "a_start_data",//7
        "a_start_npc_zone_num",//8
        "a_prize_npc",//9
        "a_prize_npc_zone_num",//10
        "a_need_exp",//11
        "a_need_min_level",//12
        "a_need_max_level",//13
        "a_need_job",//14
        "a_need_item0",//15
        "a_need_item1",//16
        "a_need_item2",//17
        "a_need_item3",//18
        "a_need_item4",//19
        "a_need_item_count0",//20
        "a_need_item_count1",//21
        "a_need_item_count2",//22
        "a_need_item_count3",//23
        "a_need_item_count4",//24
        "a_need_rvr_type",//25
        "a_need_rvr_grade",//26
        "a_condition0_type",//27
        "a_condition1_type",//28
        "a_condition2_type",//29
        "a_condition0_index",//30
        "a_condition1_index",//31
        "a_condition2_index",//32
        "a_condition0_num",//33
        "a_condition1_num",//34
        "a_condition2_num",//35
        "a_condition0_data0",//36
        "a_condition0_data1",//37
        "a_condition0_data2",//38
        "a_condition0_data3",//39
        "a_condition1_data0",//40
        "a_condition1_data1",//41
        "a_condition1_data2",//42
        "a_condition1_data3",//43
        "a_condition2_data0",//44
        "a_condition2_data1",//45
        "a_condition2_data2",//46
        "a_condition2_data3",//47
        "a_prize_type0",//48
        "a_prize_type1",//49
        "a_prize_type2",//50
        "a_prize_type3",//51
        "a_prize_type4",//52
        "a_prize_index0",//53
        "a_prize_index1",//54
        "a_prize_index2",//55
        "a_prize_index3",//56
        "a_prize_index4",//57
        "a_prize_data0",//58
        "a_prize_data1",//59
        "a_prize_data2",//60
        "a_prize_data3",//61
        "a_prize_data4",//62
        "a_option_prize",//63
        "a_opt_prize_type0",//64
        "a_opt_prize_type1",//65
        "a_opt_prize_type2",//66
        "a_opt_prize_type3",//67
        "a_opt_prize_type4",//68
        "a_opt_prize_type5",//69
        "a_opt_prize_type6",//70
        "a_opt_prize_index0",//71
        "a_opt_prize_index1",//72
        "a_opt_prize_index2",//73
        "a_opt_prize_index3",//74
        "a_opt_prize_index4",//75
        "a_opt_prize_index5",//76
        "a_opt_prize_index6",//77
        "a_opt_prize_data0",//78
        "a_opt_prize_data1",//79
        "a_opt_prize_data2",//80
        "a_opt_prize_data3",//81
        "a_opt_prize_data4",//82
        "a_opt_prize_data5",//83
        "a_opt_prize_data6",//84
        "a_opt_prize_plus0",//85
        "a_opt_prize_plus1",//86
        "a_opt_prize_plus2",//87
        "a_opt_prize_plus3",//88
        "a_opt_prize_plus4",//89
        "a_opt_prize_plus5",//90
        "a_opt_prize_plus6",//91
        "a_only_opt_prize",//92
        "a_desc_usa", //93
        "a_desc2_usa",//94
        "a_desc3_usa",//95
        "a_failvalue",//96
        "a_partyscale",//97
        "a_start_give_item",//98
        "a_start_give_kindcount",//99
        "a_start_give_numcount",//100
        "a_start_trigger_id",//101
        "a_quest_flag",//102
        //dethunter12 4/11/2018 lang select
        "a_name_ger",//103
        "a_desc_ger",//104
        "a_desc2_ger",//105
        "a_desc3_ger",//106
        "a_name_rus",//107
        "a_desc_rus",//108
        "a_desc2_rus",//109
        "a_desc3_rus",//110
        "a_name_thai",//111
        "a_desc_thai",//112
         "a_desc2_thai",//113
         "a_desc3_thai",//114
         "a_name_frc",//115
         "a_desc_frc",//116
        "a_desc2_frc",//117
         "a_desc3_frc",//118
         "a_name_mex",//119
         "a_desc_mex",//120
         "a_desc2_mex",//121
         "a_desc3_mex",//122
         "a_name_brz",//123
         "a_desc_brz",//124
         "a_desc2_brz",//125
        "a_desc3_brz",//126
        "a_name_spn",//127
        "a_desc_spn",//128
         "a_desc2_spn",//129
        "a_desc3_spn",//130
         "a_name_ita",//131
         "a_desc_ita",//132
         "a_desc2_ita",//133
         "a_desc3_ita",//134
          "a_name_pld",//135
        "a_desc_pld",//136
         "a_desc2_pld",//137
         "a_desc3_pld",//138
          "a_name_usa" //139
            };
            Query.Replace("'", "\\'").Replace("\\", "\\\\").Replace("'", "\\'");
            string[] strArray = databaseHandle.SelectMySqlReturnArray(Host, User, Password, Database, Query, rows);
            TbIndex.Text = strArray[0];
            //textBox2.Text = strArray[1];
            TbType1.Text = strArray[2];
            TbType2.Text = strArray[3];
            TbEnable.Text = strArray[4];
            if (TbEnable.Text == "1") //dethunter12 8/11/2018
            {
                cbEnabled.BackColor = Color.Chartreuse;
                cbEnabled.Checked = true;
            }
            else if (TbEnable.Text =="0")
            {
                cbEnabled.BackColor = Color.Red;
                cbEnabled.Checked = false;
            }
            TbNeedQuestId.Text = strArray[5];
            textBox7.Text = strArray[6];
            TbStartNpc.Text = strArray[7];
            textBox9.Text = strArray[8];
            TbEndNpc.Text = strArray[9];
            textBox11.Text = strArray[10];
            textBox12.Text = strArray[11];
            TbMinLvl.Text = strArray[12];
            TbMaxLvl.Text = strArray[13];
            textBox15.Text = strArray[14];
            TbNeedItm1.Text = strArray[15];
            TbNeedItm2.Text = strArray[16];
            TbNeedItm3.Text = strArray[17];
            TbNeedItm4.Text = strArray[18];
            TbNeedItm5.Text = strArray[19];
            tbNeedAmnt1.Text = strArray[20];
            tbNeedAmnt2.Text = strArray[21];
            tbNeedAmnt3.Text = strArray[22];
            tbNeedAmnt4.Text = strArray[23];
            tbNeedAmnt5.Text = strArray[24];
            TbRvrType.Text = strArray[25];
            TbRvrGrade.Text = strArray[26];
            TbObj1Type.Text = strArray[27];
            TbObj2Type.Text = strArray[28];
            TbObj3Type.Text = strArray[29];
            TbObj1Id.Text = strArray[30];
            TbObj2Id.Text = strArray[31];
            TbObj3Id.Text = strArray[32];
            TbObjcAmount1.Text = strArray[33];
            TbObjcAmount2.Text = strArray[34];
            TbObjcAmount3.Text = strArray[35];
            TbObj1Npc1.Text = strArray[36];
            TbObj1Npc2.Text = strArray[37];
            TbObj1Npc3.Text = strArray[38];
            TbObj1Ptg.Text = strArray[39];
            TbObj2Npc1.Text = strArray[40];
            TbObj2Npc2.Text = strArray[41];
            TbObj2Npc3.Text = strArray[42];
            TbObj2Ptg.Text = strArray[43];
            TbObj3Npc1.Text = strArray[44];
            TbObj3Npc2.Text = strArray[45];
            TbObj3Npc3.Text = strArray[46];
            TbObj3Ptg.Text = strArray[47];
            textBox49.Text = strArray[48];
            textBox50.Text = strArray[49];
            textBox51.Text = strArray[50];
            textBox52.Text = strArray[51];
            textBox53.Text = strArray[52];
            TbPrizeItm1.Text = strArray[53];
            TbPrizeItm2.Text = strArray[54];
            TbPrizeItm3.Text = strArray[55];
            TbPrizeItm4.Text = strArray[56];
            TbPrizeItm5.Text = strArray[57];
            TbPrizeAmount1.Text = strArray[58];
            TbPrizeAmount2.Text = strArray[59];
            TbPrizeAmount3.Text = strArray[60];
            TbPrizeAmount4.Text = strArray[61];
            TbPrizeAmount5.Text = strArray[62];
            textBox64.Text = strArray[63];
            textBox65.Text = strArray[64];
            textBox66.Text = strArray[65];
            textBox67.Text = strArray[66];
            textBox68.Text = strArray[67];
            textBox69.Text = strArray[68];
            textBox70.Text = strArray[69];
            textBox71.Text = strArray[70];
            TbOptPrizeItm1.Text = strArray[71];
            TbOptPrizeItm2.Text = strArray[72];
            TbOptPrizeItm3.Text = strArray[73];
            TbOptPrizeItm4.Text = strArray[74];
            TbOptPrizeItm5.Text = strArray[75];
            TbOptPrizeItm6.Text = strArray[76];
            TbOptPrizeItm7.Text = strArray[77];
            TbPrizeOptAmount1.Text = strArray[78];
            TbPrizeOptAmount2.Text = strArray[79];
            TbPrizeOptAmount3.Text = strArray[80];
            TbPrizeOptAmount4.Text = strArray[81];
            TbPrizeOptAmount5.Text = strArray[82];
            TbPrizeOptAmount6.Text = strArray[83];
            TbPrizeOptAmount7.Text = strArray[84];
            textBox86.Text = strArray[85];
            textBox87.Text = strArray[86];
            textBox88.Text = strArray[87];
            textBox89.Text = strArray[88];
            textBox90.Text = strArray[89];
            textBox91.Text = strArray[90];
            textBox92.Text = strArray[91];
            textBox93.Text = strArray[92];
            //dethunter12 4/11/2018 language system
            if (language == "FRA")
            {
                TbQuestName.Text = strArray[115]; //name
                RtbStartDescr.Text = strArray[116];//desc
                RtbRewardDescr.Text = strArray[117];///desc2
                RtbCondDescr.Text = strArray[118];///desc3
            }
            else if (language == "USA")
            {
                TbQuestName.Text = strArray[139];
                RtbStartDescr.Text = strArray[93];
                RtbRewardDescr.Text = strArray[94];
                RtbCondDescr.Text = strArray[95];
            }
            else if (language == "ITA")
            {
                TbQuestName.Text = strArray[131];
                RtbStartDescr.Text = strArray[132];
                RtbRewardDescr.Text = strArray[133];
                RtbCondDescr.Text = strArray[134];
            }
            else if (language == "RUS")
            {
                TbQuestName.Text = strArray[107];
                RtbStartDescr.Text = strArray[108];
                RtbRewardDescr.Text = strArray[109];
                RtbCondDescr.Text = strArray[110];
            }
            else if (language == "THA")
            {
                byte[] By01 = System.Text.Encoding.GetEncoding("iso-8859-1").GetBytes(strArray[111]);
                TbQuestName.Text = System.Text.Encoding.GetEncoding("TIS-620").GetString(By01);

                byte[] By02 = System.Text.Encoding.GetEncoding("iso-8859-1").GetBytes(strArray[112]);
                RtbStartDescr.Text = System.Text.Encoding.GetEncoding("TIS-620").GetString(By02);

                byte[] By03 = System.Text.Encoding.GetEncoding("iso-8859-1").GetBytes(strArray[113]);
                RtbRewardDescr.Text = System.Text.Encoding.GetEncoding("TIS-620").GetString(By03);

                byte[] By04 = System.Text.Encoding.GetEncoding("iso-8859-1").GetBytes(strArray[114]);
                RtbCondDescr.Text = System.Text.Encoding.GetEncoding("TIS-620").GetString(By04);
                //textBox2.Text = strArray[111];
                //richTextBox1.Text = strArray[112];
                //richTextBox2.Text = strArray[113];
                //richTextBox3.Text = strArray[114];
            }
            else if (language == "POL")
            {
                TbQuestName.Text = strArray[135];
                RtbStartDescr.Text = strArray[136];
                RtbRewardDescr.Text = strArray[137];
                RtbCondDescr.Text = strArray[138];
            }
            else if (language == "ESP")
            {
                TbQuestName.Text = strArray[127];
                RtbStartDescr.Text = strArray[128];
                RtbRewardDescr.Text = strArray[129];
                RtbCondDescr.Text = strArray[130];
            }
            else if (language == "BRA")
            {
                TbQuestName.Text = strArray[123];
                RtbStartDescr.Text = strArray[124];
                RtbRewardDescr.Text = strArray[125];
                RtbCondDescr.Text = strArray[126];
            }
            else if (language == "GER")
            {
                TbQuestName.Text = strArray[103];
                RtbStartDescr.Text = strArray[104];
                RtbRewardDescr.Text = strArray[105];
                RtbCondDescr.Text = strArray[106];
            }
            else if (language == "MEX")
            {
                TbQuestName.Text = strArray[119];
                RtbStartDescr.Text = strArray[120];
                RtbRewardDescr.Text = strArray[121];
                RtbCondDescr.Text = strArray[122];
            }
            else if (language != "GER" && language != "POL" && language != "BRA" && language != "RUS" && language != "FRA" && language != "ESP" && language != "MEX" && language != "THA" && language != "ITA" && language != "USA") //if language isnt any of the supported language lists then use default a_name 
            {
                TbQuestName.Text = strArray[1];
                RtbStartDescr.Text = strArray[93];
                RtbRewardDescr.Text = strArray[94];
                RtbCondDescr.Text = strArray[95];
            }
            // richTextBox1.Text = strArray[93];
            // richTextBox2.Text = strArray[94];
            //richTextBox3.Text = strArray[95];

            tbFailvalue.Text = strArray[96];
            textBox98.Text = strArray[97];
            TbStartGive.Text = strArray[98];
            TbGiveKind.Text = strArray[99];
            TbGiveNum.Text = strArray[100];
            TbStartTriggerID.Text = strArray[101];
            TbQuestflag.Text = strArray[102];
            SelectMobItemNames(); //dethunter12 add 6/14/2018
            SelectBoxes();
           
    }
        private void Iconsource_ITEMS()
        {
            string Query1 = "select a_index, a_texture_id, a_texture_row, a_texture_col FROM t_item WHERE a_index ='" + tbFileID.Text + "';";
            string Query2 = "select a_index, a_texture_id, a_texture_row, a_texture_col FROM t_item WHERE a_index ='" + tbFileID.Text + "';";
            string Query3 = "select a_index, a_texture_id, a_texture_row, a_texture_col FROM t_item WHERE a_index ='" + tbFileID.Text + "';";
            string Query4 = "select a_index, a_texture_id, a_texture_row, a_texture_col FROM t_item WHERE a_index ='" + tbFileID.Text + "';";
            string Query5 = "select a_index, a_texture_id, a_texture_row, a_texture_col FROM t_item WHERE a_index ='" + tbFileID.Text + "';";
            string Query6 = "select a_index, a_texture_id, a_texture_row, a_texture_col FROM t_item WHERE a_index ='" + tbFileID.Text + "';";
            string Query7 = "select a_index, a_texture_id, a_texture_row, a_texture_col FROM t_item WHERE a_index ='" + tbFileID.Text + "';";
            string Query8 = "select a_index, a_texture_id, a_texture_row, a_texture_col FROM t_item WHERE a_index ='" + tbFileID.Text + "';";
            string Query9 = "select a_index, a_texture_id, a_texture_row, a_texture_col FROM t_item WHERE a_index ='" + tbFileID.Text + "';";
            string Query10 = "select a_index, a_texture_id, a_texture_row, a_texture_col FROM t_item WHERE a_index ='" + tbFileID.Text + "';";
            string Query11 = "select a_index, a_texture_id, a_texture_row, a_texture_col FROM t_item WHERE a_index ='" + tbFileID.Text + "';";
            string Query12 = "select a_index, a_texture_id, a_texture_row, a_texture_col FROM t_item WHERE a_index ='" + tbFileID.Text + "';";
            string[] rows = new string[4]
            {
                "a_index",
                "a_texture_id",
                "a_texture_row",
                "a_texture_col"
            };
            Query1.Replace("'", "\\'").Replace("\\", "\\\\").Replace("'", "\\'");
            string[] strArray = databaseHandle.SelectMySqlReturnArray(Host, User, Password, Database, Query1, rows);
            tbFileID.Text = strArray[1]; //dethunter12 add
            tbFileRow.Text = strArray[2]; //dethunter12 add
            TbFileCol.Text = strArray[3]; //dethunter12 add
        }
        private void SelectMobItemNames()
        {
            if (TbOptPrizeItm1.Text != "0") // if value is not empty load the name from itemnamefast according to textbox value
            {
                TbPrize2ItemDesc1.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbOptPrizeItm1.Text)); //dethunter12 add 6/14/2018
            }
            if (TbOptPrizeItm2.Text != "0")
            {
                TbPrize2ItemDesc2.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbOptPrizeItm2.Text)); //dethunter12 add 6/14/2018
            }
            if (TbOptPrizeItm3.Text != "0")
            {
                TbPrize2ItemDesc3.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbOptPrizeItm3.Text)); //dethunter12 add 6/14/2018
            }
            if (TbOptPrizeItm4.Text != "0")
            {
                TbPrize2ItemDesc4.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbOptPrizeItm4.Text)); //dethunter12 add 6/14/2018
            }
            if (TbOptPrizeItm5.Text != "0")
            {
                TbPrize2ItemDesc5.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbOptPrizeItm5.Text)); //dethunter12 add 6/14/2018
            }
            if (TbOptPrizeItm6.Text != "0")
            {
                TbPrize2ItemDesc6.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbOptPrizeItm6.Text)); //dethunter12 add 6/14/2018
            }
            if (TbOptPrizeItm7.Text != "0")
            {
                TbPrize2ItemDesc7.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbOptPrizeItm7.Text)); //dethunter12 add 6/14/2018
            }
            if (TbPrizeItm1.Text != "0")
            {
                tbItemDesc1.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbPrizeItm1.Text)); //dethunter12 add 6/14/2018
            }
            if (TbPrizeItm2.Text != "0")
            {
                tbItemDesc2.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbPrizeItm2.Text)); //dethunter12 add 6/14/2018
            }
            if (TbPrizeItm3.Text != "0")
            {
                tbItemDesc3.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbPrizeItm3.Text)); //dethunter12 add 6/14/2018
            }
            if (TbPrizeItm4.Text != "0")
            {
                tbItemDesc4.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbPrizeItm4.Text)); //dethunter12 add 6/14/2018
            }
            if (TbPrizeItm5.Text != "0")
            {
                tbItemDesc5.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbPrizeItm5.Text)); //dethunter12 add 6/14/2018
            }
            if (TbObj1Id.Text != "0" && TbObj1Type.Text != "0" && TbObj1Type.Text != "3" && TbObj1Type.Text != "4" && TbObj1Type.Text != "6" && TbObj1Type.Text != "7" && TbObj1Type.Text != "8" || TbObj1Type.Text == "1" || TbObj1Type.Text == "2" || TbObj1Type.Text == "5") //if textbox isnt 0 and type textbox isnt 0,3,4,6,7 (non-item types) or textbox is (itemtypes) then pull the name
            {
                
                TbObj1Name0.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbObj1Id.Text)); //dethunter12 add 6/14/2018
                TbObj1Name0.ForeColor = Color.RoyalBlue;
            }
            if (TbObj2Id.Text != "0" && TbObj2Type.Text != "0" && TbObj2Type.Text != "3" && TbObj2Type.Text != "4" && TbObj2Type.Text != "6" && TbObj2Type.Text != "7" && TbObj2Type.Text != "8" || TbObj2Type.Text == "1" || TbObj2Type.Text == "2" || TbObj2Type.Text == "5") //if textbox isnt 0 and type textbox isnt 0,3,4,6,7 (non-item types) or textbox is (itemtypes) then pull the name
            {
                TbObj2Name0.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbObj2Id.Text)); //dethunter12 add 6/14/2018
                TbObj2Name0.ForeColor = Color.RoyalBlue;
            }
            if (TbObj3Id.Text != "0" && TbObj3Type.Text != "0" && TbObj3Type.Text != "3" && TbObj3Type.Text != "4" && TbObj3Type.Text != "6" && TbObj3Type.Text != "7" && TbObj3Type.Text != "8" || TbObj3Type.Text == "1" || TbObj3Type.Text == "2" || TbObj3Type.Text == "5") //if textbox isnt 0 and type textbox isnt 0,3,4,6,7 (non-item types) or textbox is (itemtypes) then pull the name
            {
                TbObj3Name0.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbObj3Id.Text)); //dethunter12 add 6/14/2018
                TbObj3Name0.ForeColor = Color.RoyalBlue;
            }
            if (TbObj1Id.Text != "0" && TbObj1Type.Text == "0")
            {
                TbObj1Name0.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj1Id.Text)); //dethunter12 add 6/14/2018
                TbObj1Name0.ForeColor = Color.Red;
            }
            if (TbObj2Id.Text != "0" && TbObj2Type.Text == "0")
            {
                TbObj2Name0.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj2Id.Text)); //dethunter12 add 6/14/2018
                TbObj2Name0.ForeColor = Color.Red;
            }
            if (TbObj3Id.Text != "0" && TbObj3Type.Text == "0")
            {
                TbObj3Name0.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj3Id.Text)); //dethunter12 add 6/14/2018
                TbObj3Name0.ForeColor = Color.Red;
            }
            if (TbObj3Npc1.Text != "0") //dethunter12 add 6/14/2018
            {
                TbObj3Name1.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj3Npc1.Text));
            }
            if (TbObj3Npc2.Text != "0") //dethunter12 add 6/14/2018
            {
                TbObj3Name2.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj3Npc2.Text));
            }
            if (TbObj3Npc3.Text != "0") //dethunter12 add 6/14/2018
            {
                TbObj3Name3.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj3Npc3.Text));
            }
            if (TbObj1Npc1.Text != "0") //dethunter12 add 6/14/2018
            {
                TbObj1Name1.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj1Npc1.Text));
            }
            if (TbObj1Npc2.Text != "0") //dethunter12 add 6/14/2018
            {
                TbObj1Name2.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj1Npc2.Text));
            }
            if (TbObj1Npc3.Text != "0") //dethunter12 add 6/14/2018
            {
                TbObj1Name3.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj1Npc3.Text));
            }
            if (TbObj2Npc1.Text != "0") //dethunter12 add 6/14/2018
            {
                TbObj2Name1.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj2Npc1.Text));
            }
            if (TbObj2Npc2.Text != "0") //dethunter12 add 6/14/2018
            {
                TbObj2Name2.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj2Npc2.Text));
            }
            if (TbObj2Npc3.Text != "0") //dethunter12 add 6/14/2018
            {
                TbObj2Name3.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj2Npc3.Text));
            }
            if (textBox7.Text == "0" && TbStartNpc.Text != "0" && TbStartNpc.Text !="-1")
            {
                TbStartNpcName.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbStartNpc.Text)); //dethunter12 add 6/14/2018
                TbStartNpcName.ForeColor = Color.LimeGreen;
            }
            if (TbEndNpc.Text != "0" && TbEndNpc.Text != "-1")
            {
                TbEndNpcName.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbEndNpc.Text)); //dethunter12 add 6/14/2018
            }
            
            if (textBox7.Text == "1")
            {
                TbStartNpcName.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbStartNpc.Text)); //dethunter12 add 6/14/2018
                TbStartNpcName.ForeColor = Color.RoyalBlue;
            }


            if (TbNeedItm1.Text != "-1")
            {
                TbNeedName1.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbNeedItm1.Text)); //dethunter12 add 6/14/2018
            }
            if (TbNeedItm2.Text != "-1")
            {
                TbNeedName2.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbNeedItm2.Text)); //dethunter12 add 6/14/2018
            }
            if (TbNeedItm3.Text != "-1")
            {
                TbNeedName3.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbNeedItm3.Text)); //dethunter12 add 6/14/2018
            }
            if (TbNeedItm4.Text != "-1")
            {
                TbNeedName4.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbNeedItm4.Text)); //dethunter12 add 6/14/2018
            }
            if (TbNeedItm5.Text != "-1")
            {
                TbNeedName5.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbNeedItm5.Text)); //dethunter12 add 6/14/2018
            }
            SETIConImages();
        } //dethunter12 add 6/14/2018
        private void SelectBoxes()
    {
      int num1 = comboBox1.FindString(TbType1.Text);
      int num2 = comboBox2.FindString(TbType2.Text);
      int num3 = CbStartFrom.FindString(textBox7.Text);
      int num4 = comboBox21.FindString(textBox9.Text);
      int num5 = comboBox22.FindString(textBox11.Text); //dethunter12 8/11/2018 fix second zone saving incorrectly
      int num6 = comboBox4.FindString(textBox98.Text);
      int num7 = comboBox3.FindString(textBox15.Text);
      int num8 = comboBox6.FindString(TbObj1Type.Text);
      int num9 = comboBox7.FindString(TbObj2Type.Text);
      int num10 = comboBox8.FindString(TbObj3Type.Text);
      int num11 = CbPrizeType1.FindString(textBox49.Text);
      int num12 = CbPrizeType2.FindString(textBox50.Text);
      int num13 = CbPrizeType3.FindString(textBox51.Text);
      int num14 = CbPrizeType4.FindString(textBox52.Text);
      int num15 = CbPrizeType5.FindString(textBox53.Text);
      int num16 = CbOptPrizeType1.FindString(textBox65.Text);
      int num17 = CbOptPrizeType2.FindString(textBox66.Text);
      int num18 = CbOptPrizeType3.FindString(textBox67.Text);
      int num19 = CbOptPrizeType4.FindString(textBox68.Text);
      int num20 = CbOptPrizeType5.FindString(textBox69.Text);
      int num21 = CbOptPrizeType6.FindString(textBox70.Text);
      int num22 = CbOptPrizeType7.FindString(textBox71.Text);
      int num23 = CbRvrType.FindString(TbRvrType.Text); //dethunter12 add 6/11/2018
      int num24 = CbRvRGrade.FindString(TbRvrGrade.Text); //dethunter12 add 6/11/2018
      int num25 = CbRvRGrade1.FindString(TbRvrGrade.Text); //dethunter12 add 6/11/2018
            comboBox1.SelectedIndex = num1;
            comboBox2.SelectedIndex = num2;
            CbStartFrom.SelectedIndex = num3;
            comboBox21.SelectedIndex = num4;
            comboBox22.SelectedIndex = num5;
            comboBox4.SelectedIndex = num6;
            comboBox3.SelectedIndex = num7;
            comboBox6.SelectedIndex = num8;
            comboBox7.SelectedIndex = num9;
            comboBox8.SelectedIndex = num10;
            CbPrizeType1.SelectedIndex = num11;
            CbPrizeType2.SelectedIndex = num12;
            CbPrizeType3.SelectedIndex = num13;
            CbPrizeType4.SelectedIndex = num14;
            CbPrizeType5.SelectedIndex = num15;
            CbOptPrizeType1.SelectedIndex = num16;
            CbOptPrizeType2.SelectedIndex = num17;
            CbOptPrizeType3.SelectedIndex = num18;
            CbOptPrizeType4.SelectedIndex = num19;
            CbOptPrizeType5.SelectedIndex = num20;
            CbOptPrizeType6.SelectedIndex = num21;
            CbOptPrizeType7.SelectedIndex = num22;
            CbRvrType.SelectedIndex = num23; //dethunter12 add 6/11/2018
            CbRvRGrade.SelectedIndex = num24; //dethunter12 add 6/11/2018
            CbRvRGrade1.SelectedIndex = num25; //dethunter12 add 6/11/2018
    }

    private void button2_Click(object sender, EventArgs e)
    {
      string str1 = "UPDATE t_quest SET " + "a_index = '" + TbIndex.Text + "', ";
      string str2 = TbQuestName.Text.Replace("'", "\\'").Replace("\"", "\\\"");
      string str3 = str1 + "a_name = '" + str2 + "', " + "a_name_usa = '" + str2 + "', " + "a_type1 = '" + TbType1.Text + "', " + "a_type2 = '" + TbType2.Text + "', " + "a_enable = '" + TbEnable.Text + "', " + "a_prequest_num = '" + TbNeedQuestId.Text + "', " + "a_start_type = '" + textBox7.Text + "', " + "a_start_data = '" + TbStartNpc.Text + "', " + "a_start_npc_zone_num = '" + textBox9.Text + "', " + "a_prize_npc = '" + TbEndNpc.Text + "', " + "a_prize_npc_zone_num = '" + textBox11.Text + "', " + "a_need_exp = '" + textBox12.Text + "', " + "a_need_min_level = '" + TbMinLvl.Text + "', " + "a_need_max_level = '" + TbMaxLvl.Text + "', " + "a_need_job = '" + textBox15.Text + "', " + "a_need_item0 = '" + TbNeedItm1.Text + "', " + "a_need_item1 = '" + TbNeedItm2.Text + "', " + "a_need_item2 = '" + TbNeedItm3.Text + "', " + "a_need_item3 = '" + TbNeedItm4.Text + "', " + "a_need_item4 = '" + TbNeedItm5.Text + "', " + "a_need_item_count0 = '" + tbNeedAmnt1.Text + "', " + "a_need_item_count1 = '" + tbNeedAmnt2.Text + "', " + "a_need_item_count2 = '" + tbNeedAmnt3.Text + "', " + "a_need_item_count3 = '" + tbNeedAmnt4.Text + "', " + "a_need_item_count4 = '" + tbNeedAmnt5.Text + "', " + "a_need_rvr_type = '" + TbRvrType.Text + "', " + "a_need_rvr_grade = '" + TbRvrGrade.Text + "', " + "a_condition0_type = '" + TbObj1Type.Text + "', " + "a_condition1_type = '" + TbObj2Type.Text + "', " + "a_condition2_type = '" + TbObj3Type.Text + "', " + "a_condition0_index = '" + TbObj1Id.Text + "', " + "a_condition1_index = '" + TbObj2Id.Text + "', " + "a_condition2_index = '" + TbObj3Id.Text + "', " + "a_condition0_num = '" + TbObjcAmount1.Text + "', " + "a_condition1_num = '" + TbObjcAmount2.Text + "', " + "a_condition2_num = '" + TbObjcAmount3.Text + "', " + "a_condition0_data0 = '" + TbObj1Npc1.Text + "', " + "a_condition0_data1 = '" + TbObj1Npc2.Text + "', " + "a_condition0_data2 = '" + TbObj1Npc3.Text + "', " + "a_condition0_data3 = '" + TbObj1Ptg.Text + "', " + "a_condition1_data0 = '" + TbObj2Npc1.Text + "', " + "a_condition1_data1 = '" + TbObj2Npc2.Text + "', " + "a_condition1_data2 = '" + TbObj2Npc3.Text + "', " + "a_condition1_data3 = '" + TbObj2Ptg.Text + "', " + "a_condition2_data0 = '" + TbObj3Npc1.Text + "', " + "a_condition2_data1 = '" + TbObj3Npc2.Text + "', " + "a_condition2_data2 = '" + TbObj3Npc3.Text + "', " + "a_condition2_data3 = '" + TbObj3Ptg.Text + "', " + "a_prize_type0 = '" + textBox49.Text + "', " + "a_prize_type1 = '" + textBox50.Text + "', " + "a_prize_type2 = '" + textBox51.Text + "', " + "a_prize_type3 = '" + textBox52.Text + "', " + "a_prize_type4 = '" + textBox53.Text + "', " + "a_prize_index0 = '" + TbPrizeItm1.Text + "', " + "a_prize_index1 = '" + TbPrizeItm2.Text + "', " + "a_prize_index2 = '" + TbPrizeItm3.Text + "', " + "a_prize_index3 = '" + TbPrizeItm4.Text + "', " + "a_prize_index4 = '" + TbPrizeItm5.Text + "', " + "a_prize_data0 = '" + TbPrizeAmount1.Text + "', " + "a_prize_data1 = '" + TbPrizeAmount2.Text + "', " + "a_prize_data2 = '" + TbPrizeAmount3.Text + "', " + "a_prize_data3 = '" + TbPrizeAmount4.Text + "', " + "a_prize_data4 = '" + TbPrizeAmount5.Text + "', " + "a_option_prize = '" + textBox64.Text + "', " + "a_opt_prize_type0 = '" + textBox65.Text + "', " + "a_opt_prize_type1 = '" + textBox66.Text + "', " + "a_opt_prize_type2 = '" + textBox67.Text + "', " + "a_opt_prize_type3 = '" + textBox68.Text + "', " + "a_opt_prize_type4 = '" + textBox69.Text + "', " + "a_opt_prize_type5 = '" + textBox70.Text + "', " + "a_opt_prize_type6 = '" + textBox71.Text + "', " + "a_opt_prize_index0 = '" + TbOptPrizeItm1.Text + "', " + "a_opt_prize_index1 = '" + TbOptPrizeItm2.Text + "', " + "a_opt_prize_index2 = '" + TbOptPrizeItm3.Text + "', " + "a_opt_prize_index3 = '" + TbOptPrizeItm4.Text + "', " + "a_opt_prize_index4 = '" + TbOptPrizeItm5.Text + "', " + "a_opt_prize_index5 = '" + TbOptPrizeItm6.Text + "', " + "a_opt_prize_index6 = '" + TbOptPrizeItm7.Text + "', " + "a_opt_prize_data0 = '" + TbPrizeOptAmount1.Text + "', " + "a_opt_prize_data1 = '" + TbPrizeOptAmount2.Text + "', " + "a_opt_prize_data2 = '" + TbPrizeOptAmount3.Text + "', " + "a_opt_prize_data3 = '" + TbPrizeOptAmount4.Text + "', " + "a_opt_prize_data4 = '" + TbPrizeOptAmount5.Text + "', " + "a_opt_prize_data5 = '" + TbPrizeOptAmount6.Text + "', " + "a_opt_prize_data6 = '" + TbPrizeOptAmount7.Text + "', " + "a_opt_prize_plus0 = '" + textBox86.Text + "', " + "a_opt_prize_plus1 = '" + textBox87.Text + "', " + "a_opt_prize_plus2 = '" + textBox88.Text + "', " + "a_opt_prize_plus3 = '" + textBox89.Text + "', " + "a_opt_prize_plus4 = '" + textBox90.Text + "', " + "a_opt_prize_plus5 = '" + textBox91.Text + "', " + "a_opt_prize_plus6 = '" + textBox92.Text + "', " + "a_only_opt_prize = '" + textBox93.Text + "', ";
      string str4 = RtbStartDescr.Text.Replace("'", "\\'").Replace("\"", "\\\"");
      string str5 = RtbRewardDescr.Text.Replace("'", "\\'").Replace("\"", "\\\"");
      string str6 = RtbCondDescr.Text.Replace("'", "\\'").Replace("\"", "\\\"");
            databaseHandle.SendQueryMySql(Host, User, Password, Database, str3 + "a_desc_usa = '" + str4 + "', " + "a_desc2_usa = '" + str5 + "', " + "a_desc3_usa = '" + str6 + "', " + "a_desc_usa = '" + str4 + "', " + "a_desc2_usa = '" + str5 + "', " + "a_desc3_usa = '" + str6 + "', " + "a_failvalue = '" + tbFailvalue.Text + "', " + "a_partyscale = '" + textBox98.Text + "', " + "a_start_give_item = '" + TbStartGive.Text + "', " + "a_start_give_kindcount = '" + TbGiveKind.Text + "', " + "a_start_give_numcount = '" + TbGiveNum.Text + "', " + "a_start_trigger_id = '" + TbStartTriggerID.Text + "', " + "a_quest_flag = '" + TbQuestflag.Text + "' " + "WHERE a_index = '" + TbIndex.Text + "'");
      int selectedIndex = listBox1.SelectedIndex;
      if (textBox104.Text != "")
                SearchList(textBox104.Text);
      else
                LoadListBox();
            listBox1.SelectedIndex = selectedIndex;
            ResetTextBoxField();//dethunter12 add 5/28/2020
    }

    private void button1_Click(object sender, EventArgs e)
    {
      string Query = "INSERT INTO t_quest DEFAULT VALUES";
            databaseHandle.SendQueryMySql(Host, User, Password, Database, Query);
      Console.WriteLine(Query);
            LoadListBox();
            listBox1.SelectedIndex = listBox1.Items.Count - 1;
            TbEnable.Text = "1";

        }

    private void button3_Click(object sender, EventArgs e)
    {
      int selectedIndex = listBox1.SelectedIndex;
      string Query = "DELETE FROM t_quest WHERE a_index = '" + TbIndex.Text + "'";
            databaseHandle.SendQueryMySql(Host, User, Password, Database, Query);
      Console.WriteLine(Query);
            LoadListBox();
            listBox1.SelectedIndex = selectedIndex - 1;
            int num4 = (int)new CustomMessage("Deleted :O").ShowDialog();
        }

    private void LoadStartUp()
    {
            comboBox1.Items.AddRange(new object[13]
      {
         "0 - Repeat",
         "1 - Collection",
         "2 - Delivery",
         "3 - Defeat",
         "4 - Save",
         "5 - Mining Experience",
         "6 - Gathering Experience",
         "7 - Charge Experience",
         "8 - Process Experience",
         "9 - Make Experience",
         "10 - Tutorial",
         "11 - PK",
         "12 - Search"
      });
            comboBox2.Items.AddRange(new object[6]
      {
         "0 - Can do only once",
         "1 - Repeat unlimited times",
         "2 - Once a day",
         "3 - Once a week", //dethunter12 add 4/24/20202
         "4 - [Unknown 4]",
         "5 - [Unknown 5]"
      });
            comboBox3.Items.AddRange(new object[10]
      {
         "-1  All",
         "0 - Titan",
         "1 - Knight",
         "2 - Healer",
         "3 - Mage",
         "4 - Rogue",
         "5 - Sorcerer",
         "6 - Night Shadow",
         "7 - Ex-Rogue",
         "8 - ArchMage"
      });
            comboBox4.Items.AddRange(new object[3]
      {
         "0 - Personal",
         "1 - Party",
         "2 - Battle Group"
      });
            CbStartFrom.Items.AddRange(new object[4]
      {
         "0 - NPC",
         "1 - Item",
         "2 - Level",
         "3 - Area"
      }); //dethunter12 adjust combobox6-8
            comboBox6.Items.AddRange(new object[10]
      {
          "-1",
         "0 - Kill Mob",
         "1 - Collect Item",
         "2 - Bring Quest Item",
         "3 - Kill Player",
         "4 - Area",
         "5 - Item Use",
         "6 - Trigger",
         "7 - Castle Dratan",
         "8 - Castle Merac",
      });
            comboBox7.Items.AddRange(new object[10]
      {
         "-1",
         "0 - Kill Mob",
         "1 - Collect Item",
         "2 - Bring Quest Item",
         "3 - Kill Player",
         "4 - Area",
         "5 - Item Use",
         "6 - Trigger",
         "7 - Castle Dratan",
         "8 - Castle Merac",
      });
            comboBox8.Items.AddRange(new object[10]
      {
         "-1",
         "0 - Kill Mob",
         "1 - Collect Item",
         "2 - Bring Quest Item",
         "3 - Kill Player",
         "4 - Area",
         "5 - Item Use",
         "6 - Trigger",
         "7 - Castle Dratan",
         "8 - Castle Merac",
      });
            CbPrizeType1.Items.AddRange(new object[10]
      {
        "-1",
         "0 - Item",
         "1 - Gold ",
         "2 - Exp",
         "3 - SP",
         "4 - Skill",
         "5 - Special Skill",
         "6 - Stat Point",
         "7 - RVRPOINT",
         "8 - EXP %"
      }); //dethunter12 adjust combo Box 9 -19
            CbPrizeType2.Items.AddRange(new object[10] 
      {
         "-1",
         "0 - Item",
         "1 - Gold ",
         "2 - Exp",
         "3 - SP",
         "4 - Skill",
         "5 - Special Skill",
         "6 - Stat Point",
         "7 - RVRPOINT",
         "8 - EXP %"

      });
            CbPrizeType3.Items.AddRange(new object[10]
      {
        "-1",
         "0 - Item",
         "1 - Gold ",
         "2 - Exp",
         "3 - SP",
         "4 - Skill",
         "5 - Special Skill",
         "6 - Stat Point",
         "7 - RVRPOINT",
         "8 - EXP %"
      });
            CbPrizeType4.Items.AddRange(new object[10]
      {
        "-1",
         "0 - Item",
         "1 - Gold ",
         "2 - Exp",
         "3 - SP",
         "4 - Skill",
         "5 - Special Skill",
         "6 - Stat Point",
         "7 - RVRPOINT",
         "8 - EXP %"
      });
            CbPrizeType5.Items.AddRange(new object[10]
      {
        "-1",
         "0 - Item",
         "1 - Gold ",
         "2 - Exp",
         "3 - SP",
         "4 - Skill",
         "5 - Special Skill",
         "6 - Stat Point",
         "7 - RVRPOINT",
         "8 - EXP %"
      });
            CbOptPrizeType1.Items.AddRange(new object[10]
      {
        "-1",
         "0 - Item",
         "1 - Gold ",
         "2 - Exp",
         "3 - SP",
         "4 - Skill",
         "5 - Special Skill",
         "6 - Stat Point",
         "7 - RVRPOINT",
         "8 - EXP %"
      });
            CbOptPrizeType2.Items.AddRange(new object[10]
      {
         "-1",
         "0 - Item",
         "1 - Gold ",
         "2 - Exp",
         "3 - SP",
         "4 - Skill",
         "5 - Special Skill",
         "6 - Stat Point",
         "7 - RVRPOINT",
         "8 - EXP %"
      });
            CbOptPrizeType3.Items.AddRange(new object[10]
      {
         "-1",
         "0 - Item",
         "1 - Gold ",
         "2 - Exp",
         "3 - SP",
         "4 - Skill",
         "5 - Special Skill",
         "6 - Stat Point",
         "7 - RVRPOINT",
         "8 - EXP %"
      });
            CbOptPrizeType4.Items.AddRange(new object[10]
      {
        "-1",
         "0 - Item",
         "1 - Gold ",
         "2 - Exp",
         "3 - SP",
         "4 - Skill",
         "5 - Special Skill",
         "6 - Stat Point",
         "7 - RVRPOINT",
         "8 - EXP %"
      });
            CbOptPrizeType5.Items.AddRange(new object[10]
      {
        "-1",
         "0 - Item",
         "1 - Gold ",
         "2 - Exp",
         "3 - SP",
         "4 - Skill",
         "5 - Special Skill",
         "6 - Stat Point",
         "7 - RVRPOINT",
         "8 - EXP %"
      });
            CbOptPrizeType6.Items.AddRange(new object[10]
      {
        "-1",
         "0 - Item",
         "1 - Gold ",
         "2 - Exp",
         "3 - SP",
         "4 - Skill",
         "5 - Special Skill",
         "6 - Stat Point",
         "7 - RVRPOINT",
         "8 - EXP %"
      });
            CbOptPrizeType7.Items.AddRange(new object[10]
      {
         "-1",
         "0 - Item",
         "1 - Gold ",
         "2 - Exp",
         "3 - SP",
         "4 - Skill",
         "5 - Special Skill",
         "6 - Stat Point",
         "7 - RVRPOINT",
         "8 - EXP %"
      });

            CbRvrType.Items.AddRange(new object[3] //dethunter12 add
     {
         "0 - None",
         "1 - KAILUX",
         "2 - DEALERMOON"
     });

            CbRvRGrade.Items.AddRange(new object[10] //dethunter12 add
     {
         "0 - None",//dethunter12 add 8/15/2018
         "1 - SQUIRE",
         "2 - KNIGHT",
         "3 - GENTOR",
         "4 - HONORISE",
         "5 - BARONE",
         "6 - VISCONTE",
         "7 - CONTE",
         "8 - BARONE",
         "9 - MARQUISE"
     });

            CbRvRGrade1.Items.AddRange(new object[6] //dethunter12 add
     {
         "0 - None", //dethunter12 add 8/15/2018
         "1 - NEOPTYE",
         "2 - ZELATOR",
         "3 - THEORICUS",
         "4 - PHILOSOPHUS",
         "5 - ADEPTUS"
     });
        }

    private void exportStrItemlodToolStripMenuItem1_Click(object sender, EventArgs e)
    {
      int num = (int) MessageBox.Show("Comming Soon");
    }

    private void fileExportToolStripMenuItem_Click(object sender, EventArgs e)
    {
    }

    private void textBox104_TextChanged(object sender, EventArgs e)
    {
            //dethunter12 5/5/2018 language system
            if (language == "GER")
            {
                listBox1.DataSource = databaseHandle.SearchList(textBox104.Text, menuArrayGER, "t_quest");
            }
            else if (language == "POL")
            {
                listBox1.DataSource = databaseHandle.SearchList(textBox104.Text, menuArrayPOL, "t_quest");
            }
            else if (language == "BRA")
            {
                listBox1.DataSource = databaseHandle.SearchList(textBox104.Text, menuArrayBRA, "t_quest");
            }
            else if (language == "RUS")
            {
                listBox1.DataSource = databaseHandle.SearchList(textBox104.Text, menuArrayRUS, "t_quest");
            }
            else if (language == "FRA")
            {
                listBox1.DataSource = databaseHandle.SearchList(textBox104.Text, menuArrayFRA, "t_quest");
            }
            else if (language == "ESP")
            {
                listBox1.DataSource = databaseHandle.SearchList(textBox104.Text, menuArrayESP, "t_quest");
            }
            else if (language == "MEX")
            {
                listBox1.DataSource = databaseHandle.SearchList(textBox104.Text, menuArrayMEX, "t_quest");
            }
            else if (language == "THA")
            {
                listBox1.DataSource = databaseHandle.SearchList(textBox104.Text, menuArrayTHA, "t_quest");
            }
            else if (language == "ITA")
            {
                listBox1.DataSource = databaseHandle.SearchList(textBox104.Text, menuArrayITA, "t_quest");
            }
            else if (language == "USA")
            {
                listBox1.DataSource = databaseHandle.SearchList(textBox104.Text, menuArrayUSA, "t_quest");
            }
            else
            {
                listBox1.DataSource = databaseHandle.SearchList(textBox104.Text, menuArray, "t_quest");
            }
            //dethunter12 5/5/2018 language end
    }

    private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
    {
      int num1 = (int) MessageBox.Show("Quest Editor by kravens, THANKS to DamonA for help with all!", "Created by:");
      int num2 = (int) MessageBox.Show("If you wanna more tools contact with kravens. Skype: Choke1996", "Information");
    }

    private void getAlFromDBToolStripMenuItem_Click(object sender, EventArgs e)
    {
    }

    private void button5_Click(object sender, EventArgs e)
    {
      int num = (int) MessageBox.Show("ID Map where quest Start.", "Help");
    }

    private void button6_Click(object sender, EventArgs e)
    {
      int num = (int) MessageBox.Show("ID Map where quest End.", "Help");
    }

    private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)
    {
            TbType2.Text = GetIndexByComboBox(comboBox2.Text).ToString();
    }

    private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
    {
            TbType1.Text = GetIndexByComboBox(comboBox1.Text).ToString();
    }

    private void comboBox3_SelectedIndexChanged(object sender, EventArgs e)
    {
            textBox15.Text = GetIndexByComboBox(comboBox3.Text).ToString();
    }

    private void comboBox4_SelectedIndexChanged(object sender, EventArgs e)
    {
            textBox98.Text = GetIndexByComboBox(comboBox4.Text).ToString();
    }

    private void comboBox21_SelectedIndexChanged(object sender, EventArgs e)
    {
            textBox9.Text = GetIndexByComboBox(comboBox21.Text).ToString();
    }

    private void comboBox22_SelectedIndexChanged(object sender, EventArgs e)
    {
            textBox11.Text = GetIndexByComboBox(comboBox22.Text).ToString();
    }

    private void comboBox5_SelectedIndexChanged(object sender, EventArgs e)
    {
            textBox7.Text = GetIndexByComboBox(CbStartFrom.Text).ToString();
    }

    private void comboBox6_SelectedIndexChanged(object sender, EventArgs e)
    {
            TbObj1Type.Text = GetIndexByComboBox(comboBox6.Text).ToString();
    }

    private void comboBox7_SelectedIndexChanged(object sender, EventArgs e)
    {
            TbObj2Type.Text = GetIndexByComboBox(comboBox7.Text).ToString();
    }

    private void comboBox8_SelectedIndexChanged(object sender, EventArgs e)
    {
            TbObj3Type.Text = GetIndexByComboBox(comboBox8.Text).ToString();
    }

    private void comboBox9_SelectedIndexChanged(object sender, EventArgs e)
    {
            textBox49.Text = GetIndexByComboBox(CbPrizeType1.Text).ToString();
    }

    private void comboBox10_SelectedIndexChanged(object sender, EventArgs e)
    {
            textBox50.Text = GetIndexByComboBox(CbPrizeType2.Text).ToString();
    }

    private void comboBox11_SelectedIndexChanged(object sender, EventArgs e)
    {
            textBox51.Text = GetIndexByComboBox(CbPrizeType3.Text).ToString();
    }

    private void comboBox12_SelectedIndexChanged(object sender, EventArgs e)
    {
            textBox52.Text = GetIndexByComboBox(CbPrizeType4.Text).ToString();
    }

    private void comboBox13_SelectedIndexChanged_1(object sender, EventArgs e)
    {
            textBox53.Text = GetIndexByComboBox(CbPrizeType5.Text).ToString();
    }

    private void comboBox14_SelectedIndexChanged(object sender, EventArgs e)
    {
            textBox65.Text = GetIndexByComboBox(CbOptPrizeType1.Text).ToString();
    }

    private void comboBox15_SelectedIndexChanged(object sender, EventArgs e)
    {
            textBox66.Text = GetIndexByComboBox(CbOptPrizeType2.Text).ToString();
    }

    private void comboBox16_SelectedIndexChanged(object sender, EventArgs e)
    {
            textBox67.Text = GetIndexByComboBox(CbOptPrizeType3.Text).ToString();
    }

    private void comboBox17_SelectedIndexChanged(object sender, EventArgs e)
    {
            textBox68.Text = GetIndexByComboBox(CbOptPrizeType4.Text).ToString();
    }

    private void comboBox18_SelectedIndexChanged(object sender, EventArgs e)
    {
            textBox69.Text = GetIndexByComboBox(CbOptPrizeType5.Text).ToString();
    }

    private void comboBox19_SelectedIndexChanged(object sender, EventArgs e)
    {
            textBox70.Text = GetIndexByComboBox(CbOptPrizeType6.Text).ToString();
    }

    private void comboBox20_SelectedIndexChanged(object sender, EventArgs e)
    {
            textBox71.Text = GetIndexByComboBox(CbOptPrizeType7.Text).ToString();
    }
    public void ResetTextBoxField()
        {
            TbQuestName.BackColor = Color.White;
            TbQuestName.BackColor = Color.White;
            TbEnable.BackColor = Color.White;
            TbNeedQuestId.BackColor = Color.White;
            TbStartNpc.BackColor = Color.White;
            TbEndNpc.BackColor = Color.White;
            textBox12.BackColor = Color.White;
            TbMinLvl.BackColor = Color.White;
            TbMaxLvl.BackColor = Color.White;
            TbNeedItm1.BackColor = Color.White;
            TbNeedItm2.BackColor = Color.White;
            TbNeedItm3.BackColor = Color.White;
            TbNeedItm4.BackColor = Color.White;
            TbNeedItm5.BackColor = Color.White;
            tbNeedAmnt1.BackColor = Color.White;
            tbNeedAmnt2.BackColor = Color.White;
            tbNeedAmnt3.BackColor = Color.White;
            tbNeedAmnt4.BackColor = Color.White;
            tbNeedAmnt5.BackColor = Color.White;
            TbRvrType.BackColor = Color.White;
            TbRvrGrade.BackColor = Color.White;
            TbObj1Id.BackColor = Color.White;
            TbObj2Id.BackColor = Color.White;
            TbObj3Id.BackColor = Color.White;
            TbObjcAmount1.BackColor = Color.White;
            TbObjcAmount2.BackColor = Color.White;
            TbObjcAmount3.BackColor = Color.White;
            TbObj1Npc1.BackColor = Color.White;
            TbObj1Npc2.BackColor = Color.White;
            TbObj1Npc3.BackColor = Color.White;
            TbObj1Ptg.BackColor = Color.White;
            TbObj2Npc1.BackColor = Color.White;
            TbObj2Npc2.BackColor = Color.White;
            TbObj2Npc3.BackColor = Color.White;
            TbObj2Ptg.BackColor = Color.White;
            TbObj3Npc1.BackColor = Color.White;
            TbObj3Npc2.BackColor = Color.White;
            TbObj3Npc3.BackColor = Color.White;
            TbObj3Ptg.BackColor = Color.White;
            TbPrizeItm1.BackColor = Color.White;
            TbPrizeItm2.BackColor = Color.White;
            TbPrizeItm3.BackColor = Color.White;
            TbPrizeItm4.BackColor = Color.White;
            TbPrizeItm5.BackColor = Color.White;
            TbPrizeAmount1.BackColor = Color.White;
            TbPrizeAmount2.BackColor = Color.White;
            TbPrizeAmount3.BackColor = Color.White;
            TbPrizeAmount4.BackColor = Color.White;
            TbPrizeAmount5.BackColor = Color.White;
            textBox64.BackColor = Color.White;
            TbOptPrizeItm1.BackColor = Color.White;
            TbOptPrizeItm2.BackColor = Color.White;
            TbOptPrizeItm3.BackColor = Color.White;
            TbOptPrizeItm4.BackColor = Color.White;
            TbOptPrizeItm5.BackColor = Color.White;
            TbOptPrizeItm6.BackColor = Color.White;
            TbOptPrizeItm7.BackColor = Color.White;
            TbPrizeOptAmount1.BackColor = Color.White;
            TbPrizeOptAmount2.BackColor = Color.White;
            TbPrizeOptAmount3.BackColor = Color.White;
            TbPrizeOptAmount4.BackColor = Color.White;
            TbPrizeOptAmount5.BackColor = Color.White;
            TbPrizeOptAmount6.BackColor = Color.White;
            TbPrizeOptAmount7.BackColor = Color.White;
            textBox86.BackColor = Color.White;
            textBox87.BackColor = Color.White;
            textBox88.BackColor = Color.White;
            textBox89.BackColor = Color.White;
            textBox90.BackColor = Color.White;
            textBox91.BackColor = Color.White;
            textBox92.BackColor = Color.White;
            textBox93.BackColor = Color.White;
            RtbStartDescr.BackColor = Color.White;
            RtbRewardDescr.BackColor = Color.White;
            RtbCondDescr.BackColor = Color.White;
            tbFailvalue.BackColor = Color.White;
            TbStartGive.BackColor = Color.White;
            TbGiveKind.BackColor = Color.White;
            TbGiveNum.BackColor = Color.White;
            TbStartTriggerID.BackColor = Color.White;
            TbQuestflag.BackColor = Color.White;
            textBox104.BackColor = Color.White;
            comboBox1.BackColor = Color.White;
            comboBox2.BackColor = Color.White;
            comboBox3.BackColor = Color.White;
            comboBox4.BackColor = Color.White;
            CbStartFrom.BackColor = Color.White;
            comboBox6.BackColor = Color.White;
            comboBox7.BackColor = Color.White;
            comboBox8.BackColor = Color.White;
            CbPrizeType1.BackColor = Color.White;
            CbPrizeType2.BackColor = Color.White;
            CbPrizeType3.BackColor = Color.White;
            CbPrizeType4.BackColor = Color.White;
            CbPrizeType5.BackColor = Color.White;
            CbOptPrizeType1.BackColor = Color.White;
            CbOptPrizeType2.BackColor = Color.White;
            CbOptPrizeType3.BackColor = Color.White;
            CbOptPrizeType4.BackColor = Color.White;
            CbOptPrizeType5.BackColor = Color.White;
            CbOptPrizeType6.BackColor = Color.White;
            CbOptPrizeType7.BackColor = Color.White;
            comboBox21.BackColor = Color.White;
            comboBox22.BackColor = Color.White;
            CbRvrType.BackColor = Color.White;
            CbRvRGrade.BackColor = Color.White;
            CbRvRGrade1.BackColor = Color.White;
        }
    private void button7_Click(object sender, EventArgs e)
    {
            //dethunter12 language i
            namee = LanguageHelper.StringFromLanguage();
            desc = LanguageHelper.QDescFromLanguage();
            desc2 = LanguageHelper.QDesc2FromLanguage();
            desc3 = LanguageHelper.QDesc3FromLanguage();
      string str1 = "UPDATE t_quest SET " + "a_index = '" + TbIndex.Text + "', ";
      string str2 = TbQuestName.Text.Replace("'", "\\'").Replace("\"", "\\\"");
      string str3 = str1 + "a_name = '" + str2 + "', " + namee + "=" + " " + "'" + str2 + "', " + "a_type1 = '" + TbType1.Text + "', " + "a_type2 = '" + TbType2.Text + "', " + "a_enable = '" + TbEnable.Text + "', " + "a_prequest_num = '" + TbNeedQuestId.Text + "', " + "a_start_type = '" + textBox7.Text + "', " + "a_start_data = '" + TbStartNpc.Text + "', " + "a_start_npc_zone_num = '" + textBox9.Text + "', " + "a_prize_npc = '" + TbEndNpc.Text + "', " + "a_prize_npc_zone_num = '" + textBox11.Text + "', " + "a_need_exp = '" + textBox12.Text + "', " + "a_need_min_level = '" + TbMinLvl.Text + "', " + "a_need_max_level = '" + TbMaxLvl.Text + "', " + "a_need_job = '" + textBox15.Text + "', " + "a_need_item0 = '" + TbNeedItm1.Text + "', " + "a_need_item1 = '" + TbNeedItm2.Text + "', " + "a_need_item2 = '" + TbNeedItm3.Text + "', " + "a_need_item3 = '" + TbNeedItm4.Text + "', " + "a_need_item4 = '" + TbNeedItm5.Text + "', " + "a_need_item_count0 = '" + tbNeedAmnt1.Text + "', " + "a_need_item_count1 = '" + tbNeedAmnt2.Text + "', " + "a_need_item_count2 = '" + tbNeedAmnt3.Text + "', " + "a_need_item_count3 = '" + tbNeedAmnt4.Text + "', " + "a_need_item_count4 = '" + tbNeedAmnt5.Text + "', " + "a_need_rvr_type = '" + TbRvrType.Text + "', " + "a_need_rvr_grade = '" + TbRvrGrade.Text + "', " + "a_condition0_type = '" + TbObj1Type.Text + "', " + "a_condition1_type = '" + TbObj2Type.Text + "', " + "a_condition2_type = '" + TbObj3Type.Text + "', " + "a_condition0_index = '" + TbObj1Id.Text + "', " + "a_condition1_index = '" + TbObj2Id.Text + "', " + "a_condition2_index = '" + TbObj3Id.Text + "', " + "a_condition0_num = '" + TbObjcAmount1.Text + "', " + "a_condition1_num = '" + TbObjcAmount2.Text + "', " + "a_condition2_num = '" + TbObjcAmount3.Text + "', " + "a_condition0_data0 = '" + TbObj1Npc1.Text + "', " + "a_condition0_data1 = '" + TbObj1Npc2.Text + "', " + "a_condition0_data2 = '" + TbObj1Npc3.Text + "', " + "a_condition0_data3 = '" + TbObj1Ptg.Text + "', " + "a_condition1_data0 = '" + TbObj2Npc1.Text + "', " + "a_condition1_data1 = '" + TbObj2Npc2.Text + "', " + "a_condition1_data2 = '" + TbObj2Npc3.Text + "', " + "a_condition1_data3 = '" + TbObj2Ptg.Text + "', " + "a_condition2_data0 = '" + TbObj3Npc1.Text + "', " + "a_condition2_data1 = '" + TbObj3Npc2.Text + "', " + "a_condition2_data2 = '" + TbObj3Npc3.Text + "', " + "a_condition2_data3 = '" + TbObj3Ptg.Text + "', " + "a_prize_type0 = '" + textBox49.Text + "', " + "a_prize_type1 = '" + textBox50.Text + "', " + "a_prize_type2 = '" + textBox51.Text + "', " + "a_prize_type3 = '" + textBox52.Text + "', " + "a_prize_type4 = '" + textBox53.Text + "', " + "a_prize_index0 = '" + TbPrizeItm1.Text + "', " + "a_prize_index1 = '" + TbPrizeItm2.Text + "', " + "a_prize_index2 = '" + TbPrizeItm3.Text + "', " + "a_prize_index3 = '" + TbPrizeItm4.Text + "', " + "a_prize_index4 = '" + TbPrizeItm5.Text + "', " + "a_prize_data0 = '" + TbPrizeAmount1.Text + "', " + "a_prize_data1 = '" + TbPrizeAmount2.Text + "', " + "a_prize_data2 = '" + TbPrizeAmount3.Text + "', " + "a_prize_data3 = '" + TbPrizeAmount4.Text + "', " + "a_prize_data4 = '" + TbPrizeAmount5.Text + "', " + "a_option_prize = '" + textBox64.Text + "', " + "a_opt_prize_type0 = '" + textBox65.Text + "', " + "a_opt_prize_type1 = '" + textBox66.Text + "', " + "a_opt_prize_type2 = '" + textBox67.Text + "', " + "a_opt_prize_type3 = '" + textBox68.Text + "', " + "a_opt_prize_type4 = '" + textBox69.Text + "', " + "a_opt_prize_type5 = '" + textBox70.Text + "', " + "a_opt_prize_type6 = '" + textBox71.Text + "', " + "a_opt_prize_index0 = '" + TbOptPrizeItm1.Text + "', " + "a_opt_prize_index1 = '" + TbOptPrizeItm2.Text + "', " + "a_opt_prize_index2 = '" + TbOptPrizeItm3.Text + "', " + "a_opt_prize_index3 = '" + TbOptPrizeItm4.Text + "', " + "a_opt_prize_index4 = '" + TbOptPrizeItm5.Text + "', " + "a_opt_prize_index5 = '" + TbOptPrizeItm6.Text + "', " + "a_opt_prize_index6 = '" + TbOptPrizeItm7.Text + "', " + "a_opt_prize_data0 = '" + TbPrizeOptAmount1.Text + "', " + "a_opt_prize_data1 = '" + TbPrizeOptAmount2.Text + "', " + "a_opt_prize_data2 = '" + TbPrizeOptAmount3.Text + "', " + "a_opt_prize_data3 = '" + TbPrizeOptAmount4.Text + "', " + "a_opt_prize_data4 = '" + TbPrizeOptAmount5.Text + "', " + "a_opt_prize_data5 = '" + TbPrizeOptAmount6.Text + "', " + "a_opt_prize_data6 = '" + TbPrizeOptAmount7.Text + "', " + "a_opt_prize_plus0 = '" + textBox86.Text + "', " + "a_opt_prize_plus1 = '" + textBox87.Text + "', " + "a_opt_prize_plus2 = '" + textBox88.Text + "', " + "a_opt_prize_plus3 = '" + textBox89.Text + "', " + "a_opt_prize_plus4 = '" + textBox90.Text + "', " + "a_opt_prize_plus5 = '" + textBox91.Text + "', " + "a_opt_prize_plus6 = '" + textBox92.Text + "', " + "a_only_opt_prize = '" + textBox93.Text + "', ";
      string str4 = RtbStartDescr.Text.Replace("'", "\\'").Replace("\"", "\\\"");
      string str5 = RtbRewardDescr.Text.Replace("'", "\\'").Replace("\"", "\\\"");
      string str6 = RtbCondDescr.Text.Replace("'", "\\'").Replace("\"", "\\\"");
      string Query = str3 + "a_desc = '" + str4 + "', " + "a_desc2 = '" + str5 + "', " + "a_desc3 = '" + str6 + "', " + desc + "=" + " " + "'" + str4 + "', " + desc2 + "=" + " " + "'" + str5 + "', " + desc3 + "=" + " " + "'" + str6 + "', " + "a_failvalue = '" + tbFailvalue.Text + "', " + "a_partyscale = '" + textBox98.Text + "', " + "a_start_give_item = '" + TbStartGive.Text + "', " + "a_start_give_kindcount = '" + TbGiveKind.Text + "', " + "a_start_give_numcount = '" + TbGiveNum.Text + "', " + "a_start_trigger_id = '" + TbStartTriggerID.Text + "', " + "a_quest_flag = '" + TbQuestflag.Text + "' " + "WHERE a_index = '" + TbIndex.Text + "'";
      databaseHandle.SendQueryMySql(Host, User, Password, Database, Query);
      Console.WriteLine(Query);
      int selectedIndex = listBox1.SelectedIndex;
      if (textBox104.Text != "")
                SearchList(textBox104.Text);
      else
                LoadListBox();
            listBox1.SelectedIndex = selectedIndex;
            ResetTextBoxField(); //dethunter12 5/28/2020
            int num4 = (int)new CustomMessage("Done :)").ShowDialog();
           
        }

    private void textBox2_KeyDown(object sender, KeyEventArgs e)
    {
            TbQuestName.BackColor = Color.LightSteelBlue;
    }

    private void richTextBox1_KeyPress(object sender, KeyPressEventArgs e)
    {
            RtbStartDescr.BackColor = Color.LightBlue;
    }

    private void richTextBox2_KeyPress(object sender, KeyPressEventArgs e)
    {
            RtbRewardDescr.BackColor = Color.LightBlue;
    }

    private void richTextBox3_KeyPress(object sender, KeyPressEventArgs e)
    {
            RtbCondDescr.BackColor = Color.LightBlue;
    }

    private void textBox5_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbEnable.BackColor = Color.LightBlue;
    }

    private void textBox16_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbNeedItm1.BackColor = Color.LightBlue;
    }

    private void textBox17_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbNeedItm2.BackColor = Color.LightBlue;
    }

    private void textBox18_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbNeedItm3.BackColor = Color.LightBlue;
    }

    private void textBox19_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbNeedItm4.BackColor = Color.LightBlue;
    }

    private void textBox20_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbNeedItm5.BackColor = Color.LightBlue;
    }

    private void textBox21_KeyPress(object sender, KeyPressEventArgs e)
    {
            tbNeedAmnt1.BackColor = Color.LightBlue;
    }

    private void textBox22_KeyPress(object sender, KeyPressEventArgs e)
    {
            tbNeedAmnt2.BackColor = Color.LightBlue;
    }

    private void textBox23_KeyPress(object sender, KeyPressEventArgs e)
    {
            tbNeedAmnt3.BackColor = Color.LightBlue;
    }

    private void textBox24_KeyPress(object sender, KeyPressEventArgs e)
    {
            tbNeedAmnt4.BackColor = Color.LightBlue;
    }

    private void textBox25_KeyPress(object sender, KeyPressEventArgs e)
    {
            tbNeedAmnt5.BackColor = Color.LightBlue;
    }

    private void textBox13_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbMinLvl.BackColor = Color.LightBlue;
    }

    private void textBox14_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbMaxLvl.BackColor = Color.LightBlue;
    }

    private void textBox12_KeyPress(object sender, KeyPressEventArgs e)
    {
            textBox12.BackColor = Color.LightBlue;
    }

    private void textBox6_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbNeedQuestId.BackColor = Color.LightBlue;
    }

    private void textBox8_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbStartNpc.BackColor = Color.LightBlue;
    }

    private void textBox10_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbEndNpc.BackColor = Color.LightBlue;
    }

    private void textBox31_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbObj1Id.BackColor = Color.LightBlue;
    }

    private void textBox34_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbObjcAmount1.BackColor = Color.LightBlue;
    }

    private void textBox37_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbObj1Npc1.BackColor = Color.LightBlue;
    }

    private void textBox38_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbObj1Npc2.BackColor = Color.LightBlue;
    }

    private void textBox39_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbObj1Npc3.BackColor = Color.LightBlue;
    }

    private void textBox40_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbObj1Ptg.BackColor = Color.LightBlue;
    }

    private void textBox32_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbObj2Id.BackColor = Color.LightBlue;
    }

    private void textBox35_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbObjcAmount2.BackColor = Color.LightBlue;
    }

    private void textBox41_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbObj2Npc1.BackColor = Color.LightBlue;
    }

    private void textBox42_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbObj2Npc2.BackColor = Color.LightBlue;
    }

    private void textBox43_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbObj2Npc3.BackColor = Color.LightBlue;
    }

    private void textBox44_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbObj2Ptg.BackColor = Color.LightBlue;
    }

    private void textBox33_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbObj3Id.BackColor = Color.LightBlue;
    }

    private void textBox36_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbObjcAmount3.BackColor = Color.LightBlue;
    }

    private void textBox45_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbObj3Npc1.BackColor = Color.LightBlue;
    }

    private void textBox46_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbObj3Npc2.BackColor = Color.LightBlue;
    }

    private void textBox47_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbObj3Npc3.BackColor = Color.LightBlue;
    }

    private void textBox48_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbObj3Ptg.BackColor = Color.LightBlue;
    }

    private void textBox54_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbPrizeItm1.BackColor = Color.LightBlue;
    }

    private void textBox55_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbPrizeItm2.BackColor = Color.LightBlue;
    }

    private void textBox56_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbPrizeItm3.BackColor = Color.LightBlue;
    }

    private void textBox57_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbPrizeItm4.BackColor = Color.LightBlue;
    }

    private void textBox58_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbPrizeItm5.BackColor = Color.LightBlue;
    }

    private void textBox59_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbPrizeAmount1.BackColor = Color.LightBlue;
    }

    private void textBox60_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbPrizeAmount2.BackColor = Color.LightBlue;
    }

    private void textBox61_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbPrizeAmount3.BackColor = Color.LightBlue;
    }

    private void textBox62_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbPrizeAmount4.BackColor = Color.LightBlue;
    }

    private void textBox63_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbPrizeAmount5.BackColor = Color.LightBlue;
    }

    private void textBox72_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbOptPrizeItm1.BackColor = Color.LightBlue;
    }

    private void textBox73_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbOptPrizeItm2.BackColor = Color.LightBlue;
    }

    private void textBox74_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbOptPrizeItm3.BackColor = Color.LightBlue;
    }

    private void textBox75_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbOptPrizeItm4.BackColor = Color.LightBlue;
    }

    private void textBox76_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbOptPrizeItm5.BackColor = Color.LightBlue;
    }

    private void textBox77_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbOptPrizeItm6.BackColor = Color.LightBlue;
    }

    private void textBox78_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbOptPrizeItm7.BackColor = Color.LightBlue;
    }

    private void textBox79_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbPrizeOptAmount1.BackColor = Color.LightBlue;
    }

    private void textBox80_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbPrizeOptAmount2.BackColor = Color.LightBlue;
    }

    private void textBox81_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbPrizeOptAmount3.BackColor = Color.LightBlue;
    }

    private void textBox82_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbPrizeOptAmount4.BackColor = Color.LightBlue;
    }

    private void textBox83_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbPrizeOptAmount5.BackColor = Color.LightBlue;
    }

    private void textBox84_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbPrizeOptAmount6.BackColor = Color.LightBlue;
    }

    private void textBox85_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbPrizeOptAmount7.BackColor = Color.LightBlue;
    }

    private void textBox86_KeyPress(object sender, KeyPressEventArgs e)
    {
            textBox86.BackColor = Color.LightBlue;
    }

    private void textBox87_KeyPress(object sender, KeyPressEventArgs e)
    {
            textBox87.BackColor = Color.LightBlue;
    }

    private void textBox88_KeyPress(object sender, KeyPressEventArgs e)
    {
            textBox88.BackColor = Color.LightBlue;
    }

    private void textBox89_KeyPress(object sender, KeyPressEventArgs e)
    {
            textBox89.BackColor = Color.LightBlue;
    }

    private void textBox90_KeyPress(object sender, KeyPressEventArgs e)
    {
            textBox90.BackColor = Color.LightBlue;
    }

    private void textBox91_KeyPress(object sender, KeyPressEventArgs e)
    {
            textBox91.BackColor = Color.LightBlue;
    }

    private void textBox92_KeyPress(object sender, KeyPressEventArgs e)
    {
            textBox92.BackColor = Color.LightBlue;
    }

    private void textBox64_KeyPress(object sender, KeyPressEventArgs e)
    {
            textBox64.BackColor = Color.LightBlue;
    }

    private void textBox93_KeyPress(object sender, KeyPressEventArgs e)
    {
            textBox93.BackColor = Color.LightBlue;
    }

    private void textBox102_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbStartTriggerID.BackColor = Color.LightBlue;
    }

    private void textBox97_KeyPress(object sender, KeyPressEventArgs e)
    {
            tbFailvalue.BackColor = Color.LightBlue;
    }

    private void textBox103_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbQuestflag.BackColor = Color.LightBlue;
    }

    private void textBox99_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbStartGive.BackColor = Color.LightBlue;
    }

    private void textBox26_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbRvrType.BackColor = Color.LightBlue;
    }

    private void textBox100_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbGiveKind.BackColor = Color.LightBlue;
    }

    private void textBox27_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbRvrGrade.BackColor = Color.LightBlue;
    }

    private void textBox101_KeyPress(object sender, KeyPressEventArgs e)
    {
            TbGiveNum.BackColor = Color.LightBlue;
    }

    private void comboBox1_SelectionChangeCommitted(object sender, EventArgs e)
    {
            comboBox1.BackColor = Color.LightBlue;
    }

    private void comboBox2_SelectionChangeCommitted(object sender, EventArgs e)
    {
            comboBox2.BackColor = Color.LightBlue;
    }

    private void comboBox3_SelectionChangeCommitted(object sender, EventArgs e)
    {
            comboBox3.BackColor = Color.LightBlue;
    }

    private void comboBox4_SelectionChangeCommitted(object sender, EventArgs e)
    {
            comboBox4.BackColor = Color.LightBlue;
    }

    private void comboBox5_SelectionChangeCommitted(object sender, EventArgs e)
    {
            CbStartFrom.BackColor = Color.LightBlue;
    }

    private void comboBox6_SelectionChangeCommitted(object sender, EventArgs e)
    {
            comboBox6.BackColor = Color.LightBlue;
    }

    private void comboBox7_SelectionChangeCommitted(object sender, EventArgs e)
    {
            comboBox7.BackColor = Color.LightBlue;
    }

    private void comboBox8_SelectionChangeCommitted(object sender, EventArgs e)
    {
            comboBox8.BackColor = Color.LightBlue;
    }

    private void comboBox9_SelectionChangeCommitted(object sender, EventArgs e)
    {
            CbPrizeType1.BackColor = Color.LightBlue;
    }

    private void comboBox10_SelectionChangeCommitted(object sender, EventArgs e)
    {
            CbPrizeType2.BackColor = Color.LightBlue;
    }

    private void comboBox11_SelectionChangeCommitted(object sender, EventArgs e)
    {
            CbPrizeType3.BackColor = Color.LightBlue;
    }

    private void comboBox12_SelectionChangeCommitted(object sender, EventArgs e)
    {
            CbPrizeType4.BackColor = Color.LightBlue;
    }

    private void comboBox13_SelectionChangeCommitted(object sender, EventArgs e)
    {
            CbPrizeType5.BackColor = Color.LightBlue;
    }

    private void comboBox14_SelectionChangeCommitted(object sender, EventArgs e)
    {
            CbOptPrizeType1.BackColor = Color.LightBlue;
    }

    private void comboBox15_SelectionChangeCommitted(object sender, EventArgs e)
    {
            CbOptPrizeType2.BackColor = Color.LightBlue;
    }

    private void comboBox16_SelectionChangeCommitted(object sender, EventArgs e)
    {
            CbOptPrizeType3.BackColor = Color.LightBlue;
    }

    private void comboBox17_SelectionChangeCommitted(object sender, EventArgs e)
    {
            CbOptPrizeType4.BackColor = Color.LightBlue;
    }

    private void comboBox18_SelectionChangeCommitted(object sender, EventArgs e)
    {
            CbOptPrizeType5.BackColor = Color.LightBlue;
    }

    private void comboBox19_SelectionChangeCommitted(object sender, EventArgs e)
    {
            CbOptPrizeType6.BackColor = Color.LightBlue;
    }

    private void comboBox20_SelectionChangeCommitted(object sender, EventArgs e)
    {
            CbOptPrizeType7.BackColor = Color.LightBlue;
    }

    private void comboBox21_SelectionChangeCommitted(object sender, EventArgs e)
    {
            comboBox21.BackColor = Color.LightBlue;
    }

    private void comboBox22_SelectionChangeCommitted(object sender, EventArgs e)
    {
            comboBox22.BackColor = Color.LightBlue;
    }
        public string LanguageExport() //dethunter12 add 7/5/2020
        {

            if (language == "GER")
            {
                return "ger";
            }
            else if (language == "POL")
            {
                return "pol";
            }
            else if (language == "BRA")
            {
                return "brz";
            }
            else if (language == "RUS")
            {
                return "rus";
            }
            else if (language == "FRA")
            {
                return "fra";
            }
            else if (language == "ESP")
            {
                return "esp";
            }
            else if (language == "MEX")
            {
                return "mex";
            }
            else if (language == "THA")
            {
                return "tha";
            }
            else if (language == "ITA")
            {
                return "ita";
            }
            else if (language == "USA")
            {
                return "usa";
            }
            else
            {
                return null;
            }

        }
        private void exportToolStripMenuItem_Click(object sender, EventArgs e)
    {
            string text1 = "quest";
            string text2 = "path_ship";
            string text3 = LanguageExport();
            Process.Start(new ProcessStartInfo()
            {
                FileName = "ExportLod.exe",
                Arguments = " -h " + Host + " -d " + Database + " -u " + User + " -p " + Password + " -k " + text2 + " -l " + text3 + " -t " + text1
            });
        }

    private void exportStrQuestToolStripMenuItem_Click(object sender, EventArgs e)
    {
            FormExport f2 = new FormExport();
            f2.Show(); // Shows Form2
        }

    protected override void Dispose(bool disposing)
    {
      if (disposing && components != null)
                components.Dispose();
      base.Dispose(disposing);
    }

    private void InitializeComponent()
    {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(QuestEditor));
            this.menuStrip1 = new System.Windows.Forms.MenuStrip();
            this.fileExportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.exportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.exportStrQuestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.BtnCopy = new System.Windows.Forms.Button();
            this.BtnDelete = new System.Windows.Forms.Button();
            this.BtnAddNew = new System.Windows.Forms.Button();
            this.listBox1 = new System.Windows.Forms.ListBox();
            this.groupBox5 = new System.Windows.Forms.GroupBox();
            this.textBox104 = new System.Windows.Forms.TextBox();
            this.label7 = new System.Windows.Forms.Label();
            this.textBox12 = new System.Windows.Forms.TextBox();
            this.tabControl1 = new System.Windows.Forms.TabControl();
            this.tabPage1 = new System.Windows.Forms.TabPage();
            this.groupBox8 = new System.Windows.Forms.GroupBox();
            this.CbRvRGrade1 = new System.Windows.Forms.ComboBox();
            this.CbRvRGrade = new System.Windows.Forms.ComboBox();
            this.CbRvrType = new System.Windows.Forms.ComboBox();
            this.TbRvrGrade = new System.Windows.Forms.TextBox();
            this.TbRvrType = new System.Windows.Forms.TextBox();
            this.label9 = new System.Windows.Forms.Label();
            this.label8 = new System.Windows.Forms.Label();
            this.label109 = new System.Windows.Forms.Label();
            this.textBox15 = new System.Windows.Forms.TextBox();
            this.label108 = new System.Windows.Forms.Label();
            this.label107 = new System.Windows.Forms.Label();
            this.label106 = new System.Windows.Forms.Label();
            this.label105 = new System.Windows.Forms.Label();
            this.textBox98 = new System.Windows.Forms.TextBox();
            this.textBox11 = new System.Windows.Forms.TextBox();
            this.textBox9 = new System.Windows.Forms.TextBox();
            this.textBox7 = new System.Windows.Forms.TextBox();
            this.TbType2 = new System.Windows.Forms.TextBox();
            this.TbType1 = new System.Windows.Forms.TextBox();
            this.groupBox11 = new System.Windows.Forms.GroupBox();
            this.PbEndNPCItem = new System.Windows.Forms.PictureBox();
            this.PbStartItemNPC = new System.Windows.Forms.PictureBox();
            this.label118 = new System.Windows.Forms.Label();
            this.label117 = new System.Windows.Forms.Label();
            this.TbEndNpcName = new System.Windows.Forms.TextBox();
            this.TbStartNpcName = new System.Windows.Forms.TextBox();
            this.button6 = new System.Windows.Forms.Button();
            this.button5 = new System.Windows.Forms.Button();
            this.comboBox22 = new System.Windows.Forms.ComboBox();
            this.comboBox21 = new System.Windows.Forms.ComboBox();
            this.label12 = new System.Windows.Forms.Label();
            this.CbStartFrom = new System.Windows.Forms.ComboBox();
            this.label59 = new System.Windows.Forms.Label();
            this.label47 = new System.Windows.Forms.Label();
            this.TbEndNpc = new System.Windows.Forms.TextBox();
            this.label10 = new System.Windows.Forms.Label();
            this.label11 = new System.Windows.Forms.Label();
            this.TbStartNpc = new System.Windows.Forms.TextBox();
            this.TbNeedQuestId = new System.Windows.Forms.TextBox();
            this.label46 = new System.Windows.Forms.Label();
            this.groupBox10 = new System.Windows.Forms.GroupBox();
            this.comboBox4 = new System.Windows.Forms.ComboBox();
            this.label98 = new System.Windows.Forms.Label();
            this.groupBox9 = new System.Windows.Forms.GroupBox();
            this.comboBox3 = new System.Windows.Forms.ComboBox();
            this.label14 = new System.Windows.Forms.Label();
            this.label52 = new System.Windows.Forms.Label();
            this.TbMaxLvl = new System.Windows.Forms.TextBox();
            this.TbMinLvl = new System.Windows.Forms.TextBox();
            this.label54 = new System.Windows.Forms.Label();
            this.label13 = new System.Windows.Forms.Label();
            this.comboBox2 = new System.Windows.Forms.ComboBox();
            this.comboBox1 = new System.Windows.Forms.ComboBox();
            this.groupBox4 = new System.Windows.Forms.GroupBox();
            this.pbIconNeed5 = new System.Windows.Forms.PictureBox();
            this.pbIconNeed4 = new System.Windows.Forms.PictureBox();
            this.pbIconNeed3 = new System.Windows.Forms.PictureBox();
            this.pbIconNeed2 = new System.Windows.Forms.PictureBox();
            this.pbIconNeed1 = new System.Windows.Forms.PictureBox();
            this.PbItemNeed5 = new System.Windows.Forms.PictureBox();
            this.PbItemNeed4 = new System.Windows.Forms.PictureBox();
            this.PbItemNeed3 = new System.Windows.Forms.PictureBox();
            this.PbItemNeed2 = new System.Windows.Forms.PictureBox();
            this.PbItemNeed1 = new System.Windows.Forms.PictureBox();
            this.TbNeedName5 = new System.Windows.Forms.TextBox();
            this.TbNeedName4 = new System.Windows.Forms.TextBox();
            this.TbNeedName3 = new System.Windows.Forms.TextBox();
            this.TbNeedName2 = new System.Windows.Forms.TextBox();
            this.TbNeedName1 = new System.Windows.Forms.TextBox();
            this.label4 = new System.Windows.Forms.Label();
            this.tbNeedAmnt5 = new System.Windows.Forms.TextBox();
            this.tbNeedAmnt4 = new System.Windows.Forms.TextBox();
            this.tbNeedAmnt1 = new System.Windows.Forms.TextBox();
            this.TbNeedItm4 = new System.Windows.Forms.TextBox();
            this.label85 = new System.Windows.Forms.Label();
            this.TbNeedItm2 = new System.Windows.Forms.TextBox();
            this.label93 = new System.Windows.Forms.Label();
            this.label92 = new System.Windows.Forms.Label();
            this.TbNeedItm1 = new System.Windows.Forms.TextBox();
            this.TbNeedItm5 = new System.Windows.Forms.TextBox();
            this.label91 = new System.Windows.Forms.Label();
            this.label18 = new System.Windows.Forms.Label();
            this.tbNeedAmnt3 = new System.Windows.Forms.TextBox();
            this.label22 = new System.Windows.Forms.Label();
            this.TbNeedItm3 = new System.Windows.Forms.TextBox();
            this.tbNeedAmnt2 = new System.Windows.Forms.TextBox();
            this.label15 = new System.Windows.Forms.Label();
            this.label23 = new System.Windows.Forms.Label();
            this.label16 = new System.Windows.Forms.Label();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.cbEnabled = new System.Windows.Forms.CheckBox();
            this.label112 = new System.Windows.Forms.Label();
            this.label111 = new System.Windows.Forms.Label();
            this.label110 = new System.Windows.Forms.Label();
            this.RtbCondDescr = new System.Windows.Forms.RichTextBox();
            this.RtbRewardDescr = new System.Windows.Forms.RichTextBox();
            this.RtbStartDescr = new System.Windows.Forms.RichTextBox();
            this.label104 = new System.Windows.Forms.Label();
            this.label96 = new System.Windows.Forms.Label();
            this.label95 = new System.Windows.Forms.Label();
            this.TbQuestName = new System.Windows.Forms.TextBox();
            this.label6 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.TbIndex = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.TbEnable = new System.Windows.Forms.TextBox();
            this.label3 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.tabPage3 = new System.Windows.Forms.TabPage();
            this.tabControl2 = new System.Windows.Forms.TabControl();
            this.tabPage2 = new System.Windows.Forms.TabPage();
            this.TbObj1Name0 = new System.Windows.Forms.TextBox();
            this.PbCond1 = new System.Windows.Forms.PictureBox();
            this.TbObj1Type = new System.Windows.Forms.TextBox();
            this.GbNpcQuestItm = new System.Windows.Forms.GroupBox();
            this.lblPercent = new System.Windows.Forms.Label();
            this.TbObj1Name3 = new System.Windows.Forms.TextBox();
            this.PbObj1NpcID3 = new System.Windows.Forms.PictureBox();
            this.TbObj1Name2 = new System.Windows.Forms.TextBox();
            this.PbObj1NpcID2 = new System.Windows.Forms.PictureBox();
            this.TbObj1Name1 = new System.Windows.Forms.TextBox();
            this.PbObj1NpcID1 = new System.Windows.Forms.PictureBox();
            this.label116 = new System.Windows.Forms.Label();
            this.label31 = new System.Windows.Forms.Label();
            this.label29 = new System.Windows.Forms.Label();
            this.label30 = new System.Windows.Forms.Label();
            this.TbObj1Npc1 = new System.Windows.Forms.TextBox();
            this.TbObj1Npc2 = new System.Windows.Forms.TextBox();
            this.TbObj1Npc3 = new System.Windows.Forms.TextBox();
            this.TbObj1Ptg = new System.Windows.Forms.TextBox();
            this.label34 = new System.Windows.Forms.Label();
            this.comboBox6 = new System.Windows.Forms.ComboBox();
            this.label17 = new System.Windows.Forms.Label();
            this.TbObj1Id = new System.Windows.Forms.TextBox();
            this.label25 = new System.Windows.Forms.Label();
            this.TbObjcAmount1 = new System.Windows.Forms.TextBox();
            this.label28 = new System.Windows.Forms.Label();
            this.tabPage4 = new System.Windows.Forms.TabPage();
            this.TbObj2Name0 = new System.Windows.Forms.TextBox();
            this.PbCond2 = new System.Windows.Forms.PictureBox();
            this.TbObj2Type = new System.Windows.Forms.TextBox();
            this.groupBox12 = new System.Windows.Forms.GroupBox();
            this.lblPercent2 = new System.Windows.Forms.Label();
            this.TbObj2Name3 = new System.Windows.Forms.TextBox();
            this.PbObj2NpcID3 = new System.Windows.Forms.PictureBox();
            this.TbObj2Name2 = new System.Windows.Forms.TextBox();
            this.PbObj2NpcID2 = new System.Windows.Forms.PictureBox();
            this.TbObj2Name1 = new System.Windows.Forms.TextBox();
            this.PbObj2NpcID1 = new System.Windows.Forms.PictureBox();
            this.label115 = new System.Windows.Forms.Label();
            this.label36 = new System.Windows.Forms.Label();
            this.label35 = new System.Windows.Forms.Label();
            this.label32 = new System.Windows.Forms.Label();
            this.TbObj2Ptg = new System.Windows.Forms.TextBox();
            this.label33 = new System.Windows.Forms.Label();
            this.TbObj2Npc1 = new System.Windows.Forms.TextBox();
            this.TbObj2Npc2 = new System.Windows.Forms.TextBox();
            this.TbObj2Npc3 = new System.Windows.Forms.TextBox();
            this.comboBox7 = new System.Windows.Forms.ComboBox();
            this.label19 = new System.Windows.Forms.Label();
            this.TbObj2Id = new System.Windows.Forms.TextBox();
            this.label27 = new System.Windows.Forms.Label();
            this.label24 = new System.Windows.Forms.Label();
            this.TbObjcAmount2 = new System.Windows.Forms.TextBox();
            this.tabPage5 = new System.Windows.Forms.TabPage();
            this.TbObj3Name0 = new System.Windows.Forms.TextBox();
            this.PbCond3 = new System.Windows.Forms.PictureBox();
            this.TbObj3Type = new System.Windows.Forms.TextBox();
            this.label26 = new System.Windows.Forms.Label();
            this.comboBox8 = new System.Windows.Forms.ComboBox();
            this.TbObjcAmount3 = new System.Windows.Forms.TextBox();
            this.TbObj3Id = new System.Windows.Forms.TextBox();
            this.label21 = new System.Windows.Forms.Label();
            this.label20 = new System.Windows.Forms.Label();
            this.groupBox6 = new System.Windows.Forms.GroupBox();
            this.lblPercent3 = new System.Windows.Forms.Label();
            this.label114 = new System.Windows.Forms.Label();
            this.TbObj3Name3 = new System.Windows.Forms.TextBox();
            this.PbNpcID3 = new System.Windows.Forms.PictureBox();
            this.TbObj3Name2 = new System.Windows.Forms.TextBox();
            this.PbNpcID2 = new System.Windows.Forms.PictureBox();
            this.TbObj3Name1 = new System.Windows.Forms.TextBox();
            this.PbNpcID1 = new System.Windows.Forms.PictureBox();
            this.TbObj3Npc2 = new System.Windows.Forms.TextBox();
            this.TbObj3Ptg = new System.Windows.Forms.TextBox();
            this.TbObj3Npc3 = new System.Windows.Forms.TextBox();
            this.label37 = new System.Windows.Forms.Label();
            this.TbObj3Npc1 = new System.Windows.Forms.TextBox();
            this.label40 = new System.Windows.Forms.Label();
            this.label38 = new System.Windows.Forms.Label();
            this.label39 = new System.Windows.Forms.Label();
            this.Page2 = new System.Windows.Forms.TabPage();
            this.TbFileCol = new System.Windows.Forms.TextBox();
            this.tbFileRow = new System.Windows.Forms.TextBox();
            this.tbFileID = new System.Windows.Forms.TextBox();
            this.tabControl3 = new System.Windows.Forms.TabControl();
            this.tabPage8 = new System.Windows.Forms.TabPage();
            this.PbPrize5 = new System.Windows.Forms.PictureBox();
            this.PbPrize4 = new System.Windows.Forms.PictureBox();
            this.PbPrize3 = new System.Windows.Forms.PictureBox();
            this.PbPrize2 = new System.Windows.Forms.PictureBox();
            this.PbPrize1 = new System.Windows.Forms.PictureBox();
            this.tbItemDesc5 = new System.Windows.Forms.TextBox();
            this.tbItemDesc4 = new System.Windows.Forms.TextBox();
            this.tbItemDesc3 = new System.Windows.Forms.TextBox();
            this.tbItemDesc2 = new System.Windows.Forms.TextBox();
            this.tbItemDesc1 = new System.Windows.Forms.TextBox();
            this.PbPItem5 = new System.Windows.Forms.PictureBox();
            this.PbPItem4 = new System.Windows.Forms.PictureBox();
            this.PbPItem3 = new System.Windows.Forms.PictureBox();
            this.PbPItem2 = new System.Windows.Forms.PictureBox();
            this.PbPItem1 = new System.Windows.Forms.PictureBox();
            this.CbPrizeType5 = new System.Windows.Forms.ComboBox();
            this.TbPrizeAmount1 = new System.Windows.Forms.TextBox();
            this.CbPrizeType4 = new System.Windows.Forms.ComboBox();
            this.TbPrizeAmount5 = new System.Windows.Forms.TextBox();
            this.TbPrizeAmount2 = new System.Windows.Forms.TextBox();
            this.CbPrizeType3 = new System.Windows.Forms.ComboBox();
            this.TbPrizeAmount3 = new System.Windows.Forms.TextBox();
            this.TbPrizeItm5 = new System.Windows.Forms.TextBox();
            this.TbPrizeAmount4 = new System.Windows.Forms.TextBox();
            this.CbPrizeType2 = new System.Windows.Forms.ComboBox();
            this.label60 = new System.Windows.Forms.Label();
            this.label48 = new System.Windows.Forms.Label();
            this.label58 = new System.Windows.Forms.Label();
            this.CbPrizeType1 = new System.Windows.Forms.ComboBox();
            this.label55 = new System.Windows.Forms.Label();
            this.TbPrizeItm4 = new System.Windows.Forms.TextBox();
            this.label57 = new System.Windows.Forms.Label();
            this.label45 = new System.Windows.Forms.Label();
            this.label56 = new System.Windows.Forms.Label();
            this.label44 = new System.Windows.Forms.Label();
            this.label49 = new System.Windows.Forms.Label();
            this.label43 = new System.Windows.Forms.Label();
            this.TbPrizeItm3 = new System.Windows.Forms.TextBox();
            this.label42 = new System.Windows.Forms.Label();
            this.label41 = new System.Windows.Forms.Label();
            this.label50 = new System.Windows.Forms.Label();
            this.label53 = new System.Windows.Forms.Label();
            this.TbPrizeItm2 = new System.Windows.Forms.TextBox();
            this.TbPrizeItm1 = new System.Windows.Forms.TextBox();
            this.label51 = new System.Windows.Forms.Label();
            this.tabPage9 = new System.Windows.Forms.TabPage();
            this.PbOptPrize8 = new System.Windows.Forms.PictureBox();
            this.PbOptPrize7 = new System.Windows.Forms.PictureBox();
            this.PbOptPrize6 = new System.Windows.Forms.PictureBox();
            this.PbOptPrize5 = new System.Windows.Forms.PictureBox();
            this.PbOptPrize3 = new System.Windows.Forms.PictureBox();
            this.PbOptPrize2 = new System.Windows.Forms.PictureBox();
            this.PbOptPrize1 = new System.Windows.Forms.PictureBox();
            this.TbPrize2ItemDesc1 = new System.Windows.Forms.TextBox();
            this.TbPrize2ItemDesc2 = new System.Windows.Forms.TextBox();
            this.TbPrize2ItemDesc3 = new System.Windows.Forms.TextBox();
            this.TbPrize2ItemDesc4 = new System.Windows.Forms.TextBox();
            this.TbPrize2ItemDesc5 = new System.Windows.Forms.TextBox();
            this.TbPrize2ItemDesc6 = new System.Windows.Forms.TextBox();
            this.TbPrize2ItemDesc7 = new System.Windows.Forms.TextBox();
            this.PbItem7 = new System.Windows.Forms.PictureBox();
            this.PbItem6 = new System.Windows.Forms.PictureBox();
            this.PbItem5 = new System.Windows.Forms.PictureBox();
            this.PbItem4 = new System.Windows.Forms.PictureBox();
            this.PbItem3 = new System.Windows.Forms.PictureBox();
            this.PbItem2 = new System.Windows.Forms.PictureBox();
            this.PbItem1 = new System.Windows.Forms.PictureBox();
            this.textBox93 = new System.Windows.Forms.TextBox();
            this.label94 = new System.Windows.Forms.Label();
            this.textBox64 = new System.Windows.Forms.TextBox();
            this.label61 = new System.Windows.Forms.Label();
            this.CbOptPrizeType7 = new System.Windows.Forms.ComboBox();
            this.CbOptPrizeType6 = new System.Windows.Forms.ComboBox();
            this.CbOptPrizeType5 = new System.Windows.Forms.ComboBox();
            this.CbOptPrizeType4 = new System.Windows.Forms.ComboBox();
            this.CbOptPrizeType3 = new System.Windows.Forms.ComboBox();
            this.CbOptPrizeType2 = new System.Windows.Forms.ComboBox();
            this.CbOptPrizeType1 = new System.Windows.Forms.ComboBox();
            this.label67 = new System.Windows.Forms.Label();
            this.label68 = new System.Windows.Forms.Label();
            this.label66 = new System.Windows.Forms.Label();
            this.label65 = new System.Windows.Forms.Label();
            this.label64 = new System.Windows.Forms.Label();
            this.label63 = new System.Windows.Forms.Label();
            this.label62 = new System.Windows.Forms.Label();
            this.TbPrizeOptAmount1 = new System.Windows.Forms.TextBox();
            this.TbPrizeOptAmount2 = new System.Windows.Forms.TextBox();
            this.label76 = new System.Windows.Forms.Label();
            this.label77 = new System.Windows.Forms.Label();
            this.TbPrizeOptAmount3 = new System.Windows.Forms.TextBox();
            this.TbPrizeOptAmount4 = new System.Windows.Forms.TextBox();
            this.TbPrizeOptAmount5 = new System.Windows.Forms.TextBox();
            this.TbPrizeOptAmount6 = new System.Windows.Forms.TextBox();
            this.TbPrizeOptAmount7 = new System.Windows.Forms.TextBox();
            this.label78 = new System.Windows.Forms.Label();
            this.label79 = new System.Windows.Forms.Label();
            this.label80 = new System.Windows.Forms.Label();
            this.label81 = new System.Windows.Forms.Label();
            this.label82 = new System.Windows.Forms.Label();
            this.TbOptPrizeItm1 = new System.Windows.Forms.TextBox();
            this.TbOptPrizeItm2 = new System.Windows.Forms.TextBox();
            this.label69 = new System.Windows.Forms.Label();
            this.label70 = new System.Windows.Forms.Label();
            this.TbOptPrizeItm3 = new System.Windows.Forms.TextBox();
            this.TbOptPrizeItm4 = new System.Windows.Forms.TextBox();
            this.TbOptPrizeItm5 = new System.Windows.Forms.TextBox();
            this.TbOptPrizeItm6 = new System.Windows.Forms.TextBox();
            this.TbOptPrizeItm7 = new System.Windows.Forms.TextBox();
            this.label71 = new System.Windows.Forms.Label();
            this.label72 = new System.Windows.Forms.Label();
            this.label73 = new System.Windows.Forms.Label();
            this.label74 = new System.Windows.Forms.Label();
            this.label75 = new System.Windows.Forms.Label();
            this.textBox86 = new System.Windows.Forms.TextBox();
            this.textBox87 = new System.Windows.Forms.TextBox();
            this.textBox92 = new System.Windows.Forms.TextBox();
            this.label83 = new System.Windows.Forms.Label();
            this.label90 = new System.Windows.Forms.Label();
            this.label84 = new System.Windows.Forms.Label();
            this.label89 = new System.Windows.Forms.Label();
            this.textBox88 = new System.Windows.Forms.TextBox();
            this.label88 = new System.Windows.Forms.Label();
            this.textBox89 = new System.Windows.Forms.TextBox();
            this.label87 = new System.Windows.Forms.Label();
            this.textBox90 = new System.Windows.Forms.TextBox();
            this.label86 = new System.Windows.Forms.Label();
            this.textBox91 = new System.Windows.Forms.TextBox();
            this.textBox69 = new System.Windows.Forms.TextBox();
            this.textBox70 = new System.Windows.Forms.TextBox();
            this.textBox68 = new System.Windows.Forms.TextBox();
            this.textBox65 = new System.Windows.Forms.TextBox();
            this.textBox71 = new System.Windows.Forms.TextBox();
            this.textBox67 = new System.Windows.Forms.TextBox();
            this.textBox53 = new System.Windows.Forms.TextBox();
            this.textBox66 = new System.Windows.Forms.TextBox();
            this.textBox52 = new System.Windows.Forms.TextBox();
            this.textBox49 = new System.Windows.Forms.TextBox();
            this.textBox51 = new System.Windows.Forms.TextBox();
            this.textBox50 = new System.Windows.Forms.TextBox();
            this.tabPage7 = new System.Windows.Forms.TabPage();
            this.groupBox7 = new System.Windows.Forms.GroupBox();
            this.TbQuestflag = new System.Windows.Forms.TextBox();
            this.label103 = new System.Windows.Forms.Label();
            this.TbStartTriggerID = new System.Windows.Forms.TextBox();
            this.label102 = new System.Windows.Forms.Label();
            this.label99 = new System.Windows.Forms.Label();
            this.TbGiveKind = new System.Windows.Forms.TextBox();
            this.tbFailvalue = new System.Windows.Forms.TextBox();
            this.label97 = new System.Windows.Forms.Label();
            this.TbGiveNum = new System.Windows.Forms.TextBox();
            this.label101 = new System.Windows.Forms.Label();
            this.TbStartGive = new System.Windows.Forms.TextBox();
            this.label100 = new System.Windows.Forms.Label();
            this.BtnSave = new System.Windows.Forms.Button();
            this.label113 = new System.Windows.Forms.Label();
            this.lblLang = new System.Windows.Forms.Label();
            this.label119 = new System.Windows.Forms.Label();
            this.pictureBox1 = new System.Windows.Forms.PictureBox();
            this.label120 = new System.Windows.Forms.Label();
            this.label121 = new System.Windows.Forms.Label();
            this.pictureBox2 = new System.Windows.Forms.PictureBox();
            this.label122 = new System.Windows.Forms.Label();
            this.pictureBox3 = new System.Windows.Forms.PictureBox();
            this.btnSaveAndNext = new System.Windows.Forms.Button();
            this.pbObj1 = new System.Windows.Forms.PictureBox();
            this.pbObj2 = new System.Windows.Forms.PictureBox();
            this.pbObj3 = new System.Windows.Forms.PictureBox();
            this.menuStrip1.SuspendLayout();
            this.groupBox3.SuspendLayout();
            this.groupBox5.SuspendLayout();
            this.tabControl1.SuspendLayout();
            this.tabPage1.SuspendLayout();
            this.groupBox8.SuspendLayout();
            this.groupBox11.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PbEndNPCItem)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbStartItemNPC)).BeginInit();
            this.groupBox10.SuspendLayout();
            this.groupBox9.SuspendLayout();
            this.groupBox4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pbIconNeed5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pbIconNeed4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pbIconNeed3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pbIconNeed2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pbIconNeed1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItemNeed5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItemNeed4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItemNeed3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItemNeed2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItemNeed1)).BeginInit();
            this.groupBox1.SuspendLayout();
            this.tabPage3.SuspendLayout();
            this.tabControl2.SuspendLayout();
            this.tabPage2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PbCond1)).BeginInit();
            this.GbNpcQuestItm.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PbObj1NpcID3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbObj1NpcID2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbObj1NpcID1)).BeginInit();
            this.tabPage4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PbCond2)).BeginInit();
            this.groupBox12.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PbObj2NpcID3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbObj2NpcID2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbObj2NpcID1)).BeginInit();
            this.tabPage5.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PbCond3)).BeginInit();
            this.groupBox6.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PbNpcID3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbNpcID2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbNpcID1)).BeginInit();
            this.Page2.SuspendLayout();
            this.tabControl3.SuspendLayout();
            this.tabPage8.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PbPrize5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbPrize4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbPrize3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbPrize2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbPrize1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbPItem5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbPItem4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbPItem3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbPItem2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbPItem1)).BeginInit();
            this.tabPage9.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PbOptPrize8)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbOptPrize7)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbOptPrize6)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbOptPrize5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbOptPrize3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbOptPrize2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbOptPrize1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItem7)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItem6)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItem5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItem4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItem3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItem2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItem1)).BeginInit();
            this.tabPage7.SuspendLayout();
            this.groupBox7.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pbObj1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pbObj2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pbObj3)).BeginInit();
            this.SuspendLayout();
            // 
            // menuStrip1
            // 
            this.menuStrip1.AllowMerge = false;
            this.menuStrip1.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.fileExportToolStripMenuItem});
            this.menuStrip1.Location = new System.Drawing.Point(0, 0);
            this.menuStrip1.Name = "menuStrip1";
            this.menuStrip1.Size = new System.Drawing.Size(1056, 24);
            this.menuStrip1.TabIndex = 0;
            this.menuStrip1.Text = "menuStrip1";
            // 
            // fileExportToolStripMenuItem
            // 
            this.fileExportToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.exportToolStripMenuItem,
            this.exportStrQuestToolStripMenuItem});
            this.fileExportToolStripMenuItem.Name = "fileExportToolStripMenuItem";
            this.fileExportToolStripMenuItem.Size = new System.Drawing.Size(74, 20);
            this.fileExportToolStripMenuItem.Text = "File Export";
            this.fileExportToolStripMenuItem.Click += new System.EventHandler(this.fileExportToolStripMenuItem_Click);
            // 
            // exportToolStripMenuItem
            // 
            this.exportToolStripMenuItem.Name = "exportToolStripMenuItem";
            this.exportToolStripMenuItem.Size = new System.Drawing.Size(192, 22);
            this.exportToolStripMenuItem.Text = "Export  questAll.lod";
            this.exportToolStripMenuItem.Click += new System.EventHandler(this.exportToolStripMenuItem_Click);
            // 
            // exportStrQuestToolStripMenuItem
            // 
            this.exportStrQuestToolStripMenuItem.Name = "exportStrQuestToolStripMenuItem";
            this.exportStrQuestToolStripMenuItem.Size = new System.Drawing.Size(192, 22);
            this.exportStrQuestToolStripMenuItem.Text = "Export strQuest_us.lod";
            this.exportStrQuestToolStripMenuItem.Click += new System.EventHandler(this.exportStrQuestToolStripMenuItem_Click);
            // 
            // groupBox3
            // 
            this.groupBox3.Controls.Add(this.BtnCopy);
            this.groupBox3.Controls.Add(this.BtnDelete);
            this.groupBox3.Controls.Add(this.BtnAddNew);
            this.groupBox3.Controls.Add(this.listBox1);
            this.groupBox3.Location = new System.Drawing.Point(12, 82);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new System.Drawing.Size(265, 581);
            this.groupBox3.TabIndex = 31;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "Quest";
            // 
            // BtnCopy
            // 
            this.BtnCopy.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.BtnCopy.Location = new System.Drawing.Point(91, 546);
            this.BtnCopy.Name = "BtnCopy";
            this.BtnCopy.Size = new System.Drawing.Size(82, 23);
            this.BtnCopy.TabIndex = 5;
            this.BtnCopy.Text = "Copy";
            this.BtnCopy.UseVisualStyleBackColor = true;
            this.BtnCopy.Click += new System.EventHandler(this.BtnCopy_Click);
            // 
            // BtnDelete
            // 
            this.BtnDelete.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.BtnDelete.Location = new System.Drawing.Point(176, 546);
            this.BtnDelete.Name = "BtnDelete";
            this.BtnDelete.Size = new System.Drawing.Size(83, 23);
            this.BtnDelete.TabIndex = 4;
            this.BtnDelete.Text = "Delete";
            this.BtnDelete.UseVisualStyleBackColor = true;
            this.BtnDelete.Click += new System.EventHandler(this.button3_Click);
            // 
            // BtnAddNew
            // 
            this.BtnAddNew.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.BtnAddNew.Location = new System.Drawing.Point(6, 546);
            this.BtnAddNew.Name = "BtnAddNew";
            this.BtnAddNew.Size = new System.Drawing.Size(82, 23);
            this.BtnAddNew.TabIndex = 2;
            this.BtnAddNew.Text = "Add New";
            this.BtnAddNew.UseVisualStyleBackColor = true;
            this.BtnAddNew.Click += new System.EventHandler(this.button1_Click);
            // 
            // listBox1
            // 
            this.listBox1.FormattingEnabled = true;
            this.listBox1.Location = new System.Drawing.Point(6, 19);
            this.listBox1.Name = "listBox1";
            this.listBox1.Size = new System.Drawing.Size(253, 524);
            this.listBox1.TabIndex = 1;
            this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged);
            // 
            // groupBox5
            // 
            this.groupBox5.Controls.Add(this.textBox104);
            this.groupBox5.Controls.Add(this.label7);
            this.groupBox5.Location = new System.Drawing.Point(12, 27);
            this.groupBox5.Name = "groupBox5";
            this.groupBox5.Size = new System.Drawing.Size(265, 49);
            this.groupBox5.TabIndex = 32;
            this.groupBox5.TabStop = false;
            this.groupBox5.Text = "Search";
            // 
            // textBox104
            // 
            this.textBox104.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.textBox104.Location = new System.Drawing.Point(43, 19);
            this.textBox104.Name = "textBox104";
            this.textBox104.Size = new System.Drawing.Size(216, 20);
            this.textBox104.TabIndex = 83;
            this.textBox104.TextChanged += new System.EventHandler(this.textBox104_TextChanged);
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.Location = new System.Drawing.Point(6, 21);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(31, 13);
            this.label7.TabIndex = 21;
            this.label7.Text = "Text:";
            // 
            // textBox12
            // 
            this.textBox12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.textBox12.Location = new System.Drawing.Point(66, 65);
            this.textBox12.Name = "textBox12";
            this.textBox12.Size = new System.Drawing.Size(207, 20);
            this.textBox12.TabIndex = 20;
            this.textBox12.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox12_KeyPress);
            // 
            // tabControl1
            // 
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Controls.Add(this.tabPage3);
            this.tabControl1.Controls.Add(this.Page2);
            this.tabControl1.Controls.Add(this.tabPage7);
            this.tabControl1.Location = new System.Drawing.Point(283, 27);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(773, 636);
            this.tabControl1.TabIndex = 33;
            // 
            // tabPage1
            // 
            this.tabPage1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.tabPage1.Controls.Add(this.groupBox8);
            this.tabPage1.Controls.Add(this.label109);
            this.tabPage1.Controls.Add(this.textBox15);
            this.tabPage1.Controls.Add(this.label108);
            this.tabPage1.Controls.Add(this.label107);
            this.tabPage1.Controls.Add(this.label106);
            this.tabPage1.Controls.Add(this.label105);
            this.tabPage1.Controls.Add(this.textBox98);
            this.tabPage1.Controls.Add(this.textBox11);
            this.tabPage1.Controls.Add(this.textBox9);
            this.tabPage1.Controls.Add(this.textBox7);
            this.tabPage1.Controls.Add(this.TbType2);
            this.tabPage1.Controls.Add(this.TbType1);
            this.tabPage1.Controls.Add(this.groupBox11);
            this.tabPage1.Controls.Add(this.groupBox10);
            this.tabPage1.Controls.Add(this.groupBox9);
            this.tabPage1.Controls.Add(this.comboBox2);
            this.tabPage1.Controls.Add(this.comboBox1);
            this.tabPage1.Controls.Add(this.groupBox4);
            this.tabPage1.Controls.Add(this.groupBox1);
            this.tabPage1.Controls.Add(this.label3);
            this.tabPage1.Controls.Add(this.label2);
            this.tabPage1.Location = new System.Drawing.Point(4, 22);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage1.Size = new System.Drawing.Size(765, 610);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "Basic";
            // 
            // groupBox8
            // 
            this.groupBox8.Controls.Add(this.CbRvRGrade1);
            this.groupBox8.Controls.Add(this.CbRvRGrade);
            this.groupBox8.Controls.Add(this.CbRvrType);
            this.groupBox8.Controls.Add(this.TbRvrGrade);
            this.groupBox8.Controls.Add(this.TbRvrType);
            this.groupBox8.Controls.Add(this.label9);
            this.groupBox8.Controls.Add(this.label8);
            this.groupBox8.Location = new System.Drawing.Point(499, 427);
            this.groupBox8.Name = "groupBox8";
            this.groupBox8.Size = new System.Drawing.Size(260, 94);
            this.groupBox8.TabIndex = 102;
            this.groupBox8.TabStop = false;
            this.groupBox8.Text = "RvR Type";
            // 
            // CbRvRGrade1
            // 
            this.CbRvRGrade1.FormattingEnabled = true;
            this.CbRvRGrade1.Location = new System.Drawing.Point(81, 57);
            this.CbRvRGrade1.Name = "CbRvRGrade1";
            this.CbRvRGrade1.Size = new System.Drawing.Size(102, 21);
            this.CbRvRGrade1.TabIndex = 240;
            this.CbRvRGrade1.SelectedIndexChanged += new System.EventHandler(this.CbRvRGrade1_SelectedIndexChanged);
            this.CbRvRGrade1.SelectionChangeCommitted += new System.EventHandler(this.CbRvRGrade1_SelectionChangeCommitted);
            // 
            // CbRvRGrade
            // 
            this.CbRvRGrade.FormattingEnabled = true;
            this.CbRvRGrade.Location = new System.Drawing.Point(81, 57);
            this.CbRvRGrade.Name = "CbRvRGrade";
            this.CbRvRGrade.Size = new System.Drawing.Size(102, 21);
            this.CbRvRGrade.TabIndex = 239;
            this.CbRvRGrade.SelectedIndexChanged += new System.EventHandler(this.CbRvRGrade_SelectedIndexChanged);
            this.CbRvRGrade.SelectionChangeCommitted += new System.EventHandler(this.CbRvRGrade_SelectionChangeCommitted);
            // 
            // CbRvrType
            // 
            this.CbRvrType.FormattingEnabled = true;
            this.CbRvrType.Location = new System.Drawing.Point(81, 29);
            this.CbRvrType.Name = "CbRvrType";
            this.CbRvrType.Size = new System.Drawing.Size(102, 21);
            this.CbRvrType.TabIndex = 238;
            this.CbRvrType.SelectedIndexChanged += new System.EventHandler(this.CbRvrType_SelectedIndexChanged);
            this.CbRvrType.SelectionChangeCommitted += new System.EventHandler(this.CbRvrType_SelectionChangeCommitted);
            // 
            // TbRvrGrade
            // 
            this.TbRvrGrade.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbRvrGrade.Location = new System.Drawing.Point(198, 59);
            this.TbRvrGrade.Name = "TbRvrGrade";
            this.TbRvrGrade.Size = new System.Drawing.Size(57, 20);
            this.TbRvrGrade.TabIndex = 237;
            this.TbRvrGrade.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox27_KeyPress);
            // 
            // TbRvrType
            // 
            this.TbRvrType.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbRvrType.Location = new System.Drawing.Point(198, 29);
            this.TbRvrType.Name = "TbRvrType";
            this.TbRvrType.Size = new System.Drawing.Size(57, 20);
            this.TbRvrType.TabIndex = 236;
            this.TbRvrType.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox26_KeyPress);
            // 
            // label9
            // 
            this.label9.AutoSize = true;
            this.label9.Location = new System.Drawing.Point(8, 60);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(64, 13);
            this.label9.TabIndex = 235;
            this.label9.Text = "RvR Grade:";
            // 
            // label8
            // 
            this.label8.AutoSize = true;
            this.label8.Location = new System.Drawing.Point(8, 32);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(59, 13);
            this.label8.TabIndex = 234;
            this.label8.Text = "RvR Type:";
            // 
            // label109
            // 
            this.label109.AutoSize = true;
            this.label109.Location = new System.Drawing.Point(691, 180);
            this.label109.Name = "label109";
            this.label109.Size = new System.Drawing.Size(24, 13);
            this.label109.TabIndex = 101;
            this.label109.Text = "Job";
            this.label109.Visible = false;
            // 
            // textBox15
            // 
            this.textBox15.Location = new System.Drawing.Point(631, 177);
            this.textBox15.Name = "textBox15";
            this.textBox15.Size = new System.Drawing.Size(50, 20);
            this.textBox15.TabIndex = 100;
            this.textBox15.Visible = false;
            // 
            // label108
            // 
            this.label108.AutoSize = true;
            this.label108.Location = new System.Drawing.Point(692, 156);
            this.label108.Name = "label108";
            this.label108.Size = new System.Drawing.Size(39, 13);
            this.label108.TabIndex = 99;
            this.label108.Text = "QType";
            this.label108.Visible = false;
            // 
            // label107
            // 
            this.label107.AutoSize = true;
            this.label107.Location = new System.Drawing.Point(692, 79);
            this.label107.Name = "label107";
            this.label107.Size = new System.Drawing.Size(37, 13);
            this.label107.TabIndex = 98;
            this.label107.Text = "SFrom";
            this.label107.Visible = false;
            // 
            // label106
            // 
            this.label106.AutoSize = true;
            this.label106.Location = new System.Drawing.Point(692, 130);
            this.label106.Name = "label106";
            this.label106.Size = new System.Drawing.Size(28, 13);
            this.label106.TabIndex = 97;
            this.label106.Text = "Map";
            this.label106.Visible = false;
            // 
            // label105
            // 
            this.label105.AutoSize = true;
            this.label105.Location = new System.Drawing.Point(692, 104);
            this.label105.Name = "label105";
            this.label105.Size = new System.Drawing.Size(28, 13);
            this.label105.TabIndex = 96;
            this.label105.Text = "Map";
            this.label105.Visible = false;
            // 
            // textBox98
            // 
            this.textBox98.Location = new System.Drawing.Point(631, 153);
            this.textBox98.Name = "textBox98";
            this.textBox98.Size = new System.Drawing.Size(50, 20);
            this.textBox98.TabIndex = 95;
            this.textBox98.Visible = false;
            // 
            // textBox11
            // 
            this.textBox11.Location = new System.Drawing.Point(631, 127);
            this.textBox11.Name = "textBox11";
            this.textBox11.Size = new System.Drawing.Size(50, 20);
            this.textBox11.TabIndex = 94;
            this.textBox11.Visible = false;
            // 
            // textBox9
            // 
            this.textBox9.Location = new System.Drawing.Point(631, 101);
            this.textBox9.Name = "textBox9";
            this.textBox9.Size = new System.Drawing.Size(50, 20);
            this.textBox9.TabIndex = 93;
            this.textBox9.Visible = false;
            // 
            // textBox7
            // 
            this.textBox7.Location = new System.Drawing.Point(631, 76);
            this.textBox7.Name = "textBox7";
            this.textBox7.Size = new System.Drawing.Size(50, 20);
            this.textBox7.TabIndex = 92;
            this.textBox7.Visible = false;
            // 
            // TbType2
            // 
            this.TbType2.Location = new System.Drawing.Point(701, 41);
            this.TbType2.Name = "TbType2";
            this.TbType2.Size = new System.Drawing.Size(50, 20);
            this.TbType2.TabIndex = 91;
            this.TbType2.Visible = false;
            // 
            // TbType1
            // 
            this.TbType1.Location = new System.Drawing.Point(701, 10);
            this.TbType1.Name = "TbType1";
            this.TbType1.Size = new System.Drawing.Size(50, 20);
            this.TbType1.TabIndex = 90;
            this.TbType1.Visible = false;
            // 
            // groupBox11
            // 
            this.groupBox11.Controls.Add(this.PbEndNPCItem);
            this.groupBox11.Controls.Add(this.PbStartItemNPC);
            this.groupBox11.Controls.Add(this.label118);
            this.groupBox11.Controls.Add(this.label117);
            this.groupBox11.Controls.Add(this.TbEndNpcName);
            this.groupBox11.Controls.Add(this.TbStartNpcName);
            this.groupBox11.Controls.Add(this.button6);
            this.groupBox11.Controls.Add(this.button5);
            this.groupBox11.Controls.Add(this.comboBox22);
            this.groupBox11.Controls.Add(this.comboBox21);
            this.groupBox11.Controls.Add(this.label12);
            this.groupBox11.Controls.Add(this.CbStartFrom);
            this.groupBox11.Controls.Add(this.label59);
            this.groupBox11.Controls.Add(this.label47);
            this.groupBox11.Controls.Add(this.TbEndNpc);
            this.groupBox11.Controls.Add(this.label10);
            this.groupBox11.Controls.Add(this.label11);
            this.groupBox11.Controls.Add(this.TbStartNpc);
            this.groupBox11.Controls.Add(this.TbNeedQuestId);
            this.groupBox11.Controls.Add(this.label46);
            this.groupBox11.Location = new System.Drawing.Point(338, 242);
            this.groupBox11.Name = "groupBox11";
            this.groupBox11.Size = new System.Drawing.Size(407, 175);
            this.groupBox11.TabIndex = 87;
            this.groupBox11.TabStop = false;
            this.groupBox11.Text = "Start and Finish Quest";
            // 
            // PbEndNPCItem
            // 
            this.PbEndNPCItem.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbEndNPCItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbEndNPCItem.Location = new System.Drawing.Point(136, 118);
            this.PbEndNPCItem.Name = "PbEndNPCItem";
            this.PbEndNPCItem.Size = new System.Drawing.Size(22, 22);
            this.PbEndNPCItem.TabIndex = 117;
            this.PbEndNPCItem.TabStop = false;
            this.PbEndNPCItem.Click += new System.EventHandler(this.PbEndNPCItem_Click);
            // 
            // PbStartItemNPC
            // 
            this.PbStartItemNPC.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbStartItemNPC.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbStartItemNPC.Location = new System.Drawing.Point(136, 73);
            this.PbStartItemNPC.Name = "PbStartItemNPC";
            this.PbStartItemNPC.Size = new System.Drawing.Size(22, 22);
            this.PbStartItemNPC.TabIndex = 116;
            this.PbStartItemNPC.TabStop = false;
            this.PbStartItemNPC.Click += new System.EventHandler(this.PbStartItemNPC_Click);
            // 
            // label118
            // 
            this.label118.AutoSize = true;
            this.label118.Location = new System.Drawing.Point(6, 147);
            this.label118.Name = "label118";
            this.label118.Size = new System.Drawing.Size(85, 13);
            this.label118.TabIndex = 109;
            this.label118.Text = "End NPC Name:";
            // 
            // label117
            // 
            this.label117.AutoSize = true;
            this.label117.Location = new System.Drawing.Point(6, 102);
            this.label117.Name = "label117";
            this.label117.Size = new System.Drawing.Size(88, 13);
            this.label117.TabIndex = 108;
            this.label117.Text = "Start NPC Name:";
            // 
            // TbEndNpcName
            // 
            this.TbEndNpcName.BackColor = System.Drawing.SystemColors.Menu;
            this.TbEndNpcName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbEndNpcName.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.TbEndNpcName.ForeColor = System.Drawing.Color.LimeGreen;
            this.TbEndNpcName.Location = new System.Drawing.Point(94, 144);
            this.TbEndNpcName.Name = "TbEndNpcName";
            this.TbEndNpcName.ReadOnly = true;
            this.TbEndNpcName.Size = new System.Drawing.Size(195, 20);
            this.TbEndNpcName.TabIndex = 107;
            // 
            // TbStartNpcName
            // 
            this.TbStartNpcName.BackColor = System.Drawing.SystemColors.Menu;
            this.TbStartNpcName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbStartNpcName.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.TbStartNpcName.ForeColor = System.Drawing.Color.LimeGreen;
            this.TbStartNpcName.Location = new System.Drawing.Point(95, 98);
            this.TbStartNpcName.Name = "TbStartNpcName";
            this.TbStartNpcName.ReadOnly = true;
            this.TbStartNpcName.Size = new System.Drawing.Size(195, 20);
            this.TbStartNpcName.TabIndex = 106;
            // 
            // button6
            // 
            this.button6.Location = new System.Drawing.Point(376, 120);
            this.button6.Name = "button6";
            this.button6.Size = new System.Drawing.Size(27, 23);
            this.button6.TabIndex = 54;
            this.button6.Text = "?";
            this.button6.UseVisualStyleBackColor = true;
            this.button6.Click += new System.EventHandler(this.button6_Click);
            // 
            // button5
            // 
            this.button5.Location = new System.Drawing.Point(376, 71);
            this.button5.Name = "button5";
            this.button5.Size = new System.Drawing.Size(27, 23);
            this.button5.TabIndex = 53;
            this.button5.Text = "?";
            this.button5.UseVisualStyleBackColor = true;
            this.button5.Click += new System.EventHandler(this.button5_Click);
            // 
            // comboBox22
            // 
            this.comboBox22.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.comboBox22.FormattingEnabled = true;
            this.comboBox22.Items.AddRange(new object[] {
            "0 - Juno",
            "1 - Belfist",
            "2 - Dungeon",
            "3 - Dungeon 2",
            "4 - Dratan",
            "5 - Single Dungeon 2",
            "6 - Start Map",
            "7 - Merac",
            "8 - Guild Hall",
            "9 - Dungeon 3",
            "10 - Single Dungeon 3",
            "11 - Single Dungeon 4",
            "12 - P Dungeon 1",
            "13 - Dungeon 3 PVP",
            "14 - Room OX",
            "15 - Eghea",
            "16 - Eghea PK",
            "17 - Lust Turm 1-7",
            "18 - Lust Turm 8",
            "19 - Lust Turm 9",
            "20 - Lust Turm 10",
            "21 - Tomb",
            "22 - Monster Combo",
            "23 - Strayana",
            "24 - PK Turment",
            "25 - Cube",
            "26 - Dragsaal",
            "27 - Cave",
            "28 - Cave",
            "29 - Kristall Mine",
            "30 - Mystische Schlucht ",
            "31 - Eghea Cave",
            "32 - MoonShine",
            "33 - Chapel 1",
            "34 - Chapel 2",
            "35 - Chapel 3",
            "36 - Akan Temple",
            "37 - Triva Canyon",
            "38 - Royal Rumble PK",
            "39 - Tarian",
            "40 -  Bloodymir",
            "41 - Tarian Dungeon",
            "42 - Alber",
            "43 - Darzel",
            "44 - Extreme Streiana",
            "45 - SereneLand"});
            this.comboBox22.Location = new System.Drawing.Point(230, 120);
            this.comboBox22.Name = "comboBox22";
            this.comboBox22.Size = new System.Drawing.Size(140, 21);
            this.comboBox22.TabIndex = 52;
            this.comboBox22.SelectedIndexChanged += new System.EventHandler(this.comboBox22_SelectedIndexChanged);
            this.comboBox22.SelectionChangeCommitted += new System.EventHandler(this.comboBox22_SelectionChangeCommitted);
            // 
            // comboBox21
            // 
            this.comboBox21.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.comboBox21.FormattingEnabled = true;
            this.comboBox21.Items.AddRange(new object[] {
            "0 - Juno",
            "1 - Belfist",
            "2 - Dungeon",
            "3 - Dungeon 2",
            "4 - Dratan",
            "5 - Single Dungeon 2",
            "6 - Start Map",
            "7 - Merac",
            "8 - Guild Hall",
            "9 - Dungeon 3",
            "10 - Single Dungeon 3",
            "11 - Single Dungeon 4",
            "12 - P Dungeon 1",
            "13 - Dungeon 3 PVP",
            "14 - Room OX",
            "15 - Eghea",
            "16 - Eghea PK",
            "17 - Lust Turm 1-7",
            "18 - Lust Turm 8",
            "19 - Lust Turm 9",
            "20 - Lust Turm 10",
            "21 - Tomb",
            "22 - Monster Combo",
            "23 - Strayana",
            "24 - PK Turment",
            "25 - Cube",
            "26 - Dragsaal",
            "27 - Cave",
            "28 - Cave",
            "29 - Kristall Mine",
            "30 - Mystische Schlucht ",
            "31 - Eghea Cave",
            "32 - MoonShine",
            "33 - Chapel 1",
            "34 - Chapel 2",
            "35 - Chapel 3",
            "36 - Akan Temple",
            "37 - Triva Canyon",
            "38 - Royal Rumble PK",
            "39 - Tarian",
            "40 -  Bloodymir",
            "41 - Tarian Dungeon",
            "42 - Alber",
            "43 - Darzel",
            "44 - Extreme Streiana",
            "45 - SereneLand"});
            this.comboBox21.Location = new System.Drawing.Point(230, 71);
            this.comboBox21.Name = "comboBox21";
            this.comboBox21.Size = new System.Drawing.Size(140, 21);
            this.comboBox21.TabIndex = 51;
            this.comboBox21.SelectedIndexChanged += new System.EventHandler(this.comboBox21_SelectedIndexChanged);
            this.comboBox21.SelectionChangeCommitted += new System.EventHandler(this.comboBox21_SelectionChangeCommitted);
            // 
            // label12
            // 
            this.label12.AutoSize = true;
            this.label12.Location = new System.Drawing.Point(164, 123);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(60, 13);
            this.label12.TabIndex = 17;
            this.label12.Text = "Zone NPC:";
            // 
            // CbStartFrom
            // 
            this.CbStartFrom.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.CbStartFrom.FormattingEnabled = true;
            this.CbStartFrom.Location = new System.Drawing.Point(70, 29);
            this.CbStartFrom.Name = "CbStartFrom";
            this.CbStartFrom.Size = new System.Drawing.Size(64, 21);
            this.CbStartFrom.TabIndex = 36;
            this.CbStartFrom.SelectedIndexChanged += new System.EventHandler(this.comboBox5_SelectedIndexChanged);
            this.CbStartFrom.SelectionChangeCommitted += new System.EventHandler(this.comboBox5_SelectionChangeCommitted);
            // 
            // label59
            // 
            this.label59.AutoSize = true;
            this.label59.Location = new System.Drawing.Point(164, 75);
            this.label59.Name = "label59";
            this.label59.Size = new System.Drawing.Size(60, 13);
            this.label59.TabIndex = 50;
            this.label59.Text = "Zone NPC:";
            // 
            // label47
            // 
            this.label47.AutoSize = true;
            this.label47.Location = new System.Drawing.Point(6, 34);
            this.label47.Name = "label47";
            this.label47.Size = new System.Drawing.Size(58, 13);
            this.label47.TabIndex = 35;
            this.label47.Text = "Start From:";
            // 
            // TbEndNpc
            // 
            this.TbEndNpc.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbEndNpc.Location = new System.Drawing.Point(70, 119);
            this.TbEndNpc.Name = "TbEndNpc";
            this.TbEndNpc.Size = new System.Drawing.Size(64, 20);
            this.TbEndNpc.TabIndex = 14;
            this.TbEndNpc.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox10_KeyPress);
            // 
            // label10
            // 
            this.label10.AutoSize = true;
            this.label10.Location = new System.Drawing.Point(146, 34);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(81, 13);
            this.label10.TabIndex = 17;
            this.label10.Text = "Need Quest ID:";
            // 
            // label11
            // 
            this.label11.AutoSize = true;
            this.label11.Location = new System.Drawing.Point(6, 123);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(54, 13);
            this.label11.TabIndex = 15;
            this.label11.Text = "End NPC:";
            // 
            // TbStartNpc
            // 
            this.TbStartNpc.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbStartNpc.Location = new System.Drawing.Point(70, 73);
            this.TbStartNpc.Name = "TbStartNpc";
            this.TbStartNpc.Size = new System.Drawing.Size(64, 20);
            this.TbStartNpc.TabIndex = 14;
            this.TbStartNpc.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox8_KeyPress);
            // 
            // TbNeedQuestId
            // 
            this.TbNeedQuestId.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbNeedQuestId.Location = new System.Drawing.Point(233, 29);
            this.TbNeedQuestId.Name = "TbNeedQuestId";
            this.TbNeedQuestId.Size = new System.Drawing.Size(62, 20);
            this.TbNeedQuestId.TabIndex = 6;
            this.TbNeedQuestId.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox6_KeyPress);
            // 
            // label46
            // 
            this.label46.AutoSize = true;
            this.label46.Location = new System.Drawing.Point(6, 75);
            this.label46.Name = "label46";
            this.label46.Size = new System.Drawing.Size(57, 13);
            this.label46.TabIndex = 35;
            this.label46.Text = "Start NPC:";
            // 
            // groupBox10
            // 
            this.groupBox10.Controls.Add(this.comboBox4);
            this.groupBox10.Controls.Add(this.label98);
            this.groupBox10.Location = new System.Drawing.Point(338, 196);
            this.groupBox10.Name = "groupBox10";
            this.groupBox10.Size = new System.Drawing.Size(287, 40);
            this.groupBox10.TabIndex = 86;
            this.groupBox10.TabStop = false;
            // 
            // comboBox4
            // 
            this.comboBox4.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.comboBox4.FormattingEnabled = true;
            this.comboBox4.Location = new System.Drawing.Point(84, 13);
            this.comboBox4.Name = "comboBox4";
            this.comboBox4.Size = new System.Drawing.Size(189, 21);
            this.comboBox4.TabIndex = 1;
            this.comboBox4.SelectedIndexChanged += new System.EventHandler(this.comboBox4_SelectedIndexChanged);
            this.comboBox4.SelectionChangeCommitted += new System.EventHandler(this.comboBox4_SelectionChangeCommitted);
            // 
            // label98
            // 
            this.label98.AutoSize = true;
            this.label98.Location = new System.Drawing.Point(13, 16);
            this.label98.Name = "label98";
            this.label98.Size = new System.Drawing.Size(65, 13);
            this.label98.TabIndex = 0;
            this.label98.Text = "Quest Type:";
            // 
            // groupBox9
            // 
            this.groupBox9.Controls.Add(this.comboBox3);
            this.groupBox9.Controls.Add(this.textBox12);
            this.groupBox9.Controls.Add(this.label14);
            this.groupBox9.Controls.Add(this.label52);
            this.groupBox9.Controls.Add(this.TbMaxLvl);
            this.groupBox9.Controls.Add(this.TbMinLvl);
            this.groupBox9.Controls.Add(this.label54);
            this.groupBox9.Controls.Add(this.label13);
            this.groupBox9.Location = new System.Drawing.Point(338, 67);
            this.groupBox9.Name = "groupBox9";
            this.groupBox9.Size = new System.Drawing.Size(287, 130);
            this.groupBox9.TabIndex = 85;
            this.groupBox9.TabStop = false;
            this.groupBox9.Text = "Character Stuff";
            // 
            // comboBox3
            // 
            this.comboBox3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.comboBox3.FormattingEnabled = true;
            this.comboBox3.Location = new System.Drawing.Point(66, 98);
            this.comboBox3.Name = "comboBox3";
            this.comboBox3.Size = new System.Drawing.Size(121, 21);
            this.comboBox3.TabIndex = 62;
            this.comboBox3.SelectedIndexChanged += new System.EventHandler(this.comboBox3_SelectedIndexChanged);
            this.comboBox3.SelectionChangeCommitted += new System.EventHandler(this.comboBox3_SelectionChangeCommitted);
            // 
            // label14
            // 
            this.label14.AutoSize = true;
            this.label14.Location = new System.Drawing.Point(27, 102);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(27, 13);
            this.label14.TabIndex = 60;
            this.label14.Text = "Job:";
            // 
            // label52
            // 
            this.label52.AutoSize = true;
            this.label52.Location = new System.Drawing.Point(6, 34);
            this.label52.Name = "label52";
            this.label52.Size = new System.Drawing.Size(56, 13);
            this.label52.TabIndex = 45;
            this.label52.Text = "Min Level:";
            // 
            // TbMaxLvl
            // 
            this.TbMaxLvl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbMaxLvl.Location = new System.Drawing.Point(211, 32);
            this.TbMaxLvl.Name = "TbMaxLvl";
            this.TbMaxLvl.Size = new System.Drawing.Size(62, 20);
            this.TbMaxLvl.TabIndex = 59;
            this.TbMaxLvl.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox14_KeyPress);
            // 
            // TbMinLvl
            // 
            this.TbMinLvl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbMinLvl.Location = new System.Drawing.Point(66, 32);
            this.TbMinLvl.Name = "TbMinLvl";
            this.TbMinLvl.Size = new System.Drawing.Size(62, 20);
            this.TbMinLvl.TabIndex = 18;
            this.TbMinLvl.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox13_KeyPress);
            // 
            // label54
            // 
            this.label54.AutoSize = true;
            this.label54.Location = new System.Drawing.Point(146, 34);
            this.label54.Name = "label54";
            this.label54.Size = new System.Drawing.Size(59, 13);
            this.label54.TabIndex = 49;
            this.label54.Text = "Max Level:";
            // 
            // label13
            // 
            this.label13.AutoSize = true;
            this.label13.Location = new System.Drawing.Point(27, 69);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(31, 13);
            this.label13.TabIndex = 19;
            this.label13.Text = "EXP:";
            // 
            // comboBox2
            // 
            this.comboBox2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.comboBox2.FormattingEnabled = true;
            this.comboBox2.Location = new System.Drawing.Point(388, 40);
            this.comboBox2.Name = "comboBox2";
            this.comboBox2.Size = new System.Drawing.Size(307, 21);
            this.comboBox2.TabIndex = 84;
            this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
            this.comboBox2.SelectionChangeCommitted += new System.EventHandler(this.comboBox2_SelectionChangeCommitted);
            // 
            // comboBox1
            // 
            this.comboBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.comboBox1.FormattingEnabled = true;
            this.comboBox1.Location = new System.Drawing.Point(388, 10);
            this.comboBox1.Name = "comboBox1";
            this.comboBox1.Size = new System.Drawing.Size(307, 21);
            this.comboBox1.TabIndex = 83;
            this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
            this.comboBox1.SelectionChangeCommitted += new System.EventHandler(this.comboBox1_SelectionChangeCommitted);
            // 
            // groupBox4
            // 
            this.groupBox4.Controls.Add(this.pbIconNeed5);
            this.groupBox4.Controls.Add(this.pbIconNeed4);
            this.groupBox4.Controls.Add(this.pbIconNeed3);
            this.groupBox4.Controls.Add(this.pbIconNeed2);
            this.groupBox4.Controls.Add(this.pbIconNeed1);
            this.groupBox4.Controls.Add(this.PbItemNeed5);
            this.groupBox4.Controls.Add(this.PbItemNeed4);
            this.groupBox4.Controls.Add(this.PbItemNeed3);
            this.groupBox4.Controls.Add(this.PbItemNeed2);
            this.groupBox4.Controls.Add(this.PbItemNeed1);
            this.groupBox4.Controls.Add(this.TbNeedName5);
            this.groupBox4.Controls.Add(this.TbNeedName4);
            this.groupBox4.Controls.Add(this.TbNeedName3);
            this.groupBox4.Controls.Add(this.TbNeedName2);
            this.groupBox4.Controls.Add(this.TbNeedName1);
            this.groupBox4.Controls.Add(this.label4);
            this.groupBox4.Controls.Add(this.tbNeedAmnt5);
            this.groupBox4.Controls.Add(this.tbNeedAmnt4);
            this.groupBox4.Controls.Add(this.tbNeedAmnt1);
            this.groupBox4.Controls.Add(this.TbNeedItm4);
            this.groupBox4.Controls.Add(this.label85);
            this.groupBox4.Controls.Add(this.TbNeedItm2);
            this.groupBox4.Controls.Add(this.label93);
            this.groupBox4.Controls.Add(this.label92);
            this.groupBox4.Controls.Add(this.TbNeedItm1);
            this.groupBox4.Controls.Add(this.TbNeedItm5);
            this.groupBox4.Controls.Add(this.label91);
            this.groupBox4.Controls.Add(this.label18);
            this.groupBox4.Controls.Add(this.tbNeedAmnt3);
            this.groupBox4.Controls.Add(this.label22);
            this.groupBox4.Controls.Add(this.TbNeedItm3);
            this.groupBox4.Controls.Add(this.tbNeedAmnt2);
            this.groupBox4.Controls.Add(this.label15);
            this.groupBox4.Controls.Add(this.label23);
            this.groupBox4.Controls.Add(this.label16);
            this.groupBox4.Location = new System.Drawing.Point(2, 427);
            this.groupBox4.Name = "groupBox4";
            this.groupBox4.Size = new System.Drawing.Size(494, 179);
            this.groupBox4.TabIndex = 77;
            this.groupBox4.TabStop = false;
            this.groupBox4.Text = "Need Items";
            // 
            // pbIconNeed5
            // 
            this.pbIconNeed5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pbIconNeed5.Location = new System.Drawing.Point(119, 154);
            this.pbIconNeed5.Name = "pbIconNeed5";
            this.pbIconNeed5.Size = new System.Drawing.Size(25, 25);
            this.pbIconNeed5.TabIndex = 241;
            this.pbIconNeed5.TabStop = false;
            // 
            // pbIconNeed4
            // 
            this.pbIconNeed4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pbIconNeed4.Location = new System.Drawing.Point(119, 121);
            this.pbIconNeed4.Name = "pbIconNeed4";
            this.pbIconNeed4.Size = new System.Drawing.Size(25, 25);
            this.pbIconNeed4.TabIndex = 240;
            this.pbIconNeed4.TabStop = false;
            // 
            // pbIconNeed3
            // 
            this.pbIconNeed3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pbIconNeed3.Location = new System.Drawing.Point(119, 91);
            this.pbIconNeed3.Name = "pbIconNeed3";
            this.pbIconNeed3.Size = new System.Drawing.Size(25, 25);
            this.pbIconNeed3.TabIndex = 239;
            this.pbIconNeed3.TabStop = false;
            // 
            // pbIconNeed2
            // 
            this.pbIconNeed2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pbIconNeed2.Location = new System.Drawing.Point(119, 63);
            this.pbIconNeed2.Name = "pbIconNeed2";
            this.pbIconNeed2.Size = new System.Drawing.Size(25, 25);
            this.pbIconNeed2.TabIndex = 238;
            this.pbIconNeed2.TabStop = false;
            // 
            // pbIconNeed1
            // 
            this.pbIconNeed1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pbIconNeed1.Location = new System.Drawing.Point(119, 30);
            this.pbIconNeed1.Name = "pbIconNeed1";
            this.pbIconNeed1.Size = new System.Drawing.Size(25, 25);
            this.pbIconNeed1.TabIndex = 237;
            this.pbIconNeed1.TabStop = false;
            // 
            // PbItemNeed5
            // 
            this.PbItemNeed5.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbItemNeed5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbItemNeed5.Location = new System.Drawing.Point(341, 154);
            this.PbItemNeed5.Name = "PbItemNeed5";
            this.PbItemNeed5.Size = new System.Drawing.Size(22, 22);
            this.PbItemNeed5.TabIndex = 115;
            this.PbItemNeed5.TabStop = false;
            this.PbItemNeed5.Click += new System.EventHandler(this.PbItemNeed5_Click);
            // 
            // PbItemNeed4
            // 
            this.PbItemNeed4.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbItemNeed4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbItemNeed4.Location = new System.Drawing.Point(340, 126);
            this.PbItemNeed4.Name = "PbItemNeed4";
            this.PbItemNeed4.Size = new System.Drawing.Size(22, 22);
            this.PbItemNeed4.TabIndex = 114;
            this.PbItemNeed4.TabStop = false;
            this.PbItemNeed4.Click += new System.EventHandler(this.PbItemNeed4_Click);
            // 
            // PbItemNeed3
            // 
            this.PbItemNeed3.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbItemNeed3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbItemNeed3.Location = new System.Drawing.Point(341, 96);
            this.PbItemNeed3.Name = "PbItemNeed3";
            this.PbItemNeed3.Size = new System.Drawing.Size(22, 22);
            this.PbItemNeed3.TabIndex = 113;
            this.PbItemNeed3.TabStop = false;
            this.PbItemNeed3.Click += new System.EventHandler(this.PbItemNeed3_Click);
            // 
            // PbItemNeed2
            // 
            this.PbItemNeed2.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbItemNeed2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbItemNeed2.Location = new System.Drawing.Point(340, 65);
            this.PbItemNeed2.Name = "PbItemNeed2";
            this.PbItemNeed2.Size = new System.Drawing.Size(22, 22);
            this.PbItemNeed2.TabIndex = 112;
            this.PbItemNeed2.TabStop = false;
            this.PbItemNeed2.Click += new System.EventHandler(this.PbItemNeed2_Click);
            // 
            // PbItemNeed1
            // 
            this.PbItemNeed1.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbItemNeed1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbItemNeed1.Location = new System.Drawing.Point(340, 35);
            this.PbItemNeed1.Name = "PbItemNeed1";
            this.PbItemNeed1.Size = new System.Drawing.Size(22, 22);
            this.PbItemNeed1.TabIndex = 111;
            this.PbItemNeed1.TabStop = false;
            this.PbItemNeed1.Click += new System.EventHandler(this.PbItemNeed1_Click);
            // 
            // TbNeedName5
            // 
            this.TbNeedName5.BackColor = System.Drawing.SystemColors.Menu;
            this.TbNeedName5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbNeedName5.ForeColor = System.Drawing.Color.RoyalBlue;
            this.TbNeedName5.Location = new System.Drawing.Point(151, 156);
            this.TbNeedName5.Name = "TbNeedName5";
            this.TbNeedName5.ReadOnly = true;
            this.TbNeedName5.Size = new System.Drawing.Size(185, 20);
            this.TbNeedName5.TabIndex = 91;
            // 
            // TbNeedName4
            // 
            this.TbNeedName4.BackColor = System.Drawing.SystemColors.Menu;
            this.TbNeedName4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbNeedName4.ForeColor = System.Drawing.Color.RoyalBlue;
            this.TbNeedName4.Location = new System.Drawing.Point(150, 126);
            this.TbNeedName4.Name = "TbNeedName4";
            this.TbNeedName4.ReadOnly = true;
            this.TbNeedName4.Size = new System.Drawing.Size(185, 20);
            this.TbNeedName4.TabIndex = 90;
            // 
            // TbNeedName3
            // 
            this.TbNeedName3.BackColor = System.Drawing.SystemColors.Menu;
            this.TbNeedName3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbNeedName3.ForeColor = System.Drawing.Color.RoyalBlue;
            this.TbNeedName3.Location = new System.Drawing.Point(150, 96);
            this.TbNeedName3.Name = "TbNeedName3";
            this.TbNeedName3.ReadOnly = true;
            this.TbNeedName3.Size = new System.Drawing.Size(185, 20);
            this.TbNeedName3.TabIndex = 89;
            // 
            // TbNeedName2
            // 
            this.TbNeedName2.BackColor = System.Drawing.SystemColors.Menu;
            this.TbNeedName2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbNeedName2.ForeColor = System.Drawing.Color.RoyalBlue;
            this.TbNeedName2.Location = new System.Drawing.Point(150, 65);
            this.TbNeedName2.Name = "TbNeedName2";
            this.TbNeedName2.ReadOnly = true;
            this.TbNeedName2.Size = new System.Drawing.Size(185, 20);
            this.TbNeedName2.TabIndex = 88;
            // 
            // TbNeedName1
            // 
            this.TbNeedName1.BackColor = System.Drawing.SystemColors.Menu;
            this.TbNeedName1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbNeedName1.ForeColor = System.Drawing.Color.RoyalBlue;
            this.TbNeedName1.Location = new System.Drawing.Point(151, 35);
            this.TbNeedName1.Name = "TbNeedName1";
            this.TbNeedName1.ReadOnly = true;
            this.TbNeedName1.Size = new System.Drawing.Size(183, 20);
            this.TbNeedName1.TabIndex = 87;
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(369, 156);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(75, 13);
            this.label4.TabIndex = 76;
            this.label4.Text = "Item Amount4:";
            // 
            // tbNeedAmnt5
            // 
            this.tbNeedAmnt5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.tbNeedAmnt5.Location = new System.Drawing.Point(451, 156);
            this.tbNeedAmnt5.Name = "tbNeedAmnt5";
            this.tbNeedAmnt5.Size = new System.Drawing.Size(36, 20);
            this.tbNeedAmnt5.TabIndex = 80;
            this.tbNeedAmnt5.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox25_KeyPress);
            // 
            // tbNeedAmnt4
            // 
            this.tbNeedAmnt4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.tbNeedAmnt4.Location = new System.Drawing.Point(451, 124);
            this.tbNeedAmnt4.Name = "tbNeedAmnt4";
            this.tbNeedAmnt4.Size = new System.Drawing.Size(36, 20);
            this.tbNeedAmnt4.TabIndex = 75;
            this.tbNeedAmnt4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox24_KeyPress);
            // 
            // tbNeedAmnt1
            // 
            this.tbNeedAmnt1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.tbNeedAmnt1.Location = new System.Drawing.Point(451, 34);
            this.tbNeedAmnt1.Name = "tbNeedAmnt1";
            this.tbNeedAmnt1.Size = new System.Drawing.Size(36, 20);
            this.tbNeedAmnt1.TabIndex = 72;
            this.tbNeedAmnt1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox21_KeyPress);
            // 
            // TbNeedItm4
            // 
            this.TbNeedItm4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbNeedItm4.Location = new System.Drawing.Point(51, 122);
            this.TbNeedItm4.Name = "TbNeedItm4";
            this.TbNeedItm4.Size = new System.Drawing.Size(62, 20);
            this.TbNeedItm4.TabIndex = 68;
            this.TbNeedItm4.TextChanged += new System.EventHandler(this.TextBox19_TextChanged);
            this.TbNeedItm4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox19_KeyPress);
            // 
            // label85
            // 
            this.label85.AutoSize = true;
            this.label85.Location = new System.Drawing.Point(369, 39);
            this.label85.Name = "label85";
            this.label85.Size = new System.Drawing.Size(75, 13);
            this.label85.TabIndex = 73;
            this.label85.Text = "Item Amount0:";
            // 
            // TbNeedItm2
            // 
            this.TbNeedItm2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbNeedItm2.Location = new System.Drawing.Point(51, 62);
            this.TbNeedItm2.Name = "TbNeedItm2";
            this.TbNeedItm2.Size = new System.Drawing.Size(62, 20);
            this.TbNeedItm2.TabIndex = 65;
            this.TbNeedItm2.TextChanged += new System.EventHandler(this.TextBox17_TextChanged);
            this.TbNeedItm2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox17_KeyPress);
            // 
            // label93
            // 
            this.label93.AutoSize = true;
            this.label93.Location = new System.Drawing.Point(369, 68);
            this.label93.Name = "label93";
            this.label93.Size = new System.Drawing.Size(75, 13);
            this.label93.TabIndex = 74;
            this.label93.Text = "Item Amount1:";
            // 
            // label92
            // 
            this.label92.AutoSize = true;
            this.label92.Location = new System.Drawing.Point(3, 126);
            this.label92.Name = "label92";
            this.label92.Size = new System.Drawing.Size(44, 13);
            this.label92.TabIndex = 70;
            this.label92.Text = "Item ID:";
            // 
            // TbNeedItm1
            // 
            this.TbNeedItm1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbNeedItm1.Location = new System.Drawing.Point(51, 32);
            this.TbNeedItm1.Name = "TbNeedItm1";
            this.TbNeedItm1.Size = new System.Drawing.Size(62, 20);
            this.TbNeedItm1.TabIndex = 63;
            this.TbNeedItm1.TextChanged += new System.EventHandler(this.TextBox16_TextChanged);
            this.TbNeedItm1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox16_KeyPress);
            // 
            // TbNeedItm5
            // 
            this.TbNeedItm5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbNeedItm5.Location = new System.Drawing.Point(51, 154);
            this.TbNeedItm5.Name = "TbNeedItm5";
            this.TbNeedItm5.Size = new System.Drawing.Size(62, 20);
            this.TbNeedItm5.TabIndex = 71;
            this.TbNeedItm5.TextChanged += new System.EventHandler(this.TextBox20_TextChanged);
            this.TbNeedItm5.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox20_KeyPress);
            // 
            // label91
            // 
            this.label91.AutoSize = true;
            this.label91.Location = new System.Drawing.Point(3, 66);
            this.label91.Name = "label91";
            this.label91.Size = new System.Drawing.Size(44, 13);
            this.label91.TabIndex = 69;
            this.label91.Text = "Item ID:";
            // 
            // label18
            // 
            this.label18.AutoSize = true;
            this.label18.Location = new System.Drawing.Point(3, 154);
            this.label18.Name = "label18";
            this.label18.Size = new System.Drawing.Size(44, 13);
            this.label18.TabIndex = 67;
            this.label18.Text = "Item ID:";
            // 
            // tbNeedAmnt3
            // 
            this.tbNeedAmnt3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.tbNeedAmnt3.Location = new System.Drawing.Point(451, 94);
            this.tbNeedAmnt3.Name = "tbNeedAmnt3";
            this.tbNeedAmnt3.Size = new System.Drawing.Size(36, 20);
            this.tbNeedAmnt3.TabIndex = 40;
            this.tbNeedAmnt3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox23_KeyPress);
            // 
            // label22
            // 
            this.label22.AutoSize = true;
            this.label22.Location = new System.Drawing.Point(369, 98);
            this.label22.Name = "label22";
            this.label22.Size = new System.Drawing.Size(75, 13);
            this.label22.TabIndex = 39;
            this.label22.Text = "Item Amount2:";
            // 
            // TbNeedItm3
            // 
            this.TbNeedItm3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbNeedItm3.Location = new System.Drawing.Point(51, 92);
            this.TbNeedItm3.Name = "TbNeedItm3";
            this.TbNeedItm3.Size = new System.Drawing.Size(62, 20);
            this.TbNeedItm3.TabIndex = 66;
            this.TbNeedItm3.TextChanged += new System.EventHandler(this.TextBox18_TextChanged);
            this.TbNeedItm3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox18_KeyPress);
            // 
            // tbNeedAmnt2
            // 
            this.tbNeedAmnt2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.tbNeedAmnt2.Location = new System.Drawing.Point(451, 64);
            this.tbNeedAmnt2.Name = "tbNeedAmnt2";
            this.tbNeedAmnt2.Size = new System.Drawing.Size(36, 20);
            this.tbNeedAmnt2.TabIndex = 38;
            this.tbNeedAmnt2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox22_KeyPress);
            // 
            // label15
            // 
            this.label15.AutoSize = true;
            this.label15.Location = new System.Drawing.Point(3, 37);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(44, 13);
            this.label15.TabIndex = 62;
            this.label15.Text = "Item ID:";
            // 
            // label23
            // 
            this.label23.AutoSize = true;
            this.label23.Location = new System.Drawing.Point(369, 128);
            this.label23.Name = "label23";
            this.label23.Size = new System.Drawing.Size(75, 13);
            this.label23.TabIndex = 41;
            this.label23.Text = "Item Amount3:";
            // 
            // label16
            // 
            this.label16.AutoSize = true;
            this.label16.Location = new System.Drawing.Point(3, 96);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(44, 13);
            this.label16.TabIndex = 64;
            this.label16.Text = "Item ID:";
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.cbEnabled);
            this.groupBox1.Controls.Add(this.label112);
            this.groupBox1.Controls.Add(this.label111);
            this.groupBox1.Controls.Add(this.label110);
            this.groupBox1.Controls.Add(this.RtbCondDescr);
            this.groupBox1.Controls.Add(this.RtbRewardDescr);
            this.groupBox1.Controls.Add(this.RtbStartDescr);
            this.groupBox1.Controls.Add(this.label104);
            this.groupBox1.Controls.Add(this.label96);
            this.groupBox1.Controls.Add(this.label95);
            this.groupBox1.Controls.Add(this.TbQuestName);
            this.groupBox1.Controls.Add(this.label6);
            this.groupBox1.Controls.Add(this.label5);
            this.groupBox1.Controls.Add(this.TbIndex);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Controls.Add(this.TbEnable);
            this.groupBox1.Location = new System.Drawing.Point(4, 2);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(328, 415);
            this.groupBox1.TabIndex = 54;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Basic";
            // 
            // cbEnabled
            // 
            this.cbEnabled.AutoSize = true;
            this.cbEnabled.BackColor = System.Drawing.Color.Chartreuse;
            this.cbEnabled.Location = new System.Drawing.Point(102, 18);
            this.cbEnabled.Name = "cbEnabled";
            this.cbEnabled.Size = new System.Drawing.Size(65, 17);
            this.cbEnabled.TabIndex = 84;
            this.cbEnabled.Text = "Enabled";
            this.cbEnabled.UseVisualStyleBackColor = false;
            this.cbEnabled.CheckedChanged += new System.EventHandler(this.cbEnabled_CheckedChanged);
            // 
            // label112
            // 
            this.label112.AutoSize = true;
            this.label112.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label112.Location = new System.Drawing.Point(7, 340);
            this.label112.Name = "label112";
            this.label112.Size = new System.Drawing.Size(48, 16);
            this.label112.TabIndex = 83;
            this.label112.Text = "Desc:";
            // 
            // label111
            // 
            this.label111.AutoSize = true;
            this.label111.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label111.Location = new System.Drawing.Point(7, 124);
            this.label111.Name = "label111";
            this.label111.Size = new System.Drawing.Size(48, 16);
            this.label111.TabIndex = 82;
            this.label111.Text = "Desc:";
            // 
            // label110
            // 
            this.label110.AutoSize = true;
            this.label110.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label110.Location = new System.Drawing.Point(3, 230);
            this.label110.Name = "label110";
            this.label110.Size = new System.Drawing.Size(48, 16);
            this.label110.TabIndex = 81;
            this.label110.Text = "Desc:";
            // 
            // RtbCondDescr
            // 
            this.RtbCondDescr.Location = new System.Drawing.Point(58, 297);
            this.RtbCondDescr.Name = "RtbCondDescr";
            this.RtbCondDescr.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedVertical;
            this.RtbCondDescr.Size = new System.Drawing.Size(264, 101);
            this.RtbCondDescr.TabIndex = 80;
            this.RtbCondDescr.Text = "";
            this.RtbCondDescr.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.richTextBox3_KeyPress);
            // 
            // RtbRewardDescr
            // 
            this.RtbRewardDescr.Location = new System.Drawing.Point(58, 190);
            this.RtbRewardDescr.Name = "RtbRewardDescr";
            this.RtbRewardDescr.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedVertical;
            this.RtbRewardDescr.Size = new System.Drawing.Size(264, 101);
            this.RtbRewardDescr.TabIndex = 79;
            this.RtbRewardDescr.Text = "";
            this.RtbRewardDescr.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.richTextBox2_KeyPress);
            // 
            // RtbStartDescr
            // 
            this.RtbStartDescr.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.RtbStartDescr.DetectUrls = false;
            this.RtbStartDescr.Location = new System.Drawing.Point(58, 83);
            this.RtbStartDescr.Name = "RtbStartDescr";
            this.RtbStartDescr.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedVertical;
            this.RtbStartDescr.Size = new System.Drawing.Size(264, 101);
            this.RtbStartDescr.TabIndex = 78;
            this.RtbStartDescr.Text = "";
            this.RtbStartDescr.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.richTextBox1_KeyPress);
            // 
            // label104
            // 
            this.label104.AutoSize = true;
            this.label104.Location = new System.Drawing.Point(11, 18);
            this.label104.Name = "label104";
            this.label104.Size = new System.Drawing.Size(43, 13);
            this.label104.TabIndex = 42;
            this.label104.Text = "Enable:";
            // 
            // label96
            // 
            this.label96.AutoSize = true;
            this.label96.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label96.Location = new System.Drawing.Point(5, 314);
            this.label96.Name = "label96";
            this.label96.Size = new System.Drawing.Size(48, 16);
            this.label96.TabIndex = 41;
            this.label96.Text = "Cond:";
            // 
            // label95
            // 
            this.label95.AutoSize = true;
            this.label95.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label95.Location = new System.Drawing.Point(-3, 207);
            this.label95.Name = "label95";
            this.label95.Size = new System.Drawing.Size(65, 16);
            this.label95.TabIndex = 40;
            this.label95.Text = "Reward:";
            // 
            // TbQuestName
            // 
            this.TbQuestName.BackColor = System.Drawing.Color.White;
            this.TbQuestName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbQuestName.Location = new System.Drawing.Point(58, 48);
            this.TbQuestName.Name = "TbQuestName";
            this.TbQuestName.Size = new System.Drawing.Size(253, 20);
            this.TbQuestName.TabIndex = 2;
            this.TbQuestName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox2_KeyDown);
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label6.Location = new System.Drawing.Point(6, 102);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(44, 16);
            this.label6.TabIndex = 12;
            this.label6.Text = "Start:";
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(11, 50);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(38, 13);
            this.label5.TabIndex = 11;
            this.label5.Text = "Name:";
            // 
            // TbIndex
            // 
            this.TbIndex.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbIndex.Location = new System.Drawing.Point(260, 19);
            this.TbIndex.Name = "TbIndex";
            this.TbIndex.ReadOnly = true;
            this.TbIndex.Size = new System.Drawing.Size(51, 20);
            this.TbIndex.TabIndex = 1;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(213, 21);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(36, 13);
            this.label1.TabIndex = 7;
            this.label1.Text = "Index:";
            // 
            // TbEnable
            // 
            this.TbEnable.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbEnable.Location = new System.Drawing.Point(60, 16);
            this.TbEnable.Name = "TbEnable";
            this.TbEnable.Size = new System.Drawing.Size(35, 20);
            this.TbEnable.TabIndex = 4;
            this.TbEnable.TextChanged += new System.EventHandler(this.textBox5_TextChanged);
            this.TbEnable.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox5_KeyPress);
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(342, 43);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(40, 13);
            this.label3.TabIndex = 9;
            this.label3.Text = "Type2:";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(342, 13);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(40, 13);
            this.label2.TabIndex = 8;
            this.label2.Text = "Type1:";
            // 
            // tabPage3
            // 
            this.tabPage3.Controls.Add(this.tabControl2);
            this.tabPage3.Location = new System.Drawing.Point(4, 22);
            this.tabPage3.Name = "tabPage3";
            this.tabPage3.Size = new System.Drawing.Size(765, 610);
            this.tabPage3.TabIndex = 2;
            this.tabPage3.Text = "Objectives";
            // 
            // tabControl2
            // 
            this.tabControl2.Appearance = System.Windows.Forms.TabAppearance.Buttons;
            this.tabControl2.Controls.Add(this.tabPage2);
            this.tabControl2.Controls.Add(this.tabPage4);
            this.tabControl2.Controls.Add(this.tabPage5);
            this.tabControl2.Location = new System.Drawing.Point(3, 3);
            this.tabControl2.Name = "tabControl2";
            this.tabControl2.SelectedIndex = 0;
            this.tabControl2.Size = new System.Drawing.Size(742, 362);
            this.tabControl2.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
            this.tabControl2.TabIndex = 47;
            // 
            // tabPage2
            // 
            this.tabPage2.Controls.Add(this.pbObj1);
            this.tabPage2.Controls.Add(this.TbObj1Name0);
            this.tabPage2.Controls.Add(this.PbCond1);
            this.tabPage2.Controls.Add(this.TbObj1Type);
            this.tabPage2.Controls.Add(this.GbNpcQuestItm);
            this.tabPage2.Controls.Add(this.comboBox6);
            this.tabPage2.Controls.Add(this.label17);
            this.tabPage2.Controls.Add(this.TbObj1Id);
            this.tabPage2.Controls.Add(this.label25);
            this.tabPage2.Controls.Add(this.TbObjcAmount1);
            this.tabPage2.Controls.Add(this.label28);
            this.tabPage2.Location = new System.Drawing.Point(4, 25);
            this.tabPage2.Name = "tabPage2";
            this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage2.Size = new System.Drawing.Size(734, 333);
            this.tabPage2.TabIndex = 0;
            this.tabPage2.Text = "Objective 1";
            this.tabPage2.UseVisualStyleBackColor = true;
            // 
            // TbObj1Name0
            // 
            this.TbObj1Name0.BackColor = System.Drawing.SystemColors.Menu;
            this.TbObj1Name0.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj1Name0.Location = new System.Drawing.Point(190, 48);
            this.TbObj1Name0.Name = "TbObj1Name0";
            this.TbObj1Name0.ReadOnly = true;
            this.TbObj1Name0.Size = new System.Drawing.Size(195, 20);
            this.TbObj1Name0.TabIndex = 87;
            // 
            // PbCond1
            // 
            this.PbCond1.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbCond1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbCond1.Location = new System.Drawing.Point(388, 47);
            this.PbCond1.Name = "PbCond1";
            this.PbCond1.Size = new System.Drawing.Size(22, 22);
            this.PbCond1.TabIndex = 78;
            this.PbCond1.TabStop = false;
            this.PbCond1.Click += new System.EventHandler(this.PbCond1_Click);
            // 
            // TbObj1Type
            // 
            this.TbObj1Type.Location = new System.Drawing.Point(178, 13);
            this.TbObj1Type.Name = "TbObj1Type";
            this.TbObj1Type.Size = new System.Drawing.Size(62, 20);
            this.TbObj1Type.TabIndex = 38;
            this.TbObj1Type.Visible = false;
            this.TbObj1Type.TextChanged += new System.EventHandler(this.TbObj1Type_TextChanged);
            // 
            // GbNpcQuestItm
            // 
            this.GbNpcQuestItm.Controls.Add(this.lblPercent);
            this.GbNpcQuestItm.Controls.Add(this.TbObj1Name3);
            this.GbNpcQuestItm.Controls.Add(this.PbObj1NpcID3);
            this.GbNpcQuestItm.Controls.Add(this.TbObj1Name2);
            this.GbNpcQuestItm.Controls.Add(this.PbObj1NpcID2);
            this.GbNpcQuestItm.Controls.Add(this.TbObj1Name1);
            this.GbNpcQuestItm.Controls.Add(this.PbObj1NpcID1);
            this.GbNpcQuestItm.Controls.Add(this.label116);
            this.GbNpcQuestItm.Controls.Add(this.label31);
            this.GbNpcQuestItm.Controls.Add(this.label29);
            this.GbNpcQuestItm.Controls.Add(this.label30);
            this.GbNpcQuestItm.Controls.Add(this.TbObj1Npc1);
            this.GbNpcQuestItm.Controls.Add(this.TbObj1Npc2);
            this.GbNpcQuestItm.Controls.Add(this.TbObj1Npc3);
            this.GbNpcQuestItm.Controls.Add(this.TbObj1Ptg);
            this.GbNpcQuestItm.Controls.Add(this.label34);
            this.GbNpcQuestItm.Location = new System.Drawing.Point(9, 87);
            this.GbNpcQuestItm.Name = "GbNpcQuestItm";
            this.GbNpcQuestItm.Size = new System.Drawing.Size(719, 158);
            this.GbNpcQuestItm.TabIndex = 37;
            this.GbNpcQuestItm.TabStop = false;
            this.GbNpcQuestItm.Text = "NPC Quest Item";
            // 
            // lblPercent
            // 
            this.lblPercent.AutoSize = true;
            this.lblPercent.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblPercent.Location = new System.Drawing.Point(205, 117);
            this.lblPercent.Name = "lblPercent";
            this.lblPercent.Size = new System.Drawing.Size(0, 16);
            this.lblPercent.TabIndex = 110;
            // 
            // TbObj1Name3
            // 
            this.TbObj1Name3.BackColor = System.Drawing.SystemColors.Menu;
            this.TbObj1Name3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj1Name3.ForeColor = System.Drawing.Color.Red;
            this.TbObj1Name3.Location = new System.Drawing.Point(172, 82);
            this.TbObj1Name3.Name = "TbObj1Name3";
            this.TbObj1Name3.ReadOnly = true;
            this.TbObj1Name3.Size = new System.Drawing.Size(195, 20);
            this.TbObj1Name3.TabIndex = 109;
            // 
            // PbObj1NpcID3
            // 
            this.PbObj1NpcID3.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbObj1NpcID3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbObj1NpcID3.Location = new System.Drawing.Point(370, 82);
            this.PbObj1NpcID3.Name = "PbObj1NpcID3";
            this.PbObj1NpcID3.Size = new System.Drawing.Size(22, 22);
            this.PbObj1NpcID3.TabIndex = 108;
            this.PbObj1NpcID3.TabStop = false;
            this.PbObj1NpcID3.Click += new System.EventHandler(this.PbObj1NpcID3_Click);
            // 
            // TbObj1Name2
            // 
            this.TbObj1Name2.BackColor = System.Drawing.SystemColors.Menu;
            this.TbObj1Name2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj1Name2.ForeColor = System.Drawing.Color.Red;
            this.TbObj1Name2.Location = new System.Drawing.Point(172, 56);
            this.TbObj1Name2.Name = "TbObj1Name2";
            this.TbObj1Name2.ReadOnly = true;
            this.TbObj1Name2.Size = new System.Drawing.Size(195, 20);
            this.TbObj1Name2.TabIndex = 107;
            // 
            // PbObj1NpcID2
            // 
            this.PbObj1NpcID2.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbObj1NpcID2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbObj1NpcID2.Location = new System.Drawing.Point(370, 56);
            this.PbObj1NpcID2.Name = "PbObj1NpcID2";
            this.PbObj1NpcID2.Size = new System.Drawing.Size(22, 22);
            this.PbObj1NpcID2.TabIndex = 106;
            this.PbObj1NpcID2.TabStop = false;
            this.PbObj1NpcID2.Click += new System.EventHandler(this.PbObj1NpcID2_Click);
            // 
            // TbObj1Name1
            // 
            this.TbObj1Name1.BackColor = System.Drawing.SystemColors.Menu;
            this.TbObj1Name1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj1Name1.ForeColor = System.Drawing.Color.Red;
            this.TbObj1Name1.Location = new System.Drawing.Point(172, 30);
            this.TbObj1Name1.Name = "TbObj1Name1";
            this.TbObj1Name1.ReadOnly = true;
            this.TbObj1Name1.Size = new System.Drawing.Size(195, 20);
            this.TbObj1Name1.TabIndex = 105;
            // 
            // PbObj1NpcID1
            // 
            this.PbObj1NpcID1.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbObj1NpcID1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbObj1NpcID1.Location = new System.Drawing.Point(370, 30);
            this.PbObj1NpcID1.Name = "PbObj1NpcID1";
            this.PbObj1NpcID1.Size = new System.Drawing.Size(22, 22);
            this.PbObj1NpcID1.TabIndex = 104;
            this.PbObj1NpcID1.TabStop = false;
            this.PbObj1NpcID1.Click += new System.EventHandler(this.PbObj1NpcID1_Click);
            // 
            // label116
            // 
            this.label116.AutoSize = true;
            this.label116.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label116.Location = new System.Drawing.Point(286, 116);
            this.label116.Name = "label116";
            this.label116.Size = new System.Drawing.Size(105, 16);
            this.label116.TabIndex = 103;
            this.label116.Text = "10,000 = 100%";
            // 
            // label31
            // 
            this.label31.AutoSize = true;
            this.label31.Location = new System.Drawing.Point(14, 34);
            this.label31.Name = "label31";
            this.label31.Size = new System.Drawing.Size(46, 13);
            this.label31.TabIndex = 22;
            this.label31.Text = "NPC ID:";
            // 
            // label29
            // 
            this.label29.AutoSize = true;
            this.label29.Location = new System.Drawing.Point(14, 85);
            this.label29.Name = "label29";
            this.label29.Size = new System.Drawing.Size(46, 13);
            this.label29.TabIndex = 24;
            this.label29.Text = "NPC ID:";
            // 
            // label30
            // 
            this.label30.AutoSize = true;
            this.label30.Location = new System.Drawing.Point(14, 60);
            this.label30.Name = "label30";
            this.label30.Size = new System.Drawing.Size(46, 13);
            this.label30.TabIndex = 23;
            this.label30.Text = "NPC ID:";
            // 
            // TbObj1Npc1
            // 
            this.TbObj1Npc1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj1Npc1.Location = new System.Drawing.Point(66, 30);
            this.TbObj1Npc1.Name = "TbObj1Npc1";
            this.TbObj1Npc1.Size = new System.Drawing.Size(100, 20);
            this.TbObj1Npc1.TabIndex = 20;
            this.TbObj1Npc1.TextChanged += new System.EventHandler(this.TbObj1Npc1_TextChanged);
            this.TbObj1Npc1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox37_KeyPress);
            // 
            // TbObj1Npc2
            // 
            this.TbObj1Npc2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj1Npc2.Location = new System.Drawing.Point(66, 56);
            this.TbObj1Npc2.Name = "TbObj1Npc2";
            this.TbObj1Npc2.Size = new System.Drawing.Size(100, 20);
            this.TbObj1Npc2.TabIndex = 19;
            this.TbObj1Npc2.TextChanged += new System.EventHandler(this.TbObj1Npc2_TextChanged);
            this.TbObj1Npc2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox38_KeyPress);
            // 
            // TbObj1Npc3
            // 
            this.TbObj1Npc3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj1Npc3.Location = new System.Drawing.Point(66, 81);
            this.TbObj1Npc3.Name = "TbObj1Npc3";
            this.TbObj1Npc3.Size = new System.Drawing.Size(100, 20);
            this.TbObj1Npc3.TabIndex = 36;
            this.TbObj1Npc3.TextChanged += new System.EventHandler(this.TbObj1Npc3_TextChanged);
            this.TbObj1Npc3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox39_KeyPress);
            // 
            // TbObj1Ptg
            // 
            this.TbObj1Ptg.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj1Ptg.Location = new System.Drawing.Point(99, 114);
            this.TbObj1Ptg.Name = "TbObj1Ptg";
            this.TbObj1Ptg.Size = new System.Drawing.Size(100, 20);
            this.TbObj1Ptg.TabIndex = 32;
            this.TbObj1Ptg.TextChanged += new System.EventHandler(this.TbObj1Ptg_TextChanged);
            this.TbObj1Ptg.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox40_KeyPress);
            // 
            // label34
            // 
            this.label34.AutoSize = true;
            this.label34.Location = new System.Drawing.Point(14, 117);
            this.label34.Name = "label34";
            this.label34.Size = new System.Drawing.Size(79, 13);
            this.label34.TabIndex = 29;
            this.label34.Text = "Percent to Get:";
            // 
            // comboBox6
            // 
            this.comboBox6.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.comboBox6.FormattingEnabled = true;
            this.comboBox6.Location = new System.Drawing.Point(46, 12);
            this.comboBox6.Name = "comboBox6";
            this.comboBox6.Size = new System.Drawing.Size(121, 21);
            this.comboBox6.TabIndex = 4;
            this.comboBox6.SelectedIndexChanged += new System.EventHandler(this.comboBox6_SelectedIndexChanged);
            this.comboBox6.SelectionChangeCommitted += new System.EventHandler(this.comboBox6_SelectionChangeCommitted);
            // 
            // label17
            // 
            this.label17.AutoSize = true;
            this.label17.Location = new System.Drawing.Point(6, 15);
            this.label17.Name = "label17";
            this.label17.Size = new System.Drawing.Size(34, 13);
            this.label17.TabIndex = 3;
            this.label17.Text = "Type:";
            // 
            // TbObj1Id
            // 
            this.TbObj1Id.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj1Id.Location = new System.Drawing.Point(56, 47);
            this.TbObj1Id.Name = "TbObj1Id";
            this.TbObj1Id.Size = new System.Drawing.Size(100, 20);
            this.TbObj1Id.TabIndex = 8;
            this.TbObj1Id.TextChanged += new System.EventHandler(this.TbObj1Id_TextChanged);
            this.TbObj1Id.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox31_KeyPress);
            // 
            // label25
            // 
            this.label25.AutoSize = true;
            this.label25.Location = new System.Drawing.Point(6, 50);
            this.label25.Name = "label25";
            this.label25.Size = new System.Drawing.Size(44, 13);
            this.label25.TabIndex = 10;
            this.label25.Text = "Item ID:";
            // 
            // TbObjcAmount1
            // 
            this.TbObjcAmount1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObjcAmount1.Location = new System.Drawing.Point(462, 49);
            this.TbObjcAmount1.Name = "TbObjcAmount1";
            this.TbObjcAmount1.Size = new System.Drawing.Size(100, 20);
            this.TbObjcAmount1.TabIndex = 14;
            this.TbObjcAmount1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox34_KeyPress);
            // 
            // label28
            // 
            this.label28.AutoSize = true;
            this.label28.Location = new System.Drawing.Point(416, 52);
            this.label28.Name = "label28";
            this.label28.Size = new System.Drawing.Size(46, 13);
            this.label28.TabIndex = 16;
            this.label28.Text = "Amount:";
            // 
            // tabPage4
            // 
            this.tabPage4.Controls.Add(this.pbObj2);
            this.tabPage4.Controls.Add(this.TbObj2Name0);
            this.tabPage4.Controls.Add(this.PbCond2);
            this.tabPage4.Controls.Add(this.TbObj2Type);
            this.tabPage4.Controls.Add(this.groupBox12);
            this.tabPage4.Controls.Add(this.comboBox7);
            this.tabPage4.Controls.Add(this.label19);
            this.tabPage4.Controls.Add(this.TbObj2Id);
            this.tabPage4.Controls.Add(this.label27);
            this.tabPage4.Controls.Add(this.label24);
            this.tabPage4.Controls.Add(this.TbObjcAmount2);
            this.tabPage4.Location = new System.Drawing.Point(4, 25);
            this.tabPage4.Name = "tabPage4";
            this.tabPage4.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage4.Size = new System.Drawing.Size(734, 333);
            this.tabPage4.TabIndex = 1;
            this.tabPage4.Text = "Objective 2";
            this.tabPage4.UseVisualStyleBackColor = true;
            // 
            // TbObj2Name0
            // 
            this.TbObj2Name0.BackColor = System.Drawing.SystemColors.Menu;
            this.TbObj2Name0.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj2Name0.Location = new System.Drawing.Point(190, 48);
            this.TbObj2Name0.Name = "TbObj2Name0";
            this.TbObj2Name0.ReadOnly = true;
            this.TbObj2Name0.Size = new System.Drawing.Size(195, 20);
            this.TbObj2Name0.TabIndex = 88;
            // 
            // PbCond2
            // 
            this.PbCond2.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbCond2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbCond2.Location = new System.Drawing.Point(388, 47);
            this.PbCond2.Name = "PbCond2";
            this.PbCond2.Size = new System.Drawing.Size(22, 22);
            this.PbCond2.TabIndex = 78;
            this.PbCond2.TabStop = false;
            this.PbCond2.Click += new System.EventHandler(this.PbCond2_Click);
            // 
            // TbObj2Type
            // 
            this.TbObj2Type.Location = new System.Drawing.Point(178, 13);
            this.TbObj2Type.Name = "TbObj2Type";
            this.TbObj2Type.Size = new System.Drawing.Size(62, 20);
            this.TbObj2Type.TabIndex = 45;
            this.TbObj2Type.Visible = false;
            this.TbObj2Type.TextChanged += new System.EventHandler(this.TbObj2Type_TextChanged);
            // 
            // groupBox12
            // 
            this.groupBox12.Controls.Add(this.lblPercent2);
            this.groupBox12.Controls.Add(this.TbObj2Name3);
            this.groupBox12.Controls.Add(this.PbObj2NpcID3);
            this.groupBox12.Controls.Add(this.TbObj2Name2);
            this.groupBox12.Controls.Add(this.PbObj2NpcID2);
            this.groupBox12.Controls.Add(this.TbObj2Name1);
            this.groupBox12.Controls.Add(this.PbObj2NpcID1);
            this.groupBox12.Controls.Add(this.label115);
            this.groupBox12.Controls.Add(this.label36);
            this.groupBox12.Controls.Add(this.label35);
            this.groupBox12.Controls.Add(this.label32);
            this.groupBox12.Controls.Add(this.TbObj2Ptg);
            this.groupBox12.Controls.Add(this.label33);
            this.groupBox12.Controls.Add(this.TbObj2Npc1);
            this.groupBox12.Controls.Add(this.TbObj2Npc2);
            this.groupBox12.Controls.Add(this.TbObj2Npc3);
            this.groupBox12.Location = new System.Drawing.Point(9, 87);
            this.groupBox12.Name = "groupBox12";
            this.groupBox12.Size = new System.Drawing.Size(719, 158);
            this.groupBox12.TabIndex = 18;
            this.groupBox12.TabStop = false;
            this.groupBox12.Text = "NPC Quest Item";
            // 
            // lblPercent2
            // 
            this.lblPercent2.AutoSize = true;
            this.lblPercent2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblPercent2.Location = new System.Drawing.Point(205, 117);
            this.lblPercent2.Name = "lblPercent2";
            this.lblPercent2.Size = new System.Drawing.Size(0, 16);
            this.lblPercent2.TabIndex = 111;
            // 
            // TbObj2Name3
            // 
            this.TbObj2Name3.BackColor = System.Drawing.SystemColors.Menu;
            this.TbObj2Name3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj2Name3.ForeColor = System.Drawing.Color.Red;
            this.TbObj2Name3.Location = new System.Drawing.Point(172, 82);
            this.TbObj2Name3.Name = "TbObj2Name3";
            this.TbObj2Name3.ReadOnly = true;
            this.TbObj2Name3.Size = new System.Drawing.Size(195, 20);
            this.TbObj2Name3.TabIndex = 109;
            // 
            // PbObj2NpcID3
            // 
            this.PbObj2NpcID3.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbObj2NpcID3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbObj2NpcID3.Location = new System.Drawing.Point(370, 82);
            this.PbObj2NpcID3.Name = "PbObj2NpcID3";
            this.PbObj2NpcID3.Size = new System.Drawing.Size(22, 22);
            this.PbObj2NpcID3.TabIndex = 108;
            this.PbObj2NpcID3.TabStop = false;
            this.PbObj2NpcID3.Click += new System.EventHandler(this.PbObj2NpcID3_Click);
            // 
            // TbObj2Name2
            // 
            this.TbObj2Name2.BackColor = System.Drawing.SystemColors.Menu;
            this.TbObj2Name2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj2Name2.ForeColor = System.Drawing.Color.Red;
            this.TbObj2Name2.Location = new System.Drawing.Point(172, 56);
            this.TbObj2Name2.Name = "TbObj2Name2";
            this.TbObj2Name2.ReadOnly = true;
            this.TbObj2Name2.Size = new System.Drawing.Size(195, 20);
            this.TbObj2Name2.TabIndex = 107;
            // 
            // PbObj2NpcID2
            // 
            this.PbObj2NpcID2.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbObj2NpcID2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbObj2NpcID2.Location = new System.Drawing.Point(370, 56);
            this.PbObj2NpcID2.Name = "PbObj2NpcID2";
            this.PbObj2NpcID2.Size = new System.Drawing.Size(22, 22);
            this.PbObj2NpcID2.TabIndex = 106;
            this.PbObj2NpcID2.TabStop = false;
            this.PbObj2NpcID2.Click += new System.EventHandler(this.PbObj2NpcID2_Click);
            // 
            // TbObj2Name1
            // 
            this.TbObj2Name1.BackColor = System.Drawing.SystemColors.Menu;
            this.TbObj2Name1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj2Name1.ForeColor = System.Drawing.Color.Red;
            this.TbObj2Name1.Location = new System.Drawing.Point(172, 30);
            this.TbObj2Name1.Name = "TbObj2Name1";
            this.TbObj2Name1.ReadOnly = true;
            this.TbObj2Name1.Size = new System.Drawing.Size(195, 20);
            this.TbObj2Name1.TabIndex = 105;
            // 
            // PbObj2NpcID1
            // 
            this.PbObj2NpcID1.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbObj2NpcID1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbObj2NpcID1.Location = new System.Drawing.Point(370, 30);
            this.PbObj2NpcID1.Name = "PbObj2NpcID1";
            this.PbObj2NpcID1.Size = new System.Drawing.Size(22, 22);
            this.PbObj2NpcID1.TabIndex = 104;
            this.PbObj2NpcID1.TabStop = false;
            this.PbObj2NpcID1.Click += new System.EventHandler(this.PbObj2NpcID1_Click);
            // 
            // label115
            // 
            this.label115.AutoSize = true;
            this.label115.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label115.Location = new System.Drawing.Point(287, 117);
            this.label115.Name = "label115";
            this.label115.Size = new System.Drawing.Size(105, 16);
            this.label115.TabIndex = 103;
            this.label115.Text = "10,000 = 100%";
            // 
            // label36
            // 
            this.label36.AutoSize = true;
            this.label36.Location = new System.Drawing.Point(14, 34);
            this.label36.Name = "label36";
            this.label36.Size = new System.Drawing.Size(46, 13);
            this.label36.TabIndex = 33;
            this.label36.Text = "NPC ID:";
            // 
            // label35
            // 
            this.label35.AutoSize = true;
            this.label35.Location = new System.Drawing.Point(14, 60);
            this.label35.Name = "label35";
            this.label35.Size = new System.Drawing.Size(46, 13);
            this.label35.TabIndex = 34;
            this.label35.Text = "NPC ID:";
            // 
            // label32
            // 
            this.label32.AutoSize = true;
            this.label32.Location = new System.Drawing.Point(14, 117);
            this.label32.Name = "label32";
            this.label32.Size = new System.Drawing.Size(79, 13);
            this.label32.TabIndex = 37;
            this.label32.Text = "Percent to Get:";
            // 
            // TbObj2Ptg
            // 
            this.TbObj2Ptg.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj2Ptg.Location = new System.Drawing.Point(99, 114);
            this.TbObj2Ptg.Name = "TbObj2Ptg";
            this.TbObj2Ptg.Size = new System.Drawing.Size(100, 20);
            this.TbObj2Ptg.TabIndex = 44;
            this.TbObj2Ptg.TextChanged += new System.EventHandler(this.TbObj2Ptg_TextChanged);
            this.TbObj2Ptg.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox44_KeyPress);
            // 
            // label33
            // 
            this.label33.AutoSize = true;
            this.label33.Location = new System.Drawing.Point(14, 85);
            this.label33.Name = "label33";
            this.label33.Size = new System.Drawing.Size(46, 13);
            this.label33.TabIndex = 35;
            this.label33.Text = "NPC ID:";
            // 
            // TbObj2Npc1
            // 
            this.TbObj2Npc1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj2Npc1.Location = new System.Drawing.Point(66, 30);
            this.TbObj2Npc1.Name = "TbObj2Npc1";
            this.TbObj2Npc1.Size = new System.Drawing.Size(100, 20);
            this.TbObj2Npc1.TabIndex = 26;
            this.TbObj2Npc1.TextChanged += new System.EventHandler(this.TbObj2Npc1_TextChanged);
            this.TbObj2Npc1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox41_KeyPress);
            // 
            // TbObj2Npc2
            // 
            this.TbObj2Npc2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj2Npc2.Location = new System.Drawing.Point(66, 56);
            this.TbObj2Npc2.Name = "TbObj2Npc2";
            this.TbObj2Npc2.Size = new System.Drawing.Size(100, 20);
            this.TbObj2Npc2.TabIndex = 31;
            this.TbObj2Npc2.TextChanged += new System.EventHandler(this.TbObj2Npc2_TextChanged);
            this.TbObj2Npc2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox42_KeyPress);
            // 
            // TbObj2Npc3
            // 
            this.TbObj2Npc3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj2Npc3.Location = new System.Drawing.Point(66, 81);
            this.TbObj2Npc3.Name = "TbObj2Npc3";
            this.TbObj2Npc3.Size = new System.Drawing.Size(100, 20);
            this.TbObj2Npc3.TabIndex = 30;
            this.TbObj2Npc3.TextChanged += new System.EventHandler(this.TbObj2Npc3_TextChanged);
            this.TbObj2Npc3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox43_KeyPress);
            // 
            // comboBox7
            // 
            this.comboBox7.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.comboBox7.FormattingEnabled = true;
            this.comboBox7.Location = new System.Drawing.Point(46, 12);
            this.comboBox7.Name = "comboBox7";
            this.comboBox7.Size = new System.Drawing.Size(121, 21);
            this.comboBox7.TabIndex = 5;
            this.comboBox7.SelectedIndexChanged += new System.EventHandler(this.comboBox7_SelectedIndexChanged);
            this.comboBox7.SelectionChangeCommitted += new System.EventHandler(this.comboBox7_SelectionChangeCommitted);
            // 
            // label19
            // 
            this.label19.AutoSize = true;
            this.label19.Location = new System.Drawing.Point(6, 15);
            this.label19.Name = "label19";
            this.label19.Size = new System.Drawing.Size(34, 13);
            this.label19.TabIndex = 4;
            this.label19.Text = "Type:";
            // 
            // TbObj2Id
            // 
            this.TbObj2Id.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj2Id.Location = new System.Drawing.Point(56, 47);
            this.TbObj2Id.Name = "TbObj2Id";
            this.TbObj2Id.Size = new System.Drawing.Size(100, 20);
            this.TbObj2Id.TabIndex = 7;
            this.TbObj2Id.TextChanged += new System.EventHandler(this.TbObj2Id_TextChanged);
            this.TbObj2Id.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox32_KeyPress);
            // 
            // label27
            // 
            this.label27.AutoSize = true;
            this.label27.Location = new System.Drawing.Point(416, 52);
            this.label27.Name = "label27";
            this.label27.Size = new System.Drawing.Size(46, 13);
            this.label27.TabIndex = 17;
            this.label27.Text = "Amount:";
            // 
            // label24
            // 
            this.label24.AutoSize = true;
            this.label24.Location = new System.Drawing.Point(6, 50);
            this.label24.Name = "label24";
            this.label24.Size = new System.Drawing.Size(44, 13);
            this.label24.TabIndex = 11;
            this.label24.Text = "Item ID:";
            // 
            // TbObjcAmount2
            // 
            this.TbObjcAmount2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObjcAmount2.Location = new System.Drawing.Point(462, 49);
            this.TbObjcAmount2.Name = "TbObjcAmount2";
            this.TbObjcAmount2.Size = new System.Drawing.Size(100, 20);
            this.TbObjcAmount2.TabIndex = 13;
            this.TbObjcAmount2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox35_KeyPress);
            // 
            // tabPage5
            // 
            this.tabPage5.Controls.Add(this.pbObj3);
            this.tabPage5.Controls.Add(this.TbObj3Name0);
            this.tabPage5.Controls.Add(this.PbCond3);
            this.tabPage5.Controls.Add(this.TbObj3Type);
            this.tabPage5.Controls.Add(this.label26);
            this.tabPage5.Controls.Add(this.comboBox8);
            this.tabPage5.Controls.Add(this.TbObjcAmount3);
            this.tabPage5.Controls.Add(this.TbObj3Id);
            this.tabPage5.Controls.Add(this.label21);
            this.tabPage5.Controls.Add(this.label20);
            this.tabPage5.Controls.Add(this.groupBox6);
            this.tabPage5.Location = new System.Drawing.Point(4, 25);
            this.tabPage5.Name = "tabPage5";
            this.tabPage5.Size = new System.Drawing.Size(734, 333);
            this.tabPage5.TabIndex = 2;
            this.tabPage5.Text = "Objective 3";
            this.tabPage5.UseVisualStyleBackColor = true;
            // 
            // TbObj3Name0
            // 
            this.TbObj3Name0.BackColor = System.Drawing.SystemColors.Menu;
            this.TbObj3Name0.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj3Name0.Location = new System.Drawing.Point(190, 48);
            this.TbObj3Name0.Name = "TbObj3Name0";
            this.TbObj3Name0.ReadOnly = true;
            this.TbObj3Name0.Size = new System.Drawing.Size(195, 20);
            this.TbObj3Name0.TabIndex = 89;
            // 
            // PbCond3
            // 
            this.PbCond3.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbCond3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbCond3.Location = new System.Drawing.Point(388, 47);
            this.PbCond3.Name = "PbCond3";
            this.PbCond3.Size = new System.Drawing.Size(22, 22);
            this.PbCond3.TabIndex = 78;
            this.PbCond3.TabStop = false;
            this.PbCond3.Click += new System.EventHandler(this.PbCond3_Click);
            // 
            // TbObj3Type
            // 
            this.TbObj3Type.Location = new System.Drawing.Point(178, 13);
            this.TbObj3Type.Name = "TbObj3Type";
            this.TbObj3Type.Size = new System.Drawing.Size(62, 20);
            this.TbObj3Type.TabIndex = 46;
            this.TbObj3Type.Visible = false;
            this.TbObj3Type.TextChanged += new System.EventHandler(this.TbObj3Type_TextChanged);
            // 
            // label26
            // 
            this.label26.AutoSize = true;
            this.label26.Location = new System.Drawing.Point(416, 52);
            this.label26.Name = "label26";
            this.label26.Size = new System.Drawing.Size(46, 13);
            this.label26.TabIndex = 18;
            this.label26.Text = "Amount:";
            // 
            // comboBox8
            // 
            this.comboBox8.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.comboBox8.FormattingEnabled = true;
            this.comboBox8.Location = new System.Drawing.Point(46, 12);
            this.comboBox8.Name = "comboBox8";
            this.comboBox8.Size = new System.Drawing.Size(121, 21);
            this.comboBox8.TabIndex = 7;
            this.comboBox8.SelectedIndexChanged += new System.EventHandler(this.comboBox8_SelectedIndexChanged);
            this.comboBox8.SelectionChangeCommitted += new System.EventHandler(this.comboBox8_SelectionChangeCommitted);
            // 
            // TbObjcAmount3
            // 
            this.TbObjcAmount3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObjcAmount3.Location = new System.Drawing.Point(462, 49);
            this.TbObjcAmount3.Name = "TbObjcAmount3";
            this.TbObjcAmount3.Size = new System.Drawing.Size(100, 20);
            this.TbObjcAmount3.TabIndex = 21;
            this.TbObjcAmount3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox36_KeyPress);
            // 
            // TbObj3Id
            // 
            this.TbObj3Id.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj3Id.Location = new System.Drawing.Point(56, 47);
            this.TbObj3Id.Name = "TbObj3Id";
            this.TbObj3Id.Size = new System.Drawing.Size(100, 20);
            this.TbObj3Id.TabIndex = 15;
            this.TbObj3Id.TextChanged += new System.EventHandler(this.TbObj3Id_TextChanged);
            this.TbObj3Id.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox33_KeyPress);
            // 
            // label21
            // 
            this.label21.AutoSize = true;
            this.label21.Location = new System.Drawing.Point(6, 50);
            this.label21.Name = "label21";
            this.label21.Size = new System.Drawing.Size(44, 13);
            this.label21.TabIndex = 12;
            this.label21.Text = "Item ID:";
            // 
            // label20
            // 
            this.label20.AutoSize = true;
            this.label20.Location = new System.Drawing.Point(6, 15);
            this.label20.Name = "label20";
            this.label20.Size = new System.Drawing.Size(34, 13);
            this.label20.TabIndex = 6;
            this.label20.Text = "Type:";
            // 
            // groupBox6
            // 
            this.groupBox6.Controls.Add(this.lblPercent3);
            this.groupBox6.Controls.Add(this.label114);
            this.groupBox6.Controls.Add(this.TbObj3Name3);
            this.groupBox6.Controls.Add(this.PbNpcID3);
            this.groupBox6.Controls.Add(this.TbObj3Name2);
            this.groupBox6.Controls.Add(this.PbNpcID2);
            this.groupBox6.Controls.Add(this.TbObj3Name1);
            this.groupBox6.Controls.Add(this.PbNpcID1);
            this.groupBox6.Controls.Add(this.TbObj3Npc2);
            this.groupBox6.Controls.Add(this.TbObj3Ptg);
            this.groupBox6.Controls.Add(this.TbObj3Npc3);
            this.groupBox6.Controls.Add(this.label37);
            this.groupBox6.Controls.Add(this.TbObj3Npc1);
            this.groupBox6.Controls.Add(this.label40);
            this.groupBox6.Controls.Add(this.label38);
            this.groupBox6.Controls.Add(this.label39);
            this.groupBox6.Location = new System.Drawing.Point(9, 87);
            this.groupBox6.Name = "groupBox6";
            this.groupBox6.Size = new System.Drawing.Size(719, 158);
            this.groupBox6.TabIndex = 25;
            this.groupBox6.TabStop = false;
            this.groupBox6.Text = "NPC Quest Item";
            // 
            // lblPercent3
            // 
            this.lblPercent3.AutoSize = true;
            this.lblPercent3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblPercent3.Location = new System.Drawing.Point(205, 116);
            this.lblPercent3.Name = "lblPercent3";
            this.lblPercent3.Size = new System.Drawing.Size(0, 16);
            this.lblPercent3.TabIndex = 111;
            // 
            // label114
            // 
            this.label114.AutoSize = true;
            this.label114.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label114.Location = new System.Drawing.Point(287, 117);
            this.label114.Name = "label114";
            this.label114.Size = new System.Drawing.Size(105, 16);
            this.label114.TabIndex = 103;
            this.label114.Text = "10,000 = 100%";
            // 
            // TbObj3Name3
            // 
            this.TbObj3Name3.BackColor = System.Drawing.SystemColors.Menu;
            this.TbObj3Name3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj3Name3.ForeColor = System.Drawing.Color.Red;
            this.TbObj3Name3.Location = new System.Drawing.Point(172, 82);
            this.TbObj3Name3.Name = "TbObj3Name3";
            this.TbObj3Name3.ReadOnly = true;
            this.TbObj3Name3.Size = new System.Drawing.Size(195, 20);
            this.TbObj3Name3.TabIndex = 95;
            // 
            // PbNpcID3
            // 
            this.PbNpcID3.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbNpcID3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbNpcID3.Location = new System.Drawing.Point(370, 82);
            this.PbNpcID3.Name = "PbNpcID3";
            this.PbNpcID3.Size = new System.Drawing.Size(22, 22);
            this.PbNpcID3.TabIndex = 94;
            this.PbNpcID3.TabStop = false;
            this.PbNpcID3.Click += new System.EventHandler(this.PbNpcID3_Click);
            // 
            // TbObj3Name2
            // 
            this.TbObj3Name2.BackColor = System.Drawing.SystemColors.Menu;
            this.TbObj3Name2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj3Name2.ForeColor = System.Drawing.Color.Red;
            this.TbObj3Name2.Location = new System.Drawing.Point(172, 56);
            this.TbObj3Name2.Name = "TbObj3Name2";
            this.TbObj3Name2.ReadOnly = true;
            this.TbObj3Name2.Size = new System.Drawing.Size(195, 20);
            this.TbObj3Name2.TabIndex = 93;
            // 
            // PbNpcID2
            // 
            this.PbNpcID2.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbNpcID2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbNpcID2.Location = new System.Drawing.Point(370, 56);
            this.PbNpcID2.Name = "PbNpcID2";
            this.PbNpcID2.Size = new System.Drawing.Size(22, 22);
            this.PbNpcID2.TabIndex = 92;
            this.PbNpcID2.TabStop = false;
            this.PbNpcID2.Click += new System.EventHandler(this.PbNpcID2_Click);
            // 
            // TbObj3Name1
            // 
            this.TbObj3Name1.BackColor = System.Drawing.SystemColors.Menu;
            this.TbObj3Name1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj3Name1.ForeColor = System.Drawing.Color.Red;
            this.TbObj3Name1.Location = new System.Drawing.Point(172, 30);
            this.TbObj3Name1.Name = "TbObj3Name1";
            this.TbObj3Name1.ReadOnly = true;
            this.TbObj3Name1.Size = new System.Drawing.Size(195, 20);
            this.TbObj3Name1.TabIndex = 91;
            // 
            // PbNpcID1
            // 
            this.PbNpcID1.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbNpcID1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbNpcID1.Location = new System.Drawing.Point(370, 30);
            this.PbNpcID1.Name = "PbNpcID1";
            this.PbNpcID1.Size = new System.Drawing.Size(22, 22);
            this.PbNpcID1.TabIndex = 90;
            this.PbNpcID1.TabStop = false;
            this.PbNpcID1.Click += new System.EventHandler(this.PbNpcID1_Click);
            // 
            // TbObj3Npc2
            // 
            this.TbObj3Npc2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj3Npc2.Location = new System.Drawing.Point(66, 56);
            this.TbObj3Npc2.Name = "TbObj3Npc2";
            this.TbObj3Npc2.Size = new System.Drawing.Size(100, 20);
            this.TbObj3Npc2.TabIndex = 39;
            this.TbObj3Npc2.TextChanged += new System.EventHandler(this.TbObj3Npc2_TextChanged);
            this.TbObj3Npc2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox46_KeyPress);
            // 
            // TbObj3Ptg
            // 
            this.TbObj3Ptg.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj3Ptg.Location = new System.Drawing.Point(99, 114);
            this.TbObj3Ptg.Name = "TbObj3Ptg";
            this.TbObj3Ptg.Size = new System.Drawing.Size(100, 20);
            this.TbObj3Ptg.TabIndex = 46;
            this.TbObj3Ptg.TextChanged += new System.EventHandler(this.TbObj3Ptg_TextChanged);
            this.TbObj3Ptg.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox48_KeyPress);
            // 
            // TbObj3Npc3
            // 
            this.TbObj3Npc3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj3Npc3.Location = new System.Drawing.Point(66, 81);
            this.TbObj3Npc3.Name = "TbObj3Npc3";
            this.TbObj3Npc3.Size = new System.Drawing.Size(100, 20);
            this.TbObj3Npc3.TabIndex = 38;
            this.TbObj3Npc3.TextChanged += new System.EventHandler(this.TbObj3Npc3_TextChanged);
            this.TbObj3Npc3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox47_KeyPress);
            // 
            // label37
            // 
            this.label37.AutoSize = true;
            this.label37.Location = new System.Drawing.Point(14, 117);
            this.label37.Name = "label37";
            this.label37.Size = new System.Drawing.Size(79, 13);
            this.label37.TabIndex = 45;
            this.label37.Text = "Percent to Get:";
            // 
            // TbObj3Npc1
            // 
            this.TbObj3Npc1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbObj3Npc1.Location = new System.Drawing.Point(66, 30);
            this.TbObj3Npc1.Name = "TbObj3Npc1";
            this.TbObj3Npc1.Size = new System.Drawing.Size(100, 20);
            this.TbObj3Npc1.TabIndex = 40;
            this.TbObj3Npc1.TextChanged += new System.EventHandler(this.TbObj3Npc1_TextChanged);
            this.TbObj3Npc1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox45_KeyPress);
            // 
            // label40
            // 
            this.label40.AutoSize = true;
            this.label40.Location = new System.Drawing.Point(14, 34);
            this.label40.Name = "label40";
            this.label40.Size = new System.Drawing.Size(46, 13);
            this.label40.TabIndex = 41;
            this.label40.Text = "NPC ID:";
            // 
            // label38
            // 
            this.label38.AutoSize = true;
            this.label38.Location = new System.Drawing.Point(14, 85);
            this.label38.Name = "label38";
            this.label38.Size = new System.Drawing.Size(46, 13);
            this.label38.TabIndex = 43;
            this.label38.Text = "NPC ID:";
            // 
            // label39
            // 
            this.label39.AutoSize = true;
            this.label39.Location = new System.Drawing.Point(14, 60);
            this.label39.Name = "label39";
            this.label39.Size = new System.Drawing.Size(46, 13);
            this.label39.TabIndex = 42;
            this.label39.Text = "NPC ID:";
            // 
            // Page2
            // 
            this.Page2.BackColor = System.Drawing.SystemColors.Control;
            this.Page2.Controls.Add(this.TbFileCol);
            this.Page2.Controls.Add(this.tbFileRow);
            this.Page2.Controls.Add(this.tbFileID);
            this.Page2.Controls.Add(this.tabControl3);
            this.Page2.Controls.Add(this.textBox69);
            this.Page2.Controls.Add(this.textBox70);
            this.Page2.Controls.Add(this.textBox68);
            this.Page2.Controls.Add(this.textBox65);
            this.Page2.Controls.Add(this.textBox71);
            this.Page2.Controls.Add(this.textBox67);
            this.Page2.Controls.Add(this.textBox53);
            this.Page2.Controls.Add(this.textBox66);
            this.Page2.Controls.Add(this.textBox52);
            this.Page2.Controls.Add(this.textBox49);
            this.Page2.Controls.Add(this.textBox51);
            this.Page2.Controls.Add(this.textBox50);
            this.Page2.Location = new System.Drawing.Point(4, 22);
            this.Page2.Name = "Page2";
            this.Page2.Size = new System.Drawing.Size(765, 610);
            this.Page2.TabIndex = 5;
            this.Page2.Text = "Rewards";
            this.Page2.Click += new System.EventHandler(this.Page2_Click);
            // 
            // TbFileCol
            // 
            this.TbFileCol.Location = new System.Drawing.Point(85, 543);
            this.TbFileCol.Name = "TbFileCol";
            this.TbFileCol.Size = new System.Drawing.Size(41, 20);
            this.TbFileCol.TabIndex = 217;
            this.TbFileCol.Visible = false;
            // 
            // tbFileRow
            // 
            this.tbFileRow.Location = new System.Drawing.Point(85, 517);
            this.tbFileRow.Name = "tbFileRow";
            this.tbFileRow.Size = new System.Drawing.Size(41, 20);
            this.tbFileRow.TabIndex = 216;
            this.tbFileRow.Visible = false;
            // 
            // tbFileID
            // 
            this.tbFileID.Location = new System.Drawing.Point(85, 491);
            this.tbFileID.Name = "tbFileID";
            this.tbFileID.Size = new System.Drawing.Size(41, 20);
            this.tbFileID.TabIndex = 215;
            this.tbFileID.Visible = false;
            // 
            // tabControl3
            // 
            this.tabControl3.Appearance = System.Windows.Forms.TabAppearance.Buttons;
            this.tabControl3.Controls.Add(this.tabPage8);
            this.tabControl3.Controls.Add(this.tabPage9);
            this.tabControl3.Location = new System.Drawing.Point(3, 3);
            this.tabControl3.Name = "tabControl3";
            this.tabControl3.SelectedIndex = 0;
            this.tabControl3.Size = new System.Drawing.Size(757, 450);
            this.tabControl3.SizeMode = System.Windows.Forms.TabSizeMode.FillToRight;
            this.tabControl3.TabIndex = 72;
            // 
            // tabPage8
            // 
            this.tabPage8.Controls.Add(this.PbPrize5);
            this.tabPage8.Controls.Add(this.PbPrize4);
            this.tabPage8.Controls.Add(this.PbPrize3);
            this.tabPage8.Controls.Add(this.PbPrize2);
            this.tabPage8.Controls.Add(this.PbPrize1);
            this.tabPage8.Controls.Add(this.tbItemDesc5);
            this.tabPage8.Controls.Add(this.tbItemDesc4);
            this.tabPage8.Controls.Add(this.tbItemDesc3);
            this.tabPage8.Controls.Add(this.tbItemDesc2);
            this.tabPage8.Controls.Add(this.tbItemDesc1);
            this.tabPage8.Controls.Add(this.PbPItem5);
            this.tabPage8.Controls.Add(this.PbPItem4);
            this.tabPage8.Controls.Add(this.PbPItem3);
            this.tabPage8.Controls.Add(this.PbPItem2);
            this.tabPage8.Controls.Add(this.PbPItem1);
            this.tabPage8.Controls.Add(this.CbPrizeType5);
            this.tabPage8.Controls.Add(this.TbPrizeAmount1);
            this.tabPage8.Controls.Add(this.CbPrizeType4);
            this.tabPage8.Controls.Add(this.TbPrizeAmount5);
            this.tabPage8.Controls.Add(this.TbPrizeAmount2);
            this.tabPage8.Controls.Add(this.CbPrizeType3);
            this.tabPage8.Controls.Add(this.TbPrizeAmount3);
            this.tabPage8.Controls.Add(this.TbPrizeItm5);
            this.tabPage8.Controls.Add(this.TbPrizeAmount4);
            this.tabPage8.Controls.Add(this.CbPrizeType2);
            this.tabPage8.Controls.Add(this.label60);
            this.tabPage8.Controls.Add(this.label48);
            this.tabPage8.Controls.Add(this.label58);
            this.tabPage8.Controls.Add(this.CbPrizeType1);
            this.tabPage8.Controls.Add(this.label55);
            this.tabPage8.Controls.Add(this.TbPrizeItm4);
            this.tabPage8.Controls.Add(this.label57);
            this.tabPage8.Controls.Add(this.label45);
            this.tabPage8.Controls.Add(this.label56);
            this.tabPage8.Controls.Add(this.label44);
            this.tabPage8.Controls.Add(this.label49);
            this.tabPage8.Controls.Add(this.label43);
            this.tabPage8.Controls.Add(this.TbPrizeItm3);
            this.tabPage8.Controls.Add(this.label42);
            this.tabPage8.Controls.Add(this.label41);
            this.tabPage8.Controls.Add(this.label50);
            this.tabPage8.Controls.Add(this.label53);
            this.tabPage8.Controls.Add(this.TbPrizeItm2);
            this.tabPage8.Controls.Add(this.TbPrizeItm1);
            this.tabPage8.Controls.Add(this.label51);
            this.tabPage8.Location = new System.Drawing.Point(4, 25);
            this.tabPage8.Name = "tabPage8";
            this.tabPage8.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage8.Size = new System.Drawing.Size(749, 421);
            this.tabPage8.TabIndex = 0;
            this.tabPage8.Text = "Standard Rewards";
            this.tabPage8.UseVisualStyleBackColor = true;
            // 
            // PbPrize5
            // 
            this.PbPrize5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbPrize5.Location = new System.Drawing.Point(325, 162);
            this.PbPrize5.Name = "PbPrize5";
            this.PbPrize5.Size = new System.Drawing.Size(25, 25);
            this.PbPrize5.TabIndex = 241;
            this.PbPrize5.TabStop = false;
            // 
            // PbPrize4
            // 
            this.PbPrize4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbPrize4.Location = new System.Drawing.Point(325, 125);
            this.PbPrize4.Name = "PbPrize4";
            this.PbPrize4.Size = new System.Drawing.Size(25, 25);
            this.PbPrize4.TabIndex = 240;
            this.PbPrize4.TabStop = false;
            // 
            // PbPrize3
            // 
            this.PbPrize3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbPrize3.Location = new System.Drawing.Point(325, 88);
            this.PbPrize3.Name = "PbPrize3";
            this.PbPrize3.Size = new System.Drawing.Size(25, 25);
            this.PbPrize3.TabIndex = 239;
            this.PbPrize3.TabStop = false;
            // 
            // PbPrize2
            // 
            this.PbPrize2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbPrize2.Location = new System.Drawing.Point(325, 51);
            this.PbPrize2.Name = "PbPrize2";
            this.PbPrize2.Size = new System.Drawing.Size(25, 25);
            this.PbPrize2.TabIndex = 238;
            this.PbPrize2.TabStop = false;
            // 
            // PbPrize1
            // 
            this.PbPrize1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbPrize1.Location = new System.Drawing.Point(325, 14);
            this.PbPrize1.Name = "PbPrize1";
            this.PbPrize1.Size = new System.Drawing.Size(25, 25);
            this.PbPrize1.TabIndex = 237;
            this.PbPrize1.TabStop = false;
            // 
            // tbItemDesc5
            // 
            this.tbItemDesc5.BackColor = System.Drawing.SystemColors.Menu;
            this.tbItemDesc5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.tbItemDesc5.ForeColor = System.Drawing.Color.RoyalBlue;
            this.tbItemDesc5.Location = new System.Drawing.Point(361, 162);
            this.tbItemDesc5.Name = "tbItemDesc5";
            this.tbItemDesc5.ReadOnly = true;
            this.tbItemDesc5.Size = new System.Drawing.Size(185, 20);
            this.tbItemDesc5.TabIndex = 82;
            // 
            // tbItemDesc4
            // 
            this.tbItemDesc4.BackColor = System.Drawing.SystemColors.Menu;
            this.tbItemDesc4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.tbItemDesc4.ForeColor = System.Drawing.Color.RoyalBlue;
            this.tbItemDesc4.Location = new System.Drawing.Point(361, 125);
            this.tbItemDesc4.Name = "tbItemDesc4";
            this.tbItemDesc4.ReadOnly = true;
            this.tbItemDesc4.Size = new System.Drawing.Size(185, 20);
            this.tbItemDesc4.TabIndex = 83;
            // 
            // tbItemDesc3
            // 
            this.tbItemDesc3.BackColor = System.Drawing.SystemColors.Menu;
            this.tbItemDesc3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.tbItemDesc3.ForeColor = System.Drawing.Color.RoyalBlue;
            this.tbItemDesc3.Location = new System.Drawing.Point(361, 88);
            this.tbItemDesc3.Name = "tbItemDesc3";
            this.tbItemDesc3.ReadOnly = true;
            this.tbItemDesc3.Size = new System.Drawing.Size(185, 20);
            this.tbItemDesc3.TabIndex = 84;
            // 
            // tbItemDesc2
            // 
            this.tbItemDesc2.BackColor = System.Drawing.SystemColors.Menu;
            this.tbItemDesc2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.tbItemDesc2.ForeColor = System.Drawing.Color.RoyalBlue;
            this.tbItemDesc2.Location = new System.Drawing.Point(361, 51);
            this.tbItemDesc2.Name = "tbItemDesc2";
            this.tbItemDesc2.ReadOnly = true;
            this.tbItemDesc2.Size = new System.Drawing.Size(185, 20);
            this.tbItemDesc2.TabIndex = 85;
            // 
            // tbItemDesc1
            // 
            this.tbItemDesc1.BackColor = System.Drawing.SystemColors.Menu;
            this.tbItemDesc1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.tbItemDesc1.ForeColor = System.Drawing.Color.RoyalBlue;
            this.tbItemDesc1.Location = new System.Drawing.Point(361, 14);
            this.tbItemDesc1.Name = "tbItemDesc1";
            this.tbItemDesc1.ReadOnly = true;
            this.tbItemDesc1.Size = new System.Drawing.Size(185, 20);
            this.tbItemDesc1.TabIndex = 86;
            // 
            // PbPItem5
            // 
            this.PbPItem5.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbPItem5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbPItem5.Location = new System.Drawing.Point(552, 161);
            this.PbPItem5.Name = "PbPItem5";
            this.PbPItem5.Size = new System.Drawing.Size(22, 22);
            this.PbPItem5.TabIndex = 81;
            this.PbPItem5.TabStop = false;
            this.PbPItem5.Click += new System.EventHandler(this.PbPItem5_Click);
            // 
            // PbPItem4
            // 
            this.PbPItem4.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbPItem4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbPItem4.Location = new System.Drawing.Point(552, 124);
            this.PbPItem4.Name = "PbPItem4";
            this.PbPItem4.Size = new System.Drawing.Size(22, 22);
            this.PbPItem4.TabIndex = 80;
            this.PbPItem4.TabStop = false;
            this.PbPItem4.Click += new System.EventHandler(this.PbPItem4_Click);
            // 
            // PbPItem3
            // 
            this.PbPItem3.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbPItem3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbPItem3.Location = new System.Drawing.Point(552, 87);
            this.PbPItem3.Name = "PbPItem3";
            this.PbPItem3.Size = new System.Drawing.Size(22, 22);
            this.PbPItem3.TabIndex = 79;
            this.PbPItem3.TabStop = false;
            this.PbPItem3.Click += new System.EventHandler(this.PbPItem3_Click);
            // 
            // PbPItem2
            // 
            this.PbPItem2.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbPItem2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbPItem2.Location = new System.Drawing.Point(552, 50);
            this.PbPItem2.Name = "PbPItem2";
            this.PbPItem2.Size = new System.Drawing.Size(22, 22);
            this.PbPItem2.TabIndex = 78;
            this.PbPItem2.TabStop = false;
            this.PbPItem2.Click += new System.EventHandler(this.PbPItem2_Click);
            // 
            // PbPItem1
            // 
            this.PbPItem1.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbPItem1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbPItem1.Location = new System.Drawing.Point(552, 13);
            this.PbPItem1.Name = "PbPItem1";
            this.PbPItem1.Size = new System.Drawing.Size(22, 22);
            this.PbPItem1.TabIndex = 77;
            this.PbPItem1.TabStop = false;
            this.PbPItem1.Click += new System.EventHandler(this.PbPItem1_Click);
            // 
            // CbPrizeType5
            // 
            this.CbPrizeType5.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.CbPrizeType5.FormattingEnabled = true;
            this.CbPrizeType5.Location = new System.Drawing.Point(46, 162);
            this.CbPrizeType5.Name = "CbPrizeType5";
            this.CbPrizeType5.Size = new System.Drawing.Size(91, 21);
            this.CbPrizeType5.TabIndex = 9;
            this.CbPrizeType5.SelectedIndexChanged += new System.EventHandler(this.comboBox13_SelectedIndexChanged_1);
            this.CbPrizeType5.SelectionChangeCommitted += new System.EventHandler(this.comboBox13_SelectionChangeCommitted);
            // 
            // TbPrizeAmount1
            // 
            this.TbPrizeAmount1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrizeAmount1.Location = new System.Drawing.Point(633, 14);
            this.TbPrizeAmount1.Name = "TbPrizeAmount1";
            this.TbPrizeAmount1.Size = new System.Drawing.Size(100, 20);
            this.TbPrizeAmount1.TabIndex = 71;
            this.TbPrizeAmount1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox59_KeyPress);
            // 
            // CbPrizeType4
            // 
            this.CbPrizeType4.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.CbPrizeType4.FormattingEnabled = true;
            this.CbPrizeType4.Location = new System.Drawing.Point(46, 125);
            this.CbPrizeType4.Name = "CbPrizeType4";
            this.CbPrizeType4.Size = new System.Drawing.Size(91, 21);
            this.CbPrizeType4.TabIndex = 8;
            this.CbPrizeType4.SelectedIndexChanged += new System.EventHandler(this.comboBox12_SelectedIndexChanged);
            this.CbPrizeType4.SelectionChangeCommitted += new System.EventHandler(this.comboBox12_SelectionChangeCommitted);
            // 
            // TbPrizeAmount5
            // 
            this.TbPrizeAmount5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrizeAmount5.Location = new System.Drawing.Point(633, 162);
            this.TbPrizeAmount5.Name = "TbPrizeAmount5";
            this.TbPrizeAmount5.Size = new System.Drawing.Size(100, 20);
            this.TbPrizeAmount5.TabIndex = 67;
            this.TbPrizeAmount5.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox63_KeyPress);
            // 
            // TbPrizeAmount2
            // 
            this.TbPrizeAmount2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrizeAmount2.Location = new System.Drawing.Point(633, 51);
            this.TbPrizeAmount2.Name = "TbPrizeAmount2";
            this.TbPrizeAmount2.Size = new System.Drawing.Size(100, 20);
            this.TbPrizeAmount2.TabIndex = 70;
            this.TbPrizeAmount2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox60_KeyPress);
            // 
            // CbPrizeType3
            // 
            this.CbPrizeType3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.CbPrizeType3.FormattingEnabled = true;
            this.CbPrizeType3.Location = new System.Drawing.Point(46, 88);
            this.CbPrizeType3.Name = "CbPrizeType3";
            this.CbPrizeType3.Size = new System.Drawing.Size(91, 21);
            this.CbPrizeType3.TabIndex = 7;
            this.CbPrizeType3.SelectedIndexChanged += new System.EventHandler(this.comboBox11_SelectedIndexChanged);
            this.CbPrizeType3.SelectionChangeCommitted += new System.EventHandler(this.comboBox11_SelectionChangeCommitted);
            // 
            // TbPrizeAmount3
            // 
            this.TbPrizeAmount3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrizeAmount3.Location = new System.Drawing.Point(633, 88);
            this.TbPrizeAmount3.Name = "TbPrizeAmount3";
            this.TbPrizeAmount3.Size = new System.Drawing.Size(100, 20);
            this.TbPrizeAmount3.TabIndex = 69;
            this.TbPrizeAmount3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox61_KeyPress);
            // 
            // TbPrizeItm5
            // 
            this.TbPrizeItm5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrizeItm5.Location = new System.Drawing.Point(216, 162);
            this.TbPrizeItm5.Name = "TbPrizeItm5";
            this.TbPrizeItm5.Size = new System.Drawing.Size(100, 20);
            this.TbPrizeItm5.TabIndex = 57;
            this.TbPrizeItm5.TextChanged += new System.EventHandler(this.TextBox58_TextChanged);
            this.TbPrizeItm5.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox58_KeyPress);
            // 
            // TbPrizeAmount4
            // 
            this.TbPrizeAmount4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrizeAmount4.Location = new System.Drawing.Point(633, 125);
            this.TbPrizeAmount4.Name = "TbPrizeAmount4";
            this.TbPrizeAmount4.Size = new System.Drawing.Size(100, 20);
            this.TbPrizeAmount4.TabIndex = 68;
            this.TbPrizeAmount4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox62_KeyPress);
            // 
            // CbPrizeType2
            // 
            this.CbPrizeType2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.CbPrizeType2.FormattingEnabled = true;
            this.CbPrizeType2.Location = new System.Drawing.Point(46, 51);
            this.CbPrizeType2.Name = "CbPrizeType2";
            this.CbPrizeType2.Size = new System.Drawing.Size(91, 21);
            this.CbPrizeType2.TabIndex = 6;
            this.CbPrizeType2.SelectedIndexChanged += new System.EventHandler(this.comboBox10_SelectedIndexChanged);
            this.CbPrizeType2.SelectionChangeCommitted += new System.EventHandler(this.comboBox10_SelectionChangeCommitted);
            // 
            // label60
            // 
            this.label60.AutoSize = true;
            this.label60.Location = new System.Drawing.Point(581, 165);
            this.label60.Name = "label60";
            this.label60.Size = new System.Drawing.Size(46, 13);
            this.label60.TabIndex = 66;
            this.label60.Text = "Amount:";
            // 
            // label48
            // 
            this.label48.AutoSize = true;
            this.label48.Location = new System.Drawing.Point(165, 166);
            this.label48.Name = "label48";
            this.label48.Size = new System.Drawing.Size(44, 13);
            this.label48.TabIndex = 56;
            this.label48.Text = "Item ID:";
            // 
            // label58
            // 
            this.label58.AutoSize = true;
            this.label58.Location = new System.Drawing.Point(581, 128);
            this.label58.Name = "label58";
            this.label58.Size = new System.Drawing.Size(46, 13);
            this.label58.TabIndex = 65;
            this.label58.Text = "Amount:";
            // 
            // CbPrizeType1
            // 
            this.CbPrizeType1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.CbPrizeType1.FormattingEnabled = true;
            this.CbPrizeType1.Location = new System.Drawing.Point(46, 14);
            this.CbPrizeType1.Name = "CbPrizeType1";
            this.CbPrizeType1.Size = new System.Drawing.Size(91, 21);
            this.CbPrizeType1.TabIndex = 5;
            this.CbPrizeType1.SelectedIndexChanged += new System.EventHandler(this.comboBox9_SelectedIndexChanged);
            this.CbPrizeType1.SelectionChangeCommitted += new System.EventHandler(this.comboBox9_SelectionChangeCommitted);
            // 
            // label55
            // 
            this.label55.AutoSize = true;
            this.label55.Location = new System.Drawing.Point(581, 18);
            this.label55.Name = "label55";
            this.label55.Size = new System.Drawing.Size(46, 13);
            this.label55.TabIndex = 62;
            this.label55.Text = "Amount:";
            // 
            // TbPrizeItm4
            // 
            this.TbPrizeItm4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrizeItm4.Location = new System.Drawing.Point(216, 125);
            this.TbPrizeItm4.Name = "TbPrizeItm4";
            this.TbPrizeItm4.Size = new System.Drawing.Size(100, 20);
            this.TbPrizeItm4.TabIndex = 58;
            this.TbPrizeItm4.TextChanged += new System.EventHandler(this.TextBox57_TextChanged);
            this.TbPrizeItm4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox57_KeyPress);
            // 
            // label57
            // 
            this.label57.AutoSize = true;
            this.label57.Location = new System.Drawing.Point(581, 92);
            this.label57.Name = "label57";
            this.label57.Size = new System.Drawing.Size(46, 13);
            this.label57.TabIndex = 64;
            this.label57.Text = "Amount:";
            // 
            // label45
            // 
            this.label45.AutoSize = true;
            this.label45.Location = new System.Drawing.Point(6, 165);
            this.label45.Name = "label45";
            this.label45.Size = new System.Drawing.Size(34, 13);
            this.label45.TabIndex = 4;
            this.label45.Text = "Type:";
            // 
            // label56
            // 
            this.label56.AutoSize = true;
            this.label56.Location = new System.Drawing.Point(581, 55);
            this.label56.Name = "label56";
            this.label56.Size = new System.Drawing.Size(46, 13);
            this.label56.TabIndex = 63;
            this.label56.Text = "Amount:";
            // 
            // label44
            // 
            this.label44.AutoSize = true;
            this.label44.Location = new System.Drawing.Point(6, 128);
            this.label44.Name = "label44";
            this.label44.Size = new System.Drawing.Size(34, 13);
            this.label44.TabIndex = 3;
            this.label44.Text = "Type:";
            // 
            // label49
            // 
            this.label49.AutoSize = true;
            this.label49.Location = new System.Drawing.Point(165, 129);
            this.label49.Name = "label49";
            this.label49.Size = new System.Drawing.Size(44, 13);
            this.label49.TabIndex = 55;
            this.label49.Text = "Item ID:";
            // 
            // label43
            // 
            this.label43.AutoSize = true;
            this.label43.Location = new System.Drawing.Point(6, 92);
            this.label43.Name = "label43";
            this.label43.Size = new System.Drawing.Size(34, 13);
            this.label43.TabIndex = 2;
            this.label43.Text = "Type:";
            // 
            // TbPrizeItm3
            // 
            this.TbPrizeItm3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrizeItm3.Location = new System.Drawing.Point(216, 88);
            this.TbPrizeItm3.Name = "TbPrizeItm3";
            this.TbPrizeItm3.Size = new System.Drawing.Size(100, 20);
            this.TbPrizeItm3.TabIndex = 59;
            this.TbPrizeItm3.TextChanged += new System.EventHandler(this.TextBox56_TextChanged);
            this.TbPrizeItm3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox56_KeyPress);
            // 
            // label42
            // 
            this.label42.AutoSize = true;
            this.label42.Location = new System.Drawing.Point(6, 55);
            this.label42.Name = "label42";
            this.label42.Size = new System.Drawing.Size(34, 13);
            this.label42.TabIndex = 1;
            this.label42.Text = "Type:";
            // 
            // label41
            // 
            this.label41.AutoSize = true;
            this.label41.Location = new System.Drawing.Point(6, 18);
            this.label41.Name = "label41";
            this.label41.Size = new System.Drawing.Size(34, 13);
            this.label41.TabIndex = 0;
            this.label41.Text = "Type:";
            // 
            // label50
            // 
            this.label50.AutoSize = true;
            this.label50.Location = new System.Drawing.Point(165, 93);
            this.label50.Name = "label50";
            this.label50.Size = new System.Drawing.Size(44, 13);
            this.label50.TabIndex = 54;
            this.label50.Text = "Item ID:";
            // 
            // label53
            // 
            this.label53.AutoSize = true;
            this.label53.Location = new System.Drawing.Point(165, 19);
            this.label53.Name = "label53";
            this.label53.Size = new System.Drawing.Size(44, 13);
            this.label53.TabIndex = 52;
            this.label53.Text = "Item ID:";
            // 
            // TbPrizeItm2
            // 
            this.TbPrizeItm2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrizeItm2.Location = new System.Drawing.Point(216, 51);
            this.TbPrizeItm2.Name = "TbPrizeItm2";
            this.TbPrizeItm2.Size = new System.Drawing.Size(100, 20);
            this.TbPrizeItm2.TabIndex = 60;
            this.TbPrizeItm2.TextChanged += new System.EventHandler(this.TextBox55_TextChanged);
            this.TbPrizeItm2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox55_KeyPress);
            // 
            // TbPrizeItm1
            // 
            this.TbPrizeItm1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrizeItm1.Location = new System.Drawing.Point(216, 14);
            this.TbPrizeItm1.Name = "TbPrizeItm1";
            this.TbPrizeItm1.Size = new System.Drawing.Size(100, 20);
            this.TbPrizeItm1.TabIndex = 61;
            this.TbPrizeItm1.TextChanged += new System.EventHandler(this.TextBox54_TextChanged);
            this.TbPrizeItm1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox54_KeyPress);
            // 
            // label51
            // 
            this.label51.AutoSize = true;
            this.label51.Location = new System.Drawing.Point(165, 56);
            this.label51.Name = "label51";
            this.label51.Size = new System.Drawing.Size(44, 13);
            this.label51.TabIndex = 53;
            this.label51.Text = "Item ID:";
            // 
            // tabPage9
            // 
            this.tabPage9.Controls.Add(this.PbOptPrize8);
            this.tabPage9.Controls.Add(this.PbOptPrize7);
            this.tabPage9.Controls.Add(this.PbOptPrize6);
            this.tabPage9.Controls.Add(this.PbOptPrize5);
            this.tabPage9.Controls.Add(this.PbOptPrize3);
            this.tabPage9.Controls.Add(this.PbOptPrize2);
            this.tabPage9.Controls.Add(this.PbOptPrize1);
            this.tabPage9.Controls.Add(this.TbPrize2ItemDesc1);
            this.tabPage9.Controls.Add(this.TbPrize2ItemDesc2);
            this.tabPage9.Controls.Add(this.TbPrize2ItemDesc3);
            this.tabPage9.Controls.Add(this.TbPrize2ItemDesc4);
            this.tabPage9.Controls.Add(this.TbPrize2ItemDesc5);
            this.tabPage9.Controls.Add(this.TbPrize2ItemDesc6);
            this.tabPage9.Controls.Add(this.TbPrize2ItemDesc7);
            this.tabPage9.Controls.Add(this.PbItem7);
            this.tabPage9.Controls.Add(this.PbItem6);
            this.tabPage9.Controls.Add(this.PbItem5);
            this.tabPage9.Controls.Add(this.PbItem4);
            this.tabPage9.Controls.Add(this.PbItem3);
            this.tabPage9.Controls.Add(this.PbItem2);
            this.tabPage9.Controls.Add(this.PbItem1);
            this.tabPage9.Controls.Add(this.textBox93);
            this.tabPage9.Controls.Add(this.label94);
            this.tabPage9.Controls.Add(this.textBox64);
            this.tabPage9.Controls.Add(this.label61);
            this.tabPage9.Controls.Add(this.CbOptPrizeType7);
            this.tabPage9.Controls.Add(this.CbOptPrizeType6);
            this.tabPage9.Controls.Add(this.CbOptPrizeType5);
            this.tabPage9.Controls.Add(this.CbOptPrizeType4);
            this.tabPage9.Controls.Add(this.CbOptPrizeType3);
            this.tabPage9.Controls.Add(this.CbOptPrizeType2);
            this.tabPage9.Controls.Add(this.CbOptPrizeType1);
            this.tabPage9.Controls.Add(this.label67);
            this.tabPage9.Controls.Add(this.label68);
            this.tabPage9.Controls.Add(this.label66);
            this.tabPage9.Controls.Add(this.label65);
            this.tabPage9.Controls.Add(this.label64);
            this.tabPage9.Controls.Add(this.label63);
            this.tabPage9.Controls.Add(this.label62);
            this.tabPage9.Controls.Add(this.TbPrizeOptAmount1);
            this.tabPage9.Controls.Add(this.TbPrizeOptAmount2);
            this.tabPage9.Controls.Add(this.label76);
            this.tabPage9.Controls.Add(this.label77);
            this.tabPage9.Controls.Add(this.TbPrizeOptAmount3);
            this.tabPage9.Controls.Add(this.TbPrizeOptAmount4);
            this.tabPage9.Controls.Add(this.TbPrizeOptAmount5);
            this.tabPage9.Controls.Add(this.TbPrizeOptAmount6);
            this.tabPage9.Controls.Add(this.TbPrizeOptAmount7);
            this.tabPage9.Controls.Add(this.label78);
            this.tabPage9.Controls.Add(this.label79);
            this.tabPage9.Controls.Add(this.label80);
            this.tabPage9.Controls.Add(this.label81);
            this.tabPage9.Controls.Add(this.label82);
            this.tabPage9.Controls.Add(this.TbOptPrizeItm1);
            this.tabPage9.Controls.Add(this.TbOptPrizeItm2);
            this.tabPage9.Controls.Add(this.label69);
            this.tabPage9.Controls.Add(this.label70);
            this.tabPage9.Controls.Add(this.TbOptPrizeItm3);
            this.tabPage9.Controls.Add(this.TbOptPrizeItm4);
            this.tabPage9.Controls.Add(this.TbOptPrizeItm5);
            this.tabPage9.Controls.Add(this.TbOptPrizeItm6);
            this.tabPage9.Controls.Add(this.TbOptPrizeItm7);
            this.tabPage9.Controls.Add(this.label71);
            this.tabPage9.Controls.Add(this.label72);
            this.tabPage9.Controls.Add(this.label73);
            this.tabPage9.Controls.Add(this.label74);
            this.tabPage9.Controls.Add(this.label75);
            this.tabPage9.Controls.Add(this.textBox86);
            this.tabPage9.Controls.Add(this.textBox87);
            this.tabPage9.Controls.Add(this.textBox92);
            this.tabPage9.Controls.Add(this.label83);
            this.tabPage9.Controls.Add(this.label90);
            this.tabPage9.Controls.Add(this.label84);
            this.tabPage9.Controls.Add(this.label89);
            this.tabPage9.Controls.Add(this.textBox88);
            this.tabPage9.Controls.Add(this.label88);
            this.tabPage9.Controls.Add(this.textBox89);
            this.tabPage9.Controls.Add(this.label87);
            this.tabPage9.Controls.Add(this.textBox90);
            this.tabPage9.Controls.Add(this.label86);
            this.tabPage9.Controls.Add(this.textBox91);
            this.tabPage9.Location = new System.Drawing.Point(4, 25);
            this.tabPage9.Name = "tabPage9";
            this.tabPage9.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage9.Size = new System.Drawing.Size(749, 421);
            this.tabPage9.TabIndex = 1;
            this.tabPage9.Text = "Chooseable Rewards";
            this.tabPage9.UseVisualStyleBackColor = true;
            // 
            // PbOptPrize8
            // 
            this.PbOptPrize8.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbOptPrize8.Location = new System.Drawing.Point(252, 241);
            this.PbOptPrize8.Name = "PbOptPrize8";
            this.PbOptPrize8.Size = new System.Drawing.Size(25, 25);
            this.PbOptPrize8.TabIndex = 242;
            this.PbOptPrize8.TabStop = false;
            // 
            // PbOptPrize7
            // 
            this.PbOptPrize7.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbOptPrize7.Location = new System.Drawing.Point(252, 205);
            this.PbOptPrize7.Name = "PbOptPrize7";
            this.PbOptPrize7.Size = new System.Drawing.Size(25, 25);
            this.PbOptPrize7.TabIndex = 241;
            this.PbOptPrize7.TabStop = false;
            // 
            // PbOptPrize6
            // 
            this.PbOptPrize6.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbOptPrize6.Location = new System.Drawing.Point(252, 169);
            this.PbOptPrize6.Name = "PbOptPrize6";
            this.PbOptPrize6.Size = new System.Drawing.Size(25, 25);
            this.PbOptPrize6.TabIndex = 240;
            this.PbOptPrize6.TabStop = false;
            // 
            // PbOptPrize5
            // 
            this.PbOptPrize5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbOptPrize5.Location = new System.Drawing.Point(252, 134);
            this.PbOptPrize5.Name = "PbOptPrize5";
            this.PbOptPrize5.Size = new System.Drawing.Size(25, 25);
            this.PbOptPrize5.TabIndex = 239;
            this.PbOptPrize5.TabStop = false;
            // 
            // PbOptPrize3
            // 
            this.PbOptPrize3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbOptPrize3.Location = new System.Drawing.Point(252, 98);
            this.PbOptPrize3.Name = "PbOptPrize3";
            this.PbOptPrize3.Size = new System.Drawing.Size(25, 25);
            this.PbOptPrize3.TabIndex = 238;
            this.PbOptPrize3.TabStop = false;
            // 
            // PbOptPrize2
            // 
            this.PbOptPrize2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbOptPrize2.Location = new System.Drawing.Point(252, 61);
            this.PbOptPrize2.Name = "PbOptPrize2";
            this.PbOptPrize2.Size = new System.Drawing.Size(25, 25);
            this.PbOptPrize2.TabIndex = 237;
            this.PbOptPrize2.TabStop = false;
            // 
            // PbOptPrize1
            // 
            this.PbOptPrize1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbOptPrize1.Location = new System.Drawing.Point(252, 25);
            this.PbOptPrize1.Name = "PbOptPrize1";
            this.PbOptPrize1.Size = new System.Drawing.Size(25, 25);
            this.PbOptPrize1.TabIndex = 236;
            this.PbOptPrize1.TabStop = false;
            // 
            // TbPrize2ItemDesc1
            // 
            this.TbPrize2ItemDesc1.BackColor = System.Drawing.SystemColors.Menu;
            this.TbPrize2ItemDesc1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrize2ItemDesc1.ForeColor = System.Drawing.Color.RoyalBlue;
            this.TbPrize2ItemDesc1.Location = new System.Drawing.Point(291, 25);
            this.TbPrize2ItemDesc1.Name = "TbPrize2ItemDesc1";
            this.TbPrize2ItemDesc1.ReadOnly = true;
            this.TbPrize2ItemDesc1.Size = new System.Drawing.Size(168, 20);
            this.TbPrize2ItemDesc1.TabIndex = 235;
            // 
            // TbPrize2ItemDesc2
            // 
            this.TbPrize2ItemDesc2.BackColor = System.Drawing.SystemColors.Menu;
            this.TbPrize2ItemDesc2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrize2ItemDesc2.ForeColor = System.Drawing.Color.RoyalBlue;
            this.TbPrize2ItemDesc2.Location = new System.Drawing.Point(291, 61);
            this.TbPrize2ItemDesc2.Name = "TbPrize2ItemDesc2";
            this.TbPrize2ItemDesc2.ReadOnly = true;
            this.TbPrize2ItemDesc2.Size = new System.Drawing.Size(168, 20);
            this.TbPrize2ItemDesc2.TabIndex = 234;
            // 
            // TbPrize2ItemDesc3
            // 
            this.TbPrize2ItemDesc3.BackColor = System.Drawing.SystemColors.Menu;
            this.TbPrize2ItemDesc3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrize2ItemDesc3.ForeColor = System.Drawing.Color.RoyalBlue;
            this.TbPrize2ItemDesc3.Location = new System.Drawing.Point(291, 96);
            this.TbPrize2ItemDesc3.Name = "TbPrize2ItemDesc3";
            this.TbPrize2ItemDesc3.ReadOnly = true;
            this.TbPrize2ItemDesc3.Size = new System.Drawing.Size(168, 20);
            this.TbPrize2ItemDesc3.TabIndex = 233;
            // 
            // TbPrize2ItemDesc4
            // 
            this.TbPrize2ItemDesc4.BackColor = System.Drawing.SystemColors.Menu;
            this.TbPrize2ItemDesc4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrize2ItemDesc4.ForeColor = System.Drawing.Color.RoyalBlue;
            this.TbPrize2ItemDesc4.Location = new System.Drawing.Point(291, 133);
            this.TbPrize2ItemDesc4.Name = "TbPrize2ItemDesc4";
            this.TbPrize2ItemDesc4.ReadOnly = true;
            this.TbPrize2ItemDesc4.Size = new System.Drawing.Size(168, 20);
            this.TbPrize2ItemDesc4.TabIndex = 232;
            // 
            // TbPrize2ItemDesc5
            // 
            this.TbPrize2ItemDesc5.BackColor = System.Drawing.SystemColors.Menu;
            this.TbPrize2ItemDesc5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrize2ItemDesc5.ForeColor = System.Drawing.Color.RoyalBlue;
            this.TbPrize2ItemDesc5.Location = new System.Drawing.Point(291, 169);
            this.TbPrize2ItemDesc5.Name = "TbPrize2ItemDesc5";
            this.TbPrize2ItemDesc5.ReadOnly = true;
            this.TbPrize2ItemDesc5.Size = new System.Drawing.Size(168, 20);
            this.TbPrize2ItemDesc5.TabIndex = 231;
            // 
            // TbPrize2ItemDesc6
            // 
            this.TbPrize2ItemDesc6.BackColor = System.Drawing.SystemColors.Menu;
            this.TbPrize2ItemDesc6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrize2ItemDesc6.ForeColor = System.Drawing.Color.RoyalBlue;
            this.TbPrize2ItemDesc6.Location = new System.Drawing.Point(291, 205);
            this.TbPrize2ItemDesc6.Name = "TbPrize2ItemDesc6";
            this.TbPrize2ItemDesc6.ReadOnly = true;
            this.TbPrize2ItemDesc6.Size = new System.Drawing.Size(168, 20);
            this.TbPrize2ItemDesc6.TabIndex = 230;
            // 
            // TbPrize2ItemDesc7
            // 
            this.TbPrize2ItemDesc7.BackColor = System.Drawing.SystemColors.Menu;
            this.TbPrize2ItemDesc7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrize2ItemDesc7.ForeColor = System.Drawing.Color.RoyalBlue;
            this.TbPrize2ItemDesc7.Location = new System.Drawing.Point(291, 241);
            this.TbPrize2ItemDesc7.Name = "TbPrize2ItemDesc7";
            this.TbPrize2ItemDesc7.ReadOnly = true;
            this.TbPrize2ItemDesc7.Size = new System.Drawing.Size(168, 20);
            this.TbPrize2ItemDesc7.TabIndex = 229;
            // 
            // PbItem7
            // 
            this.PbItem7.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbItem7.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbItem7.Location = new System.Drawing.Point(462, 241);
            this.PbItem7.Name = "PbItem7";
            this.PbItem7.Size = new System.Drawing.Size(22, 22);
            this.PbItem7.TabIndex = 228;
            this.PbItem7.TabStop = false;
            this.PbItem7.Click += new System.EventHandler(this.PbItem7_Click);
            // 
            // PbItem6
            // 
            this.PbItem6.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbItem6.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbItem6.Location = new System.Drawing.Point(462, 207);
            this.PbItem6.Name = "PbItem6";
            this.PbItem6.Size = new System.Drawing.Size(22, 22);
            this.PbItem6.TabIndex = 227;
            this.PbItem6.TabStop = false;
            this.PbItem6.Click += new System.EventHandler(this.PbItem6_Click);
            // 
            // PbItem5
            // 
            this.PbItem5.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbItem5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbItem5.Location = new System.Drawing.Point(462, 170);
            this.PbItem5.Name = "PbItem5";
            this.PbItem5.Size = new System.Drawing.Size(22, 22);
            this.PbItem5.TabIndex = 226;
            this.PbItem5.TabStop = false;
            this.PbItem5.Click += new System.EventHandler(this.PbItem5_Click);
            // 
            // PbItem4
            // 
            this.PbItem4.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbItem4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbItem4.Location = new System.Drawing.Point(462, 134);
            this.PbItem4.Name = "PbItem4";
            this.PbItem4.Size = new System.Drawing.Size(22, 22);
            this.PbItem4.TabIndex = 225;
            this.PbItem4.TabStop = false;
            this.PbItem4.Click += new System.EventHandler(this.PbItem4_Click);
            // 
            // PbItem3
            // 
            this.PbItem3.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbItem3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbItem3.Location = new System.Drawing.Point(462, 98);
            this.PbItem3.Name = "PbItem3";
            this.PbItem3.Size = new System.Drawing.Size(22, 22);
            this.PbItem3.TabIndex = 224;
            this.PbItem3.TabStop = false;
            this.PbItem3.Click += new System.EventHandler(this.PbItem3_Click);
            // 
            // PbItem2
            // 
            this.PbItem2.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbItem2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbItem2.Location = new System.Drawing.Point(462, 62);
            this.PbItem2.Name = "PbItem2";
            this.PbItem2.Size = new System.Drawing.Size(22, 22);
            this.PbItem2.TabIndex = 223;
            this.PbItem2.TabStop = false;
            this.PbItem2.Click += new System.EventHandler(this.PbItem2_Click);
            // 
            // PbItem1
            // 
            this.PbItem1.BackgroundImage = global::LcDevPack_TeamDamonA.Properties.Resources.oie_transparent;
            this.PbItem1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.PbItem1.Location = new System.Drawing.Point(462, 25);
            this.PbItem1.Name = "PbItem1";
            this.PbItem1.Size = new System.Drawing.Size(22, 22);
            this.PbItem1.TabIndex = 222;
            this.PbItem1.TabStop = false;
            this.PbItem1.Click += new System.EventHandler(this.PbItem1_Click);
            // 
            // textBox93
            // 
            this.textBox93.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.textBox93.Location = new System.Drawing.Point(511, 309);
            this.textBox93.Name = "textBox93";
            this.textBox93.Size = new System.Drawing.Size(100, 20);
            this.textBox93.TabIndex = 221;
            this.textBox93.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox93_KeyPress);
            // 
            // label94
            // 
            this.label94.AutoSize = true;
            this.label94.Location = new System.Drawing.Point(391, 313);
            this.label94.Name = "label94";
            this.label94.Size = new System.Drawing.Size(77, 13);
            this.label94.TabIndex = 220;
            this.label94.Text = "Only Opt Prize:";
            // 
            // textBox64
            // 
            this.textBox64.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.textBox64.Location = new System.Drawing.Point(197, 309);
            this.textBox64.Name = "textBox64";
            this.textBox64.Size = new System.Drawing.Size(100, 20);
            this.textBox64.TabIndex = 218;
            this.textBox64.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox64_KeyPress);
            // 
            // label61
            // 
            this.label61.AutoSize = true;
            this.label61.Location = new System.Drawing.Point(93, 313);
            this.label61.Name = "label61";
            this.label61.Size = new System.Drawing.Size(67, 13);
            this.label61.TabIndex = 219;
            this.label61.Text = "Option Prize:";
            // 
            // CbOptPrizeType7
            // 
            this.CbOptPrizeType7.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.CbOptPrizeType7.FormattingEnabled = true;
            this.CbOptPrizeType7.Location = new System.Drawing.Point(46, 243);
            this.CbOptPrizeType7.Name = "CbOptPrizeType7";
            this.CbOptPrizeType7.Size = new System.Drawing.Size(81, 21);
            this.CbOptPrizeType7.TabIndex = 207;
            this.CbOptPrizeType7.SelectedIndexChanged += new System.EventHandler(this.comboBox20_SelectedIndexChanged);
            this.CbOptPrizeType7.SelectionChangeCommitted += new System.EventHandler(this.comboBox20_SelectionChangeCommitted);
            // 
            // CbOptPrizeType6
            // 
            this.CbOptPrizeType6.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.CbOptPrizeType6.FormattingEnabled = true;
            this.CbOptPrizeType6.Location = new System.Drawing.Point(46, 207);
            this.CbOptPrizeType6.Name = "CbOptPrizeType6";
            this.CbOptPrizeType6.Size = new System.Drawing.Size(81, 21);
            this.CbOptPrizeType6.TabIndex = 206;
            this.CbOptPrizeType6.SelectedIndexChanged += new System.EventHandler(this.comboBox19_SelectedIndexChanged);
            this.CbOptPrizeType6.SelectionChangeCommitted += new System.EventHandler(this.comboBox19_SelectionChangeCommitted);
            // 
            // CbOptPrizeType5
            // 
            this.CbOptPrizeType5.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.CbOptPrizeType5.FormattingEnabled = true;
            this.CbOptPrizeType5.Location = new System.Drawing.Point(46, 171);
            this.CbOptPrizeType5.Name = "CbOptPrizeType5";
            this.CbOptPrizeType5.Size = new System.Drawing.Size(81, 21);
            this.CbOptPrizeType5.TabIndex = 205;
            this.CbOptPrizeType5.SelectedIndexChanged += new System.EventHandler(this.comboBox18_SelectedIndexChanged);
            this.CbOptPrizeType5.SelectionChangeCommitted += new System.EventHandler(this.comboBox18_SelectionChangeCommitted);
            // 
            // CbOptPrizeType4
            // 
            this.CbOptPrizeType4.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.CbOptPrizeType4.FormattingEnabled = true;
            this.CbOptPrizeType4.Location = new System.Drawing.Point(46, 135);
            this.CbOptPrizeType4.Name = "CbOptPrizeType4";
            this.CbOptPrizeType4.Size = new System.Drawing.Size(81, 21);
            this.CbOptPrizeType4.TabIndex = 204;
            this.CbOptPrizeType4.SelectedIndexChanged += new System.EventHandler(this.comboBox17_SelectedIndexChanged);
            this.CbOptPrizeType4.SelectionChangeCommitted += new System.EventHandler(this.comboBox17_SelectionChangeCommitted);
            // 
            // CbOptPrizeType3
            // 
            this.CbOptPrizeType3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.CbOptPrizeType3.FormattingEnabled = true;
            this.CbOptPrizeType3.Location = new System.Drawing.Point(46, 98);
            this.CbOptPrizeType3.Name = "CbOptPrizeType3";
            this.CbOptPrizeType3.Size = new System.Drawing.Size(81, 21);
            this.CbOptPrizeType3.TabIndex = 203;
            this.CbOptPrizeType3.SelectedIndexChanged += new System.EventHandler(this.comboBox16_SelectedIndexChanged);
            this.CbOptPrizeType3.SelectionChangeCommitted += new System.EventHandler(this.comboBox16_SelectionChangeCommitted);
            // 
            // CbOptPrizeType2
            // 
            this.CbOptPrizeType2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.CbOptPrizeType2.FormattingEnabled = true;
            this.CbOptPrizeType2.Location = new System.Drawing.Point(46, 63);
            this.CbOptPrizeType2.Name = "CbOptPrizeType2";
            this.CbOptPrizeType2.Size = new System.Drawing.Size(81, 21);
            this.CbOptPrizeType2.TabIndex = 202;
            this.CbOptPrizeType2.SelectedIndexChanged += new System.EventHandler(this.comboBox15_SelectedIndexChanged);
            this.CbOptPrizeType2.SelectionChangeCommitted += new System.EventHandler(this.comboBox15_SelectionChangeCommitted);
            // 
            // CbOptPrizeType1
            // 
            this.CbOptPrizeType1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.CbOptPrizeType1.FormattingEnabled = true;
            this.CbOptPrizeType1.Location = new System.Drawing.Point(46, 27);
            this.CbOptPrizeType1.Name = "CbOptPrizeType1";
            this.CbOptPrizeType1.Size = new System.Drawing.Size(81, 21);
            this.CbOptPrizeType1.TabIndex = 201;
            this.CbOptPrizeType1.SelectedIndexChanged += new System.EventHandler(this.comboBox14_SelectedIndexChanged);
            this.CbOptPrizeType1.SelectionChangeCommitted += new System.EventHandler(this.comboBox14_SelectionChangeCommitted);
            // 
            // label67
            // 
            this.label67.AutoSize = true;
            this.label67.Location = new System.Drawing.Point(6, 246);
            this.label67.Name = "label67";
            this.label67.Size = new System.Drawing.Size(34, 13);
            this.label67.TabIndex = 200;
            this.label67.Text = "Type:";
            // 
            // label68
            // 
            this.label68.AutoSize = true;
            this.label68.Location = new System.Drawing.Point(6, 210);
            this.label68.Name = "label68";
            this.label68.Size = new System.Drawing.Size(34, 13);
            this.label68.TabIndex = 199;
            this.label68.Text = "Type:";
            // 
            // label66
            // 
            this.label66.AutoSize = true;
            this.label66.Location = new System.Drawing.Point(6, 174);
            this.label66.Name = "label66";
            this.label66.Size = new System.Drawing.Size(34, 13);
            this.label66.TabIndex = 194;
            this.label66.Text = "Type:";
            // 
            // label65
            // 
            this.label65.AutoSize = true;
            this.label65.Location = new System.Drawing.Point(6, 138);
            this.label65.Name = "label65";
            this.label65.Size = new System.Drawing.Size(34, 13);
            this.label65.TabIndex = 193;
            this.label65.Text = "Type:";
            // 
            // label64
            // 
            this.label64.AutoSize = true;
            this.label64.Location = new System.Drawing.Point(6, 102);
            this.label64.Name = "label64";
            this.label64.Size = new System.Drawing.Size(34, 13);
            this.label64.TabIndex = 192;
            this.label64.Text = "Type:";
            // 
            // label63
            // 
            this.label63.AutoSize = true;
            this.label63.Location = new System.Drawing.Point(6, 66);
            this.label63.Name = "label63";
            this.label63.Size = new System.Drawing.Size(34, 13);
            this.label63.TabIndex = 191;
            this.label63.Text = "Type:";
            // 
            // label62
            // 
            this.label62.AutoSize = true;
            this.label62.Location = new System.Drawing.Point(6, 30);
            this.label62.Name = "label62";
            this.label62.Size = new System.Drawing.Size(34, 13);
            this.label62.TabIndex = 190;
            this.label62.Text = "Type:";
            // 
            // TbPrizeOptAmount1
            // 
            this.TbPrizeOptAmount1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrizeOptAmount1.Location = new System.Drawing.Point(544, 27);
            this.TbPrizeOptAmount1.Name = "TbPrizeOptAmount1";
            this.TbPrizeOptAmount1.Size = new System.Drawing.Size(85, 20);
            this.TbPrizeOptAmount1.TabIndex = 188;
            this.TbPrizeOptAmount1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox79_KeyPress);
            // 
            // TbPrizeOptAmount2
            // 
            this.TbPrizeOptAmount2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrizeOptAmount2.Location = new System.Drawing.Point(544, 63);
            this.TbPrizeOptAmount2.Name = "TbPrizeOptAmount2";
            this.TbPrizeOptAmount2.Size = new System.Drawing.Size(85, 20);
            this.TbPrizeOptAmount2.TabIndex = 187;
            this.TbPrizeOptAmount2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox80_KeyPress);
            // 
            // label76
            // 
            this.label76.AutoSize = true;
            this.label76.Location = new System.Drawing.Point(490, 246);
            this.label76.Name = "label76";
            this.label76.Size = new System.Drawing.Size(46, 13);
            this.label76.TabIndex = 186;
            this.label76.Text = "Amount:";
            // 
            // label77
            // 
            this.label77.AutoSize = true;
            this.label77.Location = new System.Drawing.Point(490, 210);
            this.label77.Name = "label77";
            this.label77.Size = new System.Drawing.Size(46, 13);
            this.label77.TabIndex = 185;
            this.label77.Text = "Amount:";
            // 
            // TbPrizeOptAmount3
            // 
            this.TbPrizeOptAmount3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrizeOptAmount3.Location = new System.Drawing.Point(544, 98);
            this.TbPrizeOptAmount3.Name = "TbPrizeOptAmount3";
            this.TbPrizeOptAmount3.Size = new System.Drawing.Size(85, 20);
            this.TbPrizeOptAmount3.TabIndex = 184;
            this.TbPrizeOptAmount3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox81_KeyPress);
            // 
            // TbPrizeOptAmount4
            // 
            this.TbPrizeOptAmount4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrizeOptAmount4.Location = new System.Drawing.Point(544, 135);
            this.TbPrizeOptAmount4.Name = "TbPrizeOptAmount4";
            this.TbPrizeOptAmount4.Size = new System.Drawing.Size(85, 20);
            this.TbPrizeOptAmount4.TabIndex = 183;
            this.TbPrizeOptAmount4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox82_KeyPress);
            // 
            // TbPrizeOptAmount5
            // 
            this.TbPrizeOptAmount5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrizeOptAmount5.Location = new System.Drawing.Point(544, 171);
            this.TbPrizeOptAmount5.Name = "TbPrizeOptAmount5";
            this.TbPrizeOptAmount5.Size = new System.Drawing.Size(85, 20);
            this.TbPrizeOptAmount5.TabIndex = 182;
            this.TbPrizeOptAmount5.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox83_KeyPress);
            // 
            // TbPrizeOptAmount6
            // 
            this.TbPrizeOptAmount6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrizeOptAmount6.Location = new System.Drawing.Point(544, 207);
            this.TbPrizeOptAmount6.Name = "TbPrizeOptAmount6";
            this.TbPrizeOptAmount6.Size = new System.Drawing.Size(85, 20);
            this.TbPrizeOptAmount6.TabIndex = 181;
            this.TbPrizeOptAmount6.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox84_KeyPress);
            // 
            // TbPrizeOptAmount7
            // 
            this.TbPrizeOptAmount7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbPrizeOptAmount7.Location = new System.Drawing.Point(544, 243);
            this.TbPrizeOptAmount7.Name = "TbPrizeOptAmount7";
            this.TbPrizeOptAmount7.Size = new System.Drawing.Size(85, 20);
            this.TbPrizeOptAmount7.TabIndex = 175;
            this.TbPrizeOptAmount7.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox85_KeyPress);
            // 
            // label78
            // 
            this.label78.AutoSize = true;
            this.label78.Location = new System.Drawing.Point(490, 174);
            this.label78.Name = "label78";
            this.label78.Size = new System.Drawing.Size(46, 13);
            this.label78.TabIndex = 180;
            this.label78.Text = "Amount:";
            // 
            // label79
            // 
            this.label79.AutoSize = true;
            this.label79.Location = new System.Drawing.Point(490, 138);
            this.label79.Name = "label79";
            this.label79.Size = new System.Drawing.Size(46, 13);
            this.label79.TabIndex = 179;
            this.label79.Text = "Amount:";
            // 
            // label80
            // 
            this.label80.AutoSize = true;
            this.label80.Location = new System.Drawing.Point(490, 102);
            this.label80.Name = "label80";
            this.label80.Size = new System.Drawing.Size(46, 13);
            this.label80.TabIndex = 178;
            this.label80.Text = "Amount:";
            // 
            // label81
            // 
            this.label81.AutoSize = true;
            this.label81.Location = new System.Drawing.Point(490, 66);
            this.label81.Name = "label81";
            this.label81.Size = new System.Drawing.Size(46, 13);
            this.label81.TabIndex = 177;
            this.label81.Text = "Amount:";
            // 
            // label82
            // 
            this.label82.AutoSize = true;
            this.label82.Location = new System.Drawing.Point(490, 30);
            this.label82.Name = "label82";
            this.label82.Size = new System.Drawing.Size(46, 13);
            this.label82.TabIndex = 176;
            this.label82.Text = "Amount:";
            // 
            // TbOptPrizeItm1
            // 
            this.TbOptPrizeItm1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbOptPrizeItm1.Location = new System.Drawing.Point(189, 27);
            this.TbOptPrizeItm1.Name = "TbOptPrizeItm1";
            this.TbOptPrizeItm1.Size = new System.Drawing.Size(53, 20);
            this.TbOptPrizeItm1.TabIndex = 174;
            this.TbOptPrizeItm1.TextChanged += new System.EventHandler(this.TextBox72_TextChanged);
            this.TbOptPrizeItm1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox72_KeyPress);
            // 
            // TbOptPrizeItm2
            // 
            this.TbOptPrizeItm2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbOptPrizeItm2.Location = new System.Drawing.Point(189, 63);
            this.TbOptPrizeItm2.Name = "TbOptPrizeItm2";
            this.TbOptPrizeItm2.Size = new System.Drawing.Size(53, 20);
            this.TbOptPrizeItm2.TabIndex = 173;
            this.TbOptPrizeItm2.TextChanged += new System.EventHandler(this.TextBox73_TextChanged);
            this.TbOptPrizeItm2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox73_KeyPress);
            // 
            // label69
            // 
            this.label69.AutoSize = true;
            this.label69.Location = new System.Drawing.Point(635, 246);
            this.label69.Name = "label69";
            this.label69.Size = new System.Drawing.Size(56, 13);
            this.label69.TabIndex = 172;
            this.label69.Text = "Prize Plus:";
            // 
            // label70
            // 
            this.label70.AutoSize = true;
            this.label70.Location = new System.Drawing.Point(635, 210);
            this.label70.Name = "label70";
            this.label70.Size = new System.Drawing.Size(56, 13);
            this.label70.TabIndex = 171;
            this.label70.Text = "Prize Plus:";
            // 
            // TbOptPrizeItm3
            // 
            this.TbOptPrizeItm3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbOptPrizeItm3.Location = new System.Drawing.Point(189, 98);
            this.TbOptPrizeItm3.Name = "TbOptPrizeItm3";
            this.TbOptPrizeItm3.Size = new System.Drawing.Size(53, 20);
            this.TbOptPrizeItm3.TabIndex = 170;
            this.TbOptPrizeItm3.TextChanged += new System.EventHandler(this.TextBox74_TextChanged);
            this.TbOptPrizeItm3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox74_KeyPress);
            // 
            // TbOptPrizeItm4
            // 
            this.TbOptPrizeItm4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbOptPrizeItm4.Location = new System.Drawing.Point(189, 135);
            this.TbOptPrizeItm4.Name = "TbOptPrizeItm4";
            this.TbOptPrizeItm4.Size = new System.Drawing.Size(53, 20);
            this.TbOptPrizeItm4.TabIndex = 169;
            this.TbOptPrizeItm4.TextChanged += new System.EventHandler(this.TextBox75_TextChanged);
            this.TbOptPrizeItm4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox75_KeyPress);
            // 
            // TbOptPrizeItm5
            // 
            this.TbOptPrizeItm5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbOptPrizeItm5.Location = new System.Drawing.Point(189, 171);
            this.TbOptPrizeItm5.Name = "TbOptPrizeItm5";
            this.TbOptPrizeItm5.Size = new System.Drawing.Size(53, 20);
            this.TbOptPrizeItm5.TabIndex = 168;
            this.TbOptPrizeItm5.TextChanged += new System.EventHandler(this.TextBox76_TextChanged);
            this.TbOptPrizeItm5.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox76_KeyPress);
            // 
            // TbOptPrizeItm6
            // 
            this.TbOptPrizeItm6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbOptPrizeItm6.Location = new System.Drawing.Point(189, 207);
            this.TbOptPrizeItm6.Name = "TbOptPrizeItm6";
            this.TbOptPrizeItm6.Size = new System.Drawing.Size(53, 20);
            this.TbOptPrizeItm6.TabIndex = 167;
            this.TbOptPrizeItm6.TextChanged += new System.EventHandler(this.TextBox77_TextChanged);
            this.TbOptPrizeItm6.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox77_KeyPress);
            // 
            // TbOptPrizeItm7
            // 
            this.TbOptPrizeItm7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbOptPrizeItm7.Location = new System.Drawing.Point(189, 243);
            this.TbOptPrizeItm7.Name = "TbOptPrizeItm7";
            this.TbOptPrizeItm7.Size = new System.Drawing.Size(53, 20);
            this.TbOptPrizeItm7.TabIndex = 161;
            this.TbOptPrizeItm7.TextChanged += new System.EventHandler(this.TextBox78_TextChanged);
            this.TbOptPrizeItm7.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox78_KeyPress);
            // 
            // label71
            // 
            this.label71.AutoSize = true;
            this.label71.Location = new System.Drawing.Point(635, 174);
            this.label71.Name = "label71";
            this.label71.Size = new System.Drawing.Size(56, 13);
            this.label71.TabIndex = 166;
            this.label71.Text = "Prize Plus:";
            // 
            // label72
            // 
            this.label72.AutoSize = true;
            this.label72.Location = new System.Drawing.Point(635, 138);
            this.label72.Name = "label72";
            this.label72.Size = new System.Drawing.Size(56, 13);
            this.label72.TabIndex = 165;
            this.label72.Text = "Prize Plus:";
            // 
            // label73
            // 
            this.label73.AutoSize = true;
            this.label73.Location = new System.Drawing.Point(635, 102);
            this.label73.Name = "label73";
            this.label73.Size = new System.Drawing.Size(56, 13);
            this.label73.TabIndex = 164;
            this.label73.Text = "Prize Plus:";
            // 
            // label74
            // 
            this.label74.AutoSize = true;
            this.label74.Location = new System.Drawing.Point(635, 66);
            this.label74.Name = "label74";
            this.label74.Size = new System.Drawing.Size(56, 13);
            this.label74.TabIndex = 163;
            this.label74.Text = "Prize Plus:";
            // 
            // label75
            // 
            this.label75.AutoSize = true;
            this.label75.Location = new System.Drawing.Point(635, 30);
            this.label75.Name = "label75";
            this.label75.Size = new System.Drawing.Size(56, 13);
            this.label75.TabIndex = 162;
            this.label75.Text = "Prize Plus:";
            // 
            // textBox86
            // 
            this.textBox86.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.textBox86.Location = new System.Drawing.Point(700, 27);
            this.textBox86.Name = "textBox86";
            this.textBox86.Size = new System.Drawing.Size(41, 20);
            this.textBox86.TabIndex = 113;
            this.textBox86.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox86_KeyPress);
            // 
            // textBox87
            // 
            this.textBox87.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.textBox87.Location = new System.Drawing.Point(700, 63);
            this.textBox87.Name = "textBox87";
            this.textBox87.Size = new System.Drawing.Size(41, 20);
            this.textBox87.TabIndex = 112;
            this.textBox87.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox87_KeyPress);
            // 
            // textBox92
            // 
            this.textBox92.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.textBox92.Location = new System.Drawing.Point(700, 243);
            this.textBox92.Name = "textBox92";
            this.textBox92.Size = new System.Drawing.Size(41, 20);
            this.textBox92.TabIndex = 100;
            this.textBox92.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox92_KeyPress);
            // 
            // label83
            // 
            this.label83.AutoSize = true;
            this.label83.Location = new System.Drawing.Point(140, 246);
            this.label83.Name = "label83";
            this.label83.Size = new System.Drawing.Size(44, 13);
            this.label83.TabIndex = 111;
            this.label83.Text = "Item ID:";
            // 
            // label90
            // 
            this.label90.AutoSize = true;
            this.label90.Location = new System.Drawing.Point(140, 30);
            this.label90.Name = "label90";
            this.label90.Size = new System.Drawing.Size(44, 13);
            this.label90.TabIndex = 101;
            this.label90.Text = "Item ID:";
            // 
            // label84
            // 
            this.label84.AutoSize = true;
            this.label84.Location = new System.Drawing.Point(140, 210);
            this.label84.Name = "label84";
            this.label84.Size = new System.Drawing.Size(44, 13);
            this.label84.TabIndex = 110;
            this.label84.Text = "Item ID:";
            // 
            // label89
            // 
            this.label89.AutoSize = true;
            this.label89.Location = new System.Drawing.Point(140, 66);
            this.label89.Name = "label89";
            this.label89.Size = new System.Drawing.Size(44, 13);
            this.label89.TabIndex = 102;
            this.label89.Text = "Item ID:";
            // 
            // textBox88
            // 
            this.textBox88.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.textBox88.Location = new System.Drawing.Point(700, 98);
            this.textBox88.Name = "textBox88";
            this.textBox88.Size = new System.Drawing.Size(41, 20);
            this.textBox88.TabIndex = 109;
            this.textBox88.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox88_KeyPress);
            // 
            // label88
            // 
            this.label88.AutoSize = true;
            this.label88.Location = new System.Drawing.Point(140, 102);
            this.label88.Name = "label88";
            this.label88.Size = new System.Drawing.Size(44, 13);
            this.label88.TabIndex = 103;
            this.label88.Text = "Item ID:";
            // 
            // textBox89
            // 
            this.textBox89.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.textBox89.Location = new System.Drawing.Point(700, 135);
            this.textBox89.Name = "textBox89";
            this.textBox89.Size = new System.Drawing.Size(41, 20);
            this.textBox89.TabIndex = 108;
            this.textBox89.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox89_KeyPress);
            // 
            // label87
            // 
            this.label87.AutoSize = true;
            this.label87.Location = new System.Drawing.Point(140, 138);
            this.label87.Name = "label87";
            this.label87.Size = new System.Drawing.Size(44, 13);
            this.label87.TabIndex = 104;
            this.label87.Text = "Item ID:";
            // 
            // textBox90
            // 
            this.textBox90.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.textBox90.Location = new System.Drawing.Point(700, 171);
            this.textBox90.Name = "textBox90";
            this.textBox90.Size = new System.Drawing.Size(41, 20);
            this.textBox90.TabIndex = 107;
            this.textBox90.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox90_KeyPress);
            // 
            // label86
            // 
            this.label86.AutoSize = true;
            this.label86.Location = new System.Drawing.Point(140, 174);
            this.label86.Name = "label86";
            this.label86.Size = new System.Drawing.Size(44, 13);
            this.label86.TabIndex = 105;
            this.label86.Text = "Item ID:";
            // 
            // textBox91
            // 
            this.textBox91.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.textBox91.Location = new System.Drawing.Point(700, 207);
            this.textBox91.Name = "textBox91";
            this.textBox91.Size = new System.Drawing.Size(41, 20);
            this.textBox91.TabIndex = 106;
            this.textBox91.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox91_KeyPress);
            // 
            // textBox69
            // 
            this.textBox69.Location = new System.Drawing.Point(38, 543);
            this.textBox69.Name = "textBox69";
            this.textBox69.Size = new System.Drawing.Size(41, 20);
            this.textBox69.TabIndex = 211;
            this.textBox69.Visible = false;
            // 
            // textBox70
            // 
            this.textBox70.Location = new System.Drawing.Point(85, 439);
            this.textBox70.Name = "textBox70";
            this.textBox70.Size = new System.Drawing.Size(41, 20);
            this.textBox70.TabIndex = 210;
            this.textBox70.Visible = false;
            // 
            // textBox68
            // 
            this.textBox68.Location = new System.Drawing.Point(38, 517);
            this.textBox68.Name = "textBox68";
            this.textBox68.Size = new System.Drawing.Size(41, 20);
            this.textBox68.TabIndex = 212;
            this.textBox68.Visible = false;
            // 
            // textBox65
            // 
            this.textBox65.Location = new System.Drawing.Point(38, 439);
            this.textBox65.Name = "textBox65";
            this.textBox65.Size = new System.Drawing.Size(41, 20);
            this.textBox65.TabIndex = 214;
            this.textBox65.Visible = false;
            // 
            // textBox71
            // 
            this.textBox71.Location = new System.Drawing.Point(85, 465);
            this.textBox71.Name = "textBox71";
            this.textBox71.Size = new System.Drawing.Size(41, 20);
            this.textBox71.TabIndex = 209;
            this.textBox71.Visible = false;
            // 
            // textBox67
            // 
            this.textBox67.Location = new System.Drawing.Point(38, 491);
            this.textBox67.Name = "textBox67";
            this.textBox67.Size = new System.Drawing.Size(41, 20);
            this.textBox67.TabIndex = 208;
            this.textBox67.Visible = false;
            // 
            // textBox53
            // 
            this.textBox53.Location = new System.Drawing.Point(132, 585);
            this.textBox53.Name = "textBox53";
            this.textBox53.Size = new System.Drawing.Size(56, 20);
            this.textBox53.TabIndex = 76;
            this.textBox53.Visible = false;
            // 
            // textBox66
            // 
            this.textBox66.Location = new System.Drawing.Point(38, 465);
            this.textBox66.Name = "textBox66";
            this.textBox66.Size = new System.Drawing.Size(41, 20);
            this.textBox66.TabIndex = 213;
            this.textBox66.Visible = false;
            // 
            // textBox52
            // 
            this.textBox52.Location = new System.Drawing.Point(132, 546);
            this.textBox52.Name = "textBox52";
            this.textBox52.Size = new System.Drawing.Size(56, 20);
            this.textBox52.TabIndex = 75;
            this.textBox52.Visible = false;
            // 
            // textBox49
            // 
            this.textBox49.Location = new System.Drawing.Point(132, 439);
            this.textBox49.Name = "textBox49";
            this.textBox49.Size = new System.Drawing.Size(56, 20);
            this.textBox49.TabIndex = 72;
            this.textBox49.Visible = false;
            // 
            // textBox51
            // 
            this.textBox51.Location = new System.Drawing.Point(132, 509);
            this.textBox51.Name = "textBox51";
            this.textBox51.Size = new System.Drawing.Size(56, 20);
            this.textBox51.TabIndex = 74;
            this.textBox51.Visible = false;
            // 
            // textBox50
            // 
            this.textBox50.Location = new System.Drawing.Point(132, 474);
            this.textBox50.Name = "textBox50";
            this.textBox50.Size = new System.Drawing.Size(56, 20);
            this.textBox50.TabIndex = 73;
            this.textBox50.Visible = false;
            // 
            // tabPage7
            // 
            this.tabPage7.BackColor = System.Drawing.SystemColors.Control;
            this.tabPage7.Controls.Add(this.groupBox7);
            this.tabPage7.Location = new System.Drawing.Point(4, 22);
            this.tabPage7.Name = "tabPage7";
            this.tabPage7.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage7.Size = new System.Drawing.Size(765, 610);
            this.tabPage7.TabIndex = 6;
            this.tabPage7.Text = "Other";
            // 
            // groupBox7
            // 
            this.groupBox7.Controls.Add(this.TbQuestflag);
            this.groupBox7.Controls.Add(this.label103);
            this.groupBox7.Controls.Add(this.TbStartTriggerID);
            this.groupBox7.Controls.Add(this.label102);
            this.groupBox7.Controls.Add(this.label99);
            this.groupBox7.Controls.Add(this.TbGiveKind);
            this.groupBox7.Controls.Add(this.tbFailvalue);
            this.groupBox7.Controls.Add(this.label97);
            this.groupBox7.Controls.Add(this.TbGiveNum);
            this.groupBox7.Controls.Add(this.label101);
            this.groupBox7.Controls.Add(this.TbStartGive);
            this.groupBox7.Controls.Add(this.label100);
            this.groupBox7.Location = new System.Drawing.Point(6, 6);
            this.groupBox7.Name = "groupBox7";
            this.groupBox7.Size = new System.Drawing.Size(389, 248);
            this.groupBox7.TabIndex = 91;
            this.groupBox7.TabStop = false;
            this.groupBox7.Text = "Other";
            // 
            // TbQuestflag
            // 
            this.TbQuestflag.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbQuestflag.Location = new System.Drawing.Point(123, 181);
            this.TbQuestflag.Name = "TbQuestflag";
            this.TbQuestflag.Size = new System.Drawing.Size(83, 20);
            this.TbQuestflag.TabIndex = 241;
            // 
            // label103
            // 
            this.label103.AutoSize = true;
            this.label103.Location = new System.Drawing.Point(7, 184);
            this.label103.Name = "label103";
            this.label103.Size = new System.Drawing.Size(61, 13);
            this.label103.TabIndex = 240;
            this.label103.Text = "Quest Flag:";
            // 
            // TbStartTriggerID
            // 
            this.TbStartTriggerID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbStartTriggerID.Location = new System.Drawing.Point(123, 148);
            this.TbStartTriggerID.Name = "TbStartTriggerID";
            this.TbStartTriggerID.Size = new System.Drawing.Size(83, 20);
            this.TbStartTriggerID.TabIndex = 239;
            // 
            // label102
            // 
            this.label102.AutoSize = true;
            this.label102.Location = new System.Drawing.Point(7, 152);
            this.label102.Name = "label102";
            this.label102.Size = new System.Drawing.Size(82, 13);
            this.label102.TabIndex = 238;
            this.label102.Text = "Start Trigger ID:";
            // 
            // label99
            // 
            this.label99.AutoSize = true;
            this.label99.Location = new System.Drawing.Point(7, 93);
            this.label99.Name = "label99";
            this.label99.Size = new System.Drawing.Size(109, 13);
            this.label99.TabIndex = 237;
            this.label99.Text = "Start Give KindCount:";
            // 
            // TbGiveKind
            // 
            this.TbGiveKind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbGiveKind.Location = new System.Drawing.Point(123, 86);
            this.TbGiveKind.Name = "TbGiveKind";
            this.TbGiveKind.Size = new System.Drawing.Size(100, 20);
            this.TbGiveKind.TabIndex = 236;
            // 
            // tbFailvalue
            // 
            this.tbFailvalue.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.tbFailvalue.Location = new System.Drawing.Point(123, 116);
            this.tbFailvalue.Name = "tbFailvalue";
            this.tbFailvalue.Size = new System.Drawing.Size(100, 20);
            this.tbFailvalue.TabIndex = 235;
            // 
            // label97
            // 
            this.label97.AutoSize = true;
            this.label97.Location = new System.Drawing.Point(7, 123);
            this.label97.Name = "label97";
            this.label97.Size = new System.Drawing.Size(56, 13);
            this.label97.TabIndex = 234;
            this.label97.Text = "Fail Value:";
            // 
            // TbGiveNum
            // 
            this.TbGiveNum.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbGiveNum.Location = new System.Drawing.Point(123, 56);
            this.TbGiveNum.Name = "TbGiveNum";
            this.TbGiveNum.Size = new System.Drawing.Size(100, 20);
            this.TbGiveNum.TabIndex = 221;
            // 
            // label101
            // 
            this.label101.AutoSize = true;
            this.label101.Location = new System.Drawing.Point(7, 60);
            this.label101.Name = "label101";
            this.label101.Size = new System.Drawing.Size(82, 13);
            this.label101.TabIndex = 220;
            this.label101.Text = "Start Give Num:";
            // 
            // TbStartGive
            // 
            this.TbStartGive.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.TbStartGive.Location = new System.Drawing.Point(123, 25);
            this.TbStartGive.Name = "TbStartGive";
            this.TbStartGive.Size = new System.Drawing.Size(100, 20);
            this.TbStartGive.TabIndex = 219;
            // 
            // label100
            // 
            this.label100.AutoSize = true;
            this.label100.Location = new System.Drawing.Point(7, 32);
            this.label100.Name = "label100";
            this.label100.Size = new System.Drawing.Size(80, 13);
            this.label100.TabIndex = 216;
            this.label100.Text = "Start Give Item:";
            // 
            // BtnSave
            // 
            this.BtnSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.BtnSave.Location = new System.Drawing.Point(837, 665);
            this.BtnSave.Name = "BtnSave";
            this.BtnSave.Size = new System.Drawing.Size(100, 28);
            this.BtnSave.TabIndex = 37;
            this.BtnSave.Text = "Save";
            this.BtnSave.UseVisualStyleBackColor = true;
            this.BtnSave.Click += new System.EventHandler(this.button7_Click);
            // 
            // label113
            // 
            this.label113.AutoSize = true;
            this.label113.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.label113.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label113.Location = new System.Drawing.Point(784, 5);
            this.label113.Name = "label113";
            this.label113.Size = new System.Drawing.Size(154, 16);
            this.label113.TabIndex = 38;
            this.label113.Text = "Current Language is :";
            // 
            // lblLang
            // 
            this.lblLang.AutoSize = true;
            this.lblLang.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.lblLang.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblLang.ForeColor = System.Drawing.Color.Chartreuse;
            this.lblLang.Location = new System.Drawing.Point(941, 6);
            this.lblLang.Name = "lblLang";
            this.lblLang.Size = new System.Drawing.Size(0, 16);
            this.lblLang.TabIndex = 103;
            // 
            // label119
            // 
            this.label119.AutoSize = true;
            this.label119.BackColor = System.Drawing.SystemColors.Control;
            this.label119.Location = new System.Drawing.Point(12, 665);
            this.label119.Name = "label119";
            this.label119.Size = new System.Drawing.Size(52, 13);
            this.label119.TabIndex = 104;
            this.label119.Text = "ColorKey:";
            // 
            // pictureBox1
            // 
            this.pictureBox1.BackColor = System.Drawing.Color.LimeGreen;
            this.pictureBox1.Location = new System.Drawing.Point(96, 665);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Size = new System.Drawing.Size(20, 15);
            this.pictureBox1.TabIndex = 105;
            this.pictureBox1.TabStop = false;
            // 
            // label120
            // 
            this.label120.AutoSize = true;
            this.label120.BackColor = System.Drawing.SystemColors.Control;
            this.label120.Location = new System.Drawing.Point(62, 665);
            this.label120.Name = "label120";
            this.label120.Size = new System.Drawing.Size(32, 13);
            this.label120.TabIndex = 106;
            this.label120.Text = "NPC:";
            // 
            // label121
            // 
            this.label121.AutoSize = true;
            this.label121.BackColor = System.Drawing.SystemColors.Control;
            this.label121.Location = new System.Drawing.Point(118, 665);
            this.label121.Name = "label121";
            this.label121.Size = new System.Drawing.Size(34, 13);
            this.label121.TabIndex = 108;
            this.label121.Text = "MOB:";
            // 
            // pictureBox2
            // 
            this.pictureBox2.BackColor = System.Drawing.Color.Red;
            this.pictureBox2.Location = new System.Drawing.Point(154, 665);
            this.pictureBox2.Name = "pictureBox2";
            this.pictureBox2.Size = new System.Drawing.Size(20, 15);
            this.pictureBox2.TabIndex = 107;
            this.pictureBox2.TabStop = false;
            // 
            // label122
            // 
            this.label122.AutoSize = true;
            this.label122.BackColor = System.Drawing.SystemColors.Control;
            this.label122.Location = new System.Drawing.Point(182, 665);
            this.label122.Name = "label122";
            this.label122.Size = new System.Drawing.Size(36, 13);
            this.label122.TabIndex = 110;
            this.label122.Text = "ITEM:";
            // 
            // pictureBox3
            // 
            this.pictureBox3.BackColor = System.Drawing.Color.RoyalBlue;
            this.pictureBox3.Location = new System.Drawing.Point(218, 665);
            this.pictureBox3.Name = "pictureBox3";
            this.pictureBox3.Size = new System.Drawing.Size(20, 15);
            this.pictureBox3.TabIndex = 109;
            this.pictureBox3.TabStop = false;
            // 
            // btnSaveAndNext
            // 
            this.btnSaveAndNext.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.btnSaveAndNext.Location = new System.Drawing.Point(952, 665);
            this.btnSaveAndNext.Name = "btnSaveAndNext";
            this.btnSaveAndNext.Size = new System.Drawing.Size(100, 28);
            this.btnSaveAndNext.TabIndex = 111;
            this.btnSaveAndNext.Text = "Save and Next";
            this.btnSaveAndNext.UseVisualStyleBackColor = true;
            this.btnSaveAndNext.Click += new System.EventHandler(this.btnSaveAndNext_Click);
            // 
            // pbObj1
            // 
            this.pbObj1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pbObj1.Location = new System.Drawing.Point(159, 43);
            this.pbObj1.Name = "pbObj1";
            this.pbObj1.Size = new System.Drawing.Size(25, 25);
            this.pbObj1.TabIndex = 238;
            this.pbObj1.TabStop = false;
            // 
            // pbObj2
            // 
            this.pbObj2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pbObj2.Location = new System.Drawing.Point(159, 43);
            this.pbObj2.Name = "pbObj2";
            this.pbObj2.Size = new System.Drawing.Size(25, 25);
            this.pbObj2.TabIndex = 239;
            this.pbObj2.TabStop = false;
            // 
            // pbObj3
            // 
            this.pbObj3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pbObj3.Location = new System.Drawing.Point(159, 43);
            this.pbObj3.Name = "pbObj3";
            this.pbObj3.Size = new System.Drawing.Size(25, 25);
            this.pbObj3.TabIndex = 239;
            this.pbObj3.TabStop = false;
            // 
            // QuestEditor
            // 
            this.ClientSize = new System.Drawing.Size(1056, 699);
            this.Controls.Add(this.btnSaveAndNext);
            this.Controls.Add(this.label122);
            this.Controls.Add(this.pictureBox3);
            this.Controls.Add(this.label121);
            this.Controls.Add(this.pictureBox2);
            this.Controls.Add(this.label120);
            this.Controls.Add(this.pictureBox1);
            this.Controls.Add(this.label119);
            this.Controls.Add(this.lblLang);
            this.Controls.Add(this.label113);
            this.Controls.Add(this.tabControl1);
            this.Controls.Add(this.groupBox5);
            this.Controls.Add(this.groupBox3);
            this.Controls.Add(this.menuStrip1);
            this.Controls.Add(this.BtnSave);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MainMenuStrip = this.menuStrip1;
            this.MaximizeBox = false;
            this.Name = "QuestEditor";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Quest Editor EP4";
            this.Load += new System.EventHandler(this.Form3_Load);
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.groupBox3.ResumeLayout(false);
            this.groupBox5.ResumeLayout(false);
            this.groupBox5.PerformLayout();
            this.tabControl1.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            this.tabPage1.PerformLayout();
            this.groupBox8.ResumeLayout(false);
            this.groupBox8.PerformLayout();
            this.groupBox11.ResumeLayout(false);
            this.groupBox11.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PbEndNPCItem)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbStartItemNPC)).EndInit();
            this.groupBox10.ResumeLayout(false);
            this.groupBox10.PerformLayout();
            this.groupBox9.ResumeLayout(false);
            this.groupBox9.PerformLayout();
            this.groupBox4.ResumeLayout(false);
            this.groupBox4.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pbIconNeed5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pbIconNeed4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pbIconNeed3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pbIconNeed2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pbIconNeed1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItemNeed5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItemNeed4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItemNeed3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItemNeed2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItemNeed1)).EndInit();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.tabPage3.ResumeLayout(false);
            this.tabControl2.ResumeLayout(false);
            this.tabPage2.ResumeLayout(false);
            this.tabPage2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PbCond1)).EndInit();
            this.GbNpcQuestItm.ResumeLayout(false);
            this.GbNpcQuestItm.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PbObj1NpcID3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbObj1NpcID2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbObj1NpcID1)).EndInit();
            this.tabPage4.ResumeLayout(false);
            this.tabPage4.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PbCond2)).EndInit();
            this.groupBox12.ResumeLayout(false);
            this.groupBox12.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PbObj2NpcID3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbObj2NpcID2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbObj2NpcID1)).EndInit();
            this.tabPage5.ResumeLayout(false);
            this.tabPage5.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PbCond3)).EndInit();
            this.groupBox6.ResumeLayout(false);
            this.groupBox6.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PbNpcID3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbNpcID2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbNpcID1)).EndInit();
            this.Page2.ResumeLayout(false);
            this.Page2.PerformLayout();
            this.tabControl3.ResumeLayout(false);
            this.tabPage8.ResumeLayout(false);
            this.tabPage8.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PbPrize5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbPrize4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbPrize3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbPrize2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbPrize1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbPItem5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbPItem4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbPItem3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbPItem2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbPItem1)).EndInit();
            this.tabPage9.ResumeLayout(false);
            this.tabPage9.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PbOptPrize8)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbOptPrize7)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbOptPrize6)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbOptPrize5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbOptPrize3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbOptPrize2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbOptPrize1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItem7)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItem6)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItem5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItem4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItem3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItem2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.PbItem1)).EndInit();
            this.tabPage7.ResumeLayout(false);
            this.groupBox7.ResumeLayout(false);
            this.groupBox7.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pbObj1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pbObj2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pbObj3)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

    }

        private void CbRvrType_SelectedIndexChanged(object sender, EventArgs e) //dethunter12 add 6/11/2018
        {
            TbRvrType.Text = CbRvrType.SelectedIndex.ToString();
            
            if (TbRvrType.Text == "1")
            {
                CbRvRGrade.Visible = true;
                CbRvRGrade1.Visible = false;
            }
            else if (TbRvrType.Text == "2")
            {
                CbRvRGrade.Visible = false;
                CbRvRGrade1.Visible = true;
            }
        }

        private void CbRvRGrade1_SelectedIndexChanged(object sender, EventArgs e) //dethunter12 add 6/11/2018
        {
            if (TbRvrType.Text == "2")
            {
                TbRvrGrade.Text = GetIndexByComboBox(CbRvRGrade1.Text).ToString(); //dethunter12  add
                CbRvRGrade1.BackColor = Color.LightBlue;
            }
        }

        private void CbRvRGrade_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (TbRvrType.Text == "2")
            {
                TbRvrGrade.Text = GetIndexByComboBox(CbRvRGrade.Text).ToString(); //dethunter12  add
                CbRvRGrade.BackColor = Color.LightBlue;
            }
        }

        private void BtnCopy_Click(object sender, EventArgs e) //dethunter12 add 6/11/2018
        {
            databaseHandle.SendQueryMySql(Host, User, Password, Database, "DROP TABLE IF EXISTS tempTable;" + "CREATE TEMPORARY TABLE tempTable ENGINE=MyISAM SELECT * FROM t_quest WHERE a_index=" + TbIndex.Text + ";" + "SELECT a_index FROM tempTable;" + "UPDATE tempTable SET a_index=(SELECT a_index from t_quest ORDER BY a_index DESC LIMIT 1)+1; " + "SELECT a_index FROM tempTable;" + "INSERT INTO t_quest SELECT * FROM tempTable;");
            LoadListBox();
            listBox1.SelectedIndex = listBox1.Items.Count - 1; //test
            int num5 = (int)new CustomMessage("Copying Complete").ShowDialog();
        }

        private void PbItem1_Click(object sender, EventArgs e) //dethunter12 add 6/11/2018
        {
            ItemPicker itemPicker = new ItemPicker();
            if (itemPicker.ShowDialog() != DialogResult.OK)
                return;
            TbOptPrizeItm1.Text = Convert.ToString(itemPicker.ItemIndex);
            TbPrize2ItemDesc1.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbOptPrizeItm1.Text)); //dethunter12 add 6/14/2018
            TbOptPrizeItm1.BackColor = Color.LightBlue;
            TbPrizeOptAmount1.Text = Convert.ToString(itemPicker.ItemAmount); //dethunter12 add 5/6/2020
        }

        private void PbItem2_Click(object sender, EventArgs e) //dethunter12 add 6/11/2018
        {
            ItemPicker itemPicker = new ItemPicker();
            if (itemPicker.ShowDialog() != DialogResult.OK)
                return;
            TbOptPrizeItm2.Text = Convert.ToString(itemPicker.ItemIndex);
            TbPrize2ItemDesc2.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbOptPrizeItm2.Text)); //dethunter12 add 6/14/2018
            TbOptPrizeItm2.BackColor = Color.LightBlue;
            TbPrizeOptAmount2.Text = Convert.ToString(itemPicker.ItemAmount); //dethunter12 add 5/6/2020

        }

        private void PbItem3_Click(object sender, EventArgs e) //dethunter12 add 6/11/2018
        {
            ItemPicker itemPicker = new ItemPicker();
            if (itemPicker.ShowDialog() != DialogResult.OK)
                return;
            TbOptPrizeItm3.Text = Convert.ToString(itemPicker.ItemIndex);
            TbPrize2ItemDesc3.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbOptPrizeItm3.Text)); //dethunter12 add 6/14/2018
            TbOptPrizeItm3.BackColor = Color.LightBlue;
            TbPrizeOptAmount3.Text = Convert.ToString(itemPicker.ItemAmount); //dethunter12 add 5/6/2020

        }

        private void PbItem4_Click(object sender, EventArgs e) //dethunter12 add 6/11/2018
        {
            ItemPicker itemPicker = new ItemPicker();
            if (itemPicker.ShowDialog() != DialogResult.OK)
                return;
            TbOptPrizeItm4.Text = Convert.ToString(itemPicker.ItemIndex);
            TbPrize2ItemDesc4.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbOptPrizeItm4.Text)); //dethunter12 add 6/14/2018
            TbOptPrizeItm4.BackColor = Color.LightBlue;
            TbPrizeOptAmount4.Text = Convert.ToString(itemPicker.ItemAmount); //dethunter12 add 5/6/2020

        }

        private void PbItem5_Click(object sender, EventArgs e) //dethunter12 add 6/11/2018
        {
            ItemPicker itemPicker = new ItemPicker();
            if (itemPicker.ShowDialog() != DialogResult.OK)
                return;
            TbOptPrizeItm5.Text = Convert.ToString(itemPicker.ItemIndex);
            TbPrize2ItemDesc5.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbOptPrizeItm5.Text)); //dethunter12 add 6/14/2018
            TbOptPrizeItm5.BackColor = Color.LightBlue;
            TbPrizeOptAmount5.Text = Convert.ToString(itemPicker.ItemAmount); //dethunter12 add 5/6/2020

        }

        private void PbItem6_Click(object sender, EventArgs e) //dethunter12 add 6/11/2018
        {
            ItemPicker itemPicker = new ItemPicker();
            if (itemPicker.ShowDialog() != DialogResult.OK)
                return;
            TbOptPrizeItm6.Text = Convert.ToString(itemPicker.ItemIndex);
            TbPrize2ItemDesc6.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbOptPrizeItm6.Text)); //dethunter12 add 6/14/2018
            TbOptPrizeItm6.BackColor = Color.LightBlue;
            TbPrizeOptAmount6.Text = Convert.ToString(itemPicker.ItemAmount); //dethunter12 add 5/6/2020

        }

        private void PbItem7_Click(object sender, EventArgs e) //dethunter12 add 6/11/2018
        {
            ItemPicker itemPicker = new ItemPicker();
            if (itemPicker.ShowDialog() != DialogResult.OK)
                return;
            TbOptPrizeItm7.Text = Convert.ToString(itemPicker.ItemIndex);
            TbPrize2ItemDesc7.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbOptPrizeItm7.Text)); //dethunter12 add 6/14/2018
            TbOptPrizeItm7.BackColor = Color.LightBlue;
            TbPrizeOptAmount7.Text = Convert.ToString(itemPicker.ItemAmount); //dethunter12 add 5/6/2020

        }

        private void PbPItem1_Click(object sender, EventArgs e) //dethunter12 add 6/11/2018
        {
            ItemPicker itemPicker = new ItemPicker();
            if (itemPicker.ShowDialog() != DialogResult.OK)
                return;
            TbPrizeItm1.Text = Convert.ToString(itemPicker.ItemIndex);
            tbItemDesc1.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbPrizeItm1.Text)); //dethunter12 6/14/2018 add
            TbPrizeItm1.BackColor = Color.LightBlue;
            TbPrizeAmount1.Text = Convert.ToString(itemPicker.ItemAmount); //dethunter12 add 5/6/2020


        }

        public void SETIConImages() //dethunter12 add 5/6/2020 test
        {
          
            if (TbOptPrizeItm1.Text != "" && textBox65.Text == "0")
                PbOptPrize1.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbOptPrizeItm1.Text));
            if (textBox65.Text != "0")
                PbOptPrize1.BackgroundImage = null;
            if (TbOptPrizeItm2.Text != "" && textBox66.Text == "0")
                PbOptPrize2.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbOptPrizeItm2.Text));
            if (textBox66.Text != "0")
                PbOptPrize2.BackgroundImage = null;
            if (TbOptPrizeItm3.Text != "" && textBox67.Text == "0")
                PbOptPrize3.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbOptPrizeItm3.Text));
            if (textBox67.Text != "0")
                PbOptPrize3.BackgroundImage = null;
            if (TbOptPrizeItm4.Text != "" && textBox68.Text == "0")
                PbOptPrize5.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbOptPrizeItm4.Text));
            if (textBox68.Text != "0")
                PbOptPrize5.BackgroundImage = null;
            if (TbOptPrizeItm5.Text != "" && textBox69.Text == "0")
                PbOptPrize6.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbOptPrizeItm5.Text));
            if (textBox69.Text != "0")
                PbOptPrize6.BackgroundImage = null;
            if (TbOptPrizeItm6.Text != "" && textBox70.Text == "0")
                PbOptPrize7.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbOptPrizeItm6.Text));
            if (textBox70.Text != "0")
                PbOptPrize7.BackgroundImage = null;
            if (TbOptPrizeItm7.Text != "" && textBox71.Text == "0")
                PbOptPrize8.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbOptPrizeItm7.Text));
            if (textBox71.Text != "0")
                PbOptPrize8.BackgroundImage = null;
            //Prize Page 1
            if (TbPrizeItm1.Text != "" && textBox49.Text == "0")
                PbPrize1.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbPrizeItm1.Text));
            if (textBox49.Text != "0")
                PbPrize1.BackgroundImage = null;
            if (TbPrizeItm2.Text != "" && textBox50.Text == "0")
                PbPrize2.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbPrizeItm2.Text));
            if (textBox50.Text != "0")
                PbPrize2.BackgroundImage = null;
            if (TbPrizeItm3.Text != "" && textBox51.Text == "0")
                PbPrize3.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbPrizeItm3.Text));
            if (textBox51.Text != "0")
                PbPrize3.BackgroundImage = null;
            if (TbPrizeItm4.Text != "" && textBox52.Text == "0")
                PbPrize4.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbPrizeItm4.Text));
            if (textBox52.Text != "0")
                PbPrize4.BackgroundImage = null;
            if (TbPrizeItm5.Text != "" && textBox53.Text == "0")
                PbPrize5.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbPrizeItm5.Text));
            if (textBox53.Text != "0")
                PbPrize5.BackgroundImage = null;
            if (TbObj1Type.Text == "1" || TbObj1Type.Text == "2" || TbObj1Type.Text == "5")
                pbObj1.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbObj1Id.Text));
            else
                pbObj1.BackgroundImage = null;
            if (TbObj2Type.Text == "1" || TbObj2Type.Text == "2" || TbObj2Type.Text == "5")
                pbObj2.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbObj2Id.Text));
            else
                pbObj2.BackgroundImage = null;
            if (TbObj3Type.Text == "1" || TbObj3Type.Text == "2" || TbObj3Type.Text == "5")
                pbObj3.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbObj3Id.Text));
            else
                pbObj3.BackgroundImage = null;
            //Need Items
            if (TbNeedItm1.Text != "-1") pbIconNeed1.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbNeedItm1.Text));
            else  pbIconNeed1.BackgroundImage = null;
           
            if (TbNeedItm2.Text != "-1") pbIconNeed2.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbNeedItm2.Text));
            else pbIconNeed2.BackgroundImage = null;
          
            if (TbNeedItm3.Text != "-1") pbIconNeed3.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbNeedItm3.Text));
            else pbIconNeed3.BackgroundImage = null;
            
            if (TbNeedItm4.Text != "-1") pbIconNeed4.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbNeedItm4.Text));
            else pbIconNeed4.BackgroundImage = null;
           
            if (TbNeedItm5.Text != "-1") pbIconNeed5.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbNeedItm5.Text));
            else pbIconNeed5.BackgroundImage = null;

        }

        private void PbPItem2_Click(object sender, EventArgs e) //dethunter12 add 6/11/2018
        {
            ItemPicker itemPicker = new ItemPicker();
            if (itemPicker.ShowDialog() != DialogResult.OK)
                return;
            TbPrizeItm2.Text = Convert.ToString(itemPicker.ItemIndex);
           tbItemDesc2.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbPrizeItm2.Text)); //dethunter12 add 6/14/2018
            TbPrizeItm2.BackColor = Color.LightBlue;
            TbPrizeAmount2.Text = Convert.ToString(itemPicker.ItemAmount); //dethunter12 add 5/6/2020
        }

        private void PbPItem3_Click(object sender, EventArgs e) //dethunter12 add 6/11/2018
        {
            ItemPicker itemPicker = new ItemPicker();
            if (itemPicker.ShowDialog() != DialogResult.OK)
                return;
            TbPrizeItm3.Text = Convert.ToString(itemPicker.ItemIndex);
            tbItemDesc3.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbPrizeItm3.Text)); //dethunter12 add 6/14/2018
            TbPrizeItm3.BackColor = Color.LightBlue;
            TbPrizeAmount3.Text = Convert.ToString(itemPicker.ItemAmount); //dethunter12 add 5/6/2020
        }

        private void PbPItem4_Click(object sender, EventArgs e) //dethunter12 add 6/11/2018
        {
            ItemPicker itemPicker = new ItemPicker();
            if (itemPicker.ShowDialog() != DialogResult.OK)
                return;
            TbPrizeItm4.Text = Convert.ToString(itemPicker.ItemIndex);
            tbItemDesc4.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbPrizeItm4.Text)); //dethunter12 add 6/14/2018
            TbPrizeItm4.BackColor = Color.LightBlue;
            TbPrizeAmount4.Text = Convert.ToString(itemPicker.ItemAmount); //dethunter12 add 5/6/2020
        }

        private void PbPItem5_Click(object sender, EventArgs e) //dethunter12 add 6/11/2018
        {
            ItemPicker itemPicker = new ItemPicker();
            if (itemPicker.ShowDialog() != DialogResult.OK)
                return;
            TbPrizeItm5.Text = Convert.ToString(itemPicker.ItemIndex);
            tbItemDesc5.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbPrizeItm5.Text)); //dethunter12 add 6/14/2018
            TbPrizeItm5.BackColor = Color.LightBlue;
            TbPrizeAmount5.Text = Convert.ToString(itemPicker.ItemAmount); //dethunter12 add 5/6/2020
        }

        private void PbCond1_Click(object sender, EventArgs e) //dethunter12 add 6/11/2018
        {
            if (TbObj1Type.Text == "0") //dethunter12 add 6/14/2018 conditional check if mob display mob picker else display the itempicker
            {
                MobPicker mobPicker = new MobPicker();
                if (mobPicker.ShowDialog() != DialogResult.OK)
                    return;
                TbObj1Id.Text = Convert.ToString(mobPicker.MobIndex);
                TbObjcAmount1.Text = Convert.ToString(mobPicker.MobCount); //dethunter12 add 5/28/2020
                TbObj1Name0.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj1Id.Text));
                TbObj1Id.BackColor = Color.LightBlue;
            }
            else //dethunter12 add 6/14/2018
            {
                ItemPicker itemPicker = new ItemPicker();
                if (itemPicker.ShowDialog() != DialogResult.OK)
                    return;
                TbObj1Id.Text = Convert.ToString(itemPicker.ItemIndex);
                TbObjcAmount1.Text = Convert.ToString(itemPicker.ItemAmount); //dethunter12 add 5/28/2020
                TbObj1Name0.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbObj1Id.Text)); //dethunter12 add 6/14/2018
                TbObj1Id.BackColor = Color.LightBlue;
            }
        }

        private void PbCond2_Click(object sender, EventArgs e) //dethunter12 add 6/11/2018
        {
            if (TbObj1Type.Text == "0") //dethunter12 add 6/14/2018
            {
                MobPicker mobPicker = new MobPicker();
                if (mobPicker.ShowDialog() != DialogResult.OK)
                    return;
                TbObj2Id.Text = Convert.ToString(mobPicker.MobIndex);
                TbObjcAmount2.Text = Convert.ToString(mobPicker.MobCount); //dethunter12 add 5/28/2020
                TbObj2Name0.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj2Id.Text));
                TbObj2Id.BackColor = Color.LightBlue;
            }
            else //dethunter12 add 6/14/2018
            {
                ItemPicker itemPicker = new ItemPicker();
                if (itemPicker.ShowDialog() != DialogResult.OK)
                    return;
                TbObj2Id.Text = Convert.ToString(itemPicker.ItemIndex);
                TbObjcAmount2.Text = Convert.ToString(itemPicker.ItemAmount); //dethunter12 add 5/28/2020
                TbObj2Name0.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbObj2Id.Text)); //dethunter12 add 6/14/2018
                TbObj2Id.BackColor = Color.LightBlue;
            }
        }

        private void PbCond3_Click(object sender, EventArgs e) //dethunter12 add 6/11/2018
        {
            if (TbObj1Type.Text == "0") //dethunter12 add 6/14/2018
            {
                MobPicker mobPicker = new MobPicker();
                if (mobPicker.ShowDialog() != DialogResult.OK)
                    return;
                TbObj3Id.Text = Convert.ToString(mobPicker.MobIndex);
                TbObjcAmount3.Text = Convert.ToString(mobPicker.MobCount); //dethunter12 add 5/28/2020
                TbObj3Name0.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj3Id.Text));
                TbObj3Id.BackColor = Color.LightBlue;
            }
            else //dethunter12 add 6/14/2018
            {
                ItemPicker itemPicker = new ItemPicker();
                if (itemPicker.ShowDialog() != DialogResult.OK)
                    return;
                TbObj3Id.Text = Convert.ToString(itemPicker.ItemIndex);
                TbObjcAmount3.Text = Convert.ToString(itemPicker.ItemAmount); //dethunter12 add 5/28/2020
                TbObj3Name0.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbObj3Id.Text)); //dethunter12 add 6/14/2018
                TbObj3Id.BackColor = Color.LightBlue;
            }
        }

        private void PbNpcID1_Click(object sender, EventArgs e) //dethunter12 add 6/14/2018
        {
            MobPicker mobPicker = new MobPicker();
            if (mobPicker.ShowDialog() != DialogResult.OK)
                return;
            TbObj3Npc1.Text = Convert.ToString(mobPicker.MobIndex);
            TbObj3Name1.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj3Npc1.Text));
            TbObj3Npc1.BackColor = Color.LightBlue;
        }

        private void PbNpcID2_Click(object sender, EventArgs e) //dethunter12 add 6/14/2018
        {
            MobPicker mobPicker = new MobPicker();
            if (mobPicker.ShowDialog() != DialogResult.OK)
                return;
            TbObj3Npc2.Text = Convert.ToString(mobPicker.MobIndex);
            TbObj3Name2.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj3Npc2.Text));
            TbObj3Npc2.BackColor = Color.LightBlue;
        }

        private void PbNpcID3_Click(object sender, EventArgs e) //dethunter12 6/14/2018
        {
            MobPicker mobPicker = new MobPicker();
            if (mobPicker.ShowDialog() != DialogResult.OK)
                return;
            TbObj3Npc3.Text = Convert.ToString(mobPicker.MobIndex);
            TbObj3Name3.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj3Npc3.Text));
            TbObj3Npc3.BackColor = Color.LightBlue;
        }

        private void PbObj1NpcID1_Click(object sender, EventArgs e) //dethunter12 6/14/2018
        {
            MobPicker mobPicker = new MobPicker();
            if (mobPicker.ShowDialog() != DialogResult.OK)
                return;
            TbObj1Npc1.Text = Convert.ToString(mobPicker.MobIndex);
            TbObj1Name1.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj1Npc1.Text));
            TbObj1Npc1.BackColor = Color.LightBlue;
        }

        private void PbObj1NpcID2_Click(object sender, EventArgs e) //dethunter12 6/14/2018
        {
            MobPicker mobPicker = new MobPicker();
            if (mobPicker.ShowDialog() != DialogResult.OK)
                return;
            TbObj1Npc2.Text = Convert.ToString(mobPicker.MobIndex);
            TbObj1Name2.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj1Npc2.Text));
            TbObj1Npc2.BackColor = Color.LightBlue;
        }

        private void PbObj1NpcID3_Click(object sender, EventArgs e) //dethunter12 6/14/2018
        {
            MobPicker mobPicker = new MobPicker();
            if (mobPicker.ShowDialog() != DialogResult.OK)
                return;
            TbObj1Npc3.Text = Convert.ToString(mobPicker.MobIndex);
            TbObj1Name3.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj1Npc3.Text));
            TbObj1Npc3.BackColor = Color.LightBlue;
        }

        private void PbObj2NpcID1_Click(object sender, EventArgs e) //dethunter12 6/14/2018
        {
            MobPicker mobPicker = new MobPicker();
            if (mobPicker.ShowDialog() != DialogResult.OK)
                return;
            TbObj2Npc1.Text = Convert.ToString(mobPicker.MobIndex);
            TbObj2Name1.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj2Npc1.Text));
            TbObj2Npc1.BackColor = Color.LightBlue;
        }

        private void PbObj2NpcID2_Click(object sender, EventArgs e) //dethunter12 6/14/2018
        {
            MobPicker mobPicker = new MobPicker();
            if (mobPicker.ShowDialog() != DialogResult.OK)
                return;
            TbObj2Npc2.Text = Convert.ToString(mobPicker.MobIndex);
            TbObj2Name2.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj2Npc2.Text));
            TbObj2Npc2.BackColor = Color.LightBlue;
        }

        private void PbObj2NpcID3_Click(object sender, EventArgs e)  //dethunter12 6/14/2018
        {
            MobPicker mobPicker = new MobPicker();
            if (mobPicker.ShowDialog() != DialogResult.OK)
                return;
            TbObj2Npc3.Text = Convert.ToString(mobPicker.MobIndex);
            TbObj2Name3.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbObj2Npc3.Text));
            TbObj2Npc3.BackColor = Color.LightBlue;
        }

        private void PbStartItemNPC_Click(object sender, EventArgs e) //dethunter12 6/14/2018
        {
            if (textBox7.Text == "0")
            {
                MobPicker mobPicker = new MobPicker();
                if (mobPicker.ShowDialog() != DialogResult.OK)
                    return;
                TbStartNpc.Text = Convert.ToString(mobPicker.MobIndex);
                TbStartNpcName.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbStartNpc.Text));
                TbStartNpc.BackColor = Color.LightBlue;
            }
            else if (textBox7.Text == "1")
            {
                ItemPicker itemPicker = new ItemPicker();
                if (itemPicker.ShowDialog() != DialogResult.OK)
                    return;
                TbStartNpc.Text = Convert.ToString(itemPicker.ItemIndex);
                TbEndNpcName.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbStartNpc.Text)); //dethunter12 add 6/14/2018
                TbStartNpc.BackColor = Color.LightBlue;
            }
        }

        private void PbEndNPCItem_Click(object sender, EventArgs e) //dethunter12 6/14/2018
        {
            
            MobPicker mobPicker = new MobPicker();
            if (mobPicker.ShowDialog() != DialogResult.OK)
                return;
            TbEndNpc.Text = Convert.ToString(mobPicker.MobIndex);
            TbEndNpcName.Text = databaseHandle.MobNameFast(Convert.ToInt32(TbEndNpc.Text));
            TbEndNpc.BackColor = Color.LightBlue;
        }

        private void PbItemNeed1_Click(object sender, EventArgs e) //dethunter12 6/14/2018
        {
            ItemPicker itemPicker = new ItemPicker();
            if (itemPicker.ShowDialog() != DialogResult.OK)
                return;
            TbNeedItm1.Text = Convert.ToString(itemPicker.ItemIndex);
            TbNeedName1.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbNeedItm1.Text)); //dethunter12 add 6/14/2018
            TbNeedItm1.BackColor = Color.LightBlue;
        }

        private void PbItemNeed2_Click(object sender, EventArgs e) //dethunter12 6/14/2018
        {
            ItemPicker itemPicker = new ItemPicker();
            if (itemPicker.ShowDialog() != DialogResult.OK)
                return;
            TbNeedItm2.Text = Convert.ToString(itemPicker.ItemIndex);
            TbNeedName2.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbNeedItm2.Text)); //dethunter12 add 6/14/2018
            TbNeedItm2.BackColor = Color.LightBlue;
        }
         
        private void PbItemNeed3_Click(object sender, EventArgs e) //dethunter12 6/14/2018
        {
            ItemPicker itemPicker = new ItemPicker();
            if (itemPicker.ShowDialog() != DialogResult.OK)
                return;
            TbNeedItm3.Text = Convert.ToString(itemPicker.ItemIndex);
            TbNeedName3.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbNeedItm3.Text)); //dethunter12 add 6/14/2018
            TbNeedItm3.BackColor = Color.LightBlue;
        }

        private void PbItemNeed4_Click(object sender, EventArgs e) //dethunter12 6/14/2018
        {
            ItemPicker itemPicker = new ItemPicker();
            if (itemPicker.ShowDialog() != DialogResult.OK)
                return;
            TbNeedItm4.Text = Convert.ToString(itemPicker.ItemIndex);
            TbNeedName4.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbNeedItm4.Text)); //dethunter12 add 6/14/2018
            TbNeedItm4.BackColor = Color.LightBlue;
        }

        private void PbItemNeed5_Click(object sender, EventArgs e) //dethunter12 6/14/2018
        {
            ItemPicker itemPicker = new ItemPicker();
            if (itemPicker.ShowDialog() != DialogResult.OK)
                return;
            TbNeedItm5.Text = Convert.ToString(itemPicker.ItemIndex);
            TbNeedName5.Text = databaseHandle.ItemNameFast(Convert.ToInt32(TbNeedItm5.Text)); //dethunter12 add 6/14/2018
            TbNeedItm5.BackColor = Color.LightBlue;
        }

        private void cbEnabled_CheckedChanged(object sender, EventArgs e)
        {
           if(cbEnabled.Checked == true)
            {
                cbEnabled.BackColor = Color.Chartreuse;
                TbEnable.Text = "1";
            }
           else if (cbEnabled.Checked == false)
            {
                cbEnabled.BackColor = Color.Red;
                TbEnable.Text = "0";
            }
        }

        private void textBox5_TextChanged(object sender, EventArgs e)
        {
            if (TbEnable.Text == "1") //dethunter12 8/11/2018
            {
                cbEnabled.Checked = true;
            }
            else if (TbEnable.Text == "0")
            {
                cbEnabled.Checked = false;
            }
        }

        private void btnSaveAndNext_Click(object sender, EventArgs e)
        {
            namee = LanguageHelper.StringFromLanguage();
            desc  = LanguageHelper.QDescFromLanguage();
            desc2 = LanguageHelper.QDesc2FromLanguage();
            desc3 = LanguageHelper.QDesc3FromLanguage();
            string str1 = "UPDATE t_quest SET " + "a_index = '" + TbIndex.Text + "', ";
            string str2 = TbQuestName.Text.Replace("'", "\\'").Replace("\"", "\\\"");
            string str3 = str1 + "a_name = '" + str2 + "', " + namee + "=" + " " + "'" + str2 + "', " + "a_type1 = '" + TbType1.Text + "', " + "a_type2 = '" + TbType2.Text + "', " + "a_enable = '" + TbEnable.Text + "', " + "a_prequest_num = '" + TbNeedQuestId.Text + "', " + "a_start_type = '" + textBox7.Text + "', " + "a_start_data = '" + TbStartNpc.Text + "', " + "a_start_npc_zone_num = '" + textBox9.Text + "', " + "a_prize_npc = '" + TbEndNpc.Text + "', " + "a_prize_npc_zone_num = '" + textBox11.Text + "', " + "a_need_exp = '" + textBox12.Text + "', " + "a_need_min_level = '" + TbMinLvl.Text + "', " + "a_need_max_level = '" + TbMaxLvl.Text + "', " + "a_need_job = '" + textBox15.Text + "', " + "a_need_item0 = '" + TbNeedItm1.Text + "', " + "a_need_item1 = '" + TbNeedItm2.Text + "', " + "a_need_item2 = '" + TbNeedItm3.Text + "', " + "a_need_item3 = '" + TbNeedItm4.Text + "', " + "a_need_item4 = '" + TbNeedItm5.Text + "', " + "a_need_item_count0 = '" + tbNeedAmnt1.Text + "', " + "a_need_item_count1 = '" + tbNeedAmnt2.Text + "', " + "a_need_item_count2 = '" + tbNeedAmnt3.Text + "', " + "a_need_item_count3 = '" + tbNeedAmnt4.Text + "', " + "a_need_item_count4 = '" + tbNeedAmnt5.Text + "', " + "a_need_rvr_type = '" + TbRvrType.Text + "', " + "a_need_rvr_grade = '" + TbRvrGrade.Text + "', " + "a_condition0_type = '" + TbObj1Type.Text + "', " + "a_condition1_type = '" + TbObj2Type.Text + "', " + "a_condition2_type = '" + TbObj3Type.Text + "', " + "a_condition0_index = '" + TbObj1Id.Text + "', " + "a_condition1_index = '" + TbObj2Id.Text + "', " + "a_condition2_index = '" + TbObj3Id.Text + "', " + "a_condition0_num = '" + TbObjcAmount1.Text + "', " + "a_condition1_num = '" + TbObjcAmount2.Text + "', " + "a_condition2_num = '" + TbObjcAmount3.Text + "', " + "a_condition0_data0 = '" + TbObj1Npc1.Text + "', " + "a_condition0_data1 = '" + TbObj1Npc2.Text + "', " + "a_condition0_data2 = '" + TbObj1Npc3.Text + "', " + "a_condition0_data3 = '" + TbObj1Ptg.Text + "', " + "a_condition1_data0 = '" + TbObj2Npc1.Text + "', " + "a_condition1_data1 = '" + TbObj2Npc2.Text + "', " + "a_condition1_data2 = '" + TbObj2Npc3.Text + "', " + "a_condition1_data3 = '" + TbObj2Ptg.Text + "', " + "a_condition2_data0 = '" + TbObj3Npc1.Text + "', " + "a_condition2_data1 = '" + TbObj3Npc2.Text + "', " + "a_condition2_data2 = '" + TbObj3Npc3.Text + "', " + "a_condition2_data3 = '" + TbObj3Ptg.Text + "', " + "a_prize_type0 = '" + textBox49.Text + "', " + "a_prize_type1 = '" + textBox50.Text + "', " + "a_prize_type2 = '" + textBox51.Text + "', " + "a_prize_type3 = '" + textBox52.Text + "', " + "a_prize_type4 = '" + textBox53.Text + "', " + "a_prize_index0 = '" + TbPrizeItm1.Text + "', " + "a_prize_index1 = '" + TbPrizeItm2.Text + "', " + "a_prize_index2 = '" + TbPrizeItm3.Text + "', " + "a_prize_index3 = '" + TbPrizeItm4.Text + "', " + "a_prize_index4 = '" + TbPrizeItm5.Text + "', " + "a_prize_data0 = '" + TbPrizeAmount1.Text + "', " + "a_prize_data1 = '" + TbPrizeAmount2.Text + "', " + "a_prize_data2 = '" + TbPrizeAmount3.Text + "', " + "a_prize_data3 = '" + TbPrizeAmount4.Text + "', " + "a_prize_data4 = '" + TbPrizeAmount5.Text + "', " + "a_option_prize = '" + textBox64.Text + "', " + "a_opt_prize_type0 = '" + textBox65.Text + "', " + "a_opt_prize_type1 = '" + textBox66.Text + "', " + "a_opt_prize_type2 = '" + textBox67.Text + "', " + "a_opt_prize_type3 = '" + textBox68.Text + "', " + "a_opt_prize_type4 = '" + textBox69.Text + "', " + "a_opt_prize_type5 = '" + textBox70.Text + "', " + "a_opt_prize_type6 = '" + textBox71.Text + "', " + "a_opt_prize_index0 = '" + TbOptPrizeItm1.Text + "', " + "a_opt_prize_index1 = '" + TbOptPrizeItm2.Text + "', " + "a_opt_prize_index2 = '" + TbOptPrizeItm3.Text + "', " + "a_opt_prize_index3 = '" + TbOptPrizeItm4.Text + "', " + "a_opt_prize_index4 = '" + TbOptPrizeItm5.Text + "', " + "a_opt_prize_index5 = '" + TbOptPrizeItm6.Text + "', " + "a_opt_prize_index6 = '" + TbOptPrizeItm7.Text + "', " + "a_opt_prize_data0 = '" + TbPrizeOptAmount1.Text + "', " + "a_opt_prize_data1 = '" + TbPrizeOptAmount2.Text + "', " + "a_opt_prize_data2 = '" + TbPrizeOptAmount3.Text + "', " + "a_opt_prize_data3 = '" + TbPrizeOptAmount4.Text + "', " + "a_opt_prize_data4 = '" + TbPrizeOptAmount5.Text + "', " + "a_opt_prize_data5 = '" + TbPrizeOptAmount6.Text + "', " + "a_opt_prize_data6 = '" + TbPrizeOptAmount7.Text + "', " + "a_opt_prize_plus0 = '" + textBox86.Text + "', " + "a_opt_prize_plus1 = '" + textBox87.Text + "', " + "a_opt_prize_plus2 = '" + textBox88.Text + "', " + "a_opt_prize_plus3 = '" + textBox89.Text + "', " + "a_opt_prize_plus4 = '" + textBox90.Text + "', " + "a_opt_prize_plus5 = '" + textBox91.Text + "', " + "a_opt_prize_plus6 = '" + textBox92.Text + "', " + "a_only_opt_prize = '" + textBox93.Text + "', ";
            string str4 = RtbStartDescr.Text.Replace("'", "\\'").Replace("\"", "\\\"");
            string str5 = RtbRewardDescr.Text.Replace("'", "\\'").Replace("\"", "\\\"");
            string str6 = RtbCondDescr.Text.Replace("'", "\\'").Replace("\"", "\\\"");
            string Query = str3 + "a_desc = '" + str4 + "', " + "a_desc2 = '" + str5 + "', " + "a_desc3 = '" + str6 + "', " + desc + "=" + " " + "'" + str4 + "', " + desc2 + "=" + " " + "'" + str5 + "', " + desc3 + "=" + " " + "'" + str6 + "', " + "a_failvalue = '" + tbFailvalue.Text + "', " + "a_partyscale = '" + textBox98.Text + "', " + "a_start_give_item = '" + TbStartGive.Text + "', " + "a_start_give_kindcount = '" + TbGiveKind.Text + "', " + "a_start_give_numcount = '" + TbGiveNum.Text + "', " + "a_start_trigger_id = '" + TbStartTriggerID.Text + "', " + "a_quest_flag = '" + TbQuestflag.Text + "' " + "WHERE a_index = '" + TbIndex.Text + "'";
            databaseHandle.SendQueryMySql(Host, User, Password, Database, Query);
            Console.WriteLine(Query);
            int selectedIndex = listBox1.SelectedIndex;
            int nextselect = listBox1.SelectedIndex + 1;
            if (textBox104.Text != "")
                SearchList(textBox104.Text);
            else
                LoadListBox();
            if (selectedIndex + 1 >= listBox1.Items.Count)
            {
                listBox1.SelectedIndex = selectedIndex;
            }
            else
                listBox1.SelectedIndex = nextselect;
            ResetTextBoxField();//dethunter12 add 5/28/2020
            int num4 = (int)new CustomMessage("Done :)").ShowDialog();
        }

        private void CbRvrType_SelectionChangeCommitted(object sender, EventArgs e)
        {
            CbRvrType.BackColor = Color.LightBlue; //dethunter12 4.20.2019
        }

        private void CbRvRGrade1_SelectionChangeCommitted(object sender, EventArgs e)
        {
            CbRvRGrade.BackColor = Color.LightBlue; //dethunter12 4.20.2019
        }

        private void Page2_Click(object sender, EventArgs e)
        {

        }

        private void TextBox54_TextChanged(object sender, EventArgs e)
        {
            //dethunter12 text change icon update 5/7/2020
            if (TbPrizeItm1.Text != "" && textBox49.Text == "0")
            {
                PbPrize1.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbPrizeItm1.Text));
                tbItemDesc1.Text = databaseHandle.ItemNameFast(int.Parse(TbPrizeItm1.Text));
            }
               
            if (textBox49.Text != "0" || TbPrizeItm1.Text == "0")
            {
                PbPrize1.BackgroundImage = null;
                tbItemDesc1.Text = "";
            }
               
        }

        private void TextBox55_TextChanged(object sender, EventArgs e)
        {
            if (TbPrizeItm2.Text != "" && textBox50.Text == "0")
            {
                PbPrize2.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbPrizeItm2.Text));
                tbItemDesc2.Text = databaseHandle.ItemNameFast(int.Parse(TbPrizeItm2.Text));
            }
            if (textBox50.Text != "0" || TbPrizeItm2.Text == "0")
            {
                PbPrize2.BackgroundImage = null;
                tbItemDesc2.Text = "";
            }
               
        }

        private void TextBox56_TextChanged(object sender, EventArgs e)
        {
            if (TbPrizeItm3.Text != "" && textBox51.Text == "0")
            {
                PbPrize3.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbPrizeItm3.Text));
                tbItemDesc3.Text = databaseHandle.ItemNameFast(int.Parse(TbPrizeItm3.Text));
            }
            if (textBox51.Text != "0" || TbPrizeItm3.Text == "0")
            {
                PbPrize3.BackgroundImage = null;
                tbItemDesc3.Text = "";
            }
               
        }

        private void TextBox57_TextChanged(object sender, EventArgs e)
        {
            if (TbPrizeItm4.Text != "" && textBox52.Text == "0")
            {
                PbPrize4.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbPrizeItm4.Text));
                tbItemDesc4.Text = databaseHandle.ItemNameFast(int.Parse(TbPrizeItm4.Text));
            }
            if (textBox52.Text != "0" || TbPrizeItm4.Text == "0")
            {
                PbPrize4.BackgroundImage = null;
                tbItemDesc4.Text = "";
            }
               
        }

        private void TextBox58_TextChanged(object sender, EventArgs e)
        {
            if (TbPrizeItm5.Text != "" && textBox53.Text == "0")
            {
                PbPrize5.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbPrizeItm5.Text));
                tbItemDesc5.Text = databaseHandle.ItemNameFast(int.Parse(TbPrizeItm5.Text));
            }
            if (textBox53.Text != "0" || TbPrizeItm5.Text == "0")
            {
                PbPrize4.BackgroundImage = null;
                tbItemDesc5.Text = "";
            }
           
        }

        private void TextBox72_TextChanged(object sender, EventArgs e)
        {
            if (TbOptPrizeItm1.Text != "" && textBox65.Text == "0")
            {
                PbOptPrize1.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbOptPrizeItm1.Text));
                TbPrize2ItemDesc1.Text = databaseHandle.ItemNameFast(int.Parse(TbOptPrizeItm1.Text));
            }
            if (textBox65.Text != "0" || TbOptPrizeItm1.Text == "0")
            {
                PbOptPrize1.BackgroundImage = null;
                TbPrize2ItemDesc1.Text = "";
            }
            
        }

        private void TextBox73_TextChanged(object sender, EventArgs e)
        {
            if (TbOptPrizeItm2.Text != "" && textBox66.Text == "0")
            {
                PbOptPrize2.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbOptPrizeItm2.Text));
                TbPrize2ItemDesc2.Text = databaseHandle.ItemNameFast(int.Parse(TbOptPrizeItm2.Text));
            }
            if (textBox66.Text != "0" || TbOptPrizeItm2.Text == "0")
            {
                PbOptPrize2.BackgroundImage = null;
                TbPrize2ItemDesc2.Text = "";
            }
             
        }

        private void TextBox74_TextChanged(object sender, EventArgs e)
        {
            if (TbOptPrizeItm3.Text != "" && textBox67.Text == "0")
            {
                PbOptPrize3.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbOptPrizeItm3.Text));
                TbPrize2ItemDesc3.Text = databaseHandle.ItemNameFast(int.Parse(TbOptPrizeItm3.Text));

            }
            if (textBox67.Text != "0" || TbOptPrizeItm3.Text == "0")
            {
                PbOptPrize3.BackgroundImage = null;
                TbPrize2ItemDesc3.Text = "";
            }

        }

        private void TextBox75_TextChanged(object sender, EventArgs e)
        {
            if (TbOptPrizeItm4.Text != "" && textBox68.Text == "0")
            {
                PbOptPrize5.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbOptPrizeItm4.Text));
                TbPrize2ItemDesc4.Text = databaseHandle.ItemNameFast(int.Parse(TbOptPrizeItm4.Text));

            }
            if (textBox68.Text != "0" || TbOptPrizeItm4.Text == "0")
            {
                PbOptPrize5.BackgroundImage = null;
                TbPrize2ItemDesc4.Text = "";
            }
              
        }

        private void TextBox76_TextChanged(object sender, EventArgs e)
        {
            if (TbOptPrizeItm5.Text != "" && textBox69.Text == "0")
            {
                PbOptPrize6.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbOptPrizeItm5.Text));
                TbPrize2ItemDesc5.Text = databaseHandle.ItemNameFast(int.Parse(TbOptPrizeItm5.Text));

            }
            if (textBox69.Text != "0" || TbOptPrizeItm5.Text == "0")
            {
                PbOptPrize6.BackgroundImage = null;
                TbPrize2ItemDesc5.Text = "";
            }
          
        }

        private void TextBox77_TextChanged(object sender, EventArgs e)
        {
            if (TbOptPrizeItm6.Text != "" && textBox70.Text == "0")
            {
                PbOptPrize7.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbOptPrizeItm6.Text));
                TbPrize2ItemDesc6.Text = databaseHandle.ItemNameFast(int.Parse(TbOptPrizeItm6.Text));

            }
            if (textBox70.Text != "0" || TbOptPrizeItm6.Text == "0")
            {
                PbOptPrize7.BackgroundImage = null;
                TbPrize2ItemDesc6.Text = "";
            }
           
        }

        private void TextBox78_TextChanged(object sender, EventArgs e)
        {
            if (TbOptPrizeItm7.Text != "" && textBox71.Text == "0")
            {
                PbOptPrize8.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbOptPrizeItm7.Text));
                TbPrize2ItemDesc7.Text = databaseHandle.ItemNameFast(int.Parse(TbOptPrizeItm7.Text));

            }
            if (textBox71.Text != "0" || TbOptPrizeItm7.Text == "0")
            {
                PbOptPrize8.BackgroundImage = null;
                TbPrize2ItemDesc7.Text = "";
            }
           
        }

        private void TextBox16_TextChanged(object sender, EventArgs e)
        {
            if (TbNeedItm1.Text != "-1") //dethunter12 add 9/29/2020
            {
                int needItmFastResult = int.Parse(TbNeedItm1.Text);
                pbIconNeed1.BackgroundImage = databaseHandle.IconFast(needItmFastResult);
                TbNeedName1.Text = databaseHandle.ItemNameFast(needItmFastResult);
            }
                
            else
                pbIconNeed1.BackgroundImage = null;
        }

        private void TextBox17_TextChanged(object sender, EventArgs e)
        { //dethunter12 add 5/7/2020 
            //check if the item has information in it if not dont use a icon
            if (TbNeedItm2.Text != "-1")
            {
                int needItmFastResult = int.Parse(TbNeedItm2.Text);
                pbIconNeed2.BackgroundImage = databaseHandle.IconFast(needItmFastResult);
                TbNeedName2.Text = databaseHandle.ItemNameFast(needItmFastResult);
            }
                
            else
                pbIconNeed2.BackgroundImage = null;
        }

        private void TextBox18_TextChanged(object sender, EventArgs e)
        {
            if (TbNeedItm3.Text != "-1")
            {
                int needItmFastResult = int.Parse(TbNeedItm3.Text);
                pbIconNeed3.BackgroundImage = databaseHandle.IconFast(needItmFastResult);
                TbNeedName3.Text = databaseHandle.ItemNameFast(needItmFastResult);
            }
               
            else
                pbIconNeed3.BackgroundImage = null;
        }

        private void TextBox19_TextChanged(object sender, EventArgs e)
        {
            if (TbNeedItm4.Text != "-1")
            {
                int needItmFastResult = int.Parse(TbNeedItm4.Text);
                pbIconNeed4.BackgroundImage = databaseHandle.IconFast(needItmFastResult);
                TbNeedName4.Text = databaseHandle.ItemNameFast(needItmFastResult);
            }

            else
                pbIconNeed4.BackgroundImage = null;
        }

        private void TextBox20_TextChanged(object sender, EventArgs e)
        {
            if (TbNeedItm5.Text != "-1")
            {
                int needItmFastResult = int.Parse(TbNeedItm5.Text);
                pbIconNeed5.BackgroundImage = databaseHandle.IconFast(needItmFastResult);
                TbNeedName5.Text = databaseHandle.ItemNameFast(needItmFastResult);
            }
            else
                pbIconNeed5.BackgroundImage = null;
        }

        private void TbObj2Ptg_TextChanged(object sender, EventArgs e)
        {
            if (TbObj2Type.Text == "1" && int.Parse(TbObj2Ptg.Text) > 10000) //dethunter12 add 9/2/2020
                TbObj2Ptg.Text = Convert.ToString(10000);
            Update_Probability_Text();
        }

        private void TbObj1Ptg_TextChanged(object sender, EventArgs e)
        {
            if (TbObj1Type.Text == "1" && int.Parse(TbObj1Ptg.Text) > 10000)
                TbObj1Ptg.Text = Convert.ToString(10000);
            Update_Probability_Text();
        }

        private void TbObj3Ptg_TextChanged(object sender, EventArgs e)
        {
            if (TbObj3Type.Text == "1" && int.Parse(TbObj3Ptg.Text) > 10000)
                TbObj3Ptg.Text = Convert.ToString(10000);
            Update_Probability_Text();
        }

        private void TbObj1Id_TextChanged(object sender, EventArgs e)
        {
            int objType = int.Parse(TbObj1Type.Text);
            if (objType == 0) //dethunter12 add 9/29/2020 6:00PM EST
            {
                TbObj1Name0.Text = databaseHandle.MobNameFast(int.Parse(TbObj1Id.Text));
            }
            else  if (objType == 1 || objType == 2 || objType == 5)//dethunter12 add 9/29/2020 6:07PM EST
            {
                TbObj1Name0.Text = databaseHandle.ItemNameFast(int.Parse(TbObj1Id.Text));
            }
        }

        private void TbObj2Id_TextChanged(object sender, EventArgs e)
        {
            int objType = int.Parse(TbObj2Type.Text);
            if (objType == 0) //dethunter12 add 9/29/2020 6:23PM EST
            {
                TbObj2Name0.Text = databaseHandle.MobNameFast(int.Parse(TbObj2Id.Text));
            }
            else if (objType == 1 || objType == 2 || objType == 5)//dethunter12 add 9/29/2020 6:23PM EST
            {
                TbObj2Name0.Text = databaseHandle.ItemNameFast(int.Parse(TbObj2Id.Text));
            }
        }

        private void TbObj3Id_TextChanged(object sender, EventArgs e)
        {
            int objType = int.Parse(TbObj3Type.Text);
            if (objType == 0) //dethunter12 add 9/29/2020 6:24PM EST
            {
                TbObj3Name0.Text = databaseHandle.MobNameFast(int.Parse(TbObj3Id.Text));
            }
            else if (objType == 1 || objType == 2 || objType == 5)//dethunter12 add 9/29/2020 6:24PM EST
            {
                TbObj3Name0.Text = databaseHandle.ItemNameFast(int.Parse(TbObj3Id.Text));
            }
        }

        private void TbObj3Npc1_TextChanged(object sender, EventArgs e)
        {
            //dethunter12 add 6/29/2020 6:29 EST  
            if (TbObj3Npc1.Text != "0") //dethunter12 add 9/29/2020 6:24PM EST
            {
                TbObj3Name1.Text = databaseHandle.MobNameFast(int.Parse(TbObj3Npc1.Text));
            }
        }

        private void TbObj3Npc2_TextChanged(object sender, EventArgs e)
        {
            if (TbObj3Npc2.Text != "0") //dethunter12 add 9/29/2020 6:24PM EST
            {
                TbObj3Name2.Text = databaseHandle.MobNameFast(int.Parse(TbObj3Npc2.Text));
            }
        }

        private void TbObj3Npc3_TextChanged(object sender, EventArgs e)
        {
            //dethunter12 add 6/29/2020 6:29 EST
            if (TbObj3Npc3.Text != "0") //dethunter12 add 9/29/2020 6:24PM EST
            {
                TbObj3Name3.Text = databaseHandle.MobNameFast(int.Parse(TbObj3Npc3.Text));
            }
        }

        private void TbObj2Npc1_TextChanged(object sender, EventArgs e)
        {
            if (TbObj2Npc1.Text != "0") //dethunter12 add 9/29/2020 6:24PM EST
            {
                TbObj2Name1.Text = databaseHandle.MobNameFast(int.Parse(TbObj2Npc1.Text));
            }
        }

        private void TbObj2Npc2_TextChanged(object sender, EventArgs e)
        {
            if (TbObj2Npc2.Text != "0") //dethunter12 add 9/29/2020 6:24PM EST
            {
                TbObj2Name2.Text = databaseHandle.MobNameFast(int.Parse(TbObj2Npc2.Text));
            }
        }

        private void TbObj2Npc3_TextChanged(object sender, EventArgs e)
        {
            if (TbObj2Npc3.Text != "0") //dethunter12 add 9/29/2020 6:24PM EST
            {
                TbObj2Name3.Text = databaseHandle.MobNameFast(int.Parse(TbObj2Npc3.Text));
            }
        }

        private void TbObj1Npc1_TextChanged(object sender, EventArgs e)
        {
            if (TbObj1Npc1.Text != "0") //dethunter12 add 9/29/2020 6:24PM EST
            {
                TbObj1Name1.Text = databaseHandle.MobNameFast(int.Parse(TbObj1Npc1.Text));
            }
        }

        private void TbObj1Npc2_TextChanged(object sender, EventArgs e)
        {
            if (TbObj1Npc2.Text != "0") //dethunter12 add 9/29/2020 6:24PM EST
            {
                TbObj1Name2.Text = databaseHandle.MobNameFast(int.Parse(TbObj1Npc2.Text));
            }
        }

        private void TbObj1Npc3_TextChanged(object sender, EventArgs e)
        {
            if (TbObj1Npc3.Text != "0") //dethunter12 add 9/29/2020 6:24PM EST
            {
                TbObj1Name3.Text = databaseHandle.MobNameFast(int.Parse(TbObj1Npc3.Text));
            }
        }

        private void CbRvRGrade_SelectionChangeCommitted(object sender, EventArgs e)
        {
            CbRvRGrade.BackColor = Color.LightBlue;
        }

        private void TbObj1Type_TextChanged(object sender, EventArgs e)
        {
            if (TbObj1Type.Text == "1" || TbObj1Type.Text == "2" || TbObj1Type.Text == "5" && TbObj1Id.Text != "")
            {
                pbObj1.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbObj1Id.Text));
                TbObj1Name0.Text = databaseHandle.ItemNameFast(int.Parse(TbObj1Id.Text));
            }

            if ( TbObj1Type.Text != "1" && TbObj1Type.Text == "2" && TbObj1Type.Text == "5" )
            {
                pbObj1.BackgroundImage = null;
               
            }
        }

        private void TbObj2Type_TextChanged(object sender, EventArgs e)
        {
            if (TbObj2Type.Text == "1" || TbObj2Type.Text == "2" || TbObj2Type.Text == "5" && TbObj2Id.Text != "")
            {
                pbObj2.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbObj2Id.Text));
                TbObj2Name0.Text = databaseHandle.ItemNameFast(int.Parse(TbObj2Id.Text));
            }

            if (TbObj2Type.Text != "1" && TbObj2Type.Text == "2" && TbObj2Type.Text == "5")
            {
                pbObj2.BackgroundImage = null;

            }
        }

        private void TbObj3Type_TextChanged(object sender, EventArgs e)
        {
            if (TbObj3Type.Text == "1" || TbObj3Type.Text == "2" || TbObj3Type.Text == "5" && TbObj3Id.Text != "")
            {
                pbObj3.BackgroundImage = databaseHandle.IconFast(Convert.ToInt32(TbObj3Id.Text));
                TbObj3Name0.Text = databaseHandle.ItemNameFast(int.Parse(TbObj3Id.Text));
            }

            if (TbObj3Type.Text != "1" && TbObj3Type.Text == "2" && TbObj3Type.Text == "5")
            {
                pbObj3.BackgroundImage = null;

            }
        }
    }
}
