private static void AddColumnsToCheckList(CheckedListBox checkList, RowCollection rowCollection)
 {
     foreach (var columnHeader in rowCollection.GetColumnHeaders())
     {
         checkList.Items.Add(columnHeader);
     }
 }
 public bool LlenarChkbL_Desktop(CheckedListBox Generico)
 {
     if (!Validar())
             return false;
         try
         {
             clsConexionBD objConexionBd = new clsConexionBD(strApp);
             objConexionBd.SQL = strSQL;
             if (!objConexionBd.LlenarDataSet(false))
             {
                 strError = objConexionBd.Error;
                 objConexionBd.CerrarCnx();
                 objConexionBd = null;
                 return false;
             }
             Generico.DataSource = objConexionBd.DataSet_Lleno.Tables[0];
             Generico.ValueMember = strCampoID;
             Generico.DisplayMember = strCampoTexto;
             Generico.Refresh();
             objConexionBd.CerrarCnx();
             objConexionBd = null;
             return true;
         }
         catch (Exception ex)
         {
             strError = ex.Message;
             return false;
         }
 }
Example #3
0
        public PresentationWindow(CheckedListBox imageListBox_, int numOfTiles_, int delay)
        {
            this.TopMost = true;
            this.FormBorderStyle = FormBorderStyle.None;
            this.WindowState = FormWindowState.Maximized;

            this.Paint += HandleHandlePaint;
            this.Click += HandleHandleClick;

            this.imageListBox = imageListBox_;

            this.currentIndex = -1;

            theTimer = new Timer();
            theTimer.Interval = delay*1000;
            theTimer.Tick += HandleTheTimerTick;
            theTimer.Enabled = true;

            this.numOfTiles = numOfTiles_;
            this.numOfTilesInRow = (int)Math.Sqrt(numOfTiles);

            shownTiles = new List<bool>();
            for (int i = 0; i < numOfTiles; i++)
            {
                shownTiles.Add(false);
            }

            this.Finished += HandleHandleFinished;

            NextImage();
        }
Example #4
0
        public static void llenarFuncionalidadesDeRol(CheckedListBox chkLstBox, String nombreRol)
        {
            chkLstBox.Items.Clear();
            bool activo;
            try
            {

                using (SqlConnection conn = new SqlConnection(main.connString))
                using (SqlCommand cmd = new SqlCommand())
                {
                    cmd.Connection = conn;
                    cmd.CommandType = CommandType.StoredProcedure;
                    cmd.CommandText = "BONDIOLA.funcionalidades_asignadas_a_rol";
                    cmd.Parameters.Add(new SqlParameter("@nombreRol", nombreRol));
                    conn.Open();
                    SqlDataReader rdr = cmd.ExecuteReader();
                    while (rdr.Read())
                    {
                        activo = true;
                        if (String.Equals(rdr["Activo"], "0"))
                        {
                            activo = false;
                        }
                        chkLstBox.Items.Add((string)rdr["nombre_funcionalidad"], activo);
                    }
                }
            }
            catch (SqlException ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
 /// <summary>
 /// Checks all.
 /// </summary>
 /// <param name="cb">The cb.</param>
 /// <param name="value">if set to <c>true</c> [value].</param>
 public static void CheckAll(CheckedListBox cb, bool value)
 {
     for (var a = 0; a < cb.Items.Count; a++)
     {
         cb.SetItemChecked(a, value);
     }
 }
		public void Test_05_ChangingChannelSupportPersistsOnCommit()
		{
			CheckedListBox edPolicySupport = new CheckedListBox();
			ActionDetailController controller = new ActionDetailController();
			controller.PolicySupportControl = edPolicySupport;
			IResourceAction actionForTest = GetMockActionForTest();
			controller.Connect(actionForTest);

			List<PolicyType> policys = new List<PolicyType>(actionForTest.SupportedPolicySetting);
            Assert.AreEqual(1, policys.Count, "Should start as ActiveContent and ClientEmail");
            Assert.IsTrue(policys.Contains(PolicyType.ClientEmail), "Should start as ActiveContent and ClientEmail");

            //get first non client email policy in list
            int id = -1;
            for (int i = 0; i < edPolicySupport.Items.Count; i++)
            {
                if (edPolicySupport.Items[i].ToString() != "Client Email Policy")
                {
                    id = i;
                    break;
                }
            }
			edPolicySupport.SetItemChecked(id, true);
            policys = new List<PolicyType>(actionForTest.SupportedPolicySetting);
			Assert.AreEqual(1, policys.Count, "We haven't committed anything yet");
            Assert.IsTrue(policys.Contains(PolicyType.ClientEmail), "We haven't committed anything yet");

			controller.Commit();
            policys = new List<PolicyType>(actionForTest.SupportedPolicySetting);
			Assert.AreEqual(2, policys.Count, "We haven't committed anything yet");
            Assert.IsTrue(policys.Contains(PolicyType.ClientEmail), "We added ClientEmail, this should still be here");
		}
Example #7
0
        /// <inheritdoc/>
        public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
        {
            #region Sanity checks
            if (context == null) throw new ArgumentNullException(nameof(context));
            if (provider == null) throw new ArgumentNullException(nameof(provider));
            #endregion

            var languages = value as LanguageSet;
            if (languages == null) throw new ArgumentNullException(nameof(value));

            var editorService = (IWindowsFormsEditorService)provider.GetService(typeof(IWindowsFormsEditorService));
            if (editorService == null) return value;

            var listBox = new CheckedListBox {CheckOnClick = true};
            int i = 0;
            foreach (var language in languages)
            {
                listBox.Items.Add(language);
                listBox.SetItemChecked(i++, true);
            }
            foreach (var language in Languages.AllKnown.Except(languages))
                listBox.Items.Add(language);

            editorService.DropDownControl(listBox);

            return new LanguageSet(listBox.CheckedItems.Cast<CultureInfo>());
        }
Example #8
0
 public static bool ValidateCheckList(CheckedListBox boxes, ErrorProvider errorProvider)
 {
     if(boxes.CheckedItems.Count > 0)
         return true;
     errorProvider.SetError(boxes, "Este campo es obligatorio");
     return false;
 }
Example #9
0
        public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
        {
            TrackBarOwnerDrawParts none = TrackBarOwnerDrawParts.None;
            if (!(value is TrackBarOwnerDrawParts) || (provider == null))
                return value;

			IWindowsFormsEditorService service = (IWindowsFormsEditorService) provider.GetService(typeof(IWindowsFormsEditorService));
            if (service == null)
                return value;
            
			CheckedListBox control = new CheckedListBox();
            control.BorderStyle = System.Windows.Forms.BorderStyle.None;
            control.CheckOnClick = true;
            control.Items.Add("Ticks", (((Fusionbird.FusionToolkit.FusionTrackBar.FusionTrackBar) context.Instance).OwnerDrawParts & TrackBarOwnerDrawParts.Ticks) == TrackBarOwnerDrawParts.Ticks);
            control.Items.Add("Thumb", (((Fusionbird.FusionToolkit.FusionTrackBar.FusionTrackBar) context.Instance).OwnerDrawParts & TrackBarOwnerDrawParts.Thumb) == TrackBarOwnerDrawParts.Thumb);
            control.Items.Add("Channel", (((Fusionbird.FusionToolkit.FusionTrackBar.FusionTrackBar) context.Instance).OwnerDrawParts & TrackBarOwnerDrawParts.Channel) == TrackBarOwnerDrawParts.Channel);
            service.DropDownControl(control);
            IEnumerator enumerator = control.CheckedItems.GetEnumerator();
            while (enumerator.MoveNext())
            {
                object objectValue = RuntimeHelpers.GetObjectValue(enumerator.Current);
                none |= (TrackBarOwnerDrawParts) Enum.Parse(typeof(TrackBarOwnerDrawParts), objectValue.ToString());
            }
            control.Dispose();
            service.CloseDropDown();
            return none;
        }
Example #10
0
        public DALControl(string dbTableName, string PascalTableName, bool isPascal, string preNS,
            string preClass, string preModel,
            bool isLog, CheckedListBox checkedListBox1, EnumDbType dbType)
        {
            this.TableName = dbTableName;
            this.PascalTableName = PascalTableName;
            this.IsPascal = isPascal;
            this.PreNs = preNS;
            this.SbTemp = new StringBuilder();

            this.PreClass = preClass;
            this.PreModel = preModel;
            this.IsLog = isLog;
            this.CheckedListBox1 = checkedListBox1;
            this.DbType = dbType;

            if (this.DbType == EnumDbType.Oracle)
            {
                dbHelper = "DbHelperOracle";
                parameter = "OracleParameter";
                paramsHelper = "ParamsHelperOracle";
            }
            else if (this.DbType == EnumDbType.SqlServer)
            {
                dbHelper = "DbHelperSqlServer";
                parameter = "SqlParameter";
                paramsHelper = "ParamsHelperSqlServer";
            }

            listPrimaryKey = TableControl.GetPrimayKeys(dbTableName, this.DbType);
            dtColumns = ColumnControl.GetTableColumnsByTableName(dbTableName, this.DbType);
        }
Example #11
0
        /// <summary>
        /// add new element
        /// </summary>
        /// <param name="cbElements"></param>
        /// <param name="clbFactsAboutElements"></param>
        public void AddElement(ComboBox cbElements, CheckedListBox clbFactsAboutElements)
        {
            string elementName = cbElements.Text;
            cbElements.Items.Add(elementName);
            Dictionary<Guid, bool> factsAboutElement = new Dictionary<Guid, bool>();

            foreach (var item in clbFactsAboutElements.Items)
            {
                RuleArgumentListBoxItem factAboutElement = item as RuleArgumentListBoxItem;
                factsAboutElement.Add(factAboutElement.Id, factAboutElement.Value);
            }

            Guid elementId = dataAccessLayer.InsertElement(elementName, factsAboutElement);
            Element element = new Element
            {
                Id = elementId,
                Name = elementName,
                Facts = factsAboutElement.Select(fae => new FactAboutElement
                {
                    Id = fae.Key,
                    Value = fae.Value,
                    Name = inferenceModule.Facts.Find(f => f.Id == fae.Key).Name
                }).ToList()
            };

            inferenceModule.Elements.Add(element);
        }
Example #12
0
 protected List<ushort>GetChecked(CheckedListBox list)
 {
     List<ushort> result = new List<ushort>();
     foreach (var c in list.CheckedItems)
         result.Add((c is Zone) ? ushort.Parse((c as Zone).Id) : (c as Terminal).ReferenceId);
     return result;
 }
Example #13
0
 public static void ClearCheckedListBox(CheckedListBox ch)
 {
     while (ch.CheckedIndices.Count > 0)
     {
         ch.SetItemChecked(ch.CheckedIndices[0], false);
     }
 }
Example #14
0
		public XDataListMulti()
		{
			// This call is required by the Windows.Forms Form Designer.
			InitializeComponent();

			// TODO: Add any initialization after the InitializeComponent call
			

			this.label = new System.Windows.Forms.Label();            
			this.checkedListBox = new System.Windows.Forms.CheckedListBox();            
			this.SuspendLayout();
			// 
			// label
			// 			
			this.label.TextAlign = ContentAlignment.TopLeft;
            this.label.BackColor = Color.Transparent;
			// 
			// checkedListBox
			// 
			this.checkedListBox.Height = MULTILINE_HEIGHT;
			// 
			// XDataListMulti
			// 
			this.panelLeft.Controls.Add(this.checkedListBox);
			this.panelLeft.Controls.Add(this.label);			
			this.Resize += new System.EventHandler(this.XDataListMulti_Resize);
			this.ResumeLayout(false);
		}
Example #15
0
 public static void clearItemCheckList(CheckedListBox check)
 {
     for (int item = 0; item < check.Items.Count; item++)
     {
         check.SetItemChecked(item, false);
     }
 }
        public void consultasALaDB(ComboBox comboBox, CheckedListBox checkedListBox, DataGridView dataGridView)
        {
            string query;
            string campos = "";

            if (checkedListBox.CheckedItems.Count > 0)
            {
                for (int i = 0; i < checkedListBox.CheckedItems.Count; i++)
                {
                    campos += checkedListBox.CheckedItems[i].ToString() + ",";
                }
            }
            else
            {
                campos = "*";
            }

            campos = campos.TrimEnd(',');

            query = "select " + campos + " from " + comboBox.SelectedItem;
            //MessageBox.Show(query);

            con.selectQuery(query);

            try
            {
                dataGridView.DataSource = con.TablaDatos;
            }
            catch(Exception ex)
            {
                MessageBox.Show("Se encontraron errores: " + ex.ToString());
            }
        }
        public void AdvancedFilter(string searchString, CheckedListBox.CheckedItemCollection checkedItems)
        {
            // Start from scratch
            gridView.Items.Clear();

            // Repopulate if empty search
            if (checkedItems.Count == 0 || searchString == "")
            {
                fullList.ForEach(item => gridView.Items.Add(item));
                return;
            }

            // For each video file showing:
            fullList.ForEach(item =>
            {
                // Big Linq Statement Translation:
                //  - Find tag entries from file that match type of checked items
                //  - Any entry that contains the search string, add that file to view
                var file = (VideoFile)item.Tag;
                if (checkedItems.Cast<Tag>().Select(tag =>
                    file.Tags.Find(entry => entry.TypeId == tag.Id)).
                        Any(match => match != null && match.Data.ToLower().Contains(searchString.ToLower())))
                {
                    gridView.Items.Add(item);
                }
            });
        }
        /// <summary>
        /// The GameManager constructor - responsible for 
        /// initialising data-fields needed by a game 
        /// manager object.
        /// </summary>
        /// <param name="charactersListBox">A CheckedListBox to hold game characters.</param>
        /// <param name="battleResults">A ListBox to display the game's battle results.</param>
        /// <param name="noOfPlayersInBattle">The number of players which can be in a battle.</param>
        public GameManager(CheckedListBox charactersListBox, ListBox battleResults, int noOfPlayersInBattle)
        {
            ///<summary>
            ///Initialising the list of game characters
            ///</summary>
            this.characters = new List<Character>();

            ///<summary>
            ///Initialising the CheckedListBox the characters
            ///will be added to.
            ///</summary>
            this.charactersListBox = charactersListBox;

            ///<summary>
            ///Initialising the ListBox which will display
            ///the game battle results.
            ///</summary>
            this.battleResults = battleResults;

            ///<summary>
            ///Initialising the number of characters
            ///permitted in the game battle.
            ///</summary>
            this.noOfPlayersInBattle = noOfPlayersInBattle;
        }
 public static TextPackage[] GetSelectedItems(CheckedListBox listBox, List<TextPackage> licenseCaptions)
 {
     List<TextPackage> packs = new List<TextPackage>();
     foreach (int index in listBox.CheckedIndices)
         packs.Add(licenseCaptions[index]);
     return packs.ToArray();
 }
 public void cargarCamposChkLb(DataTable dataTable, CheckedListBox checkListBox)
 {
     for (int i = 0; i < dataTable.Columns.Count; i++)
     {
         checkListBox.Items.Add(dataTable.Columns[i].ColumnName);
     }
 }
        /// <summary>
        /// Edits a value based on some user input which is collected from a character control.
        /// </summary>
        /// <param name="context"></param>
        /// <param name="provider"></param>
        /// <param name="value"></param>
        /// <returns></returns>
        public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
        {
            _dialogProvider = provider.GetService(typeof(IWindowsFormsEditorService)) as IWindowsFormsEditorService;
            List<int> layerList = new List<int>();
            LayoutLegend legend = context.Instance as LayoutLegend;
            LayoutMap map = null;
            if (legend != null)
                map = legend.Map;
            if (map == null)
                return layerList;

            CheckedListBox lb = new CheckedListBox();
            
            List<int> originalList = value as List<int>;
            if (originalList != null)
            {
                for (int i = map.MapControl.Layers.Count - 1; i >= 0 ; i--)
                    lb.Items.Add(map.MapControl.Layers[i].LegendText, originalList.Contains(i));
            }
            
            _dialogProvider.DropDownControl(lb);

            for (int i = 0; i < lb.Items.Count; i ++)
            {
                if (lb.GetItemChecked(i))
                    layerList.Add(lb.Items.Count - 1 -i);
            }

            return layerList;
        }
 /// <summary>
 /// GetStudentUserListByYear take StudentByYear sorted list created in the main program and the student years checkedlistbox and creates a hashtable
 /// that will be used to look up the user list to display in the combolistbox display. 
 /// This does not use wmi service, but is the logical place add this method. 
 /// </summary>
 /// <param name="slIn"></param>
 /// <param name="checkListBox"></param>
 /// <returns>sortlist</returns>
 public Hashtable GetStudentUserListByYear(SortedList slIn, CheckedListBox checkListBox)
 {
     Hashtable ht = new Hashtable();
     try
     {
         foreach (object itemChecked in checkListBox.CheckedItems)
         {
             ICollection keys = slIn.GetKeyList();
             foreach (string s in keys)
             {
                 if (s == itemChecked.ToString())
                 {
                     //this is the sortedlist of students for a given year
                     IList values = ((SortedList)slIn[s]).GetValueList();
                     //create the hashtable entries available students - this will be used to lookup and match students by year
                     foreach (string name in values)
                     {
                         ht.Add(name.ToUpper(), name.ToUpper());
                     }
                 }
             }
         }
     }
     catch (Exception e)
     {
         //re-throw exception for main calling
         throw new Exception("WMIPropertiesHelper", e);
     }
     return (ht);
 }
 public void CargarCheckListBox( CheckedListBox CheckList )
 {
     IList ListarConceptos = GetAll();
     ((ListBox)CheckList).DataSource = ListarConceptos;
     ((ListBox)CheckList).DisplayMember = "concepto";
     ((ListBox)CheckList).ValueMember = "id_concepto";
 }
Example #24
0
 private void ClearCheckedListBox(CheckedListBox list)
 {
     while (list.CheckedItems.Count > 0)
     {
         list.Items.Remove(listView2.CheckedItems[0]);
     }
 }
		internal CustTypeHandlerPanel()
		{
			Label l;

			Text = StringParser.Parse("${res:ComponentInspector.InspectorMenu.TypeHandlerOptionsPanel.Title}");

			ICollection typeHandlers = TypeHandlerManager.Instance.GetTypeHandlers();

			_typeHandlerCheck = new CheckedListBox();
			_typeHandlerCheck.CheckOnClick = true;
			_typeHandlerCheck.Dock = DockStyle.Fill;
			_typeHandlerCheck.BackColor = BackColor;
			_typeHandlerCheck.BorderStyle = BorderStyle.None;
			_typeHandlerCheck.ThreeDCheckBoxes = true;
			foreach (TypeHandlerManager.TypeHandlerInfo th in typeHandlers)
				_typeHandlerCheck.Items.Add(th);
			Controls.Add(_typeHandlerCheck);

			l = new Label();
			l.Dock = DockStyle.Top;
			l.Height = 50;
			l.Text = StringParser.Parse("${res:ComponentInspector.TypeHandlerOptionsPanel.InformationLabel}");
			Controls.Add(l);

			// Padding
			l = new Label();
			l.Dock = DockStyle.Top;
			l.Height = 5;
			Controls.Add(l);
		}
        /// <summary>
        /// Edits the specified object's value using the editor style indicated by the <see cref="M:System.Drawing.Design.UITypeEditor.GetEditStyle"/> method.
        /// </summary>
        /// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext"/> that can be used to gain additional context information.</param>
        /// <param name="provider">An <see cref="T:System.IServiceProvider"/> that this editor can use to obtain services.</param>
        /// <param name="value">The object to edit.</param>
        /// <returns>
        /// The new value of the object. If the value of the object has not changed, this should return the same object it was passed.
        /// </returns>
        public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value) {
            if (provider != null) {
                var service = (IWindowsFormsEditorService)provider.GetService(typeof(IWindowsFormsEditorService));

                var collection = value as Collection<DayOfWeek>;
                if (service != null && collection != null) {
                    if (this.listBox == null) {
                        this.listBox = new CheckedListBox() {
                            BorderStyle = BorderStyle.None,
                            CheckOnClick = true,
                        };
                    }

                    foreach (string item in Enum.GetNames(typeof(DayOfWeek))) {
                        this.listBox.Items.Add(item, collection.Contains((DayOfWeek)Enum.Parse(typeof(DayOfWeek), item))); 
                    }

                    if (this.listBox.Height > (this.listBox.Items.Count * this.listBox.ItemHeight)) {
                        this.listBox.Height = this.listBox.Items.Count * this.listBox.ItemHeight;
                    }

                    service.DropDownControl(this.listBox);

                    collection.Clear();
                    foreach (string item in this.listBox.CheckedItems) {
                        collection.Add((DayOfWeek)Enum.Parse(typeof(DayOfWeek), item));  
                    }

                    value = collection;
                }
            }

            return value;
        }
Example #27
0
		protected override Control GetControl ()
		{
			CheckedListBox listbox = new CheckedListBox ();
			listbox.Items.AddRange (new object [] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 });
			listbox.Size = new Size (100, 100);
			listbox.Location = new Point (3, 3);
			return listbox;
		}
