public System.Windows.Forms.AutoCompleteStringCollection GetNomesFuncionarios()
        {
            System.Windows.Forms.AutoCompleteStringCollection myCollection = new System.Windows.Forms.AutoCompleteStringCollection();

            NpgsqlDataReader reader = null;

            try
            {
                string query = "select nome, matricula from funcionario";
                dal.OpenConnection();
                reader = dal.ExecuteDataReader(query);

                while (reader.Read())
                {
                    myCollection.Add(reader["nome"].ToString() + "(" + reader["matricula"].ToString() + ")");
                }
                reader.Close();
            }
            finally
            {
                if (reader != null)
                {
                    reader.Close();
                }
                this.dal.CloseConection();
            }
            return(myCollection);
        }
示例#2
0
        public System.Windows.Forms.AutoCompleteStringCollection GetEmployeesNames()
        {
            System.Windows.Forms.AutoCompleteStringCollection myCollection = new System.Windows.Forms.AutoCompleteStringCollection();

            NpgsqlDataReader reader = null;

            try
            {
                string query = "SELECT name, matriculation from employees";
                dal.OpenConnection();
                reader = dal.ExecuteDataReader(query);

                while (reader.Read())
                {
                    myCollection.Add(reader["name"].ToString() + "(" + reader["matriculation"].ToString() + ")");
                }
                reader.Close();
            }
            finally
            {
                if (reader != null)
                {
                    reader.Close();
                }
                this.dal.CloseConection();
            }
            return(myCollection);
        }
示例#3
0
 private void FillFormFromRegistry()
 {
     if (!stateLoaded)
     {
         if (AppCuKey != null)
         {
             // get the MRU list of .... whatever
             _completions = new System.Windows.Forms.AutoCompleteStringCollection();
             string c = (string)AppCuKey.GetValue(_rvn_Completions, "");
             if (!String.IsNullOrEmpty(c))
             {
                 string[] items = c.Split('¡');
                 if (items != null && items.Length > 0)
                 {
                     //_completions.AddRange(items);
                     foreach (string item in items)
                     {
                         _completions.Add(item.XmlUnescapeIexcl());
                     }
                 }
             }
             // Can also store/retrieve items in the registry for
             //   - textbox contents
             //   - checkbox state
             //   - splitter state
             //   - and so on
             //
             stateLoaded = true;
         }
     }
 }
示例#4
0
 private void autoCompleteInputCommand()
 {
     AutoCompleteSource = new System.Windows.Forms.AutoCompleteStringCollection();
     MethodInfo[] m = (typeof(InputCommands)).GetMethods(BindingFlags.Public | BindingFlags.Instance);
     for (int i = 0; i < m.Length; i++)
     {
         AutoCompleteSource.Add(m[i].Name);
     }
 }
示例#5
0
 public void GetSystemNames(ref System.Windows.Forms.AutoCompleteStringCollection asc)
 {
     if (galacticMapObjects != null)
     {
         foreach (GalacticMapObject gmo in galacticMapObjects)
         {
             asc.Add(gmo.name);
         }
     }
 }
示例#6
0
        public static List <String> ToList(this System.Windows.Forms.AutoCompleteStringCollection coll)
        {
            var list = new List <String>();

            foreach (string item in coll)
            {
                list.Add(item);
            }
            return(list);
        }
示例#7
0
 public void GetAllAutoComplete(String Condition, System.Windows.Forms.AutoCompleteStringCollection Collection)
 {
     try
     {
         _dataObject.SelectAutoComplete(Condition, Collection);
     }
     catch (System.Exception ex)
     {
         throw Hepsa.Core.Exception.HandleException.ChangeExceptionLanguage(ex, this);
     }
 }
        public System.Windows.Forms.AutoCompleteStringCollection TutteLeMacroAree()
        {
            var z = new System.Windows.Forms.AutoCompleteStringCollection();

            using (var dr = DB.cDB.EseguiSQLDataReader(DB.cDB.LeggiQuery(cDB.Queries.Movimenti_AutoCompleteSourceMA)))
                if (dr.HasRows)
                {
                    while (dr.Read())
                    {
                        z.Add(Convert.ToString(dr["MacroArea"]));
                    }
                }

            return(z);
        }
        public System.Windows.Forms.AutoCompleteStringCollection TutteLeDescrizioni()
        {
            var z = new System.Windows.Forms.AutoCompleteStringCollection();
            var c = TutteLeDescrizioni_Array_ToArray();

            if (c != null)
            {
                if (c.Length > 0)
                {
                    z.AddRange(c);
                }
            }

            return(z);
        }
示例#10
0
        public void AutoCompleteTest(object[] values, string value1, string value2)
        {
            var array       = new string[] { value1, value2 };
            var valueResult = new System.Windows.Forms.AutoCompleteStringCollection();


            var data = GenerateDataTable <HangDTO>(20);

            mockIDataProvider.Setup(x => x.ExecuteQuery(It.IsNotNull <string>(), values)).Returns(data);
            //var result = hoaDonThanhToanBUS.SourceComplete(query, values);

            valueResult.AddRange(array);
            //mockIDataProvider.Setup(x => x.SourceForAutoComplete(It.IsNotNull<string>(), null)).Returns(valueResult);
            hoaDonThanhToanBUS.AutoComplete(new System.Windows.Forms.TextBox());
            mockIDataProvider.VerifyAll();
        }
        public override System.Windows.Forms.AutoCompleteStringCollection getListToCombobox(string TenCot)
        {
            System.Windows.Forms.AutoCompleteStringCollection dataCollection = new System.Windows.Forms.AutoCompleteStringCollection();

            DatabaseHelper help = new DatabaseHelper();
            help.ConnectDatabase();
            using (var dbcxtransaction = help.ent.Database.BeginTransaction())
            {
                var dm = (from d in help.ent.Dm_Kho_Muon_Ngoai
                          select d).ToList();
                dbcxtransaction.Commit();
                DataTable ds = Utilities.clsThamSoUtilities.ToDataTable(dm);
                foreach (DataRow row in ds.Rows)
                {
                    dataCollection.Add(row[TenCot].ToString());
                }
            }
            return dataCollection;
        }
        /// <summary>
        /// lấy danh sách tên vật tư
        /// </summary>
        /// <returns></returns>
        public System.Windows.Forms.AutoCompleteStringCollection getListLoaiChatLuong()
        {
            DataSet ds = new DataSet();
            System.Windows.Forms.AutoCompleteStringCollection dataCollection = new System.Windows.Forms.AutoCompleteStringCollection();

            //System.Windows.Forms.AutoCompleteStringCollection dataCollection = new System.Windows.Forms.AutoCompleteStringCollection();

            DatabaseHelper help = new DatabaseHelper();
            help.ConnectDatabase();
            var temp = (from ep in help.ent.Chat_luong
                        select ep).ToList();

            temp.ToList().ForEach((n) =>
            {
                dataCollection.Add(n.Loai_chat_luong);
            });

            return dataCollection;
        }
        private void autoCompleteInputCommand()
        {
            autoCompleteStringCollection = new System.Windows.Forms.AutoCompleteStringCollection();
            MethodInfo[] m = (typeof(InputCommands)).GetMethods(BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly);
            for (int i = 0; i < m.Length; i++)
            {
                string          input      = m[i].Name;
                ParameterInfo[] parameters = m[i].GetParameters();
                for (int j = 0; j < parameters.Length; j++)
                {
                    input += " " + parameters[j].Name;
                }
                autoCompleteStringCollection.Add(input);
            }
            txt_formInputCommand.AutoCompleteSource       = System.Windows.Forms.AutoCompleteSource.CustomSource;
            txt_formInputCommand.AutoCompleteCustomSource = autoCompleteStringCollection;
            txt_formInputCommand.AutoCompleteMode         = System.Windows.Forms.AutoCompleteMode.Suggest;

            txt_formInputCommand.Focus();
        }