Example #28
0
        public static int[] createArrayIndex(CheckedListBox.CheckedIndexCollection collection)
        {
            int[] arr = new int[collection.Count];
            for (var x = 0; x < arr.Length; x++)
                arr[x] = collection[x];

            return arr;
        }
 public static void SelectCheckBox(CheckedListBox listBox, RichTextBox licenseTextBox, List<TextPackage> licenseCaptions)
 {
     if (listBox.SelectedIndex != -1)
     {
         int selected_index = listBox.SelectedIndex;
         licenseTextBox.Text = licenseCaptions[selected_index]["Full"];
     }
 }
 public DALInterfaceControl(string tableName, string preNS, string preModel, CheckedListBox checkedListBox1)
 {
     this.TableName = tableName;
     this.PreNs = preNS;
     this.PreModel = preModel;
     this.CheckedListBox1 = checkedListBox1;
     this.SbTemp = new StringBuilder();
 }
Example #31
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.lstSelected           = new System.Windows.Forms.ListBox();
     this.btnMove               = new System.Windows.Forms.Button();
     this.chkListPossibleValues = new System.Windows.Forms.CheckedListBox();
     this.SuspendLayout();
     //
     // lstSelected
     //
     this.lstSelected.Location = new System.Drawing.Point(232, 8);
     this.lstSelected.Name     = "lstSelected";
     this.lstSelected.Size     = new System.Drawing.Size(136, 186);
     this.lstSelected.TabIndex = 1;
     //
     // btnMove
     //
     this.btnMove.Location = new System.Drawing.Point(152, 80);
     this.btnMove.Name     = "btnMove";
     this.btnMove.TabIndex = 3;
     this.btnMove.Text     = "Move";
     this.btnMove.Click   += new System.EventHandler(this.btnMove_Click);
     //
     // chkListPossibleValues
     //
     this.chkListPossibleValues.CheckOnClick = true;
     this.chkListPossibleValues.Items.AddRange(new object[] {
         "One",
         "Two",
         "Three",
         "Four",
         "Five",
         "Six",
         "Seven",
         "Eight",
         "Nine"
     });
     this.chkListPossibleValues.Location = new System.Drawing.Point(8, 8);
     this.chkListPossibleValues.Name     = "chkListPossibleValues";
     this.chkListPossibleValues.Size     = new System.Drawing.Size(136, 184);
     this.chkListPossibleValues.TabIndex = 0;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(376, 205);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.btnMove,
         this.lstSelected,
         this.chkListPossibleValues
     });
     this.Name = "Form1";
     this.Text = "List Boxes";
     this.ResumeLayout(false);
 }
Example #32
0
        /// <summary>
        /// Checks if a CheckedListBox has at least one checked item.
        /// </summary>
        /// <param name="ACheckedListBox">LisBbox Control that should be verified.</param>
        /// <returns>Null if if validation succeeded, otherwise a <see cref="TVerificationResult" />
        /// is returned that contains details about the problem.
        /// </returns>
        public static TVerificationResult ValidateCheckedListBox(System.Windows.Forms.CheckedListBox ACheckedListBox)
        {
            TVerificationResult ReturnValue = null;

            if (ACheckedListBox.CheckedItems.Count == 0)
            {
                ReturnValue = new TVerificationResult(ACheckedListBox.Name, ErrorCodes.GetErrorInfo(
                                                          CommonErrorCodes.ERR_INFORMATIONMISSING, StrItemNeedsToBeChecked));
            }

            return(ReturnValue);
        }
Example #33
0
        private void ListRoutes(Gui.ComboBox selector, Gui.CheckedListBox listView, Worksheet routeSheet, string column, bool isPreset)
        {
            //Empty route lists
            listView.Items.Clear();

            if (isPreset)
            {
                listView.Items.Add("Choose A Preset");
            }
            else
            {
                listView.Items.Add("No Routes");
            }

            routes.Clear();

            //Fill route list
            //Find last real row
            int lastUsedRow = routeSheet.Cells.Find("*", System.Reflection.Missing.Value,
                                                    System.Reflection.Missing.Value, System.Reflection.Missing.Value,
                                                    Excel.XlSearchOrder.xlByRows, Excel.XlSearchDirection.xlPrevious,
                                                    false, System.Reflection.Missing.Value, System.Reflection.Missing.Value).Row;

            for (int i = 2; i <= lastUsedRow; i++)
            {
                if (isPreset)
                {
                    if (routeSheet.Cells[i, column].Value != null && routeSheet.Cells[i, column].Value.ToString() != "")
                    {
                        listView.Items.Remove("Choose A Preset");
                        Route newRoute = new Route(routeSheet.Cells[i, column].Value.ToString(), "Preset", "Preset", "Preset");
                        newRoute.Row    = i;
                        newRoute.Column = column;
                        routes.Add(newRoute);
                        listView.Items.Add(newRoute);
                    }
                }
                else
                {
                    if ((string)routeSheet.Cells[i, "B"].Value == selector.Text)
                    {
                        listView.Items.Remove("No Routes");
                        Route newRoute = new Route(routeSheet.Cells[i, "A"].Value.ToString(), routeSheet.Cells[i, "B"].Value.ToString(),
                                                   routeSheet.Cells[i, "C"].Value.ToString(), routeSheet.Cells[i, "D"].Value.ToString());
                        newRoute.Row = i;
                        routes.Add(newRoute);
                        listView.Items.Add(newRoute);
                    }
                }
            }

            routeBook.Save();
        }
Example #34
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this._clb = new System.Windows.Forms.CheckedListBox();
     this._lb1 = new System.Windows.Forms.Label();
     this._lb2 = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // _clb
     //
     this._clb.CheckOnClick          = true;
     this._clb.Dock                  = System.Windows.Forms.DockStyle.Left;
     this._clb.Location              = new System.Drawing.Point(0, 0);
     this._clb.Name                  = "_clb";
     this._clb.Size                  = new System.Drawing.Size(200, 154);
     this._clb.TabIndex              = 0;
     this._clb.KeyDown              += new System.Windows.Forms.KeyEventHandler(this._clb_KeyDown);
     this._clb.SelectedIndexChanged += new System.EventHandler(this._clb_SelectedIndexChanged);
     //
     // _lb1
     //
     this._lb1.Dock      = System.Windows.Forms.DockStyle.Top;
     this._lb1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this._lb1.ForeColor = System.Drawing.Color.DodgerBlue;
     this._lb1.Location  = new System.Drawing.Point(200, 0);
     this._lb1.Name      = "_lb1";
     this._lb1.Size      = new System.Drawing.Size(170, 16);
     this._lb1.TabIndex  = 1;
     this._lb1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // _lb2
     //
     this._lb2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this._lb2.Location = new System.Drawing.Point(200, 23);
     this._lb2.Name     = "_lb2";
     this._lb2.Size     = new System.Drawing.Size(170, 136);
     this._lb2.TabIndex = 2;
     //
     // OptionsFlagsEditorForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(370, 159);
     this.Controls.Add(this._lb2);
     this.Controls.Add(this._lb1);
     this.Controls.Add(this._clb);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Name            = "OptionsFlagsEditorForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.Manual;
     this.Text            = "Connection options - press Esc to save & exit";
     this.Load           += new System.EventHandler(this.FlagsEditorForm_Load);
     this.Closed         += new System.EventHandler(this.FlagsEditorForm_Close);
     this.ResumeLayout(false);
 }
Example #35
0
 private Boolean flag;//联动事件symbol
 private void ConstructForms(Form form)
 {
     dgvUser     = form.Controls.Find("dgvUser", true)[0] as DataGridView;
     btnAdd      = form.Controls.Find("btnAdd", true)[0] as Button;
     btnEdit     = form.Controls.Find("btnEdit", true)[0] as Button;
     btnDelete   = form.Controls.Find("btnDelete", true)[0] as Button;
     btnPolicy   = form.Controls.Find("btnPolicy", true)[0] as Button;
     btnAddMean  = form.Controls.Find("btnAddMean", true)[0] as Button;
     btnEditMean = form.Controls.Find("btnEditMean", true)[0] as Button;
     btnDelMean  = form.Controls.Find("btnDelMean", true)[0] as Button;
     clbMeaning  = form.Controls.Find("clbMeaning", true)[0] as CheckedListBox;
     btnExit     = form.Controls.Find("btnExit", true)[0] as Button;
 }
Example #36
0
 private void TranslateMe(System.Windows.Forms.CheckedListBox clbox)
 {
     clbox.Text = TranslateMe(clbox.Text);
     for (int i = 0; i < clbox.Items.Count; i++)
     {
         if (clbox.Items[i].GetType() == typeof(string))
         {
             string textold = (string)clbox.Items[i];
             clbox.Items.RemoveAt(i);
             string textnew = TranslateMe(textold);
             clbox.Items.Insert(i, textnew);
         }
     }
 }
Example #37
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1         = new System.Windows.Forms.Label();
     this._lstImportFrom = new System.Windows.Forms.CheckedListBox();
     this._chkPreview    = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(376, 23);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Import Feeds subscriptions from:";
     //
     // _lstImportFrom
     //
     this._lstImportFrom.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                         | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this._lstImportFrom.CheckOnClick = true;
     this._lstImportFrom.Location     = new System.Drawing.Point(8, 32);
     this._lstImportFrom.Name         = "_lstImportFrom";
     this._lstImportFrom.Size         = new System.Drawing.Size(376, 260);
     this._lstImportFrom.TabIndex     = 2;
     this._lstImportFrom.ItemCheck   += new System.Windows.Forms.ItemCheckEventHandler(this._importFrom_itemChecked);
     //
     // _chkPreview
     //
     this._chkPreview.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this._chkPreview.Enabled         = false;
     this._chkPreview.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this._chkPreview.Location        = new System.Drawing.Point(8, 296);
     this._chkPreview.Name            = "_chkPreview";
     this._chkPreview.Size            = new System.Drawing.Size(376, 24);
     this._chkPreview.TabIndex        = 3;
     this._chkPreview.Text            = "Pre&view subscriptions before import";
     this._chkPreview.CheckedChanged += new System.EventHandler(this._chkPreview_CheckedChanged);
     //
     // FeedsImportPane
     //
     this.Controls.Add(this._chkPreview);
     this.Controls.Add(this._lstImportFrom);
     this.Controls.Add(this.label1);
     this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.Name = "FeedsImportPane";
     this.Size = new System.Drawing.Size(392, 328);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panel1          = new System.Windows.Forms.Panel();
     this.label1          = new System.Windows.Forms.Label();
     this.checkedListBox1 = new System.Windows.Forms.CheckedListBox();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor   = System.Drawing.Color.FromArgb(((System.Byte)(223)), ((System.Byte)(247)), ((System.Byte)(252)));
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.checkedListBox1);
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(144, 136);
     this.panel1.TabIndex = 0;
     //
     // label1
     //
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.Location = new System.Drawing.Point(8, 16);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(120, 23);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Hobbies";
     //
     // checkedListBox1
     //
     this.checkedListBox1.Items.AddRange(new object[] {
         "Music",
         "Books",
         "Gardening",
         "TV"
     });
     this.checkedListBox1.Location = new System.Drawing.Point(8, 48);
     this.checkedListBox1.Name     = "checkedListBox1";
     this.checkedListBox1.Size     = new System.Drawing.Size(120, 79);
     this.checkedListBox1.TabIndex = 0;
     //
     // ChoiceListControl
     //
     this.Controls.Add(this.panel1);
     this.Name = "ChoiceListControl";
     this.Size = new System.Drawing.Size(144, 136);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #39
0
 private void InitializeComponent()
 {
     this.inputCheckedListBox = new System.Windows.Forms.CheckedListBox();
     this.displayListBox      = new System.Windows.Forms.ListBox();
     this.SuspendLayout();
     //
     // inputCheckedListBox
     //
     this.inputCheckedListBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.inputCheckedListBox.FormattingEnabled = true;
     this.inputCheckedListBox.Items.AddRange(new object[] {
         "A",
         "B",
         "C",
         "D",
         "E",
         "F",
         "G",
         "H"
     });
     this.inputCheckedListBox.Location   = new System.Drawing.Point(17, 12);
     this.inputCheckedListBox.Name       = "inputCheckedListBox";
     this.inputCheckedListBox.Size       = new System.Drawing.Size(202, 188);
     this.inputCheckedListBox.TabIndex   = 0;
     this.inputCheckedListBox.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.inputCheckedListBox_ItemCheck);
     //
     // displayListBox
     //
     this.displayListBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.displayListBox.FormattingEnabled = true;
     this.displayListBox.ItemHeight        = 20;
     this.displayListBox.Location          = new System.Drawing.Point(236, 12);
     this.displayListBox.Name     = "displayListBox";
     this.displayListBox.Size     = new System.Drawing.Size(190, 184);
     this.displayListBox.TabIndex = 1;
     //
     // CheckedListBoxTestForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(438, 211);
     this.Controls.Add(this.displayListBox);
     this.Controls.Add(this.inputCheckedListBox);
     this.Name = "CheckedListBoxTestForm";
     this.Text = "CheckedListBoxTest";
     this.ResumeLayout(false);
 }
Example #40
0
 private void InitializeComponent()
 {
     this.components                 = new System.ComponentModel.Container();
     this.textBox1                   = new System.Windows.Forms.TextBox();
     this.checkedListBox1            = new System.Windows.Forms.CheckedListBox();
     this.listBox1                   = new System.Windows.Forms.ListBox();
     this.button1                    = new System.Windows.Forms.Button();
     this.button2                    = new System.Windows.Forms.Button();
     this.button3                    = new System.Windows.Forms.Button();
     this.textBox1.Location          = new System.Drawing.Point(144, 64);
     this.textBox1.Size              = new System.Drawing.Size(128, 20);
     this.textBox1.TabIndex          = 1;
     this.textBox1.TextChanged      += new System.EventHandler(this.textBox1_TextChanged);
     this.checkedListBox1.Location   = new System.Drawing.Point(16, 64);
     this.checkedListBox1.Size       = new System.Drawing.Size(120, 184);
     this.checkedListBox1.TabIndex   = 0;
     this.checkedListBox1.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.checkedListBox1_ItemCheck);
     this.listBox1.Location          = new System.Drawing.Point(408, 64);
     this.listBox1.Size              = new System.Drawing.Size(128, 186);
     this.listBox1.TabIndex          = 3;
     this.button1.Enabled            = false;
     this.button1.Location           = new System.Drawing.Point(144, 104);
     this.button1.Size               = new System.Drawing.Size(104, 32);
     this.button1.TabIndex           = 2;
     this.button1.Text               = "Add Fruit";
     this.button1.Click             += new System.EventHandler(this.button1_Click);
     this.button2.Enabled            = false;
     this.button2.Location           = new System.Drawing.Point(288, 64);
     this.button2.Size               = new System.Drawing.Size(104, 32);
     this.button2.TabIndex           = 2;
     this.button2.Text               = "Show Order";
     this.button2.Click             += new System.EventHandler(this.button2_Click);
     this.button3.Enabled            = false;
     this.button3.Location           = new System.Drawing.Point(288, 104);
     this.button3.Size               = new System.Drawing.Size(104, 32);
     this.button3.TabIndex           = 2;
     this.button3.Text               = "Save Order";
     this.button3.Click             += new System.EventHandler(this.button3_Click);
     this.ClientSize                 = new System.Drawing.Size(563, 273);
     this.Controls.AddRange(new System.Windows.Forms.Control[] { this.listBox1,
                                                                 this.button3,
                                                                 this.button2,
                                                                 this.button1,
                                                                 this.textBox1,
                                                                 this.checkedListBox1 });
     this.Text = "Fruit Order";
 }