示例#14
0
        public static System.Windows.Forms.AutoCompleteStringCollection LoadSearch()
        {
            System.Windows.Forms.AutoCompleteStringCollection collection = new System.Windows.Forms.AutoCompleteStringCollection();
            MySqlConnection connection = null;

            try
            {
                connection = DatabaseConnection.GetConnection();
                connection.Open();
                MySqlCommand command = DatabaseConnection.GetCommand("loadmaterial");
                command.Prepare();

                MySqlDataReader reader = command.ExecuteReader();

                if (reader.HasRows)
                {
                    while (reader.Read())
                    {
                        collection.Add(reader.GetString(0));
                    }
                }
                else
                {
                    System.Windows.Forms.MessageBox.Show("No records found!", "Error", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Asterisk);
                }
            }catch (Exception ex)
            {
                System.Windows.Forms.MessageBox.Show(ex.Message);
            }
            finally
            {
                if (connection.State == System.Data.ConnectionState.Open)
                {
                    connection.Close();
                }
            }

            return(collection);
        }
示例#15
0
        /// <summary>
        /// lấy tất cả danh sách mã vật tư
        /// </summary>
        /// <returns></returns>
        public System.Windows.Forms.AutoCompleteStringCollection getListMaVatTu()
        {
            //m_dbConnection.Open();

            //DataSet ds = new DataSet();
            System.Windows.Forms.AutoCompleteStringCollection dataCollection = new System.Windows.Forms.AutoCompleteStringCollection();
            DatabaseHelper help = new DatabaseHelper();
            help.ConnectDatabase();
            var temp = (from ep in help.ent.DM_Vat_Tu
                        select ep

            ).ToList();

            temp.ToList().ForEach((n) =>
            {
                dataCollection.Add(n.Ma_vat_tu);

            });

            //string sql = "";
            //sql += "SELECT ";
            //sql += "Ma_vat_tu ";
            //sql += "FROM DM_Vat_Tu ";

            //SqlCommand command = new SqlCommand(sql, m_dbConnection);
            //SqlDataAdapter da = new SqlDataAdapter(command);
            //da.Fill(ds);
            //m_dbConnection.Close();

            //foreach (DataRow row in ds.Tables[0].Rows)
            //{
            //    dataCollection.Add(row[0].ToString());
            //}

            return dataCollection;
        }
        public System.Windows.Forms.AutoCompleteStringCollection getListMaPhieuXuatTam()
        {
            // m_dbConnection.Open();

            DataSet ds = new DataSet();
            System.Windows.Forms.AutoCompleteStringCollection dataCollection = new System.Windows.Forms.AutoCompleteStringCollection();

            DatabaseHelper help = new DatabaseHelper();
            help.ConnectDatabase();
            using (var dbcxtransaction = help.ent.Database.BeginTransaction())
            {
                var dm = (from d in help.ent.Phieu_Xuat_Tam_Vat_Tu
                          select new
                          {
                              d.Ma_phieu_xuat_tam,

                          }).ToList();
                dbcxtransaction.Commit();

                DataTable dt = Utilities.clsThamSoUtilities.ToDataTable(dm);

                //string sql = "";
                //sql += "SELECT ";
                //sql += "Ma_phieu_xuat_tam ";
                //sql += "FROM Phieu_Xuat_Tam_Vat_Tu ";

                //SqlCommand command = new SqlCommand(sql, m_dbConnection);
                //SqlDataAdapter da = new SqlDataAdapter(command);
                //da.Fill(ds);
                //m_dbConnection.Close();

                foreach (DataRow row in dt.Rows)
                {
                    dataCollection.Add(row[0].ToString());
                }
            }
            return dataCollection;
        }
示例#17
0
        /// <summary>
        /// lấy danh sách tên vật tư
        /// </summary>
        /// <returns></returns>
        public System.Windows.Forms.AutoCompleteStringCollection getListTenVatTu()
        {
            // m_dbConnection.Open();

            DataSet ds = new DataSet();
            System.Windows.Forms.AutoCompleteStringCollection dataCollection = new System.Windows.Forms.AutoCompleteStringCollection();

            //System.Windows.Forms.AutoCompleteStringCollection dataCollection = new System.Windows.Forms.AutoCompleteStringCollection();

            DatabaseHelper help = new DatabaseHelper();
            help.ConnectDatabase();
            var temp = (from ep in help.ent.DM_Vat_Tu
                        select ep).ToList();

            temp.ToList().ForEach((n) =>
            {
                dataCollection.Add(n.Ten_vat_tu);
            });

            return dataCollection;
        }
示例#18
0
        /// <summary>
        /// lấy tất cả danh sách Tên vật tư
        /// </summary>
        public System.Windows.Forms.AutoCompleteStringCollection getListTenVatTu(int ID_kho)
        {
            m_dbConnection.Open();

            DataSet ds = new DataSet();
            System.Windows.Forms.AutoCompleteStringCollection dataCollection = new System.Windows.Forms.AutoCompleteStringCollection();

            string sql = "";
            sql += "SELECT ";
            sql += "DM_Vat_Tu.Ten_vat_tu ";
            sql += "FROM Ton_kho ";
            sql += "JOIN DM_Vat_Tu ";
            sql += "ON DM_Vat_Tu.Ma_vat_tu = Ton_kho.Ma_vat_tu ";
            sql += "WHERE Ton_kho.ID_kho=@ID_kho";

            SqlCommand command = new SqlCommand(sql, m_dbConnection);

            command.Parameters.Add("@ID_kho", SqlDbType.Int).Value = ID_kho;

            command.CommandType = CommandType.Text;

            SqlDataAdapter da = new SqlDataAdapter(command);
            da.Fill(ds);
            m_dbConnection.Close();

            foreach (DataRow row in ds.Tables[0].Rows)
            {
                dataCollection.Add(row[0].ToString());
            }

            return dataCollection;
        }