Example #41
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.checkedListBox1 = new System.Windows.Forms.CheckedListBox();
     this.btnOK           = new System.Windows.Forms.Button();
     this.btnCancel       = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // checkedListBox1
     //
     this.checkedListBox1.Location = new System.Drawing.Point(0, 8);
     this.checkedListBox1.Name     = "checkedListBox1";
     this.checkedListBox1.Size     = new System.Drawing.Size(288, 212);
     this.checkedListBox1.TabIndex = 0;
     //
     // btnOK
     //
     this.btnOK.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnOK.Location  = new System.Drawing.Point(120, 232);
     this.btnOK.Name      = "btnOK";
     this.btnOK.TabIndex  = 1;
     this.btnOK.Text      = "确定";
     this.btnOK.Click    += new System.EventHandler(this.btnOK_Click);
     //
     // btnCancel
     //
     this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnCancel.Location  = new System.Drawing.Point(208, 232);
     this.btnCancel.Name      = "btnCancel";
     this.btnCancel.TabIndex  = 2;
     this.btnCancel.Text      = "取消";
     this.btnCancel.Click    += new System.EventHandler(this.btnCancel_Click);
     //
     // frmRemoveRule
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(292, 261);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.checkedListBox1);
     this.MaximizeBox   = false;
     this.Name          = "frmRemoveRule";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "删除规则";
     this.Load         += new System.EventHandler(this.frmRemoveRule_Load);
     this.ResumeLayout(false);
 }
        public void ResetAllControlsInPanel(ErrorProvider ep, System.Windows.Forms.GroupBox currentPanel)
        {
            System.Windows.Forms.Control ctrl = currentPanel.GetNextControl(currentPanel, true);

            while (ctrl != null)
            {
                System.Type ctrlType = ctrl.GetType();
                if (ctrlType == typeof(System.Windows.Forms.TextBox))
                {
                    System.Windows.Forms.TextBox currentTextBox = ctrl as System.Windows.Forms.TextBox;
                    currentTextBox.ResetText();
                    ep.SetError(currentTextBox, string.Empty);
                }
                else if (ctrlType == typeof(System.Windows.Forms.ComboBox))
                {
                    System.Windows.Forms.ComboBox currentComboBox = ctrl as System.Windows.Forms.ComboBox;
                    if (currentComboBox.Items.Count > 0)
                    {
                        currentComboBox.SelectedIndex = 0;
                    }
                    ep.SetError(currentComboBox, string.Empty);
                }
                else if (ctrlType == typeof(System.Windows.Forms.ListBox))
                {
                    System.Windows.Forms.ListBox currentListBox = ctrl as System.Windows.Forms.ListBox;
                    if (currentListBox.Items.Count > 0)
                    {
                        currentListBox.SelectedIndex = 0;
                    }
                    ep.SetError(currentListBox, string.Empty);
                }
                else if (ctrlType == typeof(System.Windows.Forms.CheckBox))
                {
                    System.Windows.Forms.CheckBox currentCheckBox = ctrl as System.Windows.Forms.CheckBox;
                    currentCheckBox.Checked = false;
                    ep.SetError(currentCheckBox, string.Empty);
                }
                else if (ctrlType == typeof(System.Windows.Forms.CheckedListBox))
                {
                    System.Windows.Forms.CheckedListBox currentCheckBox = ctrl as System.Windows.Forms.CheckedListBox;
                    ep.SetError(currentCheckBox, string.Empty);
                }
                ctrl = currentPanel.GetNextControl(ctrl, true);
            }
        }
Example #43
0
        public static void UpdateFileList(System.Windows.Forms.CheckedListBox filelist, string outputdir, string fileext)
        {
            Directory.SetCurrentDirectory(Path.GetDirectoryName(Application.ExecutablePath));
            filelist.Items.Clear();

            if (Directory.Exists(outputdir) == false && File.Exists(outputdir) == false)
            {
                Directory.CreateDirectory(outputdir);
            }

            var di = new DirectoryInfo(outputdir);

            FileInfo[] rgFiles = di.GetFiles("*." + fileext);
            foreach (FileInfo fi in rgFiles)
            {
                filelist.Items.Add(fi.Name);
            }
        }
      } // end Initialize

      #endregion

      #region InitializeComponent

      /// <summary>
      /// Required method for Designer support - do not modify
      /// the contents of this method with the code editor.
      /// </summary>
      private void InitializeComponent()
      {
         this._lblEnvMessage = new System.Windows.Forms.Label();
         this._chkSelectAll = new System.Windows.Forms.CheckBox();
         this._chklstEnvironments = new System.Windows.Forms.CheckedListBox();
         this.SuspendLayout();
         // 
         // _lblEnvMessage
         // 
         this._lblEnvMessage.Location = new System.Drawing.Point(16, 8);
         this._lblEnvMessage.Name = "_lblEnvMessage";
         this._lblEnvMessage.Size = new System.Drawing.Size(432, 40);
         this._lblEnvMessage.TabIndex = 0;
         this._lblEnvMessage.Text = "Please select the RFSmart Version 3 Environment(s) for which you would " +
                                    "like to export the data.";
         // 
         // _chkSelectAll
         // 
         this._chkSelectAll.Location = new System.Drawing.Point(24, 72);
         this._chkSelectAll.Name = "_chkSelectAll";
         this._chkSelectAll.Size = new System.Drawing.Size(192, 16);
         this._chkSelectAll.TabIndex = 1;
         this._chkSelectAll.Text = "Select All";
         this._chkSelectAll.CheckedChanged += new System.EventHandler(SelectAllEnvironments);
         // 
         // _chklstEnvironments
         // 
         this._chklstEnvironments.Location = new System.Drawing.Point(24, 96);
         this._chklstEnvironments.Name = "_chklstEnvironments";
         this._chklstEnvironments.Size = new System.Drawing.Size(184, 139);
         this._chklstEnvironments.CheckOnClick = true;
         this._chklstEnvironments.TabIndex = 2;
         this._chklstEnvironments.ItemCheck += new ItemCheckEventHandler(UncheckSelectAll);
         // 
         // EnvironmentPanel
         // 
         this.Controls.Add(this._lblEnvMessage);
         this.Controls.Add(this._chkSelectAll);
         this.Controls.Add(this._chklstEnvironments);
         this.Name = "EnvironmentPanel";
         this.LeavePanel += new ICS.GUI_Library.Controls.LeavePanelEventHandler(LeaveEnvironmentPanel);
         this.ResumeLayout(false);

      } // end InitializeComponent
Example #45
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.chlPList   = new System.Windows.Forms.CheckedListBox();
     this.btnRefresh = new System.Windows.Forms.Button();
     this.btnKill    = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // chlPList
     //
     this.chlPList.ImeMode    = System.Windows.Forms.ImeMode.NoControl;
     this.chlPList.Location   = new System.Drawing.Point(8, 8);
     this.chlPList.Name       = "chlPList";
     this.chlPList.Size       = new System.Drawing.Size(320, 124);
     this.chlPList.TabIndex   = 0;
     this.chlPList.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.chlPList_ItemCheck);
     //
     // btnRefresh
     //
     this.btnRefresh.Location = new System.Drawing.Point(88, 144);
     this.btnRefresh.Name     = "btnRefresh";
     this.btnRefresh.TabIndex = 1;
     this.btnRefresh.Text     = "Refresh";
     this.btnRefresh.Click   += new System.EventHandler(this.btnRefresh_Click);
     //
     // btnKill
     //
     this.btnKill.Location = new System.Drawing.Point(173, 144);
     this.btnKill.Name     = "btnKill";
     this.btnKill.TabIndex = 2;
     this.btnKill.Text     = "Kill";
     this.btnKill.Click   += new System.EventHandler(this.btnKill_Click);
     //
     // GUI
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(336, 173);
     this.Controls.Add(this.btnKill);
     this.Controls.Add(this.btnRefresh);
     this.Controls.Add(this.chlPList);
     this.Name = "GUI";
     this.Text = "botNET Loader";
     this.ResumeLayout(false);
 }
Example #46
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.C_TextIniFile = new System.Windows.Forms.TextBox();
     this.C_BtnBrowse   = new System.Windows.Forms.Button();
     this.C_CheckList   = new System.Windows.Forms.CheckedListBox();
     this.SuspendLayout();
     //
     // C_TextIniFile
     //
     this.C_TextIniFile.Enabled  = false;
     this.C_TextIniFile.Location = new System.Drawing.Point(24, 16);
     this.C_TextIniFile.Name     = "C_TextIniFile";
     this.C_TextIniFile.Size     = new System.Drawing.Size(536, 22);
     this.C_TextIniFile.TabIndex = 8;
     this.C_TextIniFile.Text     = "";
     //
     // C_BtnBrowse
     //
     this.C_BtnBrowse.Location = new System.Drawing.Point(568, 16);
     this.C_BtnBrowse.Name     = "C_BtnBrowse";
     this.C_BtnBrowse.Size     = new System.Drawing.Size(80, 23);
     this.C_BtnBrowse.TabIndex = 7;
     this.C_BtnBrowse.Text     = "Browse...";
     this.C_BtnBrowse.Click   += new System.EventHandler(this.C_BtnBrowse_Click);
     //
     // C_CheckList
     //
     this.C_CheckList.CheckOnClick          = true;
     this.C_CheckList.Location              = new System.Drawing.Point(24, 56);
     this.C_CheckList.Name                  = "C_CheckList";
     this.C_CheckList.Size                  = new System.Drawing.Size(736, 395);
     this.C_CheckList.TabIndex              = 9;
     this.C_CheckList.SelectedIndexChanged += new System.EventHandler(this.C_CheckList_SelectedIndexChanged);
     this.C_CheckList.ItemCheck            += new System.Windows.Forms.ItemCheckEventHandler(this.C_CheckList_ItemCheck);
     //
     // ConfigAdvDB
     //
     this.Controls.Add(this.C_CheckList);
     this.Controls.Add(this.C_TextIniFile);
     this.Controls.Add(this.C_BtnBrowse);
     this.Name = "ConfigAdvDB";
     this.ResumeLayout(false);
 }
Example #47
0
        private void FillCheckedList(IEnumerable <FilterNameModel> models)
        {
            GroupBox       gbFilter;
            CheckedListBox listBox;
            int            dy = 13;

            foreach (var item in models)
            {
                gbFilter = new System.Windows.Forms.GroupBox();
                listBox  = new System.Windows.Forms.CheckedListBox();
                gbFilter.SuspendLayout();
                //
                // gbFilter
                //
                gbFilter.Controls.Add(listBox);
                gbFilter.Location  = new System.Drawing.Point(13, dy);
                gbFilter.Name      = $"gbFilter{item.Id}";
                gbFilter.Size      = new System.Drawing.Size(222, 217);
                gbFilter.TabIndex  = 0;
                gbFilter.TabStop   = false;
                gbFilter.Text      = item.Name;
                gbFilter.ForeColor = Color.Red;
                gbFilter.Tag       = item;
                gbFilter.Click    += new EventHandler(GbFilter_Click);
                //
                // listBox
                //
                listBox.FormattingEnabled = true;
                listBox.Location          = new System.Drawing.Point(0, 30);
                listBox.Name     = $"listBox{item.Id}";
                listBox.Width    = 208;
                listBox.TabIndex = 0;

                foreach (var child in item.Children)
                {
                    listBox.Items.Add(child);
                }

                gbFilter.Size = new  Size(listBox.Size.Width, listBox.Size.Height + 30);
                dy           += gbFilter.Size.Height + 10;
                this.Controls.Add(gbFilter);
            }
        }
 private void InitializeComponent()
 {
     this.pb1         = new System.Windows.Forms.PictureBox();
     this.cklbCameras = new System.Windows.Forms.CheckedListBox();
     ((System.ComponentModel.ISupportInitialize)(this.pb1)).BeginInit();
     this.SuspendLayout();
     //
     // pb1
     //
     this.pb1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                             | System.Windows.Forms.AnchorStyles.Right)));
     this.pb1.Location = new System.Drawing.Point(0, 40);
     this.pb1.Name     = "pb1";
     this.pb1.Size     = new System.Drawing.Size(400, 300);
     this.pb1.TabIndex = 0;
     this.pb1.TabStop  = false;
     //
     // cklbCameras
     //
     this.cklbCameras.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.cklbCameras.Location   = new System.Drawing.Point(0, 0);
     this.cklbCameras.Name       = "cklbCameras";
     this.cklbCameras.Size       = new System.Drawing.Size(400, 34);
     this.cklbCameras.TabIndex   = 1;
     this.cklbCameras.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.cklbCameras_ItemCheck);
     //
     // MDShowInteropForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(400, 342);
     this.Controls.Add(this.cklbCameras);
     this.Controls.Add(this.pb1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.Name            = "MDShowInteropForm";
     this.Text            = "DirectShow Sample";
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.MDShowInteropForm_Closing);
     this.Load           += new System.EventHandler(this.MDShowInteropForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.pb1)).EndInit();
     this.ResumeLayout(false);
 }
Example #49
0
        /// Required method for Designer support.
        private void InitializeComponent()
        {
            this.checkedListBox1 = new System.Windows.Forms.CheckedListBox();
            this.WhatIsChecked   = new System.Windows.Forms.Button();
            this.CheckEveryOther = new System.Windows.Forms.Button();
            this.SuspendLayout();

            // checkedListBox1
            this.checkedListBox1.Items.AddRange(new object[] { "one", "two", "three", "four",
                                                               "five", "six", "seven", "eight",
                                                               "nine", "ten" });
            this.checkedListBox1.Location   = new System.Drawing.Point(10, 25);
            this.checkedListBox1.Name       = "checkedListBox1";
            this.checkedListBox1.Size       = new System.Drawing.Size(158, 139);
            this.checkedListBox1.TabIndex   = 0;
            this.checkedListBox1.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.checkedListBox1_ItemCheck);

            // WhatIsChecked
            this.WhatIsChecked.Location = new System.Drawing.Point(178, 27);
            this.WhatIsChecked.Name     = "WhatIsChecked";
            this.WhatIsChecked.Size     = new System.Drawing.Size(106, 23);
            this.WhatIsChecked.TabIndex = 1;
            this.WhatIsChecked.Text     = "What is checked?";
            this.WhatIsChecked.Click   += new System.EventHandler(this.WhatIsChecked_Click);

            // CheckEveryOther
            this.CheckEveryOther.Location = new System.Drawing.Point(178, 59);
            this.CheckEveryOther.Name     = "CheckEveryOther";
            this.CheckEveryOther.Size     = new System.Drawing.Size(106, 23);
            this.CheckEveryOther.TabIndex = 2;
            this.CheckEveryOther.Text     = "Check every other";
            this.CheckEveryOther.Click   += new System.EventHandler(this.CheckEveryOther_Click);

            // Form1
            this.ClientSize = new System.Drawing.Size(303, 182);
            this.Controls.AddRange(new System.Windows.Forms.Control[] { this.CheckEveryOther,
                                                                        this.WhatIsChecked,
                                                                        this.checkedListBox1 });
            this.Name = "Form1";
            this.Text = "Form1";
            this.ResumeLayout(false);
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="DropDownCheckList"/> class.
 /// </summary>
 public DropDownCheckList()
 {
     onCheckTimer = new Timer {
         Interval = 150
     };
     onCheckTimer.Tick += onCheckTimer_Tick;
     checkedListBox1    = new System.Windows.Forms.CheckedListBox()
     {
         BorderStyle       = System.Windows.Forms.BorderStyle.None,
         CheckOnClick      = true,
         FormattingEnabled = true,
         Location          = new System.Drawing.Point(17, 35),
         MultiColumn       = false,
         Name     = "checkedListBox1",
         Size     = new System.Drawing.Size(187, 105),
         TabIndex = 0
     };
     checkedListBox1.ItemCheck += new ItemCheckEventHandler(checkedListBox1_ItemCheck);
     base.DropDownControl       = checkedListBox1;
 }
Example #51
0
    private void InitializeCheckedListBox()
    {
        this.CheckedListBox1                  = new CheckedListBox();
        this.CheckedListBox1.Location         = new System.Drawing.Point(40, 90);
        this.CheckedListBox1.CheckOnClick     = true;
        this.CheckedListBox1.Name             = "CheckedListBox1";
        this.CheckedListBox1.Size             = new System.Drawing.Size(120, 94);
        this.CheckedListBox1.TabIndex         = 1;
        this.CheckedListBox1.SelectionMode    = SelectionMode.One;
        this.CheckedListBox1.ThreeDCheckBoxes = true;

        foreach (Control aControl in this.Controls)
        {
            this.CheckedListBox1.Items.Add(aControl, false);
        }

        this.CheckedListBox1.DisplayMember = "Name";
        this.CheckedListBox1.Items.Add(CheckedListBox1);
        this.Controls.Add(this.CheckedListBox1);
    }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.clbItems = new System.Windows.Forms.CheckedListBox();
     this.SuspendLayout();
     //
     // clbItems
     //
     this.clbItems.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.clbItems.Location              = new System.Drawing.Point(0, 0);
     this.clbItems.Name                  = "clbItems";
     this.clbItems.Size                  = new System.Drawing.Size(100, 199);
     this.clbItems.TabIndex              = 0;
     this.clbItems.SelectedIndexChanged += new System.EventHandler(this.clbItems_SelectedIndexChanged);
     //
     // CheckedListUserControl
     //
     this.Controls.Add(this.clbItems);
     this.Name = "CheckedListUserControl";
     this.Size = new System.Drawing.Size(100, 200);
     this.ResumeLayout(false);
 }
Example #53
0
        private void config_constants_ItemCheck(object sender, ItemCheckEventArgs e)
        {
            System.Windows.Forms.CheckedListBox obj = sender as CheckedListBox;

            //Output.Text += "Clicked " + obj.Text; // +" newvalue " + e.NewValue + "\n";

            IProject project = PluginBase.CurrentProject;

            if (project == null)
            {
                //Output.Text += "No project loaded";
                return;
            }
            AS3Project as3_project = project as AS3Project;

            string[] constants = GetCompilerConstants();

            for (int i = 0; i < constants.GetLength(0); i++)
            {
                //Output.Text += " " + constants[i];

                if (IsConstantCONFIG(constants[i]))
                {
                    string key;
                    string value;
                    string conf_namespace;
                    ExtractCONFIGKeyValue(constants[i], out key, out value, out conf_namespace);

                    if (key == obj.Text) // is this the clicked one
                    {
                        constants[i] = conf_namespace + "::" + key + "," + (e.NewValue == CheckState.Checked ? "true" : "false");
                        //Output.Text += "toggled " + constants[i] + "\n";

                        as3_project.Save();
                        return;
                    }
                }
            }
        }
      } // end Initialize

      #endregion

      #region InitializeComponent

      /// <summary>
      /// Required method for Designer support - do not modify
      /// the contents of this method with the code editor.
      /// </summary>
      private void InitializeComponent()
      {
         System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EnvironmentPanel));
         this._lblEnvMessage = new System.Windows.Forms.Label();
         this._chkSelectAll = new System.Windows.Forms.CheckBox();
         this._chklstEnvironments = new System.Windows.Forms.CheckedListBox();
         this.SuspendLayout();
         // 
         // _lblEnvMessage
         // 
         resources.ApplyResources(this._lblEnvMessage, "_lblEnvMessage");
         this._lblEnvMessage.Name = "_lblEnvMessage";
         // 
         // _chkSelectAll
         // 
         resources.ApplyResources(this._chkSelectAll, "_chkSelectAll");
         this._chkSelectAll.Name = "_chkSelectAll";
         this._chkSelectAll.CheckedChanged += new System.EventHandler(this.SelectAllEnvironments);
         // 
         // _chklstEnvironments
         // 
         this._chklstEnvironments.CheckOnClick = true;
         resources.ApplyResources(this._chklstEnvironments, "_chklstEnvironments");
         this._chklstEnvironments.Name = "_chklstEnvironments";
         this._chklstEnvironments.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.UncheckSelectAll);
         this._chklstEnvironments.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.GoForwardIfEnterPressed);
         // 
         // EnvironmentPanel
         // 
         this.Controls.Add(this._lblEnvMessage);
         this.Controls.Add(this._chkSelectAll);
         this.Controls.Add(this._chklstEnvironments);
         this.Name = "EnvironmentPanel";
         this.LeavePanel += new GraySystem.UI.Controls.WizardControlPanels.LeavePanelEventHandler(this.LeaveEnvironmentPanel);
         this.ResumeLayout(false);

      } // end InitializeComponent
Example #55
0
        public override ToggleState GetItemToggleState(ListItemProvider item)
        {
            if (ContainsItem(item) == true)
            {
                SWF.CheckedListBox checkedListBox = (SWF.CheckedListBox)Control;

                SWF.CheckState state = checkedListBox.GetItemCheckState(item.Index);
                switch (state)
                {
                case SWF.CheckState.Checked:
                    return(ToggleState.On);

                case SWF.CheckState.Unchecked:
                    return(ToggleState.Off);

                default:
                    return(ToggleState.Indeterminate);
                }
            }
            else
            {
                return(ToggleState.Indeterminate);
            }
        }