示例#19
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GEToolStrip));
     this.imageList1        = new System.Windows.Forms.ImageList(this.components);
     this.dropDownSeparator = new System.Windows.Forms.ToolStripSeparator();
     this.screenGrabButton  = new System.Windows.Forms.ToolStripButton();
     this.viewInMapsButton  = new System.Windows.Forms.ToolStripButton();
     this.navigationTextBox = new System.Windows.Forms.ToolStripTextBox();
     this.navigationTextBoxStringCollection = new System.Windows.Forms.AutoCompleteStringCollection();
     this.submitButton            = new System.Windows.Forms.ToolStripButton();
     this.refreshButton           = new System.Windows.Forms.ToolStripButton();
     this.navigationSeparator     = new System.Windows.Forms.ToolStripSeparator();
     this.viewDropDownButton      = new System.Windows.Forms.ToolStripDropDownButton();
     this.skyMenuItem             = new System.Windows.Forms.ToolStripMenuItem();
     this.sunMenuItem             = new System.Windows.Forms.ToolStripMenuItem();
     this.historyMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
     this.optionsDropDownButton   = new System.Windows.Forms.ToolStripDropDownButton();
     this.imperialUnitsMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     this.fadeInOutMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.controlsMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     this.statusBarMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.gridMenuItem            = new System.Windows.Forms.ToolStripMenuItem();
     this.overviewMapMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.scaleLegendMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.atmosphereMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     this.mouseNavigationMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.layersDropDownButton    = new System.Windows.Forms.ToolStripDropDownButton();
     this.bordersMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
     this.buildingsMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.buildingsGreyMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     this.roadsMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     this.terrainMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
     this.imageryDropDownButton   = new System.Windows.Forms.ToolStripDropDownButton();
     this.earthMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     this.marsMenuItem            = new System.Windows.Forms.ToolStripMenuItem();
     this.moonMenuItem            = new System.Windows.Forms.ToolStripMenuItem();
     this.languageSeparator       = new System.Windows.Forms.ToolStripSeparator();
     this.languageComboBox        = new System.Windows.Forms.ToolStripComboBox();
     this.SuspendLayout();
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "go");
     this.imageList1.Images.SetKeyName(1, "refresh");
     this.imageList1.Images.SetKeyName(2, "jpg");
     this.imageList1.Images.SetKeyName(3, "map");
     //
     // dropDownSeparator
     //
     this.dropDownSeparator.Name = "dropDownSeparator";
     this.dropDownSeparator.Size = new System.Drawing.Size(6, 6);
     //
     // screenGrabButton
     //
     this.screenGrabButton.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.screenGrabButton.ImageKey              = "jpg";
     this.screenGrabButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.screenGrabButton.Name        = "screenGrabButton";
     this.screenGrabButton.Size        = new System.Drawing.Size(23, 20);
     this.screenGrabButton.Tag         = "SCREENGRAB";
     this.screenGrabButton.Text        = "PrtScr";
     this.screenGrabButton.ToolTipText = "Screen Grab";
     this.screenGrabButton.Click      += new System.EventHandler(this.ScreenGrabButton_Click);
     //
     // viewInMapsButton
     //
     this.viewInMapsButton.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.viewInMapsButton.ImageKey              = "map";
     this.viewInMapsButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.viewInMapsButton.Name        = "viewInMapsButton";
     this.viewInMapsButton.Size        = new System.Drawing.Size(23, 20);
     this.viewInMapsButton.Tag         = "VIEWMAP";
     this.viewInMapsButton.Text        = "View Map";
     this.viewInMapsButton.ToolTipText = "View in Google Maps";
     this.viewInMapsButton.Click      += new System.EventHandler(this.ViewInMapsButton_Click);
     //
     // navigationTextBox
     //
     this.navigationTextBox.AutoSize                 = false;
     this.navigationTextBox.AutoCompleteMode         = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.navigationTextBox.AutoCompleteSource       = System.Windows.Forms.AutoCompleteSource.CustomSource;
     this.navigationTextBox.AutoCompleteCustomSource = navigationTextBoxStringCollection;
     this.navigationTextBox.Name        = "navigationTextBox";
     this.navigationTextBox.Size        = new System.Drawing.Size(100, 21);
     this.navigationTextBox.Tag         = "NAVIGATION";
     this.navigationTextBox.ToolTipText = "Enter a location or the url of a kml\\kmz file";
     this.navigationTextBox.KeyUp      += new System.Windows.Forms.KeyEventHandler(this.NavigationTextBox_KeyUp);
     //
     // submitButton
     //
     this.submitButton.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.submitButton.ImageKey              = "go";
     this.submitButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.submitButton.Name        = "submitButton";
     this.submitButton.Size        = new System.Drawing.Size(23, 20);
     this.submitButton.ToolTipText = "Go!";
     this.submitButton.Click      += new System.EventHandler(this.NavigationButton_Click);
     //
     // refreshButton
     //
     this.refreshButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.refreshButton.ImageKey     = "refresh";
     this.refreshButton.Name         = "refreshButton";
     this.refreshButton.Size         = new System.Drawing.Size(23, 20);
     this.refreshButton.Tag          = "REFRESH";
     this.refreshButton.Text         = "refresh";
     this.refreshButton.ToolTipText  = "Refresh the plugin";
     this.refreshButton.Click       += new System.EventHandler(this.RefreshButton_Click);
     //
     // navigationSeparator
     //
     this.navigationSeparator.Name = "navigationSeparator";
     this.navigationSeparator.Size = new System.Drawing.Size(6, 6);
     //
     // viewDropDownButton
     //
     this.viewDropDownButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.viewDropDownButton.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.skyMenuItem,
         this.sunMenuItem,
         this.historyMenuItem
     });
     this.viewDropDownButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.viewDropDownButton.Name        = "viewDropDownButton";
     this.viewDropDownButton.Size        = new System.Drawing.Size(42, 17);
     this.viewDropDownButton.Tag         = "VIEW";
     this.viewDropDownButton.Text        = "View";
     this.viewDropDownButton.ToolTipText = "Change the View settings";
     //
     // skyMenuItem
     //
     this.skyMenuItem.CheckOnClick = true;
     this.skyMenuItem.Name         = "skyMenuItem";
     this.skyMenuItem.Size         = new System.Drawing.Size(126, 22);
     this.skyMenuItem.Tag          = "SKY";
     this.skyMenuItem.Text         = "Sky Mode";
     this.skyMenuItem.ToolTipText  = "Toggle Sky and Earth mode";
     this.skyMenuItem.Click       += new System.EventHandler(this.ViewItem_Clicked);
     //
     // sunMenuItem
     //
     this.sunMenuItem.CheckOnClick = true;
     this.sunMenuItem.Name         = "sunMenuItem";
     this.sunMenuItem.Size         = new System.Drawing.Size(126, 22);
     this.sunMenuItem.Tag          = "SUN";
     this.sunMenuItem.Text         = "Sun";
     this.sunMenuItem.ToolTipText  = "Toggle the sun visiblity";
     this.sunMenuItem.Click       += new System.EventHandler(this.ViewItem_Clicked);
     //
     // historyMenuItem
     //
     this.historyMenuItem.CheckOnClick = true;
     this.historyMenuItem.Name         = "historyMenuItem";
     this.historyMenuItem.Size         = new System.Drawing.Size(126, 22);
     this.historyMenuItem.Tag          = "HISTORY";
     this.historyMenuItem.Text         = "Historical imagery";
     this.historyMenuItem.ToolTipText  = "Toggle the historical imagery";
     this.historyMenuItem.Click       += new System.EventHandler(this.ViewItem_Clicked);
     //
     // optionsDropDownButton
     //
     this.optionsDropDownButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.optionsDropDownButton.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.imperialUnitsMenuItem,
         this.controlsMenuItem,
         this.statusBarMenuItem,
         this.gridMenuItem,
         this.overviewMapMenuItem,
         this.scaleLegendMenuItem,
         this.atmosphereMenuItem,
         this.fadeInOutMenuItem,
         this.mouseNavigationMenuItem
     });
     this.optionsDropDownButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.optionsDropDownButton.Name        = "optionsDropDownButton";
     this.optionsDropDownButton.Size        = new System.Drawing.Size(57, 17);
     this.optionsDropDownButton.Tag         = "OPTIONS";
     this.optionsDropDownButton.Text        = "Options";
     this.optionsDropDownButton.ToolTipText = "Toggle the various options";
     //
     // controlsMenuItem
     //
     this.controlsMenuItem.CheckOnClick = true;
     this.controlsMenuItem.Name         = "controlsMenuItem";
     this.controlsMenuItem.Size         = new System.Drawing.Size(169, 22);
     this.controlsMenuItem.Tag          = "CONTROLS";
     this.controlsMenuItem.Text         = "Controls";
     this.controlsMenuItem.ToolTipText  = "Toggle the controls visiblity";
     this.controlsMenuItem.Click       += new System.EventHandler(this.OptionsItem_Clicked);
     //
     // statusBarMenuItem
     //
     this.statusBarMenuItem.CheckOnClick = true;
     this.statusBarMenuItem.Name         = "statusBarMenuItem";
     this.statusBarMenuItem.Size         = new System.Drawing.Size(169, 22);
     this.statusBarMenuItem.Tag          = "STATUS";
     this.statusBarMenuItem.Text         = "Status bar";
     this.statusBarMenuItem.ToolTipText  = "Toggle the Status bar visiblity";
     this.statusBarMenuItem.Click       += new System.EventHandler(this.OptionsItem_Clicked);
     //
     // gridMenuItem
     //
     this.gridMenuItem.CheckOnClick = true;
     this.gridMenuItem.Name         = "gridMenuItem";
     this.gridMenuItem.Size         = new System.Drawing.Size(169, 22);
     this.gridMenuItem.Tag          = "GRID";
     this.gridMenuItem.Text         = "Grid";
     this.gridMenuItem.ToolTipText  = "Toggle the Grid visiblity";
     this.gridMenuItem.Click       += new System.EventHandler(this.OptionsItem_Clicked);
     //
     // overviewMapMenuItem
     //
     this.overviewMapMenuItem.CheckOnClick = true;
     this.overviewMapMenuItem.Name         = "overviewMapMenuItem";
     this.overviewMapMenuItem.Size         = new System.Drawing.Size(169, 22);
     this.overviewMapMenuItem.Tag          = "OVERVIEW";
     this.overviewMapMenuItem.Text         = "Overview map";
     this.overviewMapMenuItem.ToolTipText  = "Toggle the Overview map visiblity";
     this.overviewMapMenuItem.Click       += new System.EventHandler(this.OptionsItem_Clicked);
     //
     // scaleLegendMenuItem
     //
     this.scaleLegendMenuItem.CheckOnClick = true;
     this.scaleLegendMenuItem.Name         = "scaleLegendMenuItem";
     this.scaleLegendMenuItem.Size         = new System.Drawing.Size(169, 22);
     this.scaleLegendMenuItem.Tag          = "SCALE";
     this.scaleLegendMenuItem.Text         = "Scale legend";
     this.scaleLegendMenuItem.ToolTipText  = "Toggle the Scale legend visiblity";
     this.scaleLegendMenuItem.Click       += new System.EventHandler(this.OptionsItem_Clicked);
     //
     // atmosphereMenuItem
     //
     this.atmosphereMenuItem.Checked      = true;
     this.atmosphereMenuItem.CheckOnClick = true;
     this.atmosphereMenuItem.CheckState   = System.Windows.Forms.CheckState.Checked;
     this.atmosphereMenuItem.Name         = "atmosphereMenuItem";
     this.atmosphereMenuItem.Size         = new System.Drawing.Size(169, 22);
     this.atmosphereMenuItem.Tag          = "ATMOSPHERE";
     this.atmosphereMenuItem.Text         = "Atmosphere";
     this.atmosphereMenuItem.ToolTipText  = "Toggle the Atmosphere visiblity";
     this.atmosphereMenuItem.Click       += new System.EventHandler(this.OptionsItem_Clicked);
     //
     // mouseNavigationMenuItem
     //
     this.mouseNavigationMenuItem.Checked      = true;
     this.mouseNavigationMenuItem.CheckOnClick = true;
     this.mouseNavigationMenuItem.CheckState   = System.Windows.Forms.CheckState.Checked;
     this.mouseNavigationMenuItem.Name         = "mouseNavigationMenuItem";
     this.mouseNavigationMenuItem.Size         = new System.Drawing.Size(169, 22);
     this.mouseNavigationMenuItem.Tag          = "MOUSE";
     this.mouseNavigationMenuItem.Text         = "Mouse navigation";
     this.mouseNavigationMenuItem.ToolTipText  = "Toggle Mouse navigation enabled";
     this.mouseNavigationMenuItem.Click       += new System.EventHandler(this.OptionsItem_Clicked);
     //
     // imperialMenuItem
     //
     this.imperialUnitsMenuItem.Checked      = false;
     this.imperialUnitsMenuItem.CheckOnClick = true;
     this.imperialUnitsMenuItem.CheckState   = System.Windows.Forms.CheckState.Unchecked;
     this.imperialUnitsMenuItem.Name         = "imperialMenuItem";
     this.imperialUnitsMenuItem.Tag          = "IMPERIAL";
     this.imperialUnitsMenuItem.Text         = "Imperial Units";
     this.imperialUnitsMenuItem.ToolTipText  = "Use imperial units for the plugin";
     this.imperialUnitsMenuItem.Click       += new System.EventHandler(this.OptionsItem_Clicked);
     //
     // fadeInOutMenuItem
     //
     this.fadeInOutMenuItem.Checked      = true;
     this.fadeInOutMenuItem.CheckOnClick = true;
     this.fadeInOutMenuItem.CheckState   = System.Windows.Forms.CheckState.Checked;
     this.fadeInOutMenuItem.Name         = "fadeInOutMenuItem";
     this.fadeInOutMenuItem.Tag          = "FADEINOUT";
     this.fadeInOutMenuItem.Text         = "Animate features";
     this.fadeInOutMenuItem.ToolTipText  = "Animate new features with a slight change of scale";
     this.fadeInOutMenuItem.Click       += new System.EventHandler(this.OptionsItem_Clicked);
     //
     // layersDropDownButton
     //
     this.layersDropDownButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.layersDropDownButton.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.bordersMenuItem,
         this.buildingsMenuItem,
         this.buildingsGreyMenuItem,
         this.roadsMenuItem,
         this.terrainMenuItem
     });
     this.layersDropDownButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.layersDropDownButton.Name        = "layersDropDownButton";
     this.layersDropDownButton.Size        = new System.Drawing.Size(52, 17);
     this.layersDropDownButton.Tag         = "LAYERS";
     this.layersDropDownButton.Text        = "Layers";
     this.layersDropDownButton.ToolTipText = "Toggle the in-built layers";
     //
     // bordersMenuItem
     //
     this.bordersMenuItem.CheckOnClick = true;
     this.bordersMenuItem.Name         = "bordersMenuItem";
     this.bordersMenuItem.Size         = new System.Drawing.Size(168, 22);
     this.bordersMenuItem.Tag          = "BORDERS";
     this.bordersMenuItem.Text         = "Borders";
     this.bordersMenuItem.ToolTipText  = "Toggle the Borders layer";
     this.bordersMenuItem.Click       += new System.EventHandler(this.LayersItem_Clicked);
     //
     // buildingsMenuItem
     //
     this.buildingsMenuItem.CheckOnClick = true;
     this.buildingsMenuItem.Name         = "buildingsMenuItem";
     this.buildingsMenuItem.Size         = new System.Drawing.Size(168, 22);
     this.buildingsMenuItem.Tag          = "BUILDINGS";
     this.buildingsMenuItem.Text         = "Buildings";
     this.buildingsMenuItem.ToolTipText  = "Toggle the Low Resolution Buildings layer";
     this.buildingsMenuItem.Click       += new System.EventHandler(this.LayersItem_Clicked);
     //
     // buildingsGreyMenuItem
     //
     this.buildingsGreyMenuItem.CheckOnClick = true;
     this.buildingsGreyMenuItem.Name         = "buildingsGreyMenuItem";
     this.buildingsGreyMenuItem.Size         = new System.Drawing.Size(168, 22);
     this.buildingsGreyMenuItem.Tag          = "BUILDINGS_GREY_LOW_RES";
     this.buildingsGreyMenuItem.Text         = "Buildings Low-res";
     this.buildingsGreyMenuItem.Click       += new System.EventHandler(this.LayersItem_Clicked);
     //
     // roadsMenuItem
     //
     this.roadsMenuItem.CheckOnClick = true;
     this.roadsMenuItem.Name         = "roadsMenuItem";
     this.roadsMenuItem.Size         = new System.Drawing.Size(168, 22);
     this.roadsMenuItem.Tag          = "ROADS";
     this.roadsMenuItem.Text         = "Roads";
     this.roadsMenuItem.ToolTipText  = "Toggle the Roads layer";
     this.roadsMenuItem.Click       += new System.EventHandler(this.LayersItem_Clicked);
     //
     // terrainMenuItem
     //
     this.terrainMenuItem.Checked      = true;
     this.terrainMenuItem.CheckOnClick = true;
     this.terrainMenuItem.CheckState   = System.Windows.Forms.CheckState.Checked;
     this.terrainMenuItem.Name         = "terrainMenuItem";
     this.terrainMenuItem.Size         = new System.Drawing.Size(168, 22);
     this.terrainMenuItem.Tag          = "TERRAIN";
     this.terrainMenuItem.Text         = "Terrain";
     this.terrainMenuItem.ToolTipText  = "Toggle the Terrain layer";
     this.terrainMenuItem.Click       += new System.EventHandler(this.LayersItem_Clicked);
     //
     // imageryDropDownButton
     //
     this.imageryDropDownButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.imageryDropDownButton.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.earthMenuItem,
         this.marsMenuItem,
         this.moonMenuItem
     });
     this.imageryDropDownButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.imageryDropDownButton.Name        = "imageryDropDownButton";
     this.imageryDropDownButton.Size        = new System.Drawing.Size(42, 17);
     this.imageryDropDownButton.Tag         = "IMAGERY";
     this.imageryDropDownButton.Text        = "Imagery";
     this.imageryDropDownButton.ToolTipText = "Change the Imagery database settings";
     //
     // earthMenuItem
     //
     this.earthMenuItem.Checked      = true;
     this.earthMenuItem.CheckOnClick = true;
     this.earthMenuItem.CheckState   = System.Windows.Forms.CheckState.Checked;
     this.earthMenuItem.Enabled      = false;
     this.earthMenuItem.Name         = "earthMenuItem";
     this.earthMenuItem.Size         = new System.Drawing.Size(106, 22);
     this.earthMenuItem.Tag          = ImageryBase.Earth;
     this.earthMenuItem.Text         = "Earth";
     this.earthMenuItem.ToolTipText  = "Use the Earth imagery";
     this.earthMenuItem.Click       += new System.EventHandler(this.ImageryItem_Clicked);
     //
     // marsMenuItem
     //
     this.marsMenuItem.CheckOnClick = true;
     this.marsMenuItem.Name         = "marsMenuItem";
     this.marsMenuItem.Size         = new System.Drawing.Size(106, 22);
     this.marsMenuItem.Tag          = ImageryBase.Mars;
     this.marsMenuItem.Text         = "Mars";
     this.marsMenuItem.ToolTipText  = "Use the Mars imagery";
     this.marsMenuItem.Click       += new System.EventHandler(this.ImageryItem_Clicked);
     //
     // moonMenuItem
     //
     this.moonMenuItem.CheckOnClick = true;
     this.moonMenuItem.Name         = "moonMenuItem";
     this.moonMenuItem.Size         = new System.Drawing.Size(106, 22);
     this.moonMenuItem.Tag          = ImageryBase.Moon;
     this.moonMenuItem.Text         = "Moon";
     this.moonMenuItem.ToolTipText  = "Use the Moon imagery";
     this.moonMenuItem.Click       += new System.EventHandler(this.ImageryItem_Clicked);
     //
     // languageSeparator
     //
     this.languageSeparator.Name = "languageSeparator";
     this.languageSeparator.Size = new System.Drawing.Size(6, 6);
     //
     // languageComboBox
     //
     this.languageComboBox.Text                  = "language";
     this.languageComboBox.Name                  = "languageComboBox";
     this.moonMenuItem.ToolTipText               = "Change the plugin language";
     this.languageComboBox.AutoSize              = true;
     this.languageComboBox.DropDownHeight        = 250;
     this.languageComboBox.Size                  = new System.Drawing.Size(106, 22);
     this.languageComboBox.SelectedIndexChanged += new System.EventHandler(LanguageComboBox_SelectedIndexChanged);
     //
     // GEToolStrip
     //
     this.ImageList = this.imageList1;
     this.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.navigationTextBox,
         this.submitButton,
         this.refreshButton,
         this.navigationSeparator,
         this.viewDropDownButton,
         this.optionsDropDownButton,
         this.layersDropDownButton,
         this.imageryDropDownButton,
         this.dropDownSeparator,
         this.screenGrabButton,
         this.viewInMapsButton,
         this.languageSeparator,
         this.languageComboBox
     });
     this.Layout += new System.Windows.Forms.LayoutEventHandler(this.GEToolStrip_Layout);
     this.ResumeLayout(false);
 }
        public DataTable getAll_Ma_Phieu()
        {
            DataSet ds = new DataSet();
            System.Windows.Forms.AutoCompleteStringCollection dataCollection = new System.Windows.Forms.AutoCompleteStringCollection();

            DatabaseHelper help = new DatabaseHelper();
            help.ConnectDatabase();
            using (var dbcxtransaction = help.ent.Database.BeginTransaction())
            {
                var dm = (from d in help.ent.Phieu_Xuat_Tam_Vat_Tu
                          select new
                          {
                              d.ID_phieu_xuat_tam,
                              d.Ma_phieu_xuat_tam,

                          }).ToList();
                dbcxtransaction.Commit();

                DataTable dt = Utilities.clsThamSoUtilities.ToDataTable(dm);

                //m_dbConnection.Open();

                //DataTable dt = new DataTable();

                //string sql = "";
                //sql += "SELECT ";
                //sql += "ID_phieu_xuat_tam, Ma_phieu_xuat_tam ";
                //sql += "FROM Phieu_Xuat_Tam_Vat_Tu";

                //SqlCommand command = new SqlCommand(sql, m_dbConnection);
                //SqlDataAdapter da = new SqlDataAdapter(command);
                //da.Fill(dt);
                //m_dbConnection.Close();

                return dt;
            }
        }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GEToolStrip));
            this.imageList1 = new System.Windows.Forms.ImageList(this.components);
            this.navigationTextBoxStringCollection = new System.Windows.Forms.AutoCompleteStringCollection();
            this.dropDownSeparator = new System.Windows.Forms.ToolStripSeparator();
            this.screenGrabButton = new System.Windows.Forms.ToolStripButton();
            this.viewInMapsButton = new System.Windows.Forms.ToolStripButton();
            this.navigationTextBox = new System.Windows.Forms.ToolStripTextBox();
            this.submitButton = new System.Windows.Forms.ToolStripButton();
            this.refreshButton = new System.Windows.Forms.ToolStripButton();
            this.navigationSeparator = new System.Windows.Forms.ToolStripSeparator();
            this.viewDropDownButton = new System.Windows.Forms.ToolStripDropDownButton();
            this.skyMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.sunMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.historyMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.optionsDropDownButton = new System.Windows.Forms.ToolStripDropDownButton();
            this.imperialUnitsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.controlsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.statusBarMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.gridMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.overviewMapMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.scaleLegendMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.atmosphereMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.fadeInOutMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.mouseNavigationMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.layersDropDownButton = new System.Windows.Forms.ToolStripDropDownButton();
            this.bordersMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.buildingsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.buildingsGreyMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.roadsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.terrainMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.treesMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.imageryDropDownButton = new System.Windows.Forms.ToolStripDropDownButton();
            this.earthMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.marsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.moonMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.languageSeparator = new System.Windows.Forms.ToolStripSeparator();
            this.languageComboBox = new System.Windows.Forms.ToolStripComboBox();
            this.toolStripItemAlignment = System.Windows.Forms.ToolStripItemAlignment.Left;
            this.SuspendLayout();
            // 
            // imageList1
            // 
            this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "go");
            this.imageList1.Images.SetKeyName(1, "refresh");
            this.imageList1.Images.SetKeyName(2, "jpg");
            this.imageList1.Images.SetKeyName(3, "map");
            // 
            // dropDownSeparator
            // 
            this.dropDownSeparator.Name = "dropDownSeparator";
            this.dropDownSeparator.Size = new System.Drawing.Size(6, 6);
            // 
            // screenGrabButton
            // 
            this.screenGrabButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.screenGrabButton.ImageKey = "jpg";
            this.screenGrabButton.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.screenGrabButton.Name = "screenGrabButton";
            this.screenGrabButton.Size = new System.Drawing.Size(23, 20);
            this.screenGrabButton.Tag = "SCREENGRAB";
            this.screenGrabButton.Text = "PrtScr";
            this.screenGrabButton.ToolTipText = "Screen Grab";
            this.screenGrabButton.Click += new System.EventHandler(this.ScreenGrabButton_Click);
            // 
            // viewInMapsButton
            // 
            this.viewInMapsButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.viewInMapsButton.ImageKey = "map";
            this.viewInMapsButton.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.viewInMapsButton.Name = "viewInMapsButton";
            this.viewInMapsButton.Size = new System.Drawing.Size(23, 20);
            this.viewInMapsButton.Tag = "VIEWMAP";
            this.viewInMapsButton.Text = "View Map";
            this.viewInMapsButton.ToolTipText = "View in Google Maps";
            this.viewInMapsButton.Click += new System.EventHandler(this.ViewInMapsButton_Click);
            // 
            // navigationTextBox
            // 
            this.navigationTextBox.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
            this.navigationTextBox.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
            this.navigationTextBox.AutoCompleteCustomSource = this.navigationTextBoxStringCollection;
            this.navigationTextBox.AutoSize = false;
            this.navigationTextBox.Name = "navigationTextBox";
            this.navigationTextBox.Size = new System.Drawing.Size(100, 21);
            this.navigationTextBox.KeyUp += new System.Windows.Forms.KeyEventHandler(this.NavigationTextBox_KeyUp);
            // 
            // submitButton
            // 
            this.submitButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.submitButton.ImageKey = "go";
            this.submitButton.Name = "submitButton";
            this.submitButton.Size = new System.Drawing.Size(23, 20);
            this.submitButton.ToolTipText = "Go!";
            this.submitButton.Click += new System.EventHandler(this.NavigationButton_Click);
            // 
            // refreshButton
            // 
            this.refreshButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.refreshButton.ImageKey = "refresh";
            this.refreshButton.Name = "refreshButton";
            this.refreshButton.Size = new System.Drawing.Size(23, 20);
            this.refreshButton.Tag = "REFRESH";
            this.refreshButton.Text = "refresh";
            this.refreshButton.ToolTipText = "Refresh the plugin";
            this.refreshButton.Click += new System.EventHandler(this.RefreshButton_Click);
            // 
            // navigationSeparator
            // 
            this.navigationSeparator.Name = "navigationSeparator";
            this.navigationSeparator.Size = new System.Drawing.Size(6, 6);
            // 
            // viewDropDownButton
            // 
            this.viewDropDownButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.viewDropDownButton.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.skyMenuItem,
            this.sunMenuItem,
            this.historyMenuItem});
            this.viewDropDownButton.Name = "viewDropDownButton";
            this.viewDropDownButton.Size = new System.Drawing.Size(42, 17);
            this.viewDropDownButton.Tag = "VIEW";
            this.viewDropDownButton.Text = "View";
            this.viewDropDownButton.ToolTipText = "Change the View settings";
            // 
            // skyMenuItem
            // 
            this.skyMenuItem.CheckOnClick = true;
            this.skyMenuItem.Name = "skyMenuItem";
            this.skyMenuItem.Size = new System.Drawing.Size(170, 22);
            this.skyMenuItem.Tag = "SKY";
            this.skyMenuItem.Text = "Sky Mode";
            this.skyMenuItem.ToolTipText = "Toggle Sky and Earth mode";
            this.skyMenuItem.Click += new System.EventHandler(this.ViewItem_Clicked);
            // 
            // sunMenuItem
            // 
            this.sunMenuItem.CheckOnClick = true;
            this.sunMenuItem.Name = "sunMenuItem";
            this.sunMenuItem.Size = new System.Drawing.Size(170, 22);
            this.sunMenuItem.Tag = "SUN";
            this.sunMenuItem.Text = "Sun";
            this.sunMenuItem.ToolTipText = "Toggle the sun visibility";
            this.sunMenuItem.Click += new System.EventHandler(this.ViewItem_Clicked);
            // 
            // historyMenuItem
            // 
            this.historyMenuItem.CheckOnClick = true;
            this.historyMenuItem.Name = "historyMenuItem";
            this.historyMenuItem.Size = new System.Drawing.Size(170, 22);
            this.historyMenuItem.Tag = "HISTORY";
            this.historyMenuItem.Text = "Historical imagery";
            this.historyMenuItem.ToolTipText = "Toggle the historical imagery";
            this.historyMenuItem.Click += new System.EventHandler(this.ViewItem_Clicked);
            // 
            // optionsDropDownButton
            // 
            this.optionsDropDownButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.optionsDropDownButton.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.imperialUnitsMenuItem,
            this.controlsMenuItem,
            this.statusBarMenuItem,
            this.gridMenuItem,
            this.overviewMapMenuItem,
            this.scaleLegendMenuItem,
            this.atmosphereMenuItem,
            this.fadeInOutMenuItem,
            this.mouseNavigationMenuItem});
            this.optionsDropDownButton.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.optionsDropDownButton.Name = "optionsDropDownButton";
            this.optionsDropDownButton.Size = new System.Drawing.Size(57, 17);
            this.optionsDropDownButton.Tag = "OPTIONS";
            this.optionsDropDownButton.Text = "Options";
            this.optionsDropDownButton.ToolTipText = "Toggle the various options";
            // 
            // imperialUnitsMenuItem
            // 
            this.imperialUnitsMenuItem.CheckOnClick = true;
            this.imperialUnitsMenuItem.Name = "imperialUnitsMenuItem";
            this.imperialUnitsMenuItem.Size = new System.Drawing.Size(169, 22);
            this.imperialUnitsMenuItem.Tag = "IMPERIAL";
            this.imperialUnitsMenuItem.Text = "Imperial Units";
            this.imperialUnitsMenuItem.ToolTipText = "Use imperial units for the plugin";
            this.imperialUnitsMenuItem.Click += new System.EventHandler(this.OptionsItem_Clicked);
            // 
            // controlsMenuItem
            // 
            this.controlsMenuItem.CheckOnClick = true;
            this.controlsMenuItem.Name = "controlsMenuItem";
            this.controlsMenuItem.Size = new System.Drawing.Size(169, 22);
            this.controlsMenuItem.Tag = "CONTROLS";
            this.controlsMenuItem.Text = "Controls";
            this.controlsMenuItem.ToolTipText = "Toggle the controls visibility";
            this.controlsMenuItem.Click += new System.EventHandler(this.OptionsItem_Clicked);
            // 
            // statusBarMenuItem
            // 
            this.statusBarMenuItem.CheckOnClick = true;
            this.statusBarMenuItem.Name = "statusBarMenuItem";
            this.statusBarMenuItem.Size = new System.Drawing.Size(169, 22);
            this.statusBarMenuItem.Tag = "STATUS";
            this.statusBarMenuItem.Text = "Status bar";
            this.statusBarMenuItem.ToolTipText = "Toggle the Status bar visibility";
            this.statusBarMenuItem.Click += new System.EventHandler(this.OptionsItem_Clicked);
            // 
            // gridMenuItem
            // 
            this.gridMenuItem.CheckOnClick = true;
            this.gridMenuItem.Name = "gridMenuItem";
            this.gridMenuItem.Size = new System.Drawing.Size(169, 22);
            this.gridMenuItem.Tag = "GRID";
            this.gridMenuItem.Text = "Grid";
            this.gridMenuItem.ToolTipText = "Toggle the Grid visibility";
            this.gridMenuItem.Click += new System.EventHandler(this.OptionsItem_Clicked);
            // 
            // overviewMapMenuItem
            // 
            this.overviewMapMenuItem.CheckOnClick = true;
            this.overviewMapMenuItem.Name = "overviewMapMenuItem";
            this.overviewMapMenuItem.Size = new System.Drawing.Size(169, 22);
            this.overviewMapMenuItem.Tag = "OVERVIEW";
            this.overviewMapMenuItem.Text = "Overview map";
            this.overviewMapMenuItem.ToolTipText = "Toggle the Overview map visibility";
            this.overviewMapMenuItem.Click += new System.EventHandler(this.OptionsItem_Clicked);
            // 
            // scaleLegendMenuItem
            // 
            this.scaleLegendMenuItem.CheckOnClick = true;
            this.scaleLegendMenuItem.Name = "scaleLegendMenuItem";
            this.scaleLegendMenuItem.Size = new System.Drawing.Size(169, 22);
            this.scaleLegendMenuItem.Tag = "SCALE";
            this.scaleLegendMenuItem.Text = "Scale legend";
            this.scaleLegendMenuItem.ToolTipText = "Toggle the Scale legend visibility";
            this.scaleLegendMenuItem.Click += new System.EventHandler(this.OptionsItem_Clicked);
            // 
            // atmosphereMenuItem
            // 
            this.atmosphereMenuItem.Checked = true;
            this.atmosphereMenuItem.CheckOnClick = true;
            this.atmosphereMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
            this.atmosphereMenuItem.Name = "atmosphereMenuItem";
            this.atmosphereMenuItem.Size = new System.Drawing.Size(169, 22);
            this.atmosphereMenuItem.Tag = "ATMOSPHERE";
            this.atmosphereMenuItem.Text = "Atmosphere";
            this.atmosphereMenuItem.ToolTipText = "Toggle the Atmosphere visibility";
            this.atmosphereMenuItem.Click += new System.EventHandler(this.OptionsItem_Clicked);
            // 
            // fadeInOutMenuItem
            // 
            this.fadeInOutMenuItem.Checked = true;
            this.fadeInOutMenuItem.CheckOnClick = true;
            this.fadeInOutMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
            this.fadeInOutMenuItem.Name = "fadeInOutMenuItem";
            this.fadeInOutMenuItem.Size = new System.Drawing.Size(169, 22);
            this.fadeInOutMenuItem.Tag = "FADEINOUT";
            this.fadeInOutMenuItem.Text = "Animate features";
            this.fadeInOutMenuItem.ToolTipText = "Animate new features with a slight change of scale";
            this.fadeInOutMenuItem.Click += new System.EventHandler(this.OptionsItem_Clicked);
            // 
            // mouseNavigationMenuItem
            // 
            this.mouseNavigationMenuItem.Checked = true;
            this.mouseNavigationMenuItem.CheckOnClick = true;
            this.mouseNavigationMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
            this.mouseNavigationMenuItem.Name = "mouseNavigationMenuItem";
            this.mouseNavigationMenuItem.Size = new System.Drawing.Size(169, 22);
            this.mouseNavigationMenuItem.Tag = "MOUSE";
            this.mouseNavigationMenuItem.Text = "Mouse navigation";
            this.mouseNavigationMenuItem.ToolTipText = "Toggle Mouse navigation enabled";
            this.mouseNavigationMenuItem.Click += new System.EventHandler(this.OptionsItem_Clicked);
            // 
            // layersDropDownButton
            // 
            this.layersDropDownButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.layersDropDownButton.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.bordersMenuItem,
            this.buildingsMenuItem,
            this.buildingsGreyMenuItem,
            this.roadsMenuItem,
            this.terrainMenuItem,
            this.treesMenuItem});
            this.layersDropDownButton.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.layersDropDownButton.Name = "layersDropDownButton";
            this.layersDropDownButton.Size = new System.Drawing.Size(52, 17);
            this.layersDropDownButton.Tag = "LAYERS";
            this.layersDropDownButton.Text = "Layers";
            this.layersDropDownButton.ToolTipText = "Toggle the in-built layers";
            // 
            // bordersMenuItem
            // 
            this.bordersMenuItem.CheckOnClick = true;
            this.bordersMenuItem.Name = "bordersMenuItem";
            this.bordersMenuItem.Size = new System.Drawing.Size(168, 22);
            this.bordersMenuItem.Text = "Borders";
            this.bordersMenuItem.Tag = Layer.Borders;
            this.bordersMenuItem.ToolTipText = "Toggle the Borders layer";
            this.bordersMenuItem.Click += new System.EventHandler(this.LayersItem_Clicked);
            // 
            // buildingsMenuItem
            // 
            this.buildingsMenuItem.CheckOnClick = true;
            this.buildingsMenuItem.Name = "buildingsMenuItem";
            this.buildingsMenuItem.Size = new System.Drawing.Size(168, 22);
            this.buildingsMenuItem.Text = "Buildings";
            this.buildingsMenuItem.Tag = Layer.Buildings;
            this.buildingsMenuItem.ToolTipText = "Toggle the Low Resolution Buildings layer";
            this.buildingsMenuItem.Click += new System.EventHandler(this.LayersItem_Clicked);
            // 
            // buildingsGreyMenuItem
            // 
            this.buildingsGreyMenuItem.CheckOnClick = true;
            this.buildingsGreyMenuItem.Name = "buildingsGreyMenuItem";
            this.buildingsGreyMenuItem.Size = new System.Drawing.Size(168, 22);
            this.buildingsGreyMenuItem.Text = "Buildings Low-res";
            this.buildingsGreyMenuItem.Tag = Layer.BuildingsLowRes;
            this.buildingsGreyMenuItem.Click += new System.EventHandler(this.LayersItem_Clicked);
            // 
            // roadsMenuItem
            // 
            this.roadsMenuItem.CheckOnClick = true;
            this.roadsMenuItem.Name = "roadsMenuItem";
            this.roadsMenuItem.Size = new System.Drawing.Size(168, 22);
            this.roadsMenuItem.Text = "Roads";
            this.roadsMenuItem.Tag = Layer.Roads;
            this.roadsMenuItem.ToolTipText = "Toggle the Roads layer";
            this.roadsMenuItem.Click += new System.EventHandler(this.LayersItem_Clicked);
            // 
            // terrainMenuItem
            // 
            this.terrainMenuItem.Checked = true;
            this.terrainMenuItem.CheckOnClick = true;
            this.terrainMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
            this.terrainMenuItem.Name = "terrainMenuItem";
            this.terrainMenuItem.Size = new System.Drawing.Size(168, 22);
            this.terrainMenuItem.Text = "Terrain";
            this.terrainMenuItem.Tag = Layer.Terrain;
            this.terrainMenuItem.ToolTipText = "Toggle the Terrain layer";
            this.terrainMenuItem.Click += new System.EventHandler(this.LayersItem_Clicked);
            // 
            // treesMenuItem
            // 
            this.treesMenuItem.CheckOnClick = true;
            this.treesMenuItem.Name = "treesMenuItem";
            this.treesMenuItem.Size = new System.Drawing.Size(168, 22);
            this.treesMenuItem.Text = "Trees";
            this.treesMenuItem.Tag = Layer.Trees;
            this.treesMenuItem.ToolTipText = "Toggle the Trees layer";
            this.treesMenuItem.Click += new System.EventHandler(this.LayersItem_Clicked);
            // 
            // imageryDropDownButton
            // 
            this.imageryDropDownButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.imageryDropDownButton.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.earthMenuItem,
            this.marsMenuItem,
            this.moonMenuItem});
            this.imageryDropDownButton.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.imageryDropDownButton.Name = "imageryDropDownButton";
            this.imageryDropDownButton.Size = new System.Drawing.Size(42, 17);
            this.imageryDropDownButton.Tag = "IMAGERY";
            this.imageryDropDownButton.Text = "Imagery";
            this.imageryDropDownButton.ToolTipText = "Change the Imagery database settings";
            // 
            // earthMenuItem
            // 
            this.earthMenuItem.Checked = true;
            this.earthMenuItem.CheckOnClick = true;
            this.earthMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
            this.earthMenuItem.Enabled = false;
            this.earthMenuItem.Name = "earthMenuItem";
            this.earthMenuItem.Size = new System.Drawing.Size(106, 22);
            this.earthMenuItem.Tag = FC.GEPluginCtrls.ImageryBase.Earth;
            this.earthMenuItem.Text = "Earth";
            this.earthMenuItem.ToolTipText = "Use the Earth imagery";
            this.earthMenuItem.Click += new System.EventHandler(this.ImageryItem_Clicked);
            // 
            // marsMenuItem
            // 
            this.marsMenuItem.CheckOnClick = true;
            this.marsMenuItem.Name = "marsMenuItem";
            this.marsMenuItem.Size = new System.Drawing.Size(106, 22);
            this.marsMenuItem.Tag = FC.GEPluginCtrls.ImageryBase.Mars;
            this.marsMenuItem.Text = "Mars";
            this.marsMenuItem.ToolTipText = "Use the Mars imagery";
            this.marsMenuItem.Click += new System.EventHandler(this.ImageryItem_Clicked);
            // 
            // moonMenuItem
            // 
            this.moonMenuItem.CheckOnClick = true;
            this.moonMenuItem.Name = "moonMenuItem";
            this.moonMenuItem.Size = new System.Drawing.Size(106, 22);
            this.moonMenuItem.Tag = FC.GEPluginCtrls.ImageryBase.Moon;
            this.moonMenuItem.Text = "Moon";
            this.moonMenuItem.ToolTipText = "Use the Moon imagery";
            this.moonMenuItem.Click += new System.EventHandler(this.ImageryItem_Clicked);
            // 
            // languageSeparator
            // 
            this.languageSeparator.Name = "languageSeparator";
            this.languageSeparator.Size = new System.Drawing.Size(6, 6);
            // 
            // languageComboBox
            // 
            this.languageComboBox.DropDownHeight = 250;
            this.languageComboBox.IntegralHeight = false;
            this.languageComboBox.Name = "languageComboBox";
            this.languageComboBox.Size = new System.Drawing.Size(106, 23);
            this.languageComboBox.SelectedIndexChanged += new System.EventHandler(this.LanguageComboBox_SelectedIndexChanged);
            // 
            // GEToolStrip
            // 
            this.ImageList = this.imageList1;
            this.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.navigationTextBox,
            this.submitButton,
            this.refreshButton,
            this.navigationSeparator,
            this.viewDropDownButton,
            this.optionsDropDownButton,
            this.layersDropDownButton,
            this.imageryDropDownButton,
            this.dropDownSeparator,
            this.screenGrabButton,
            this.viewInMapsButton,
            this.languageSeparator,
            this.languageComboBox});

            this.Layout += new System.Windows.Forms.LayoutEventHandler(this.GEToolStrip_Layout);
            this.ResumeLayout(false);

        }