Example #56
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(rptKiemkekho));
     this.label1       = new System.Windows.Forms.Label();
     this.label2       = new System.Windows.Forms.Label();
     this.butIn        = new System.Windows.Forms.Button();
     this.butKetthuc   = new System.Windows.Forms.Button();
     this.label12      = new System.Windows.Forms.Label();
     this.yyyy         = new System.Windows.Forms.NumericUpDown();
     this.mm           = new System.Windows.Forms.NumericUpDown();
     this.nguon        = new System.Windows.Forms.ComboBox();
     this.label3       = new System.Windows.Forms.Label();
     this.kho          = new System.Windows.Forms.CheckedListBox();
     this.chkChitiet   = new System.Windows.Forms.CheckBox();
     this.chkAB        = new System.Windows.Forms.CheckBox();
     this.tabControl1  = new System.Windows.Forms.TabControl();
     this.tabPage1     = new System.Windows.Forms.TabPage();
     this.chkGianovat  = new System.Windows.Forms.CheckBox();
     this.tabPage2     = new System.Windows.Forms.TabPage();
     this.richTextBox1 = new System.Windows.Forms.RichTextBox();
     this.chkbh100     = new System.Windows.Forms.CheckBox();
     this.chkbh0       = new System.Windows.Forms.CheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mm)).BeginInit();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(6, 3);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(55, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Tháng :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(162, 3);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(34, 23);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "năm :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butIn
     //
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(125, 221);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(70, 25);
     this.butIn.TabIndex   = 4;
     this.butIn.Text       = "&In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(195, 221);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 5;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // label12
     //
     this.label12.Location  = new System.Drawing.Point(29, 26);
     this.label12.Name      = "label12";
     this.label12.Size      = new System.Drawing.Size(32, 23);
     this.label12.TabIndex  = 22;
     this.label12.Text      = "Kho :";
     this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // yyyy
     //
     this.yyyy.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.yyyy.Location = new System.Drawing.Point(199, 4);
     this.yyyy.Maximum  = new decimal(new int[] {
         3004,
         0,
         0,
         0
     });
     this.yyyy.Minimum = new decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yyyy.Name     = "yyyy";
     this.yyyy.Size     = new System.Drawing.Size(48, 21);
     this.yyyy.TabIndex = 1;
     this.yyyy.Value    = new decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yyyy.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // mm
     //
     this.mm.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mm.Location = new System.Drawing.Point(60, 4);
     this.mm.Maximum  = new decimal(new int[] {
         12,
         0,
         0,
         0
     });
     this.mm.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.mm.Name     = "mm";
     this.mm.Size     = new System.Drawing.Size(40, 21);
     this.mm.TabIndex = 0;
     this.mm.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.mm.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // nguon
     //
     this.nguon.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nguon.Location = new System.Drawing.Point(60, 129);
     this.nguon.Name     = "nguon";
     this.nguon.Size     = new System.Drawing.Size(303, 21);
     this.nguon.TabIndex = 3;
     this.nguon.KeyDown += new System.Windows.Forms.KeyEventHandler(this.kho_KeyDown);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(14, 129);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(48, 23);
     this.label3.TabIndex  = 24;
     this.label3.Text      = "Nguồn :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // kho
     //
     this.kho.CheckOnClick = true;
     this.kho.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kho.Location     = new System.Drawing.Point(60, 27);
     this.kho.Name         = "kho";
     this.kho.Size         = new System.Drawing.Size(303, 100);
     this.kho.TabIndex     = 2;
     this.kho.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.kho_KeyDown);
     //
     // chkChitiet
     //
     this.chkChitiet.Location = new System.Drawing.Point(62, 153);
     this.chkChitiet.Name     = "chkChitiet";
     this.chkChitiet.Size     = new System.Drawing.Size(128, 24);
     this.chkChitiet.TabIndex = 25;
     this.chkChitiet.Text     = "Chi tiết theo kho";
     this.chkChitiet.KeyDown += new System.Windows.Forms.KeyEventHandler(this.kho_KeyDown);
     //
     // chkAB
     //
     this.chkAB.Location        = new System.Drawing.Point(62, 171);
     this.chkAB.Name            = "chkAB";
     this.chkAB.Size            = new System.Drawing.Size(152, 24);
     this.chkAB.TabIndex        = 26;
     this.chkAB.Text            = "Theo thứ tự tên thuốc";
     this.chkAB.CheckedChanged += new System.EventHandler(this.chkAB_CheckedChanged);
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.tabControl1.Location      = new System.Drawing.Point(0, 0);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(377, 288);
     this.tabControl1.TabIndex      = 27;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.chkbh0);
     this.tabPage1.Controls.Add(this.chkbh100);
     this.tabPage1.Controls.Add(this.chkGianovat);
     this.tabPage1.Controls.Add(this.mm);
     this.tabPage1.Controls.Add(this.label1);
     this.tabPage1.Controls.Add(this.chkAB);
     this.tabPage1.Controls.Add(this.label2);
     this.tabPage1.Controls.Add(this.chkChitiet);
     this.tabPage1.Controls.Add(this.butIn);
     this.tabPage1.Controls.Add(this.kho);
     this.tabPage1.Controls.Add(this.butKetthuc);
     this.tabPage1.Controls.Add(this.nguon);
     this.tabPage1.Controls.Add(this.label12);
     this.tabPage1.Controls.Add(this.label3);
     this.tabPage1.Controls.Add(this.yyyy);
     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(369, 262);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "Kiểm kê kho";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // chkGianovat
     //
     this.chkGianovat.Location = new System.Drawing.Point(235, 153);
     this.chkGianovat.Name     = "chkGianovat";
     this.chkGianovat.Size     = new System.Drawing.Size(128, 24);
     this.chkGianovat.TabIndex = 27;
     this.chkGianovat.Text     = "In theo giá trước VAT";
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.richTextBox1);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size     = new System.Drawing.Size(369, 246);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "Hướng dẫn";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // richTextBox1
     //
     this.richTextBox1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.richTextBox1.Location = new System.Drawing.Point(3, 3);
     this.richTextBox1.Name     = "richTextBox1";
     this.richTextBox1.ReadOnly = true;
     this.richTextBox1.Size     = new System.Drawing.Size(363, 240);
     this.richTextBox1.TabIndex = 3;
     this.richTextBox1.Text     = "+ Kiểm kê tồn kho:\n\t- Chỉ lấy số liệu từ tồn kho chi tiết --> tương đương với men" +
                                  "u: Tiện ích --> kho --> Chi tiết\n\t";
     //
     // chkbh100
     //
     this.chkbh100.Location        = new System.Drawing.Point(235, 171);
     this.chkbh100.Name            = "chkbh100";
     this.chkbh100.Size            = new System.Drawing.Size(152, 24);
     this.chkbh100.TabIndex        = 28;
     this.chkbh100.Text            = "BHYT chi trả";
     this.chkbh100.CheckedChanged += new System.EventHandler(this.chkbh100_CheckedChanged);
     //
     // chkbh0
     //
     this.chkbh0.Location        = new System.Drawing.Point(235, 190);
     this.chkbh0.Name            = "chkbh0";
     this.chkbh0.Size            = new System.Drawing.Size(152, 24);
     this.chkbh0.TabIndex        = 29;
     this.chkbh0.Text            = "BHYT không chi trả";
     this.chkbh0.CheckedChanged += new System.EventHandler(this.chkbh0_CheckedChanged);
     //
     // rptKiemkekho
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(377, 288);
     this.Controls.Add(this.tabControl1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "rptKiemkekho";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Phiếu kiểm kê kho";
     this.Load           += new System.EventHandler(this.rptKiemkekho_Load);
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mm)).EndInit();
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #57
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(frmTkttlucrv));
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.label7     = new System.Windows.Forms.Label();
     this.madantoc   = new System.Windows.Forms.ComboBox();
     this.mann       = new System.Windows.Forms.ComboBox();
     this.maqu       = new System.Windows.Forms.ComboBox();
     this.matt       = new System.Windows.Forms.ComboBox();
     this.maphuongxa = new System.Windows.Forms.ComboBox();
     this.label18    = new System.Windows.Forms.Label();
     this.label17    = new System.Windows.Forms.Label();
     this.label16    = new System.Windows.Forms.Label();
     this.label10    = new System.Windows.Forms.Label();
     this.label11    = new System.Windows.Forms.Label();
     this.label12    = new System.Windows.Forms.Label();
     this.makp       = new System.Windows.Forms.ComboBox();
     this.label15    = new System.Windows.Forms.Label();
     this.label19    = new System.Windows.Forms.Label();
     this.phai       = new System.Windows.Forms.ComboBox();
     this.dotuoi     = new System.Windows.Forms.ComboBox();
     this.solieu     = new System.Windows.Forms.ComboBox();
     this.butTim     = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.toolTip1   = new System.Windows.Forms.ToolTip(this.components);
     this.den        = new MaskedBox.MaskedBox();
     this.tu         = new MaskedBox.MaskedBox();
     this.ttlucrv    = new System.Windows.Forms.ComboBox();
     this.label3     = new System.Windows.Forms.Label();
     this.maicd      = new MaskedTextBox.MaskedTextBox();
     this.label4     = new System.Windows.Forms.Label();
     this.checkBox1  = new System.Windows.Forms.CheckBox();
     this.listBox1   = new System.Windows.Forms.CheckedListBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label1.Location  = new System.Drawing.Point(4, 11);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(71, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Từ ngày :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label2.Location  = new System.Drawing.Point(168, 11);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(72, 23);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "đến ngày :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label7
     //
     this.label7.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label7.Location  = new System.Drawing.Point(4, 59);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(71, 23);
     this.label7.TabIndex  = 6;
     this.label7.Text      = "Giới tính :";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // madantoc
     //
     this.madantoc.BackColor = System.Drawing.SystemColors.HighlightText;
     this.madantoc.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.madantoc.Location  = new System.Drawing.Point(72, 83);
     this.madantoc.Name      = "madantoc";
     this.madantoc.Size      = new System.Drawing.Size(80, 21);
     this.madantoc.TabIndex  = 5;
     this.madantoc.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.madantoc_KeyDown);
     //
     // mann
     //
     this.mann.BackColor = System.Drawing.SystemColors.HighlightText;
     this.mann.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mann.Location  = new System.Drawing.Point(72, 131);
     this.mann.Name      = "mann";
     this.mann.Size      = new System.Drawing.Size(232, 21);
     this.mann.TabIndex  = 8;
     this.mann.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.mann_KeyDown);
     //
     // maqu
     //
     this.maqu.BackColor             = System.Drawing.SystemColors.HighlightText;
     this.maqu.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.maqu.Location              = new System.Drawing.Point(72, 179);
     this.maqu.Name                  = "maqu";
     this.maqu.Size                  = new System.Drawing.Size(232, 21);
     this.maqu.TabIndex              = 10;
     this.maqu.SelectedIndexChanged += new System.EventHandler(this.maqu_SelectedIndexChanged);
     this.maqu.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.maqu_KeyDown);
     //
     // matt
     //
     this.matt.BackColor             = System.Drawing.SystemColors.HighlightText;
     this.matt.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.matt.Location              = new System.Drawing.Point(72, 155);
     this.matt.Name                  = "matt";
     this.matt.Size                  = new System.Drawing.Size(232, 21);
     this.matt.TabIndex              = 9;
     this.matt.SelectedIndexChanged += new System.EventHandler(this.matt_SelectedIndexChanged);
     this.matt.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.matt_KeyDown);
     //
     // maphuongxa
     //
     this.maphuongxa.BackColor = System.Drawing.SystemColors.HighlightText;
     this.maphuongxa.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.maphuongxa.Location  = new System.Drawing.Point(72, 203);
     this.maphuongxa.Name      = "maphuongxa";
     this.maphuongxa.Size      = new System.Drawing.Size(232, 21);
     this.maphuongxa.TabIndex  = 11;
     this.maphuongxa.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.maphuongxa_KeyDown);
     //
     // label18
     //
     this.label18.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label18.Location  = new System.Drawing.Point(4, 203);
     this.label18.Name      = "label18";
     this.label18.Size      = new System.Drawing.Size(71, 23);
     this.label18.TabIndex  = 55;
     this.label18.Text      = "Phường xã :";
     this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label17
     //
     this.label17.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label17.Location  = new System.Drawing.Point(-1, 179);
     this.label17.Name      = "label17";
     this.label17.Size      = new System.Drawing.Size(76, 23);
     this.label17.TabIndex  = 54;
     this.label17.Text      = "Quận/Huyện :";
     this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label16
     //
     this.label16.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label16.Location  = new System.Drawing.Point(4, 155);
     this.label16.Name      = "label16";
     this.label16.Size      = new System.Drawing.Size(71, 23);
     this.label16.TabIndex  = 53;
     this.label16.Text      = "Tỉnh/TP :";
     this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label10
     //
     this.label10.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label10.Location  = new System.Drawing.Point(0, 131);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(75, 23);
     this.label10.TabIndex  = 49;
     this.label10.Text      = "Nghề nghiệp :";
     this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label11
     //
     this.label11.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label11.Location  = new System.Drawing.Point(4, 83);
     this.label11.Name      = "label11";
     this.label11.Size      = new System.Drawing.Size(71, 23);
     this.label11.TabIndex  = 56;
     this.label11.Text      = "Dân tộc :";
     this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label12
     //
     this.label12.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label12.Location  = new System.Drawing.Point(1, 107);
     this.label12.Name      = "label12";
     this.label12.Size      = new System.Drawing.Size(74, 23);
     this.label12.TabIndex  = 57;
     this.label12.Text      = "Khoa/Phòng :";
     this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // makp
     //
     this.makp.BackColor = System.Drawing.SystemColors.HighlightText;
     this.makp.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.makp.Location  = new System.Drawing.Point(72, 107);
     this.makp.Name      = "makp";
     this.makp.Size      = new System.Drawing.Size(232, 21);
     this.makp.TabIndex  = 7;
     this.makp.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.makp_KeyDown);
     //
     // label15
     //
     this.label15.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label15.Location  = new System.Drawing.Point(142, 59);
     this.label15.Name      = "label15";
     this.label15.Size      = new System.Drawing.Size(74, 23);
     this.label15.TabIndex  = 61;
     this.label15.Text      = "Độ tuổi :";
     this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label19
     //
     this.label19.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label19.Location  = new System.Drawing.Point(4, 35);
     this.label19.Name      = "label19";
     this.label19.Size      = new System.Drawing.Size(71, 23);
     this.label19.TabIndex  = 62;
     this.label19.Text      = "Số liệu :";
     this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // phai
     //
     this.phai.BackColor = System.Drawing.SystemColors.HighlightText;
     this.phai.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.phai.Items.AddRange(new object[] {
         "Nam",
         "Nữ"
     });
     this.phai.Location = new System.Drawing.Point(72, 59);
     this.phai.Name     = "phai";
     this.phai.Size     = new System.Drawing.Size(80, 21);
     this.phai.TabIndex = 3;
     this.phai.KeyDown += new System.Windows.Forms.KeyEventHandler(this.phai_KeyDown);
     //
     // dotuoi
     //
     this.dotuoi.BackColor = System.Drawing.SystemColors.HighlightText;
     this.dotuoi.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dotuoi.Location  = new System.Drawing.Point(216, 59);
     this.dotuoi.Name      = "dotuoi";
     this.dotuoi.Size      = new System.Drawing.Size(88, 21);
     this.dotuoi.TabIndex  = 4;
     this.dotuoi.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.dotuoi_KeyDown);
     //
     // solieu
     //
     this.solieu.BackColor             = System.Drawing.SystemColors.HighlightText;
     this.solieu.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.solieu.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.solieu.Location              = new System.Drawing.Point(72, 35);
     this.solieu.Name                  = "solieu";
     this.solieu.Size                  = new System.Drawing.Size(232, 21);
     this.solieu.TabIndex              = 2;
     this.solieu.SelectedIndexChanged += new System.EventHandler(this.solieu_SelectedIndexChanged);
     this.solieu.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.solieu_KeyDown);
     //
     // butTim
     //
     this.butTim.BackColor  = System.Drawing.Color.Transparent;
     this.butTim.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.butTim.ForeColor  = System.Drawing.SystemColors.WindowText;
     this.butTim.Image      = ((System.Drawing.Image)(resources.GetObject("butTim.Image")));
     this.butTim.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butTim.Location   = new System.Drawing.Point(239, 272);
     this.butTim.Name       = "butTim";
     this.butTim.Size       = new System.Drawing.Size(68, 25);
     this.butTim.TabIndex   = 14;
     this.butTim.Text       = "    &In";
     this.butTim.UseVisualStyleBackColor = false;
     this.butTim.Click += new System.EventHandler(this.butTim_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.BackColor  = System.Drawing.Color.Transparent;
     this.butKetthuc.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.butKetthuc.ForeColor  = System.Drawing.SystemColors.WindowText;
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(309, 272);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(68, 25);
     this.butKetthuc.TabIndex   = 15;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.UseVisualStyleBackColor = false;
     this.butKetthuc.Click += new System.EventHandler(this.butKetthuc_Click);
     //
     // den
     //
     this.den.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.den.Location   = new System.Drawing.Point(240, 12);
     this.den.Mask       = "##/##/####";
     this.den.Name       = "den";
     this.den.Size       = new System.Drawing.Size(64, 21);
     this.den.TabIndex   = 1;
     this.den.Text       = "  /  /    ";
     this.den.Validated += new System.EventHandler(this.den_Validated);
     //
     // tu
     //
     this.tu.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.Location   = new System.Drawing.Point(72, 12);
     this.tu.Mask       = "##/##/####";
     this.tu.Name       = "tu";
     this.tu.Size       = new System.Drawing.Size(64, 21);
     this.tu.TabIndex   = 0;
     this.tu.Text       = "  /  /    ";
     this.tu.Validated += new System.EventHandler(this.tu_Validated);
     //
     // ttlucrv
     //
     this.ttlucrv.BackColor = System.Drawing.SystemColors.HighlightText;
     this.ttlucrv.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ttlucrv.Location  = new System.Drawing.Point(216, 83);
     this.ttlucrv.Name      = "ttlucrv";
     this.ttlucrv.Size      = new System.Drawing.Size(88, 21);
     this.ttlucrv.TabIndex  = 6;
     this.ttlucrv.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.ttlucrv_KeyDown);
     //
     // label3
     //
     this.label3.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label3.Location  = new System.Drawing.Point(152, 80);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(64, 23);
     this.label3.TabIndex  = 66;
     this.label3.Text      = "Tình trạng :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // maicd
     //
     this.maicd.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.maicd.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.maicd.Location        = new System.Drawing.Point(72, 227);
     this.maicd.Masked          = MaskedTextBox.MaskedTextBox.Mask.None;
     this.maicd.MaxLength       = 9;
     this.maicd.Name            = "maicd";
     this.maicd.Size            = new System.Drawing.Size(56, 21);
     this.maicd.TabIndex        = 12;
     //
     // label4
     //
     this.label4.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label4.Location  = new System.Drawing.Point(4, 225);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(71, 23);
     this.label4.TabIndex  = 68;
     this.label4.Text      = "Mã ICD :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // checkBox1
     //
     this.checkBox1.ForeColor          = System.Drawing.SystemColors.ControlText;
     this.checkBox1.Location           = new System.Drawing.Point(130, 226);
     this.checkBox1.Name               = "checkBox1";
     this.checkBox1.Size               = new System.Drawing.Size(134, 24);
     this.checkBox1.TabIndex           = 13;
     this.checkBox1.Text               = "Danh sách ICD10";
     this.checkBox1.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
     //
     // listBox1
     //
     this.listBox1.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.listBox1.Location = new System.Drawing.Point(312, 10);
     this.listBox1.Name     = "listBox1";
     this.listBox1.Size     = new System.Drawing.Size(296, 244);
     this.listBox1.TabIndex = 70;
     //
     // frmTkttlucrv
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(616, 317);
     this.Controls.Add(this.maicd);
     this.Controls.Add(this.listBox1);
     this.Controls.Add(this.checkBox1);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.phai);
     this.Controls.Add(this.madantoc);
     this.Controls.Add(this.mann);
     this.Controls.Add(this.ttlucrv);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.matt);
     this.Controls.Add(this.den);
     this.Controls.Add(this.makp);
     this.Controls.Add(this.maqu);
     this.Controls.Add(this.maphuongxa);
     this.Controls.Add(this.label18);
     this.Controls.Add(this.label17);
     this.Controls.Add(this.label16);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butTim);
     this.Controls.Add(this.dotuoi);
     this.Controls.Add(this.solieu);
     this.Controls.Add(this.label19);
     this.Controls.Add(this.label15);
     this.Controls.Add(this.label12);
     this.Controls.Add(this.label11);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmTkttlucrv";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Tổng hợp theo tình trạng ra viện";
     this.MouseMove    += new System.Windows.Forms.MouseEventHandler(this.frmTkravien_MouseMove);
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmTkttlucrv_KeyDown);
     this.Load         += new System.EventHandler(this.frmTkttlucrv_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #58
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmIndmbd));
     this.butXem     = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.opt1       = new System.Windows.Forms.RadioButton();
     this.opt2       = new System.Windows.Forms.RadioButton();
     this.opt3       = new System.Windows.Forms.RadioButton();
     this.kho        = new System.Windows.Forms.CheckedListBox();
     this.nhombd     = new System.Windows.Forms.CheckedListBox();
     this.opt4       = new System.Windows.Forms.RadioButton();
     this.groupBox1  = new System.Windows.Forms.GroupBox();
     this.yy         = new System.Windows.Forms.NumericUpDown();
     this.label4     = new System.Windows.Forms.Label();
     this.label3     = new System.Windows.Forms.Label();
     this.den        = new System.Windows.Forms.NumericUpDown();
     this.yyyy       = new System.Windows.Forms.NumericUpDown();
     this.tu         = new System.Windows.Forms.NumericUpDown();
     this.label2     = new System.Windows.Forms.Label();
     this.label1     = new System.Windows.Forms.Label();
     this.opt5       = new System.Windows.Forms.RadioButton();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.yy)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.den)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tu)).BeginInit();
     this.SuspendLayout();
     //
     // butXem
     //
     this.butXem.Image      = ((System.Drawing.Bitmap)(resources.GetObject("butXem.Image")));
     this.butXem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butXem.Location   = new System.Drawing.Point(72, 336);
     this.butXem.Name       = "butXem";
     this.butXem.Size       = new System.Drawing.Size(75, 28);
     this.butXem.TabIndex   = 7;
     this.butXem.Text       = "     &Xem";
     this.butXem.Click     += new System.EventHandler(this.butXem_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = ((System.Drawing.Bitmap)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(152, 336);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(75, 28);
     this.butKetthuc.TabIndex   = 8;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // opt1
     //
     this.opt1.Checked  = true;
     this.opt1.Location = new System.Drawing.Point(24, 64);
     this.opt1.Name     = "opt1";
     this.opt1.Size     = new System.Drawing.Size(248, 24);
     this.opt1.TabIndex = 1;
     this.opt1.TabStop  = true;
     this.opt1.Text     = "Theo tên thương mại";
     //
     // opt2
     //
     this.opt2.Location = new System.Drawing.Point(24, 88);
     this.opt2.Name     = "opt2";
     this.opt2.Size     = new System.Drawing.Size(248, 24);
     this.opt2.TabIndex = 2;
     this.opt2.Text     = "Theo tên gốc - tên hoạt chất";
     //
     // opt3
     //
     this.opt3.Location = new System.Drawing.Point(24, 112);
     this.opt3.Name     = "opt3";
     this.opt3.Size     = new System.Drawing.Size(248, 24);
     this.opt3.TabIndex = 3;
     this.opt3.Text     = "Theo dõi biến động giá thuốc - Ngày";
     //
     // kho
     //
     this.kho.CheckOnClick = true;
     this.kho.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.kho.Location     = new System.Drawing.Point(16, 192);
     this.kho.Name         = "kho";
     this.kho.Size         = new System.Drawing.Size(256, 132);
     this.kho.TabIndex     = 5;
     //
     // nhombd
     //
     this.nhombd.CheckOnClick = true;
     this.nhombd.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.nhombd.Location     = new System.Drawing.Point(280, 8);
     this.nhombd.Name         = "nhombd";
     this.nhombd.Size         = new System.Drawing.Size(208, 356);
     this.nhombd.TabIndex     = 6;
     //
     // opt4
     //
     this.opt4.Location = new System.Drawing.Point(24, 136);
     this.opt4.Name     = "opt4";
     this.opt4.Size     = new System.Drawing.Size(248, 24);
     this.opt4.TabIndex = 4;
     this.opt4.Text     = "Theo dõi giá thuốc -Tháng";
     //
     // groupBox1
     //
     this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.yy,
         this.label4,
         this.label3,
         this.den,
         this.yyyy,
         this.tu,
         this.label2,
         this.label1
     });
     this.groupBox1.Location = new System.Drawing.Point(16, 3);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(256, 64);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     //
     // yy
     //
     this.yy.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.yy.Location = new System.Drawing.Point(170, 12);
     this.yy.Maximum  = new System.Decimal(new int[] {
         3004,
         0,
         0,
         0
     });
     this.yy.Minimum = new System.Decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yy.Name     = "yy";
     this.yy.Size     = new System.Drawing.Size(48, 21);
     this.yy.TabIndex = 3;
     this.yy.Value    = new System.Decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yy.KeyDown += new System.Windows.Forms.KeyEventHandler(this.yy_KeyDown);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(138, 11);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(34, 23);
     this.label4.TabIndex  = 2;
     this.label4.Text      = "năm :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(33, 35);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(64, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Đến tháng :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // den
     //
     this.den.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.den.Location = new System.Drawing.Point(96, 36);
     this.den.Maximum  = new System.Decimal(new int[] {
         12,
         0,
         0,
         0
     });
     this.den.Minimum = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.den.Name     = "den";
     this.den.Size     = new System.Drawing.Size(40, 21);
     this.den.TabIndex = 5;
     this.den.Value    = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.den.KeyDown += new System.Windows.Forms.KeyEventHandler(this.den_KeyDown);
     //
     // yyyy
     //
     this.yyyy.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.yyyy.Location = new System.Drawing.Point(170, 36);
     this.yyyy.Maximum  = new System.Decimal(new int[] {
         3004,
         0,
         0,
         0
     });
     this.yyyy.Minimum = new System.Decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yyyy.Name     = "yyyy";
     this.yyyy.Size     = new System.Drawing.Size(48, 21);
     this.yyyy.TabIndex = 7;
     this.yyyy.Value    = new System.Decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yyyy.KeyDown += new System.Windows.Forms.KeyEventHandler(this.yyyy_KeyDown);
     //
     // tu
     //
     this.tu.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tu.Location = new System.Drawing.Point(96, 12);
     this.tu.Maximum  = new System.Decimal(new int[] {
         12,
         0,
         0,
         0
     });
     this.tu.Minimum = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.tu.Name     = "tu";
     this.tu.Size     = new System.Drawing.Size(40, 21);
     this.tu.TabIndex = 1;
     this.tu.Value    = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.tu.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(138, 35);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(34, 23);
     this.label2.TabIndex  = 6;
     this.label2.Text      = "năm :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(41, 11);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Từ tháng :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // opt5
     //
     this.opt5.Location = new System.Drawing.Point(24, 160);
     this.opt5.Name     = "opt5";
     this.opt5.Size     = new System.Drawing.Size(240, 24);
     this.opt5.TabIndex = 9;
     this.opt5.Text     = "Theo dõi biến động giá thuốc - Tháng";
     //
     // frmIndmbd
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(496, 375);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.opt5,
         this.groupBox1,
         this.opt4,
         this.nhombd,
         this.kho,
         this.opt3,
         this.opt2,
         this.opt1,
         this.butXem,
         this.butKetthuc
     });
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "frmIndmbd";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "In danh mục hàng hóa";
     this.Load           += new System.EventHandler(this.frmIndmbd_Load);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.yy)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.den)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tu)).EndInit();
     this.ResumeLayout(false);
 }
Example #59
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(rptDuocbv));
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.tu         = new System.Windows.Forms.DateTimePicker();
     this.den        = new System.Windows.Forms.DateTimePicker();
     this.butIn      = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.manguon    = new System.Windows.Forms.ComboBox();
     this.label4     = new System.Windows.Forms.Label();
     this.nhomcc     = new System.Windows.Forms.ComboBox();
     this.label5     = new System.Windows.Forms.Label();
     this.kho        = new System.Windows.Forms.CheckedListBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(1, 12);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Từ ngày :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(134, 12);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(34, 23);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "đến :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tu
     //
     this.tu.CustomFormat = "dd/MM/yyyy";
     this.tu.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.tu.Location     = new System.Drawing.Point(56, 12);
     this.tu.Name         = "tu";
     this.tu.Size         = new System.Drawing.Size(80, 21);
     this.tu.TabIndex     = 0;
     this.tu.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // den
     //
     this.den.CustomFormat = "dd/MM/yyyy";
     this.den.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.den.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.den.Location     = new System.Drawing.Point(169, 12);
     this.den.Name         = "den";
     this.den.Size         = new System.Drawing.Size(80, 21);
     this.den.TabIndex     = 1;
     this.den.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // butIn
     //
     this.butIn.Image      = ((System.Drawing.Image)(resources.GetObject("butIn.Image")));
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(53, 190);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(75, 26);
     this.butIn.TabIndex   = 5;
     this.butIn.Text       = "      &In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(130, 190);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(75, 26);
     this.butKetthuc.TabIndex   = 6;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // manguon
     //
     this.manguon.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.manguon.Location = new System.Drawing.Point(56, 35);
     this.manguon.Name     = "manguon";
     this.manguon.Size     = new System.Drawing.Size(192, 21);
     this.manguon.TabIndex = 2;
     this.manguon.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(1, 32);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(56, 23);
     this.label4.TabIndex  = 8;
     this.label4.Text      = "Nguồn :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // nhomcc
     //
     this.nhomcc.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nhomcc.Location = new System.Drawing.Point(56, 58);
     this.nhomcc.Name     = "nhomcc";
     this.nhomcc.Size     = new System.Drawing.Size(192, 21);
     this.nhomcc.TabIndex = 3;
     this.nhomcc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(-4, 57);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(64, 23);
     this.label5.TabIndex  = 10;
     this.label5.Text      = "Nhóm CC :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // kho
     //
     this.kho.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kho.Location = new System.Drawing.Point(56, 81);
     this.kho.Name     = "kho";
     this.kho.Size     = new System.Drawing.Size(192, 100);
     this.kho.TabIndex = 4;
     //
     // rptDuocbv
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(258, 231);
     this.Controls.Add(this.kho);
     this.Controls.Add(this.nhomcc);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.manguon);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butIn);
     this.Controls.Add(this.den);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "rptDuocbv";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Dược bệnh viện";
     this.MouseMove      += new System.Windows.Forms.MouseEventHandler(this.rptDuocbv_MouseMove);
     this.Load           += new System.EventHandler(this.rptDuocbv_Load);
     this.ResumeLayout(false);
 }
Example #60
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1 = new System.Windows.Forms.Label();
     this.radioButtonExisting = new System.Windows.Forms.RadioButton();
     this.comboBoxExisting    = new System.Windows.Forms.ComboBox();
     this.radioButtonNew      = new System.Windows.Forms.RadioButton();
     this.textBoxNew          = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.checkedListBoxTables  = new System.Windows.Forms.CheckedListBox();
     this.buttonOK              = new System.Windows.Forms.Button();
     this.buttonCancel          = new System.Windows.Forms.Button();
     this.groupBoxChooseDataset = new System.Windows.Forms.GroupBox();
     this.checkBoxAddToDesigner = new System.Windows.Forms.CheckBox();
     this.groupBoxChooseDataset.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(48, 24);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(432, 23);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Generate a Typed DataSet that includes the specified tables.";
     //
     // radioButtonExisting
     //
     this.radioButtonExisting.Enabled         = false;
     this.radioButtonExisting.Location        = new System.Drawing.Point(16, 32);
     this.radioButtonExisting.Name            = "radioButtonExisting";
     this.radioButtonExisting.Size            = new System.Drawing.Size(80, 24);
     this.radioButtonExisting.TabIndex        = 2;
     this.radioButtonExisting.Text            = "Existing:";
     this.radioButtonExisting.CheckedChanged += new System.EventHandler(this.radioButtonExisting_CheckedChanged);
     //
     // comboBoxExisting
     //
     this.comboBoxExisting.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBoxExisting.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxExisting.Enabled       = false;
     this.comboBoxExisting.Location      = new System.Drawing.Point(136, 96);
     this.comboBoxExisting.Name          = "comboBoxExisting";
     this.comboBoxExisting.Size          = new System.Drawing.Size(306, 21);
     this.comboBoxExisting.TabIndex      = 3;
     //
     // radioButtonNew
     //
     this.radioButtonNew.Enabled         = false;
     this.radioButtonNew.Location        = new System.Drawing.Point(16, 72);
     this.radioButtonNew.Name            = "radioButtonNew";
     this.radioButtonNew.Size            = new System.Drawing.Size(80, 24);
     this.radioButtonNew.TabIndex        = 4;
     this.radioButtonNew.Text            = "New:";
     this.radioButtonNew.CheckedChanged += new System.EventHandler(this.radioButtonNew_CheckedChanged);
     //
     // textBoxNew
     //
     this.textBoxNew.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.textBoxNew.Enabled  = false;
     this.textBoxNew.Location = new System.Drawing.Point(136, 136);
     this.textBoxNew.Name     = "textBoxNew";
     this.textBoxNew.Size     = new System.Drawing.Size(306, 20);
     this.textBoxNew.TabIndex = 5;
     this.textBoxNew.Text     = "";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(48, 216);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(416, 23);
     this.label3.TabIndex = 6;
     this.label3.Text     = "Choose which Tables(s) to add to the DataSet:";
     //
     // checkedListBoxTables
     //
     this.checkedListBoxTables.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                               | System.Windows.Forms.AnchorStyles.Left)
                                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.checkedListBoxTables.Location = new System.Drawing.Point(48, 248);
     this.checkedListBoxTables.Name     = "checkedListBoxTables";
     this.checkedListBoxTables.Size     = new System.Drawing.Size(426, 64);
     this.checkedListBoxTables.TabIndex = 7;
     //
     // buttonOK
     //
     this.buttonOK.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonOK.Enabled  = false;
     this.buttonOK.Location = new System.Drawing.Point(296, 339);
     this.buttonOK.Name     = "buttonOK";
     this.buttonOK.TabIndex = 8;
     this.buttonOK.Text     = "OK";
     this.buttonOK.Click   += new System.EventHandler(this.buttonOK_Click);
     //
     // buttonCancel
     //
     this.buttonCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.Location     = new System.Drawing.Point(400, 339);
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.TabIndex     = 9;
     this.buttonCancel.Text         = "Cancel";
     //
     // groupBoxChooseDataset
     //
     this.groupBoxChooseDataset.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBoxChooseDataset.Controls.Add(this.radioButtonNew);
     this.groupBoxChooseDataset.Controls.Add(this.radioButtonExisting);
     this.groupBoxChooseDataset.Location = new System.Drawing.Point(48, 64);
     this.groupBoxChooseDataset.Name     = "groupBoxChooseDataset";
     this.groupBoxChooseDataset.Size     = new System.Drawing.Size(426, 120);
     this.groupBoxChooseDataset.TabIndex = 10;
     this.groupBoxChooseDataset.TabStop  = false;
     this.groupBoxChooseDataset.Text     = "Choose a dataset";
     //
     // checkBoxAddToDesigner
     //
     this.checkBoxAddToDesigner.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.checkBoxAddToDesigner.Checked    = true;
     this.checkBoxAddToDesigner.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBoxAddToDesigner.Location   = new System.Drawing.Point(48, 336);
     this.checkBoxAddToDesigner.Name       = "checkBoxAddToDesigner";
     this.checkBoxAddToDesigner.Size       = new System.Drawing.Size(208, 24);
     this.checkBoxAddToDesigner.TabIndex   = 11;
     this.checkBoxAddToDesigner.Text       = "Add this dataset to the designer";
     //
     // GenDataSetForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.buttonCancel;
     this.ClientSize        = new System.Drawing.Size(522, 378);
     this.Controls.Add(this.checkBoxAddToDesigner);
     this.Controls.Add(this.buttonCancel);
     this.Controls.Add(this.buttonOK);
     this.Controls.Add(this.checkedListBoxTables);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.textBoxNew);
     this.Controls.Add(this.comboBoxExisting);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.groupBoxChooseDataset);
     this.Name  = "GenDataSetForm";
     this.Text  = "Generate DataSet";
     this.Load += new System.EventHandler(this.GenDataSetForm_Load);
     this.groupBoxChooseDataset.ResumeLayout(false);
     this.ResumeLayout(false);
 }