Example #1
0
File: Misc.cs Project: hkiaipc/lx
        public static DataGridTableStyle CreateDataGridTableStyle(string tableMappingName, string[] dbColName, 
			string[] dgShowName, int[] boolColumnIndex, int [] columnWidth )
        {
            ArgumentChecker.CheckNotNull(dbColName);
            ArgumentChecker.CheckNotNull(dgShowName);
            if ( dbColName.Length != dgShowName.Length )
                throw new ArgumentException( "dbColName.Length != dgShowName.Length" );

            DataGridTableStyle dgts = new DataGridTableStyle();
            dgts.MappingName = tableMappingName;

            DataGridColumnStyle dgcs = null;
            for ( int i=0; i<dbColName.Length; i++ )
            {
                if ( InArray( boolColumnIndex, i ) )
                    dgcs = new DataGridBoolColumn ();
                else
                    dgcs = new DataGridTextBoxColumn();
                if ( columnWidth != null && i < columnWidth.Length )
                {
                    dgcs.Width = columnWidth[ i ];
                }

                dgcs.MappingName = dbColName[i];
                dgcs.HeaderText = dgShowName[i];

                dgts.GridColumnStyles.Add( dgcs );
            }

            return dgts;
        }
Example #2
0
        void MainFormLoad(object sender, System.EventArgs e)
        {
            DataTable dt = new DataTable("hoge");

            dt.Columns.Add("Server");
            dt.Columns.Add("StartUp");
            dt.Columns.Add("Error");
            dt.Columns.Add("WF");
            dt.Columns.Add("etc.", typeof(bool));
            dt.Columns.Add("errorDetail", typeof(string[]));

            this.dataGrid1.DataSource = dt;

            DataGridTableStyle ts = new DataGridTableStyle();

            ts.MappingName = "hoge";



            dataGrid1.TableStyles.Add(ts);
            dataGrid1.TableStyles["hoge"].GridColumnStyles["StartUp"].Width = 100;
            ts.RowHeadersVisible = false;
            dataGrid1.TableStyles["hoge"].GridColumnStyles["errorDetail"].Width = 0;
            DataGridTextBoxColumn cs;

            foreach (DataColumn dc in dt.Columns)
            {
                //
                if (dc.DataType == typeof(bool))
                {
                    System.Windows.Forms.DataGridBoolColumn bc = (DataGridBoolColumn)ts.GridColumnStyles[dc.ColumnName];
                    bc.NullValue = true;
                    continue;
                }


                cs = (DataGridTextBoxColumn)ts.GridColumnStyles[dc.ColumnName];
                //(Null)を変更する
                cs.NullText = "";
            }



            foreach (Server sss in this._serverList1)
            {
                //
                DataRow n = dt.NewRow();
                n["Server"] = sss.name;
                n["etc."]   = false;
                dt.Rows.Add(n);
            }
            foreach (Server sss in this._serverList2)
            {
                //
                DataRow n = dt.NewRow();
                n["Server"] = sss.name;
                n["etc."]   = false;
                dt.Rows.Add(n);
            }
        }
Example #3
0
		private void InitValues()
		{
			// Initialize the DataGrid columns
			dgtbExpr = new DataGridTextBoxColumn();
		
			dgtbDir = new DataGridBoolColumn();

			this.dgTableStyle.GridColumnStyles.AddRange(new DataGridColumnStyle[] {
															this.dgtbExpr,
															this.dgtbDir});
			// 
			// dgtbExpr
			// 
			
			dgtbExpr.HeaderText = "Sort Expression";
			dgtbExpr.MappingName = "SortExpression";
			dgtbExpr.Width = 75;
			// Get the parent's dataset name
//			string dataSetName = _Draw.GetDataSetNameValue(_SortingParent);
//
//			string[] fields = _Draw.GetFields(dataSetName, true);
//			if (fields != null)
//				dgtbExpr.CB.Items.AddRange(fields);
			// 
			// dgtbDir
			// 
			dgtbDir.HeaderText = "Sort Ascending";
			dgtbDir.MappingName = "Direction";
			dgtbDir.Width = 70;
			dgtbDir.AllowNull = false;

			// Initialize the DataTable
			_DataTable = new DataTable();
			_DataTable.Columns.Add(new DataColumn("SortExpression", typeof(string)));
			_DataTable.Columns.Add(new DataColumn("Direction", typeof(bool)));

			object[] rowValues = new object[2];
			XmlNode sorts = _Draw.GetNamedChildNode(_SortingParent, "Sorting");

			if (sorts != null)
			foreach (XmlNode sNode in sorts.ChildNodes)
			{
				if (sNode.NodeType != XmlNodeType.Element || 
						sNode.Name != "SortBy")
					continue;
				rowValues[0] = _Draw.GetElementValue(sNode, "SortExpression", "");
				if (_Draw.GetElementValue(sNode, "Direction", "Ascending") == "Ascending")
					rowValues[1] = true;
				else
					rowValues[1] = false;

				_DataTable.Rows.Add(rowValues);
			}
			this.dgSorting.DataSource = _DataTable;
			DataGridTableStyle ts = dgSorting.TableStyles[0];
			ts.PreferredRowHeight = 14;
			ts.GridColumnStyles[0].Width = 240;
			ts.GridColumnStyles[1].Width = 90;
		}
		public DataGridBoolColumnTests ()
		{
			DataGridBoolColumn bc = new DataGridBoolColumn ();
			bc.FalseValueChanged += new System.EventHandler (OnFalseValueChanged);

			Console.WriteLine ("DataGridBoolColumn default --- ");
			DumpDataGridBoolColumn (bc);
			bc.FalseValue = true;

		}
		public void DumpDataGridBoolColumn (DataGridBoolColumn ts)
		{
			Console.WriteLine ("AllowNull {0} ", ts.AllowNull);
			Console.WriteLine ("FalseValue {0} ", ts.FalseValue);
			Console.WriteLine ("NullValue {0} ", ts.NullValue);
			Console.WriteLine ("TrueValue {0} ", ts.TrueValue);
			Console.WriteLine ("Alignment {0} ", ts.Alignment);
			Console.WriteLine ("DataGridTableStyle {0} ", ts.DataGridTableStyle);
			Console.WriteLine ("HeaderAccessibleObject {0} ", ts.HeaderAccessibleObject);
			Console.WriteLine ("HeaderText {0} ", ts.HeaderText);
			Console.WriteLine ("MappingName {0} ", ts.NullText);
			Console.WriteLine ("PropertyDescriptor {0} ", ts.PropertyDescriptor);
			Console.WriteLine ("ReadOnly {0} ", ts.ReadOnly);
			Console.WriteLine ("Width {0} ", ts.Width);
		}
Example #6
0
// <snippet1>
    private void CreateNewDataGridColumn()
    {
        System.Windows.Forms.GridColumnStylesCollection myGridColumnCol;
        myGridColumnCol = dataGrid1.TableStyles[0].GridColumnStyles;
        // Get the CurrencyManager for the table.
        CurrencyManager myCurrencyManager =
            (CurrencyManager)this.BindingContext[ds.Tables["Products"]];

        /* Get the PropertyDescriptor for the DataColumn of the new column.
         * The column should contain a Boolean value. */
        PropertyDescriptor pd = myCurrencyManager.
                                GetItemProperties()["Discontinued"];
        DataGridColumnStyle myColumn =
            new System.Windows.Forms.DataGridBoolColumn(pd);

        myColumn.MappingName = "Discontinued";
        myGridColumnCol.Add(myColumn);
    }
		public static DataGridColumnStyle AddDataGridColumn(DataGrid grid, string propertyName, string headerText) {
			PropertyDescriptorCollection props =((CurrencyManager) grid.BindingContext[grid.DataSource]).GetItemProperties();
			PropertyDescriptor prop = props[propertyName];
			DataGridColumnStyle style = null;
			if (prop == null) {
				style = new DataGridTextBoxColumn();
			}
			else if (prop.PropertyType == typeof(bool)) {
				style = new DataGridBoolColumn(prop, true);
				((DataGridBoolColumn)style).AllowNull = false;
			}
			else {
				style = new DataGridTextBoxColumn(prop, true);
			}
			grid.TableStyles[0].GridColumnStyles.Add(style);
			style.HeaderText = headerText;
			
			return style;
		}
        /// <summary>
        /// Creates a <see cref="DataGridColumnStyle"/> based on its data type.
        /// If a grid is specified than its settings will be used for initial
        /// column style settings.
        /// </summary>
        /// <param name="column">
        /// The <see cref="DataColumn"/> for which a style should be generated
        /// </param>
        /// <param name="grid">The <see cref="DataGrid"/> with default settings</param>
        /// <returns>A column style</returns>
        public static DataGridColumnStyle CreateColumnStyle(DataColumn column, DataGrid grid)
        {
            DataGridColumnStyle columnStyle;
            if (column.DataType == typeof(bool))
            {
                columnStyle = new DataGridBoolColumn();
            }
            else
            {
                columnStyle = new DataGridTextBoxColumn();
            }

            columnStyle.MappingName = column.ColumnName;
            columnStyle.HeaderText = column.ColumnName;
            if (grid != null)
            {
                columnStyle.Width = grid.PreferredColumnWidth;
                columnStyle.ReadOnly = grid.ReadOnly;
            }
            return columnStyle;
        }
Example #9
0
        public static DataGridTableStyle GenerateStyle(Type t, string[] displayPropertyNames)
        {
            DataGridTableStyle dgts = QMDataGrid.GenerateCommonDataGridTableStyle();
            if (displayPropertyNames != null)
            {
                PropertyInfo[] propertyInfos = t.GetProperties();
                foreach (string displayPropertyName in displayPropertyNames)
                {
                    foreach (PropertyInfo property in propertyInfos)
                    {
                        if (property.Name != displayPropertyName)
                            continue;
                        else
                        {
                            DataGridColumnStyle dgcs = null;
                            if (property.PropertyType == typeof(bool))
                            {
                                dgcs = new DataGridBoolColumn();
                            }
                            else
                            {
                                dgcs = new DataGridTextBoxColumn();
                                dgcs.Width = 200;
                            }
                            dgcs.MappingName = property.Name;
                            dgcs.HeaderText = DataGridDictionary.Instance.GetDataGridPropertyTitle(string.Format("{0}.{1}", t.FullName, property.Name));

                            dgts.GridColumnStyles.Add(dgcs);
                            break;
                        }
                    }
                }
            }

            return dgts;
        }
Example #10
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(frmPolaganja));
     this.dsPolaganja1          = new AutoSkola.DSetovi.dsPolaganja();
     this.connPolaganja         = new System.Data.SqlClient.SqlConnection();
     this.daPolaganja           = new System.Data.SqlClient.SqlDataAdapter();
     this.sqlSelectCommand1     = new System.Data.SqlClient.SqlCommand();
     this.gbPretraga            = new System.Windows.Forms.GroupBox();
     this.duPretraga            = new System.Windows.Forms.Button();
     this.cbPolje1              = new System.Windows.Forms.ComboBox();
     this.tbVrijednost1         = new System.Windows.Forms.TextBox();
     this.lbVrijednost1         = new System.Windows.Forms.Label();
     this.label2                = new System.Windows.Forms.Label();
     this.pictureBox1           = new System.Windows.Forms.PictureBox();
     this.cbPolje               = new System.Windows.Forms.ComboBox();
     this.tbVrijednost          = new System.Windows.Forms.TextBox();
     this.lbVrijednost          = new System.Windows.Forms.Label();
     this.lbPolje               = new System.Windows.Forms.Label();
     this.gbOpcije              = new System.Windows.Forms.GroupBox();
     this.duOdstampaj           = new System.Windows.Forms.Button();
     this.duOdaberi             = new System.Windows.Forms.Button();
     this.duZatvori             = new System.Windows.Forms.Button();
     this.duIzbrisi             = new System.Windows.Forms.Button();
     this.duOsvjezi             = new System.Windows.Forms.Button();
     this.duIzmjeni             = new System.Windows.Forms.Button();
     this.duNovi                = new System.Windows.Forms.Button();
     this.dgPolaganja           = new System.Windows.Forms.DataGrid();
     this.dgTableStylePolaganja = new System.Windows.Forms.DataGridTableStyle();
     this.PolaganjeID           = new System.Windows.Forms.DataGridTextBoxColumn();
     this.KandidatID            = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Ime            = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Prezime        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DatumPolaganja = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Pokusaj        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Polozeno       = new System.Windows.Forms.DataGridBoolColumn();
     this.KatID          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Kategorija     = new System.Windows.Forms.DataGridTextBoxColumn();
     this.InstrID        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ImeInst        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.PrezimeInst    = new System.Windows.Forms.DataGridTextBoxColumn();
     this.pictureBoxInst = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.dsPolaganja1)).BeginInit();
     this.gbPretraga.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.gbOpcije.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgPolaganja)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBoxInst)).BeginInit();
     this.SuspendLayout();
     //
     // dsPolaganja1
     //
     this.dsPolaganja1.DataSetName             = "dsPolaganja";
     this.dsPolaganja1.Locale                  = new System.Globalization.CultureInfo("hr-HR");
     this.dsPolaganja1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // connPolaganja
     //
     this.connPolaganja.ConnectionString = "Data Source=(local);Initial Catalog=baza;integrated security=SSPI";
     this.connPolaganja.FireInfoMessageEventOnUserErrors = false;
     //
     // daPolaganja
     //
     this.daPolaganja.SelectCommand = this.sqlSelectCommand1;
     this.daPolaganja.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "Polaganja", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("PolaganjeID", "PolaganjeID"),
             new System.Data.Common.DataColumnMapping("KandidatID", "KandidatID"),
             new System.Data.Common.DataColumnMapping("Ime", "Ime"),
             new System.Data.Common.DataColumnMapping("Prezime", "Prezime"),
             new System.Data.Common.DataColumnMapping("DatumPolaganja", "DatumPolaganja"),
             new System.Data.Common.DataColumnMapping("Pokusaj", "Pokusaj"),
             new System.Data.Common.DataColumnMapping("Polozeno", "Polozeno"),
             new System.Data.Common.DataColumnMapping("KatID", "KatID"),
             new System.Data.Common.DataColumnMapping("Kategorija", "Kategorija"),
             new System.Data.Common.DataColumnMapping("InstrID", "InstrID"),
             new System.Data.Common.DataColumnMapping("ImeInst", "ImeInst"),
             new System.Data.Common.DataColumnMapping("PrezimeInst", "PrezimeInst")
         })
     });
     //
     // sqlSelectCommand1
     //
     this.sqlSelectCommand1.CommandText = resources.GetString("sqlSelectCommand1.CommandText");
     //
     // gbPretraga
     //
     this.gbPretraga.Controls.Add(this.duPretraga);
     this.gbPretraga.Controls.Add(this.cbPolje1);
     this.gbPretraga.Controls.Add(this.tbVrijednost1);
     this.gbPretraga.Controls.Add(this.lbVrijednost1);
     this.gbPretraga.Controls.Add(this.label2);
     this.gbPretraga.Controls.Add(this.pictureBox1);
     this.gbPretraga.Controls.Add(this.cbPolje);
     this.gbPretraga.Controls.Add(this.tbVrijednost);
     this.gbPretraga.Controls.Add(this.lbVrijednost);
     this.gbPretraga.Controls.Add(this.lbPolje);
     this.gbPretraga.Location = new System.Drawing.Point(9, 357);
     this.gbPretraga.Name     = "gbPretraga";
     this.gbPretraga.Size     = new System.Drawing.Size(622, 107);
     this.gbPretraga.TabIndex = 5;
     this.gbPretraga.TabStop  = false;
     this.gbPretraga.Text     = "        Pretraga";
     //
     // duPretraga
     //
     this.duPretraga.BackColor = System.Drawing.Color.Beige;
     this.duPretraga.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.duPretraga.Image     = ((System.Drawing.Image)(resources.GetObject("duPretraga.Image")));
     this.duPretraga.Location  = new System.Drawing.Point(563, 40);
     this.duPretraga.Name      = "duPretraga";
     this.duPretraga.Size      = new System.Drawing.Size(44, 44);
     this.duPretraga.TabIndex  = 14;
     this.duPretraga.UseVisualStyleBackColor = false;
     this.duPretraga.Click += new System.EventHandler(this.duPretraga_Click);
     //
     // cbPolje1
     //
     this.cbPolje1.Items.AddRange(new object[] {
         "K.Ime",
         "K.Prezime",
         "DatumPolaganja",
         "Pokusaj",
         "Polozeno",
         "Kategorija",
         "I.Ime",
         "I.Prezime"
     });
     this.cbPolje1.Location              = new System.Drawing.Point(128, 65);
     this.cbPolje1.Name                  = "cbPolje1";
     this.cbPolje1.Size                  = new System.Drawing.Size(136, 24);
     this.cbPolje1.TabIndex              = 11;
     this.cbPolje1.Text                  = "K.Prezime";
     this.cbPolje1.SelectedValueChanged += new System.EventHandler(this.cbPolje1_SelectedValueChanged);
     //
     // tbVrijednost1
     //
     this.tbVrijednost1.Location     = new System.Drawing.Point(421, 65);
     this.tbVrijednost1.Name         = "tbVrijednost1";
     this.tbVrijednost1.Size         = new System.Drawing.Size(128, 22);
     this.tbVrijednost1.TabIndex     = 13;
     this.tbVrijednost1.TextChanged += new System.EventHandler(this.tbVrijednost1_TextChanged);
     //
     // lbVrijednost1
     //
     this.lbVrijednost1.Location = new System.Drawing.Point(280, 67);
     this.lbVrijednost1.Name     = "lbVrijednost1";
     this.lbVrijednost1.Size     = new System.Drawing.Size(135, 22);
     this.lbVrijednost1.TabIndex = 12;
     this.lbVrijednost1.Text     = "Prezime Kandidata:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 65);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(112, 23);
     this.label2.TabIndex = 10;
     this.label2.Text     = "Odaberite polje 2:";
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(8, -1);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(24, 22);
     this.pictureBox1.TabIndex = 4;
     this.pictureBox1.TabStop  = false;
     //
     // cbPolje
     //
     this.cbPolje.Items.AddRange(new object[] {
         "K.Ime",
         "K.Prezime",
         "DatumPolaganja",
         "Pokusaj",
         "Polozeno",
         "Kategorija",
         "I.Ime",
         "I.Prezime"
     });
     this.cbPolje.Location              = new System.Drawing.Point(128, 32);
     this.cbPolje.Name                  = "cbPolje";
     this.cbPolje.Size                  = new System.Drawing.Size(136, 24);
     this.cbPolje.TabIndex              = 0;
     this.cbPolje.Text                  = "K.Ime";
     this.cbPolje.SelectedValueChanged += new System.EventHandler(this.cbPolje_SelectedValueChanged);
     //
     // tbVrijednost
     //
     this.tbVrijednost.Location     = new System.Drawing.Point(421, 32);
     this.tbVrijednost.Name         = "tbVrijednost";
     this.tbVrijednost.Size         = new System.Drawing.Size(128, 22);
     this.tbVrijednost.TabIndex     = 1;
     this.tbVrijednost.TextChanged += new System.EventHandler(this.tbVrijednost_TextChanged);
     //
     // lbVrijednost
     //
     this.lbVrijednost.Location = new System.Drawing.Point(280, 34);
     this.lbVrijednost.Name     = "lbVrijednost";
     this.lbVrijednost.Size     = new System.Drawing.Size(135, 22);
     this.lbVrijednost.TabIndex = 1;
     this.lbVrijednost.Text     = "Ime Kandidata:";
     //
     // lbPolje
     //
     this.lbPolje.Location = new System.Drawing.Point(8, 32);
     this.lbPolje.Name     = "lbPolje";
     this.lbPolje.Size     = new System.Drawing.Size(112, 32);
     this.lbPolje.TabIndex = 0;
     this.lbPolje.Text     = "Odaberite polje 1:";
     //
     // gbOpcije
     //
     this.gbOpcije.Controls.Add(this.duOdstampaj);
     this.gbOpcije.Controls.Add(this.duOdaberi);
     this.gbOpcije.Controls.Add(this.duZatvori);
     this.gbOpcije.Controls.Add(this.duIzbrisi);
     this.gbOpcije.Controls.Add(this.duOsvjezi);
     this.gbOpcije.Controls.Add(this.duIzmjeni);
     this.gbOpcije.Controls.Add(this.duNovi);
     this.gbOpcije.Location = new System.Drawing.Point(642, 40);
     this.gbOpcije.Name     = "gbOpcije";
     this.gbOpcije.Size     = new System.Drawing.Size(136, 280);
     this.gbOpcije.TabIndex = 4;
     this.gbOpcije.TabStop  = false;
     this.gbOpcije.Text     = "Opcije";
     //
     // duOdstampaj
     //
     this.duOdstampaj.BackColor  = System.Drawing.Color.Beige;
     this.duOdstampaj.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duOdstampaj.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duOdstampaj.Image      = ((System.Drawing.Image)(resources.GetObject("duOdstampaj.Image")));
     this.duOdstampaj.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duOdstampaj.Location   = new System.Drawing.Point(12, 192);
     this.duOdstampaj.Name       = "duOdstampaj";
     this.duOdstampaj.Size       = new System.Drawing.Size(112, 32);
     this.duOdstampaj.TabIndex   = 6;
     this.duOdstampaj.Text       = "      Odštampaj";
     this.duOdstampaj.UseVisualStyleBackColor = false;
     this.duOdstampaj.Click += new System.EventHandler(this.duOdstampaj_Click);
     //
     // duOdaberi
     //
     this.duOdaberi.BackColor  = System.Drawing.Color.Beige;
     this.duOdaberi.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duOdaberi.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duOdaberi.Image      = ((System.Drawing.Image)(resources.GetObject("duOdaberi.Image")));
     this.duOdaberi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duOdaberi.Location   = new System.Drawing.Point(12, 192);
     this.duOdaberi.Name       = "duOdaberi";
     this.duOdaberi.Size       = new System.Drawing.Size(112, 32);
     this.duOdaberi.TabIndex   = 4;
     this.duOdaberi.Text       = "   Odaberi";
     this.duOdaberi.UseVisualStyleBackColor = false;
     //
     // duZatvori
     //
     this.duZatvori.BackColor  = System.Drawing.Color.Beige;
     this.duZatvori.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duZatvori.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duZatvori.Image      = ((System.Drawing.Image)(resources.GetObject("duZatvori.Image")));
     this.duZatvori.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duZatvori.Location   = new System.Drawing.Point(12, 232);
     this.duZatvori.Name       = "duZatvori";
     this.duZatvori.Size       = new System.Drawing.Size(112, 32);
     this.duZatvori.TabIndex   = 5;
     this.duZatvori.Text       = " Zatvori";
     this.duZatvori.UseVisualStyleBackColor = false;
     this.duZatvori.Click += new System.EventHandler(this.duZatvori_Click);
     //
     // duIzbrisi
     //
     this.duIzbrisi.BackColor  = System.Drawing.Color.Beige;
     this.duIzbrisi.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duIzbrisi.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duIzbrisi.Image      = ((System.Drawing.Image)(resources.GetObject("duIzbrisi.Image")));
     this.duIzbrisi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duIzbrisi.Location   = new System.Drawing.Point(12, 152);
     this.duIzbrisi.Name       = "duIzbrisi";
     this.duIzbrisi.Size       = new System.Drawing.Size(112, 32);
     this.duIzbrisi.TabIndex   = 3;
     this.duIzbrisi.Text       = "Izbriši";
     this.duIzbrisi.UseVisualStyleBackColor = false;
     this.duIzbrisi.Click += new System.EventHandler(this.duIzbrisi_Click);
     //
     // duOsvjezi
     //
     this.duOsvjezi.BackColor  = System.Drawing.Color.Beige;
     this.duOsvjezi.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duOsvjezi.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duOsvjezi.Image      = ((System.Drawing.Image)(resources.GetObject("duOsvjezi.Image")));
     this.duOsvjezi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duOsvjezi.Location   = new System.Drawing.Point(12, 112);
     this.duOsvjezi.Name       = "duOsvjezi";
     this.duOsvjezi.Size       = new System.Drawing.Size(112, 32);
     this.duOsvjezi.TabIndex   = 2;
     this.duOsvjezi.Text       = " Osvježi";
     this.duOsvjezi.UseVisualStyleBackColor = false;
     this.duOsvjezi.Click += new System.EventHandler(this.duOsvjezi_Click);
     //
     // duIzmjeni
     //
     this.duIzmjeni.BackColor  = System.Drawing.Color.Beige;
     this.duIzmjeni.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duIzmjeni.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duIzmjeni.Image      = ((System.Drawing.Image)(resources.GetObject("duIzmjeni.Image")));
     this.duIzmjeni.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duIzmjeni.Location   = new System.Drawing.Point(12, 72);
     this.duIzmjeni.Name       = "duIzmjeni";
     this.duIzmjeni.Size       = new System.Drawing.Size(112, 32);
     this.duIzmjeni.TabIndex   = 1;
     this.duIzmjeni.Text       = " Izmjeni";
     this.duIzmjeni.UseVisualStyleBackColor = false;
     this.duIzmjeni.Click += new System.EventHandler(this.duIzmjeni_Click);
     //
     // duNovi
     //
     this.duNovi.BackColor  = System.Drawing.Color.Beige;
     this.duNovi.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duNovi.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duNovi.Image      = ((System.Drawing.Image)(resources.GetObject("duNovi.Image")));
     this.duNovi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duNovi.Location   = new System.Drawing.Point(12, 32);
     this.duNovi.Name       = "duNovi";
     this.duNovi.Size       = new System.Drawing.Size(112, 32);
     this.duNovi.TabIndex   = 0;
     this.duNovi.Text       = "       Dodaj novi";
     this.duNovi.UseVisualStyleBackColor = false;
     this.duNovi.Click += new System.EventHandler(this.duNovi_Click);
     //
     // dgPolaganja
     //
     this.dgPolaganja.DataMember           = "";
     this.dgPolaganja.DataSource           = this.dsPolaganja1.Polaganja;
     this.dgPolaganja.HeaderForeColor      = System.Drawing.SystemColors.ControlText;
     this.dgPolaganja.Location             = new System.Drawing.Point(8, 46);
     this.dgPolaganja.Name                 = "dgPolaganja";
     this.dgPolaganja.PreferredColumnWidth = 80;
     this.dgPolaganja.ReadOnly             = true;
     this.dgPolaganja.Size                 = new System.Drawing.Size(623, 304);
     this.dgPolaganja.TabIndex             = 6;
     this.dgPolaganja.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dgTableStylePolaganja
     });
     this.dgPolaganja.DoubleClick += new System.EventHandler(this.dgPolaganja_DoubleClick);
     //
     // dgTableStylePolaganja
     //
     this.dgTableStylePolaganja.DataGrid = this.dgPolaganja;
     this.dgTableStylePolaganja.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.PolaganjeID,
         this.KandidatID,
         this.Ime,
         this.Prezime,
         this.DatumPolaganja,
         this.Pokusaj,
         this.Polozeno,
         this.KatID,
         this.Kategorija,
         this.InstrID,
         this.ImeInst,
         this.PrezimeInst
     });
     this.dgTableStylePolaganja.HeaderForeColor    = System.Drawing.SystemColors.ControlText;
     this.dgTableStylePolaganja.MappingName        = "Polaganja";
     this.dgTableStylePolaganja.PreferredRowHeight = 22;
     //
     // PolaganjeID
     //
     this.PolaganjeID.Format      = "";
     this.PolaganjeID.FormatInfo  = null;
     this.PolaganjeID.HeaderText  = "ID";
     this.PolaganjeID.MappingName = "PolaganjeID";
     this.PolaganjeID.Width       = 0;
     //
     // KandidatID
     //
     this.KandidatID.Format      = "";
     this.KandidatID.FormatInfo  = null;
     this.KandidatID.HeaderText  = "KandidatID";
     this.KandidatID.MappingName = "KandidatID";
     this.KandidatID.Width       = 0;
     //
     // Ime
     //
     this.Ime.Format      = "";
     this.Ime.FormatInfo  = null;
     this.Ime.HeaderText  = "Kandidat";
     this.Ime.MappingName = "Ime";
     this.Ime.Width       = 75;
     //
     // Prezime
     //
     this.Prezime.Format      = "";
     this.Prezime.FormatInfo  = null;
     this.Prezime.MappingName = "Prezime";
     this.Prezime.Width       = 75;
     //
     // DatumPolaganja
     //
     this.DatumPolaganja.Format      = "";
     this.DatumPolaganja.FormatInfo  = null;
     this.DatumPolaganja.HeaderText  = "DatumPolaganja";
     this.DatumPolaganja.MappingName = "DatumPolaganja";
     this.DatumPolaganja.Width       = 108;
     //
     // Pokusaj
     //
     this.Pokusaj.Format      = "";
     this.Pokusaj.FormatInfo  = null;
     this.Pokusaj.HeaderText  = "Pokušaj";
     this.Pokusaj.MappingName = "Pokusaj";
     this.Pokusaj.Width       = 75;
     //
     // Polozeno
     //
     this.Polozeno.HeaderText  = "Položeno";
     this.Polozeno.MappingName = "Polozeno";
     this.Polozeno.Width       = 70;
     //
     // KatID
     //
     this.KatID.Format      = "";
     this.KatID.FormatInfo  = null;
     this.KatID.HeaderText  = "KatID";
     this.KatID.MappingName = "KatID";
     this.KatID.Width       = 0;
     //
     // Kategorija
     //
     this.Kategorija.Format      = "";
     this.Kategorija.FormatInfo  = null;
     this.Kategorija.HeaderText  = "Kategorija";
     this.Kategorija.MappingName = "Kategorija";
     this.Kategorija.Width       = 75;
     //
     // InstrID
     //
     this.InstrID.Format      = "";
     this.InstrID.FormatInfo  = null;
     this.InstrID.HeaderText  = "InstrID";
     this.InstrID.MappingName = "InstrID";
     this.InstrID.Width       = 0;
     //
     // ImeInst
     //
     this.ImeInst.Format      = "";
     this.ImeInst.FormatInfo  = null;
     this.ImeInst.HeaderText  = "Instruktor";
     this.ImeInst.MappingName = "ImeInst";
     this.ImeInst.NullText    = "";
     this.ImeInst.Width       = 75;
     //
     // PrezimeInst
     //
     this.PrezimeInst.Format      = "";
     this.PrezimeInst.FormatInfo  = null;
     this.PrezimeInst.MappingName = "PrezimeInst";
     this.PrezimeInst.Width       = 75;
     //
     // pictureBoxInst
     //
     this.pictureBoxInst.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBoxInst.Image")));
     this.pictureBoxInst.Location = new System.Drawing.Point(0, 0);
     this.pictureBoxInst.Name     = "pictureBoxInst";
     this.pictureBoxInst.Size     = new System.Drawing.Size(790, 32);
     this.pictureBoxInst.TabIndex = 7;
     this.pictureBoxInst.TabStop  = false;
     //
     // frmPolaganja
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.ClientSize        = new System.Drawing.Size(789, 475);
     this.Controls.Add(this.pictureBoxInst);
     this.Controls.Add(this.dgPolaganja);
     this.Controls.Add(this.gbPretraga);
     this.Controls.Add(this.gbOpcije);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MaximumSize   = new System.Drawing.Size(797, 515);
     this.Name          = "frmPolaganja";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Polaganja";
     ((System.ComponentModel.ISupportInitialize)(this.dsPolaganja1)).EndInit();
     this.gbPretraga.ResumeLayout(false);
     this.gbPretraga.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.gbOpcije.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgPolaganja)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBoxInst)).EndInit();
     this.ResumeLayout(false);
 }
Example #11
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Frmylfl));
     this.statusBar1              = new System.Windows.Forms.StatusBar();
     this.statusBarPanel1         = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanel2         = new System.Windows.Forms.StatusBarPanel();
     this.myDataGrid1             = new myDataGrid.myDataGrid();
     this.dataGridTableStyle1     = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn1  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn6  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn2  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn3  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn4  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridBoolColumn1     = new System.Windows.Forms.DataGridBoolColumn();
     this.dataGridTextBoxColumn7  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn5  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn8  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn9  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.groupBox1  = new System.Windows.Forms.GroupBox();
     this.butquit    = new System.Windows.Forms.Button();
     this.butdel     = new System.Windows.Forms.Button();
     this.butsave    = new System.Windows.Forms.Button();
     this.txtdm      = new System.Windows.Forms.TextBox();
     this.label1     = new System.Windows.Forms.Label();
     this.groupBox3  = new System.Windows.Forms.GroupBox();
     this.treeView1  = new System.Windows.Forms.TreeView();
     this.splitter1  = new System.Windows.Forms.Splitter();
     this.treeView2  = new System.Windows.Forms.TreeView();
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.groupBox2  = new System.Windows.Forms.GroupBox();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(405, 454);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this.statusBarPanel1,
         this.statusBarPanel2
     });
     this.statusBar1.ShowPanels = true;
     this.statusBar1.Size       = new System.Drawing.Size(623, 31);
     this.statusBar1.TabIndex   = 0;
     this.statusBar1.Text       = "statusBar1";
     //
     // statusBarPanel1
     //
     this.statusBarPanel1.Name  = "statusBarPanel1";
     this.statusBarPanel1.Width = 300;
     //
     // statusBarPanel2
     //
     this.statusBarPanel2.Name  = "statusBarPanel2";
     this.statusBarPanel2.Width = 1001;
     //
     // myDataGrid1
     //
     this.myDataGrid1.BackgroundColor  = System.Drawing.Color.White;
     this.myDataGrid1.CaptionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.myDataGrid1.CaptionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
     this.myDataGrid1.DataMember       = "";
     this.myDataGrid1.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.myDataGrid1.ForeColor        = System.Drawing.Color.Blue;
     this.myDataGrid1.HeaderForeColor  = System.Drawing.SystemColors.ControlText;
     this.myDataGrid1.Location         = new System.Drawing.Point(3, 21);
     this.myDataGrid1.Name             = "myDataGrid1";
     this.myDataGrid1.Size             = new System.Drawing.Size(610, 347);
     this.myDataGrid1.TabIndex         = 2;
     this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     this.myDataGrid1.myKeyDown += new myDataGrid.myDelegate(this.myDataGrid1_myKeyDown);
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.AllowSorting = false;
     this.dataGridTableStyle1.DataGrid     = this.myDataGrid1;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn1,
         this.dataGridTextBoxColumn10,
         this.dataGridTextBoxColumn12,
         this.dataGridTextBoxColumn6,
         this.dataGridTextBoxColumn2,
         this.dataGridTextBoxColumn3,
         this.dataGridTextBoxColumn4,
         this.dataGridBoolColumn1,
         this.dataGridTextBoxColumn7,
         this.dataGridTextBoxColumn5,
         this.dataGridTextBoxColumn8,
         this.dataGridTextBoxColumn9,
         this.dataGridTextBoxColumn11
     });
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     //
     // dataGridTextBoxColumn1
     //
     this.dataGridTextBoxColumn1.Format     = "";
     this.dataGridTextBoxColumn1.FormatInfo = null;
     this.dataGridTextBoxColumn1.HeaderText = "序号";
     this.dataGridTextBoxColumn1.ReadOnly   = true;
     this.dataGridTextBoxColumn1.Width      = 40;
     //
     // dataGridTextBoxColumn10
     //
     this.dataGridTextBoxColumn10.Format     = "";
     this.dataGridTextBoxColumn10.FormatInfo = null;
     this.dataGridTextBoxColumn10.HeaderText = "货位编号";
     this.dataGridTextBoxColumn10.NullText   = "";
     this.dataGridTextBoxColumn10.Width      = 80;
     //
     // dataGridTextBoxColumn12
     //
     this.dataGridTextBoxColumn12.Format     = "";
     this.dataGridTextBoxColumn12.FormatInfo = null;
     this.dataGridTextBoxColumn12.HeaderText = "原货位编号";
     this.dataGridTextBoxColumn12.NullText   = "";
     this.dataGridTextBoxColumn12.Width      = 0;
     //
     // dataGridTextBoxColumn6
     //
     this.dataGridTextBoxColumn6.Format     = "";
     this.dataGridTextBoxColumn6.FormatInfo = null;
     this.dataGridTextBoxColumn6.HeaderText = "编号";
     this.dataGridTextBoxColumn6.ReadOnly   = true;
     this.dataGridTextBoxColumn6.Width      = 0;
     //
     // dataGridTextBoxColumn2
     //
     this.dataGridTextBoxColumn2.Format     = "";
     this.dataGridTextBoxColumn2.FormatInfo = null;
     this.dataGridTextBoxColumn2.HeaderText = "名称";
     this.dataGridTextBoxColumn2.Width      = 150;
     //
     // dataGridTextBoxColumn3
     //
     this.dataGridTextBoxColumn3.Format     = "";
     this.dataGridTextBoxColumn3.FormatInfo = null;
     this.dataGridTextBoxColumn3.HeaderText = "拼音码";
     this.dataGridTextBoxColumn3.Width      = 90;
     //
     // dataGridTextBoxColumn4
     //
     this.dataGridTextBoxColumn4.Format     = "";
     this.dataGridTextBoxColumn4.FormatInfo = null;
     this.dataGridTextBoxColumn4.HeaderText = "五笔码";
     this.dataGridTextBoxColumn4.Width      = 90;
     //
     // dataGridBoolColumn1
     //
     this.dataGridBoolColumn1.AllowNull  = false;
     this.dataGridBoolColumn1.FalseValue = ((short)(0));
     this.dataGridBoolColumn1.HeaderText = "禁用";
     this.dataGridBoolColumn1.NullText   = "0";
     this.dataGridBoolColumn1.NullValue  = null;
     this.dataGridBoolColumn1.ReadOnly   = true;
     this.dataGridBoolColumn1.TrueValue  = ((short)(1));
     this.dataGridBoolColumn1.Width      = 40;
     //
     // dataGridTextBoxColumn7
     //
     this.dataGridTextBoxColumn7.Format     = "";
     this.dataGridTextBoxColumn7.FormatInfo = null;
     this.dataGridTextBoxColumn7.HeaderText = "描述";
     this.dataGridTextBoxColumn7.Width      = 0;
     //
     // dataGridTextBoxColumn5
     //
     this.dataGridTextBoxColumn5.Format     = "";
     this.dataGridTextBoxColumn5.FormatInfo = null;
     this.dataGridTextBoxColumn5.HeaderText = "所属上级编目";
     this.dataGridTextBoxColumn5.Width      = 0;
     //
     // dataGridTextBoxColumn8
     //
     this.dataGridTextBoxColumn8.Format     = "";
     this.dataGridTextBoxColumn8.FormatInfo = null;
     this.dataGridTextBoxColumn8.HeaderText = "FID";
     this.dataGridTextBoxColumn8.ReadOnly   = true;
     this.dataGridTextBoxColumn8.Width      = 0;
     //
     // dataGridTextBoxColumn9
     //
     this.dataGridTextBoxColumn9.Format     = "";
     this.dataGridTextBoxColumn9.FormatInfo = null;
     this.dataGridTextBoxColumn9.HeaderText = "ID";
     this.dataGridTextBoxColumn9.ReadOnly   = true;
     this.dataGridTextBoxColumn9.Width      = 0;
     //
     // dataGridTextBoxColumn11
     //
     this.dataGridTextBoxColumn11.Format     = "";
     this.dataGridTextBoxColumn11.FormatInfo = null;
     this.dataGridTextBoxColumn11.HeaderText = "yjdbz";
     this.dataGridTextBoxColumn11.ReadOnly   = true;
     this.dataGridTextBoxColumn11.Width      = 0;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.butquit);
     this.groupBox1.Controls.Add(this.butdel);
     this.groupBox1.Controls.Add(this.butsave);
     this.groupBox1.Controls.Add(this.txtdm);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.groupBox1.Location = new System.Drawing.Point(405, 371);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(623, 83);
     this.groupBox1.TabIndex = 4;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "操作";
     //
     // butquit
     //
     this.butquit.Location = new System.Drawing.Point(597, 21);
     this.butquit.Name     = "butquit";
     this.butquit.Size     = new System.Drawing.Size(128, 41);
     this.butquit.TabIndex = 4;
     this.butquit.Text     = "退出(&Q)";
     this.butquit.Click   += new System.EventHandler(this.butquit_Click);
     //
     // butdel
     //
     this.butdel.Location = new System.Drawing.Point(459, 21);
     this.butdel.Name     = "butdel";
     this.butdel.Size     = new System.Drawing.Size(128, 41);
     this.butdel.TabIndex = 3;
     this.butdel.Text     = "删除(&D)";
     this.butdel.Click   += new System.EventHandler(this.butdel_Click);
     //
     // butsave
     //
     this.butsave.Location = new System.Drawing.Point(320, 21);
     this.butsave.Name     = "butsave";
     this.butsave.Size     = new System.Drawing.Size(128, 41);
     this.butsave.TabIndex = 3;
     this.butsave.Text     = "保存(&S)";
     this.butsave.Click   += new System.EventHandler(this.butsave_Click);
     //
     // txtdm
     //
     this.txtdm.Location = new System.Drawing.Point(91, 31);
     this.txtdm.Name     = "txtdm";
     this.txtdm.Size     = new System.Drawing.Size(165, 25);
     this.txtdm.TabIndex = 4;
     this.txtdm.Visible  = false;
     this.txtdm.KeyUp   += new System.Windows.Forms.KeyEventHandler(this.txtdm_KeyUp);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(51, 36);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(64, 21);
     this.label1.TabIndex = 0;
     this.label1.Text     = "查找";
     this.label1.Visible  = false;
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.treeView1);
     this.groupBox3.Dock     = System.Windows.Forms.DockStyle.Left;
     this.groupBox3.Location = new System.Drawing.Point(0, 0);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(405, 485);
     this.groupBox3.TabIndex = 6;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "药理分类";
     //
     // treeView1
     //
     this.treeView1.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.treeView1.Location     = new System.Drawing.Point(3, 21);
     this.treeView1.Name         = "treeView1";
     this.treeView1.Size         = new System.Drawing.Size(399, 461);
     this.treeView1.TabIndex     = 0;
     this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
     this.treeView1.AfterExpand += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(405, 0);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(7, 371);
     this.splitter1.TabIndex = 7;
     this.splitter1.TabStop  = false;
     //
     // treeView2
     //
     this.treeView2.Location     = new System.Drawing.Point(491, 93);
     this.treeView2.Name         = "treeView2";
     this.treeView2.Size         = new System.Drawing.Size(501, 401);
     this.treeView2.TabIndex     = 1;
     this.treeView2.Visible      = false;
     this.treeView2.AfterCheck  += new System.Windows.Forms.TreeViewEventHandler(this.treeView2_AfterCheck);
     this.treeView2.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView2_AfterCheck);
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.myDataGrid1);
     this.groupBox2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBox2.Location = new System.Drawing.Point(412, 0);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(616, 371);
     this.groupBox2.TabIndex = 8;
     this.groupBox2.TabStop  = false;
     //
     // Frmylfl
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 18);
     this.ClientSize        = new System.Drawing.Size(1028, 485);
     this.Controls.Add(this.treeView2);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.statusBar1);
     this.Controls.Add(this.groupBox3);
     this.KeyPreview  = true;
     this.Name        = "Frmylfl";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.Frmsccj_Load);
     this.KeyUp      += new System.Windows.Forms.KeyEventHandler(this.Frmkwsz_KeyUp);
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox3.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #12
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     base.Closed += new System.EventHandler(frmDept_Closed);
     base.Load += new System.EventHandler(frmDept_Load);
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmDept));
     this.ToolBar1 = new System.Windows.Forms.ToolBar();
     this.ToolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.ToolBar1_ButtonClick);
     this.ToolBarButton1 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton2 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton3 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton4 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton5 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton6 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton7 = new System.Windows.Forms.ToolBarButton();
     this.ImageList1 = new System.Windows.Forms.ImageList(this.components);
     this.dgDept = new System.Windows.Forms.DataGrid();
     this.dgDept.DoubleClick += new System.EventHandler(this.dgDept_DoubleClick);
     this.DataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn1 = new System.Windows.Forms.DataGridBoolColumn();
     ((System.ComponentModel.ISupportInitialize) this.dgDept).BeginInit();
     this.SuspendLayout();
     //
     //ToolBar1
     //
     this.ToolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {this.ToolBarButton1, this.ToolBarButton2, this.ToolBarButton3, this.ToolBarButton4, this.ToolBarButton5, this.ToolBarButton6, this.ToolBarButton7});
     this.ToolBar1.ButtonSize = new System.Drawing.Size(50, 48);
     this.ToolBar1.DropDownArrows = true;
     this.ToolBar1.ImageList = this.ImageList1;
     this.ToolBar1.Location = new System.Drawing.Point(0, 0);
     this.ToolBar1.Name = "ToolBar1";
     this.ToolBar1.ShowToolTips = true;
     this.ToolBar1.Size = new System.Drawing.Size(391, 55);
     this.ToolBar1.TabIndex = 0;
     //
     //ToolBarButton1
     //
     this.ToolBarButton1.ImageIndex = 0;
     this.ToolBarButton1.Text = "添加";
     //
     //ToolBarButton2
     //
     this.ToolBarButton2.ImageIndex = 1;
     this.ToolBarButton2.Text = "修改";
     //
     //ToolBarButton3
     //
     this.ToolBarButton3.ImageIndex = 2;
     this.ToolBarButton3.Text = "删除";
     //
     //ToolBarButton4
     //
     this.ToolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton5
     //
     this.ToolBarButton5.ImageIndex = 4;
     this.ToolBarButton5.Text = "打印";
     //
     //ToolBarButton6
     //
     this.ToolBarButton6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton7
     //
     this.ToolBarButton7.ImageIndex = 5;
     this.ToolBarButton7.Text = "关闭";
     //
     //ImageList1
     //
     this.ImageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth16Bit;
     this.ImageList1.ImageSize = new System.Drawing.Size(28, 28);
     this.ImageList1.ImageStream = (System.Windows.Forms.ImageListStreamer) (resources.GetObject("ImageList1.ImageStream"));
     this.ImageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     //dgDept
     //
     this.dgDept.AlternatingBackColor = System.Drawing.Color.GhostWhite;
     this.dgDept.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.dgDept.BackColor = System.Drawing.Color.GhostWhite;
     this.dgDept.BackgroundColor = System.Drawing.Color.Lavender;
     this.dgDept.CaptionBackColor = System.Drawing.Color.Navy;
     this.dgDept.CaptionForeColor = System.Drawing.Color.White;
     this.dgDept.DataMember = "";
     this.dgDept.FlatMode = true;
     this.dgDept.Font = new System.Drawing.Font("Tahoma", 8.0F);
     this.dgDept.ForeColor = System.Drawing.Color.MidnightBlue;
     this.dgDept.GridLineColor = System.Drawing.Color.RoyalBlue;
     this.dgDept.HeaderBackColor = System.Drawing.Color.MidnightBlue;
     this.dgDept.HeaderFont = new System.Drawing.Font("Tahoma", 8.0F, System.Drawing.FontStyle.Bold);
     this.dgDept.HeaderForeColor = System.Drawing.Color.Lavender;
     this.dgDept.LinkColor = System.Drawing.Color.Teal;
     this.dgDept.Location = new System.Drawing.Point(0, 55);
     this.dgDept.Name = "dgDept";
     this.dgDept.ParentRowsBackColor = System.Drawing.Color.Lavender;
     this.dgDept.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dgDept.ReadOnly = true;
     this.dgDept.SelectionBackColor = System.Drawing.Color.Teal;
     this.dgDept.SelectionForeColor = System.Drawing.Color.PaleGreen;
     this.dgDept.Size = new System.Drawing.Size(391, 247);
     this.dgDept.TabIndex = 1;
     this.dgDept.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {this.DataGridTableStyle1});
     //
     //DataGridTableStyle1
     //
     this.DataGridTableStyle1.DataGrid = this.dgDept;
     this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {this.DataGridTextBoxColumn1, this.DataGridTextBoxColumn2, this.DataGridTextBoxColumn3, this.DataGridBoolColumn1});
     this.DataGridTableStyle1.HeaderFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0)));
     this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle1.MappingName = "Department";
     //
     //DataGridTextBoxColumn1
     //
     this.DataGridTextBoxColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn1.Format = "";
     this.DataGridTextBoxColumn1.FormatInfo = null;
     this.DataGridTextBoxColumn1.HeaderText = "部门编码";
     this.DataGridTextBoxColumn1.MappingName = "DepCode";
     this.DataGridTextBoxColumn1.Width = 75;
     //
     //DataGridTextBoxColumn2
     //
     this.DataGridTextBoxColumn2.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn2.Format = "";
     this.DataGridTextBoxColumn2.FormatInfo = null;
     this.DataGridTextBoxColumn2.HeaderText = "部门名称";
     this.DataGridTextBoxColumn2.MappingName = "deptname";
     this.DataGridTextBoxColumn2.Width = 90;
     //
     //DataGridTextBoxColumn3
     //
     this.DataGridTextBoxColumn3.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn3.Format = "";
     this.DataGridTextBoxColumn3.FormatInfo = null;
     this.DataGridTextBoxColumn3.HeaderText = "部门类型";
     this.DataGridTextBoxColumn3.MappingName = "depttype";
     this.DataGridTextBoxColumn3.Width = 80;
     //
     //DataGridBoolColumn1
     //
     this.DataGridBoolColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn1.FalseValue = "0";
     this.DataGridBoolColumn1.HeaderText = "是否商品部门";
     this.DataGridBoolColumn1.MappingName = "issecondarystock";
     this.DataGridBoolColumn1.NullValue = resources.GetObject("DataGridBoolColumn1.NullValue");
     this.DataGridBoolColumn1.TrueValue = "1";
     this.DataGridBoolColumn1.Width = 80;
     //
     //frmDept
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize = new System.Drawing.Size(391, 302);
     this.Controls.Add(this.dgDept);
     this.Controls.Add(this.ToolBar1);
     this.Icon = (System.Drawing.Icon) (resources.GetObject("$this.Icon"));
     this.Name = "frmDept";
     this.Text = "部门管理";
     ((System.ComponentModel.ISupportInitialize) this.dgDept).EndInit();
     this.ResumeLayout(false);
 }
Example #13
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(MainForm));
     this.ClearButton                            = new System.Windows.Forms.Button();
     this.StatusLabel                            = new System.Windows.Forms.Label();
     this.ValidateButton                         = new System.Windows.Forms.Button();
     this.CoreFileLabel                          = new System.Windows.Forms.Label();
     this.BrowseButton                           = new System.Windows.Forms.Button();
     this.CoreFileTextBox                        = new System.Windows.Forms.TextBox();
     this.CoreOpenFileDialog                     = new System.Windows.Forms.OpenFileDialog();
     this.ButtonPanel                            = new System.Windows.Forms.Panel();
     this.FixInfoLabel                           = new System.Windows.Forms.Label();
     this.FixButton                              = new System.Windows.Forms.Button();
     this.SelectNoneButton                       = new System.Windows.Forms.Button();
     this.CheckAllButton                         = new System.Windows.Forms.Button();
     this.InvalidMarkersDataGrid                 = new System.Windows.Forms.DataGrid();
     this.DefaultDataGridTableStyle              = new System.Windows.Forms.DataGridTableStyle();
     this.AddressDataGridTextBoxColumn           = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ObjectIDDataGridTextBoxColumn          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ObjectNameataGridTextBoxColumn         = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ObjectTypeataGridTextBoxColumn         = new System.Windows.Forms.DataGridTextBoxColumn();
     this.PrecedingPropertyDataGridTextBoxColumn = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ExpectedValueDataGridTextBoxColumn     = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ActualValueDataGridTextBoxColumn       = new System.Windows.Forms.DataGridTextBoxColumn();
     this.FixDataGridBoolColumn                  = new System.Windows.Forms.DataGridBoolColumn();
     this.SettingsPanel                          = new System.Windows.Forms.Panel();
     this.ButtonPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.InvalidMarkersDataGrid)).BeginInit();
     this.SettingsPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // ClearButton
     //
     this.ClearButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.ClearButton.Location = new System.Drawing.Point(406, 32);
     this.ClearButton.Name     = "ClearButton";
     this.ClearButton.Size     = new System.Drawing.Size(64, 23);
     this.ClearButton.TabIndex = 4;
     this.ClearButton.Text     = "Clear";
     this.ClearButton.Click   += new System.EventHandler(this.ClearButton_Click);
     //
     // StatusLabel
     //
     this.StatusLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.StatusLabel.Location = new System.Drawing.Point(4, 36);
     this.StatusLabel.Name     = "StatusLabel";
     this.StatusLabel.Size     = new System.Drawing.Size(388, 14);
     this.StatusLabel.TabIndex = 3;
     this.StatusLabel.Text     = "Validating...";
     //
     // ValidateButton
     //
     this.ValidateButton.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.ValidateButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.ValidateButton.Location     = new System.Drawing.Point(476, 32);
     this.ValidateButton.Name         = "ValidateButton";
     this.ValidateButton.Size         = new System.Drawing.Size(64, 23);
     this.ValidateButton.TabIndex     = 5;
     this.ValidateButton.Text         = "Validate";
     this.ValidateButton.Click       += new System.EventHandler(this.ValidateButton_Click);
     //
     // CoreFileLabel
     //
     this.CoreFileLabel.Location = new System.Drawing.Point(4, 10);
     this.CoreFileLabel.Name     = "CoreFileLabel";
     this.CoreFileLabel.Size     = new System.Drawing.Size(53, 15);
     this.CoreFileLabel.TabIndex = 0;
     this.CoreFileLabel.Text     = "Core File:";
     //
     // BrowseButton
     //
     this.BrowseButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.BrowseButton.Location = new System.Drawing.Point(516, 8);
     this.BrowseButton.Name     = "BrowseButton";
     this.BrowseButton.Size     = new System.Drawing.Size(24, 21);
     this.BrowseButton.TabIndex = 2;
     this.BrowseButton.Text     = "...";
     this.BrowseButton.Click   += new System.EventHandler(this.BrowseButton_Click);
     //
     // CoreFileTextBox
     //
     this.CoreFileTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.CoreFileTextBox.Location     = new System.Drawing.Point(58, 8);
     this.CoreFileTextBox.Name         = "CoreFileTextBox";
     this.CoreFileTextBox.Size         = new System.Drawing.Size(452, 21);
     this.CoreFileTextBox.TabIndex     = 1;
     this.CoreFileTextBox.Text         = "";
     this.CoreFileTextBox.TextChanged += new System.EventHandler(this.CoreFileTextBox_TextChanged);
     //
     // CoreOpenFileDialog
     //
     this.CoreOpenFileDialog.DefaultExt = "igc";
     this.CoreOpenFileDialog.Filter     = "IGC Core Files|*.igc|All Files|*.*";
     this.CoreOpenFileDialog.Title      = "Choose Core file to Validate";
     //
     // ButtonPanel
     //
     this.ButtonPanel.Controls.Add(this.FixButton);
     this.ButtonPanel.Controls.Add(this.SelectNoneButton);
     this.ButtonPanel.Controls.Add(this.CheckAllButton);
     this.ButtonPanel.Controls.Add(this.FixInfoLabel);
     this.ButtonPanel.Dock     = System.Windows.Forms.DockStyle.Top;
     this.ButtonPanel.Location = new System.Drawing.Point(0, 58);
     this.ButtonPanel.Name     = "ButtonPanel";
     this.ButtonPanel.Size     = new System.Drawing.Size(544, 28);
     this.ButtonPanel.TabIndex = 2;
     //
     // FixInfoLabel
     //
     this.FixInfoLabel.Location = new System.Drawing.Point(4, 4);
     this.FixInfoLabel.Name     = "FixInfoLabel";
     this.FixInfoLabel.Size     = new System.Drawing.Size(276, 16);
     this.FixInfoLabel.TabIndex = 0;
     this.FixInfoLabel.Text     = "Check the markers to fix, then press \"Fix\" to fix them!";
     //
     // FixButton
     //
     this.FixButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.FixButton.Location = new System.Drawing.Point(476, 0);
     this.FixButton.Name     = "FixButton";
     this.FixButton.Size     = new System.Drawing.Size(64, 23);
     this.FixButton.TabIndex = 3;
     this.FixButton.Text     = "Fix";
     this.FixButton.Click   += new System.EventHandler(this.FixButton_Click);
     //
     // SelectNoneButton
     //
     this.SelectNoneButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.SelectNoneButton.Location = new System.Drawing.Point(324, 0);
     this.SelectNoneButton.Name     = "SelectNoneButton";
     this.SelectNoneButton.TabIndex = 1;
     this.SelectNoneButton.Text     = "Check None";
     this.SelectNoneButton.Click   += new System.EventHandler(this.SelectNoneButton_Click);
     //
     // CheckAllButton
     //
     this.CheckAllButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.CheckAllButton.Location = new System.Drawing.Point(406, 0);
     this.CheckAllButton.Name     = "CheckAllButton";
     this.CheckAllButton.Size     = new System.Drawing.Size(64, 23);
     this.CheckAllButton.TabIndex = 2;
     this.CheckAllButton.Text     = "Check All";
     this.CheckAllButton.Click   += new System.EventHandler(this.CheckAllButton_Click);
     //
     // InvalidMarkersDataGrid
     //
     this.InvalidMarkersDataGrid.CaptionText       = "Invalid Markers";
     this.InvalidMarkersDataGrid.CausesValidation  = false;
     this.InvalidMarkersDataGrid.DataMember        = "";
     this.InvalidMarkersDataGrid.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.InvalidMarkersDataGrid.Font              = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.InvalidMarkersDataGrid.HeaderForeColor   = System.Drawing.SystemColors.ControlText;
     this.InvalidMarkersDataGrid.Location          = new System.Drawing.Point(0, 86);
     this.InvalidMarkersDataGrid.Name              = "InvalidMarkersDataGrid";
     this.InvalidMarkersDataGrid.ParentRowsVisible = false;
     this.InvalidMarkersDataGrid.RowHeadersVisible = false;
     this.InvalidMarkersDataGrid.Size              = new System.Drawing.Size(544, 193);
     this.InvalidMarkersDataGrid.TabIndex          = 2;
     this.InvalidMarkersDataGrid.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.DefaultDataGridTableStyle
     });
     this.InvalidMarkersDataGrid.DoubleClick += new System.EventHandler(this.InvalidMarkersDataGrid_DoubleClick);
     //
     // DefaultDataGridTableStyle
     //
     this.DefaultDataGridTableStyle.DataGrid = this.InvalidMarkersDataGrid;
     this.DefaultDataGridTableStyle.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.AddressDataGridTextBoxColumn,
         this.ObjectIDDataGridTextBoxColumn,
         this.ObjectNameataGridTextBoxColumn,
         this.ObjectTypeataGridTextBoxColumn,
         this.PrecedingPropertyDataGridTextBoxColumn,
         this.ExpectedValueDataGridTextBoxColumn,
         this.ActualValueDataGridTextBoxColumn,
         this.FixDataGridBoolColumn
     });
     this.DefaultDataGridTableStyle.HeaderForeColor   = System.Drawing.SystemColors.ControlText;
     this.DefaultDataGridTableStyle.MappingName       = "InvalidMarkers";
     this.DefaultDataGridTableStyle.RowHeadersVisible = false;
     this.DefaultDataGridTableStyle.RowHeaderWidth    = 15;
     //
     // AddressDataGridTextBoxColumn
     //
     this.AddressDataGridTextBoxColumn.Alignment   = System.Windows.Forms.HorizontalAlignment.Right;
     this.AddressDataGridTextBoxColumn.Format      = "X";
     this.AddressDataGridTextBoxColumn.FormatInfo  = null;
     this.AddressDataGridTextBoxColumn.HeaderText  = "Address  .";
     this.AddressDataGridTextBoxColumn.MappingName = "Address";
     this.AddressDataGridTextBoxColumn.ReadOnly    = true;
     this.AddressDataGridTextBoxColumn.Width       = 50;
     //
     // ObjectIDDataGridTextBoxColumn
     //
     this.ObjectIDDataGridTextBoxColumn.Alignment   = System.Windows.Forms.HorizontalAlignment.Right;
     this.ObjectIDDataGridTextBoxColumn.Format      = "";
     this.ObjectIDDataGridTextBoxColumn.FormatInfo  = null;
     this.ObjectIDDataGridTextBoxColumn.HeaderText  = "ID .";
     this.ObjectIDDataGridTextBoxColumn.MappingName = "ObjectID";
     this.ObjectIDDataGridTextBoxColumn.ReadOnly    = true;
     this.ObjectIDDataGridTextBoxColumn.Width       = 30;
     //
     // ObjectNameataGridTextBoxColumn
     //
     this.ObjectNameataGridTextBoxColumn.Format      = "";
     this.ObjectNameataGridTextBoxColumn.FormatInfo  = null;
     this.ObjectNameataGridTextBoxColumn.HeaderText  = "Name";
     this.ObjectNameataGridTextBoxColumn.MappingName = "ObjectName";
     this.ObjectNameataGridTextBoxColumn.ReadOnly    = true;
     this.ObjectNameataGridTextBoxColumn.Width       = 140;
     //
     // ObjectTypeataGridTextBoxColumn
     //
     this.ObjectTypeataGridTextBoxColumn.Format      = "";
     this.ObjectTypeataGridTextBoxColumn.FormatInfo  = null;
     this.ObjectTypeataGridTextBoxColumn.HeaderText  = "Type";
     this.ObjectTypeataGridTextBoxColumn.MappingName = "ObjectType";
     this.ObjectTypeataGridTextBoxColumn.ReadOnly    = true;
     this.ObjectTypeataGridTextBoxColumn.Width       = 75;
     //
     // PrecedingPropertyDataGridTextBoxColumn
     //
     this.PrecedingPropertyDataGridTextBoxColumn.Format      = "";
     this.PrecedingPropertyDataGridTextBoxColumn.FormatInfo  = null;
     this.PrecedingPropertyDataGridTextBoxColumn.HeaderText  = "Property";
     this.PrecedingPropertyDataGridTextBoxColumn.MappingName = "PrecedingProperty";
     this.PrecedingPropertyDataGridTextBoxColumn.ReadOnly    = true;
     this.PrecedingPropertyDataGridTextBoxColumn.Width       = 75;
     //
     // ExpectedValueDataGridTextBoxColumn
     //
     this.ExpectedValueDataGridTextBoxColumn.Alignment   = System.Windows.Forms.HorizontalAlignment.Right;
     this.ExpectedValueDataGridTextBoxColumn.Format      = "X";
     this.ExpectedValueDataGridTextBoxColumn.FormatInfo  = null;
     this.ExpectedValueDataGridTextBoxColumn.HeaderText  = "Expected .";
     this.ExpectedValueDataGridTextBoxColumn.MappingName = "ExpectedValue";
     this.ExpectedValueDataGridTextBoxColumn.ReadOnly    = true;
     this.ExpectedValueDataGridTextBoxColumn.Width       = 60;
     //
     // ActualValueDataGridTextBoxColumn
     //
     this.ActualValueDataGridTextBoxColumn.Alignment   = System.Windows.Forms.HorizontalAlignment.Right;
     this.ActualValueDataGridTextBoxColumn.Format      = "X";
     this.ActualValueDataGridTextBoxColumn.FormatInfo  = null;
     this.ActualValueDataGridTextBoxColumn.HeaderText  = "Actual .";
     this.ActualValueDataGridTextBoxColumn.MappingName = "ActualValue";
     this.ActualValueDataGridTextBoxColumn.ReadOnly    = true;
     this.ActualValueDataGridTextBoxColumn.Width       = 60;
     //
     // FixDataGridBoolColumn
     //
     this.FixDataGridBoolColumn.AllowNull   = false;
     this.FixDataGridBoolColumn.FalseValue  = false;
     this.FixDataGridBoolColumn.HeaderText  = "Fix";
     this.FixDataGridBoolColumn.MappingName = "Fix";
     this.FixDataGridBoolColumn.NullValue   = "False";
     this.FixDataGridBoolColumn.TrueValue   = true;
     this.FixDataGridBoolColumn.Width       = 30;
     //
     // SettingsPanel
     //
     this.SettingsPanel.Controls.Add(this.BrowseButton);
     this.SettingsPanel.Controls.Add(this.CoreFileTextBox);
     this.SettingsPanel.Controls.Add(this.ValidateButton);
     this.SettingsPanel.Controls.Add(this.StatusLabel);
     this.SettingsPanel.Controls.Add(this.ClearButton);
     this.SettingsPanel.Controls.Add(this.CoreFileLabel);
     this.SettingsPanel.Dock     = System.Windows.Forms.DockStyle.Top;
     this.SettingsPanel.Location = new System.Drawing.Point(0, 0);
     this.SettingsPanel.Name     = "SettingsPanel";
     this.SettingsPanel.Size     = new System.Drawing.Size(544, 58);
     this.SettingsPanel.TabIndex = 0;
     //
     // MainForm
     //
     this.AcceptButton      = this.ValidateButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize        = new System.Drawing.Size(544, 279);
     this.Controls.Add(this.InvalidMarkersDataGrid);
     this.Controls.Add(this.ButtonPanel);
     this.Controls.Add(this.SettingsPanel);
     this.Font        = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize = new System.Drawing.Size(300, 104);
     this.Name        = "MainForm";
     this.Text        = "IGCVal";
     this.ButtonPanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.InvalidMarkersDataGrid)).EndInit();
     this.SettingsPanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #14
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InputBill));
     this.dgTableStatus = new System.Windows.Forms.DataGrid();
     this.ContextMenu1 = new System.Windows.Forms.ContextMenu();
     this.MenuItem1 = new System.Windows.Forms.MenuItem();
     this.DataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn1 = new System.Windows.Forms.DataGridBoolColumn();
     this.Panel1 = new System.Windows.Forms.Panel();
     this.Panel2 = new System.Windows.Forms.Panel();
     this.numOpenPsn = new System.Windows.Forms.NumericUpDown();
     this.Label2 = new System.Windows.Forms.Label();
     this.Panel3 = new System.Windows.Forms.Panel();
     this.Label1 = new System.Windows.Forms.Label();
     this.lblBillno = new System.Windows.Forms.Label();
     this.lblOpenpsn = new System.Windows.Forms.Label();
     this.lblTableno = new System.Windows.Forms.Label();
     this.lblOpenDate = new System.Windows.Forms.Label();
     this.btnNext = new System.Windows.Forms.Button();
     this.btnPrior = new System.Windows.Forms.Button();
     this.lblBillTypeName = new System.Windows.Forms.Label();
     this.dgSaleFoods = new System.Windows.Forms.DataGrid();
     this.DataGridTableStyle4 = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn17 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn18 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn19 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn2 = new System.Windows.Forms.DataGridBoolColumn();
     this.DataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dgFoodList = new System.Windows.Forms.DataGrid();
     this.DataGridTableStyle3 = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.cbTableType = new System.Windows.Forms.ComboBox();
     this.Label6 = new System.Windows.Forms.Label();
     this.txtFoodCode = new System.Windows.Forms.TextBox();
     this.LinkLabel1 = new System.Windows.Forms.LinkLabel();
     this.ToolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.ImageList1 = new System.Windows.Forms.ImageList(this.components);
     this.ToolBar1 = new System.Windows.Forms.ToolBar();
     this.ToolBarButton1 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton2 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton3 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton4 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton15 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton20 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton6 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton7 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton21 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton8 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton12 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton18 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton9 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton10 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton5 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton19 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton17 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton11 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton13 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton14 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton16 = new System.Windows.Forms.ToolBarButton();
     this.cbFoodType = new System.Windows.Forms.ComboBox();
     this.cbDeptList = new System.Windows.Forms.ComboBox();
     this.Label3 = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.dgTableStatus)).BeginInit();
     this.Panel1.SuspendLayout();
     this.Panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numOpenPsn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgSaleFoods)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgFoodList)).BeginInit();
     this.SuspendLayout();
     //
     // dgTableStatus
     //
     this.dgTableStatus.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dgTableStatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)));
     this.dgTableStatus.BackColor = System.Drawing.Color.WhiteSmoke;
     this.dgTableStatus.BackgroundColor = System.Drawing.Color.LightGray;
     this.dgTableStatus.CaptionBackColor = System.Drawing.Color.LightSteelBlue;
     this.dgTableStatus.CaptionForeColor = System.Drawing.Color.MidnightBlue;
     this.dgTableStatus.CaptionText = "桌台列表";
     this.dgTableStatus.ContextMenu = this.ContextMenu1;
     this.dgTableStatus.DataMember = "";
     this.dgTableStatus.Font = new System.Drawing.Font("Tahoma", 8F);
     this.dgTableStatus.ForeColor = System.Drawing.Color.MidnightBlue;
     this.dgTableStatus.GridLineColor = System.Drawing.Color.Gainsboro;
     this.dgTableStatus.GridLineStyle = System.Windows.Forms.DataGridLineStyle.None;
     this.dgTableStatus.HeaderBackColor = System.Drawing.Color.MidnightBlue;
     this.dgTableStatus.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dgTableStatus.HeaderForeColor = System.Drawing.Color.WhiteSmoke;
     this.dgTableStatus.LinkColor = System.Drawing.Color.Teal;
     this.dgTableStatus.Location = new System.Drawing.Point(8, 88);
     this.dgTableStatus.Name = "dgTableStatus";
     this.dgTableStatus.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dgTableStatus.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dgTableStatus.ReadOnly = true;
     this.dgTableStatus.SelectionBackColor = System.Drawing.Color.CadetBlue;
     this.dgTableStatus.SelectionForeColor = System.Drawing.Color.WhiteSmoke;
     this.dgTableStatus.Size = new System.Drawing.Size(216, 536);
     this.dgTableStatus.TabIndex = 0;
     this.dgTableStatus.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.DataGridTableStyle1});
     this.dgTableStatus.Navigate += new System.Windows.Forms.NavigateEventHandler(this.dgTableStatus_Navigate);
     this.dgTableStatus.DoubleClick += new System.EventHandler(this.dgTableStatus_DoubleClick);
     //
     // ContextMenu1
     //
     this.ContextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.MenuItem1});
     //
     // MenuItem1
     //
     this.MenuItem1.Index = 0;
     this.MenuItem1.Text = "刷新";
     //
     // DataGridTableStyle1
     //
     this.DataGridTableStyle1.DataGrid = this.dgTableStatus;
     this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.DataGridTextBoxColumn1,
     this.DataGridTextBoxColumn2,
     this.DataGridBoolColumn1});
     this.DataGridTableStyle1.HeaderFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle1.MappingName = "tablestatus";
     //
     // DataGridTextBoxColumn1
     //
     this.DataGridTextBoxColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn1.Format = "";
     this.DataGridTextBoxColumn1.FormatInfo = null;
     this.DataGridTextBoxColumn1.HeaderText = "桌台号";
     this.DataGridTextBoxColumn1.MappingName = "tableno";
     this.DataGridTextBoxColumn1.Width = 50;
     //
     // DataGridTextBoxColumn2
     //
     this.DataGridTextBoxColumn2.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn2.Format = "";
     this.DataGridTextBoxColumn2.FormatInfo = null;
     this.DataGridTextBoxColumn2.HeaderText = "桌台名称";
     this.DataGridTextBoxColumn2.MappingName = "tablename";
     this.DataGridTextBoxColumn2.Width = 60;
     //
     // DataGridBoolColumn1
     //
     this.DataGridBoolColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn1.FalseValue = "0";
     this.DataGridBoolColumn1.HeaderText = "占用";
     this.DataGridBoolColumn1.MappingName = "status";
     this.DataGridBoolColumn1.TrueValue = "1";
     this.DataGridBoolColumn1.Width = 50;
     //
     // Panel1
     //
     this.Panel1.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.Panel1.Controls.Add(this.Panel2);
     this.Panel1.Controls.Add(this.btnNext);
     this.Panel1.Controls.Add(this.btnPrior);
     this.Panel1.Controls.Add(this.lblBillTypeName);
     this.Panel1.Controls.Add(this.dgSaleFoods);
     this.Panel1.Location = new System.Drawing.Point(232, 64);
     this.Panel1.Name = "Panel1";
     this.Panel1.Size = new System.Drawing.Size(360, 552);
     this.Panel1.TabIndex = 1;
     //
     // Panel2
     //
     this.Panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.Panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.Panel2.Controls.Add(this.numOpenPsn);
     this.Panel2.Controls.Add(this.Label2);
     this.Panel2.Controls.Add(this.Panel3);
     this.Panel2.Controls.Add(this.Label1);
     this.Panel2.Controls.Add(this.lblBillno);
     this.Panel2.Controls.Add(this.lblOpenpsn);
     this.Panel2.Controls.Add(this.lblTableno);
     this.Panel2.Controls.Add(this.lblOpenDate);
     this.Panel2.Location = new System.Drawing.Point(8, 72);
     this.Panel2.Name = "Panel2";
     this.Panel2.Size = new System.Drawing.Size(344, 128);
     this.Panel2.TabIndex = 15;
     //
     // numOpenPsn
     //
     this.numOpenPsn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.numOpenPsn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.numOpenPsn.Location = new System.Drawing.Point(168, 35);
     this.numOpenPsn.Minimum = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.numOpenPsn.Name = "numOpenPsn";
     this.numOpenPsn.Size = new System.Drawing.Size(88, 21);
     this.numOpenPsn.TabIndex = 15;
     this.numOpenPsn.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.numOpenPsn.Value = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.numOpenPsn.Visible = false;
     this.numOpenPsn.ValueChanged += new System.EventHandler(this.numOpenPsn_ValueChanged);
     //
     // Label2
     //
     this.Label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.Label2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Label2.ForeColor = System.Drawing.Color.Red;
     this.Label2.Location = new System.Drawing.Point(128, 64);
     this.Label2.Name = "Label2";
     this.Label2.Size = new System.Drawing.Size(208, 56);
     this.Label2.TabIndex = 14;
     this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // Panel3
     //
     this.Panel3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.Panel3.BackColor = System.Drawing.Color.Black;
     this.Panel3.Location = new System.Drawing.Point(8, 56);
     this.Panel3.Name = "Panel3";
     this.Panel3.Size = new System.Drawing.Size(326, 3);
     this.Panel3.TabIndex = 13;
     //
     // Label1
     //
     this.Label1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Label1.Location = new System.Drawing.Point(32, 64);
     this.Label1.Name = "Label1";
     this.Label1.Size = new System.Drawing.Size(144, 56);
     this.Label1.TabIndex = 12;
     this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblBillno
     //
     this.lblBillno.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lblBillno.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lblBillno.Location = new System.Drawing.Point(88, 8);
     this.lblBillno.Name = "lblBillno";
     this.lblBillno.Size = new System.Drawing.Size(248, 32);
     this.lblBillno.TabIndex = 11;
     this.lblBillno.Text = "单据号:";
     //
     // lblOpenpsn
     //
     this.lblOpenpsn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lblOpenpsn.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lblOpenpsn.Location = new System.Drawing.Point(88, 40);
     this.lblOpenpsn.Name = "lblOpenpsn";
     this.lblOpenpsn.Size = new System.Drawing.Size(248, 18);
     this.lblOpenpsn.TabIndex = 10;
     this.lblOpenpsn.Text = "开台人数:";
     //
     // lblTableno
     //
     this.lblTableno.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lblTableno.Location = new System.Drawing.Point(8, 40);
     this.lblTableno.Name = "lblTableno";
     this.lblTableno.Size = new System.Drawing.Size(256, 18);
     this.lblTableno.TabIndex = 9;
     this.lblTableno.Text = "桌台号:";
     //
     // lblOpenDate
     //
     this.lblOpenDate.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lblOpenDate.Location = new System.Drawing.Point(8, 8);
     this.lblOpenDate.Name = "lblOpenDate";
     this.lblOpenDate.Size = new System.Drawing.Size(256, 32);
     this.lblOpenDate.TabIndex = 8;
     this.lblOpenDate.Text = "日期:";
     //
     // btnNext
     //
     this.btnNext.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnNext.Enabled = false;
     this.btnNext.Location = new System.Drawing.Point(296, 16);
     this.btnNext.Name = "btnNext";
     this.btnNext.Size = new System.Drawing.Size(56, 48);
     this.btnNext.TabIndex = 14;
     this.btnNext.Text = ">>";
     this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
     //
     // btnPrior
     //
     this.btnPrior.Enabled = false;
     this.btnPrior.Location = new System.Drawing.Point(8, 16);
     this.btnPrior.Name = "btnPrior";
     this.btnPrior.Size = new System.Drawing.Size(56, 48);
     this.btnPrior.TabIndex = 13;
     this.btnPrior.Text = "<<";
     this.btnPrior.Click += new System.EventHandler(this.btnPrior_Click);
     //
     // lblBillTypeName
     //
     this.lblBillTypeName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.lblBillTypeName.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lblBillTypeName.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lblBillTypeName.ForeColor = System.Drawing.Color.Navy;
     this.lblBillTypeName.Location = new System.Drawing.Point(72, 16);
     this.lblBillTypeName.Name = "lblBillTypeName";
     this.lblBillTypeName.Size = new System.Drawing.Size(216, 48);
     this.lblBillTypeName.TabIndex = 7;
     this.lblBillTypeName.Text = "点菜单";
     this.lblBillTypeName.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // dgSaleFoods
     //
     this.dgSaleFoods.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.dgSaleFoods.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.dgSaleFoods.CaptionVisible = false;
     this.dgSaleFoods.DataMember = "";
     this.dgSaleFoods.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dgSaleFoods.Location = new System.Drawing.Point(8, 208);
     this.dgSaleFoods.Name = "dgSaleFoods";
     this.dgSaleFoods.ReadOnly = true;
     this.dgSaleFoods.Size = new System.Drawing.Size(344, 336);
     this.dgSaleFoods.TabIndex = 6;
     this.dgSaleFoods.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.DataGridTableStyle4});
     //
     // DataGridTableStyle4
     //
     this.DataGridTableStyle4.ColumnHeadersVisible = false;
     this.DataGridTableStyle4.DataGrid = this.dgSaleFoods;
     this.DataGridTableStyle4.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.DataGridTextBoxColumn13,
     this.DataGridTextBoxColumn14,
     this.DataGridTextBoxColumn15,
     this.DataGridTextBoxColumn16,
     this.DataGridTextBoxColumn17,
     this.DataGridTextBoxColumn18,
     this.DataGridTextBoxColumn19,
     this.DataGridBoolColumn2,
     this.DataGridTextBoxColumn4});
     this.DataGridTableStyle4.HeaderFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.DataGridTableStyle4.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle4.MappingName = "salefoods";
     //
     // DataGridTextBoxColumn13
     //
     this.DataGridTextBoxColumn13.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn13.Format = "";
     this.DataGridTextBoxColumn13.FormatInfo = null;
     this.DataGridTextBoxColumn13.HeaderText = "菜品编码";
     this.DataGridTextBoxColumn13.MappingName = "foodcode";
     this.DataGridTextBoxColumn13.Width = 60;
     //
     // DataGridTextBoxColumn14
     //
     this.DataGridTextBoxColumn14.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn14.Format = "";
     this.DataGridTextBoxColumn14.FormatInfo = null;
     this.DataGridTextBoxColumn14.HeaderText = "菜品名称";
     this.DataGridTextBoxColumn14.MappingName = "foodname";
     this.DataGridTextBoxColumn14.Width = 85;
     //
     // DataGridTextBoxColumn15
     //
     this.DataGridTextBoxColumn15.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn15.Format = "";
     this.DataGridTextBoxColumn15.FormatInfo = null;
     this.DataGridTextBoxColumn15.HeaderText = "单位";
     this.DataGridTextBoxColumn15.MappingName = "unit";
     this.DataGridTextBoxColumn15.Width = 40;
     //
     // DataGridTextBoxColumn16
     //
     this.DataGridTextBoxColumn16.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn16.Format = "";
     this.DataGridTextBoxColumn16.FormatInfo = null;
     this.DataGridTextBoxColumn16.HeaderText = "数量";
     this.DataGridTextBoxColumn16.MappingName = "addquantity";
     this.DataGridTextBoxColumn16.Width = 40;
     //
     // DataGridTextBoxColumn17
     //
     this.DataGridTextBoxColumn17.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn17.Format = "";
     this.DataGridTextBoxColumn17.FormatInfo = null;
     this.DataGridTextBoxColumn17.HeaderText = "价格";
     this.DataGridTextBoxColumn17.MappingName = "price";
     this.DataGridTextBoxColumn17.Width = 60;
     //
     // DataGridTextBoxColumn18
     //
     this.DataGridTextBoxColumn18.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn18.Format = "";
     this.DataGridTextBoxColumn18.FormatInfo = null;
     this.DataGridTextBoxColumn18.HeaderText = "做法";
     this.DataGridTextBoxColumn18.MappingName = "operandi";
     this.DataGridTextBoxColumn18.Width = 60;
     //
     // DataGridTextBoxColumn19
     //
     this.DataGridTextBoxColumn19.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn19.Format = "";
     this.DataGridTextBoxColumn19.FormatInfo = null;
     this.DataGridTextBoxColumn19.HeaderText = "口味";
     this.DataGridTextBoxColumn19.MappingName = "taste";
     this.DataGridTextBoxColumn19.Width = 60;
     //
     // DataGridBoolColumn2
     //
     this.DataGridBoolColumn2.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn2.FalseValue = "0";
     this.DataGridBoolColumn2.HeaderText = "已上菜";
     this.DataGridBoolColumn2.MappingName = "transfered";
     this.DataGridBoolColumn2.NullText = "";
     this.DataGridBoolColumn2.NullValue = "1";
     this.DataGridBoolColumn2.TrueValue = "2";
     this.DataGridBoolColumn2.Width = 45;
     //
     // DataGridTextBoxColumn4
     //
     this.DataGridTextBoxColumn4.Format = "";
     this.DataGridTextBoxColumn4.FormatInfo = null;
     this.DataGridTextBoxColumn4.MappingName = "barcode";
     this.DataGridTextBoxColumn4.Width = 0;
     //
     // dgFoodList
     //
     this.dgFoodList.AllowNavigation = false;
     this.dgFoodList.AllowSorting = false;
     this.dgFoodList.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dgFoodList.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.dgFoodList.BackColor = System.Drawing.Color.WhiteSmoke;
     this.dgFoodList.BackgroundColor = System.Drawing.Color.LightGray;
     this.dgFoodList.CaptionBackColor = System.Drawing.Color.LightSteelBlue;
     this.dgFoodList.CaptionForeColor = System.Drawing.Color.MidnightBlue;
     this.dgFoodList.CaptionText = "菜品列表";
     this.dgFoodList.DataMember = "";
     this.dgFoodList.Font = new System.Drawing.Font("Tahoma", 8F);
     this.dgFoodList.ForeColor = System.Drawing.Color.MidnightBlue;
     this.dgFoodList.GridLineColor = System.Drawing.Color.Gainsboro;
     this.dgFoodList.GridLineStyle = System.Windows.Forms.DataGridLineStyle.None;
     this.dgFoodList.HeaderBackColor = System.Drawing.Color.MidnightBlue;
     this.dgFoodList.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dgFoodList.HeaderForeColor = System.Drawing.Color.WhiteSmoke;
     this.dgFoodList.LinkColor = System.Drawing.Color.Teal;
     this.dgFoodList.Location = new System.Drawing.Point(600, 112);
     this.dgFoodList.Name = "dgFoodList";
     this.dgFoodList.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dgFoodList.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dgFoodList.ReadOnly = true;
     this.dgFoodList.SelectionBackColor = System.Drawing.Color.CadetBlue;
     this.dgFoodList.SelectionForeColor = System.Drawing.Color.WhiteSmoke;
     this.dgFoodList.Size = new System.Drawing.Size(240, 512);
     this.dgFoodList.TabIndex = 2;
     this.dgFoodList.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.DataGridTableStyle3});
     this.dgFoodList.Navigate += new System.Windows.Forms.NavigateEventHandler(this.dgFoodList_Navigate);
     this.dgFoodList.DoubleClick += new System.EventHandler(this.dgFoodList_DoubleClick);
     //
     // DataGridTableStyle3
     //
     this.DataGridTableStyle3.DataGrid = this.dgFoodList;
     this.DataGridTableStyle3.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.DataGridTextBoxColumn7,
     this.DataGridTextBoxColumn8,
     this.DataGridTextBoxColumn9,
     this.DataGridTextBoxColumn10,
     this.DataGridTextBoxColumn11,
     this.DataGridTextBoxColumn12,
     this.DataGridTextBoxColumn3});
     this.DataGridTableStyle3.HeaderFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DataGridTableStyle3.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle3.MappingName = "foodlist";
     //
     // DataGridTextBoxColumn7
     //
     this.DataGridTextBoxColumn7.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn7.Format = "";
     this.DataGridTextBoxColumn7.FormatInfo = null;
     this.DataGridTextBoxColumn7.HeaderText = "菜品编码";
     this.DataGridTextBoxColumn7.MappingName = "foodcode";
     this.DataGridTextBoxColumn7.Width = 55;
     //
     // DataGridTextBoxColumn8
     //
     this.DataGridTextBoxColumn8.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn8.Format = "";
     this.DataGridTextBoxColumn8.FormatInfo = null;
     this.DataGridTextBoxColumn8.HeaderText = "菜品名称";
     this.DataGridTextBoxColumn8.MappingName = "foodname";
     this.DataGridTextBoxColumn8.Width = 75;
     //
     // DataGridTextBoxColumn9
     //
     this.DataGridTextBoxColumn9.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn9.Format = "";
     this.DataGridTextBoxColumn9.FormatInfo = null;
     this.DataGridTextBoxColumn9.HeaderText = "单位";
     this.DataGridTextBoxColumn9.MappingName = "unit";
     this.DataGridTextBoxColumn9.Width = 40;
     //
     // DataGridTextBoxColumn10
     //
     this.DataGridTextBoxColumn10.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn10.Format = "";
     this.DataGridTextBoxColumn10.FormatInfo = null;
     this.DataGridTextBoxColumn10.HeaderText = "价格";
     this.DataGridTextBoxColumn10.MappingName = "price";
     this.DataGridTextBoxColumn10.Width = 50;
     //
     // DataGridTextBoxColumn11
     //
     this.DataGridTextBoxColumn11.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn11.Format = "";
     this.DataGridTextBoxColumn11.FormatInfo = null;
     this.DataGridTextBoxColumn11.HeaderText = "拼音码";
     this.DataGridTextBoxColumn11.MappingName = "spell";
     this.DataGridTextBoxColumn11.Width = 50;
     //
     // DataGridTextBoxColumn12
     //
     this.DataGridTextBoxColumn12.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn12.Format = "";
     this.DataGridTextBoxColumn12.FormatInfo = null;
     this.DataGridTextBoxColumn12.HeaderText = "类别编码";
     this.DataGridTextBoxColumn12.MappingName = "foodtypecode";
     this.DataGridTextBoxColumn12.Width = 50;
     //
     // DataGridTextBoxColumn3
     //
     this.DataGridTextBoxColumn3.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn3.Format = "";
     this.DataGridTextBoxColumn3.FormatInfo = null;
     this.DataGridTextBoxColumn3.HeaderText = "菜品类别";
     this.DataGridTextBoxColumn3.MappingName = "typename";
     this.DataGridTextBoxColumn3.Width = 75;
     //
     // cbTableType
     //
     this.cbTableType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbTableType.Location = new System.Drawing.Point(104, 64);
     this.cbTableType.MaxDropDownItems = 15;
     this.cbTableType.Name = "cbTableType";
     this.cbTableType.Size = new System.Drawing.Size(120, 20);
     this.cbTableType.TabIndex = 12;
     this.cbTableType.SelectedIndexChanged += new System.EventHandler(this.cbTableType_SelectedIndexChanged);
     //
     // Label6
     //
     this.Label6.Location = new System.Drawing.Point(8, 64);
     this.Label6.Name = "Label6";
     this.Label6.Size = new System.Drawing.Size(100, 23);
     this.Label6.TabIndex = 13;
     this.Label6.Text = "桌台类别/位置:";
     this.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtFoodCode
     //
     this.txtFoodCode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.txtFoodCode.Location = new System.Drawing.Point(672, 88);
     this.txtFoodCode.Name = "txtFoodCode";
     this.txtFoodCode.Size = new System.Drawing.Size(168, 21);
     this.txtFoodCode.TabIndex = 18;
     this.txtFoodCode.Visible = false;
     this.txtFoodCode.TextChanged += new System.EventHandler(this.txtFoodCode_TextChanged);
     this.txtFoodCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtFoodCode_KeyDown);
     //
     // LinkLabel1
     //
     this.LinkLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.LinkLabel1.Location = new System.Drawing.Point(600, 88);
     this.LinkLabel1.Name = "LinkLabel1";
     this.LinkLabel1.Size = new System.Drawing.Size(72, 23);
     this.LinkLabel1.TabIndex = 19;
     this.LinkLabel1.TabStop = true;
     this.LinkLabel1.Text = "菜品过滤:";
     this.LinkLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.LinkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LinkLabel1_LinkClicked);
     //
     // ImageList1
     //
     this.ImageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageList1.ImageStream")));
     this.ImageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.ImageList1.Images.SetKeyName(0, "");
     this.ImageList1.Images.SetKeyName(1, "");
     this.ImageList1.Images.SetKeyName(2, "");
     this.ImageList1.Images.SetKeyName(3, "");
     this.ImageList1.Images.SetKeyName(4, "");
     this.ImageList1.Images.SetKeyName(5, "");
     this.ImageList1.Images.SetKeyName(6, "");
     this.ImageList1.Images.SetKeyName(7, "");
     this.ImageList1.Images.SetKeyName(8, "");
     this.ImageList1.Images.SetKeyName(9, "");
     this.ImageList1.Images.SetKeyName(10, "");
     this.ImageList1.Images.SetKeyName(11, "");
     this.ImageList1.Images.SetKeyName(12, "");
     this.ImageList1.Images.SetKeyName(13, "");
     this.ImageList1.Images.SetKeyName(14, "");
     //
     // ToolBar1
     //
     this.ToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
     this.ToolBarButton1,
     this.ToolBarButton2,
     this.ToolBarButton3,
     this.ToolBarButton4,
     this.ToolBarButton15,
     this.ToolBarButton20,
     this.ToolBarButton6,
     this.ToolBarButton7,
     this.ToolBarButton21,
     this.ToolBarButton8,
     this.ToolBarButton12,
     this.ToolBarButton18,
     this.ToolBarButton9,
     this.ToolBarButton10,
     this.ToolBarButton5,
     this.ToolBarButton19,
     this.ToolBarButton17,
     this.ToolBarButton11,
     this.ToolBarButton13,
     this.ToolBarButton14,
     this.ToolBarButton16});
     this.ToolBar1.ButtonSize = new System.Drawing.Size(50, 48);
     this.ToolBar1.DropDownArrows = true;
     this.ToolBar1.ImageList = this.ImageList1;
     this.ToolBar1.Location = new System.Drawing.Point(0, 0);
     this.ToolBar1.Name = "ToolBar1";
     this.ToolBar1.ShowToolTips = true;
     this.ToolBar1.Size = new System.Drawing.Size(848, 53);
     this.ToolBar1.TabIndex = 20;
     this.ToolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.ToolBar1_ButtonClick);
     //
     // ToolBarButton1
     //
     this.ToolBarButton1.ImageIndex = 0;
     this.ToolBarButton1.Name = "ToolBarButton1";
     this.ToolBarButton1.Text = "开台";
     this.ToolBarButton1.ToolTipText = "对选中桌台进行开台操作";
     //
     // ToolBarButton2
     //
     this.ToolBarButton2.ImageIndex = 1;
     this.ToolBarButton2.Name = "ToolBarButton2";
     this.ToolBarButton2.Text = "加单";
     this.ToolBarButton2.ToolTipText = "向选中桌台进行加单操作";
     //
     // ToolBarButton3
     //
     this.ToolBarButton3.ImageIndex = 2;
     this.ToolBarButton3.Name = "ToolBarButton3";
     this.ToolBarButton3.Text = "加菜";
     this.ToolBarButton3.ToolTipText = "向选中桌台及当前单据进行加菜操作";
     //
     // ToolBarButton4
     //
     this.ToolBarButton4.ImageIndex = 3;
     this.ToolBarButton4.Name = "ToolBarButton4";
     this.ToolBarButton4.Text = "传菜";
     this.ToolBarButton4.ToolTipText = "对选中菜品进行传菜操作";
     //
     // ToolBarButton15
     //
     this.ToolBarButton15.ImageIndex = 12;
     this.ToolBarButton15.Name = "ToolBarButton15";
     this.ToolBarButton15.Text = "催菜";
     this.ToolBarButton15.ToolTipText = "对选中菜品进行催菜操作";
     //
     // ToolBarButton20
     //
     this.ToolBarButton20.Name = "ToolBarButton20";
     this.ToolBarButton20.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ToolBarButton6
     //
     this.ToolBarButton6.ImageIndex = 4;
     this.ToolBarButton6.Name = "ToolBarButton6";
     this.ToolBarButton6.Text = "转台";
     this.ToolBarButton6.ToolTipText = "对选中桌台进行转台操作";
     //
     // ToolBarButton7
     //
     this.ToolBarButton7.ImageIndex = 5;
     this.ToolBarButton7.Name = "ToolBarButton7";
     this.ToolBarButton7.Text = "并台";
     this.ToolBarButton7.ToolTipText = "对选中桌台进行并台操作";
     //
     // ToolBarButton21
     //
     this.ToolBarButton21.ImageIndex = 4;
     this.ToolBarButton21.Name = "ToolBarButton21";
     this.ToolBarButton21.Text = "转并台";
     //
     // ToolBarButton8
     //
     this.ToolBarButton8.Name = "ToolBarButton8";
     this.ToolBarButton8.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ToolBarButton12
     //
     this.ToolBarButton12.ImageIndex = 6;
     this.ToolBarButton12.Name = "ToolBarButton12";
     this.ToolBarButton12.Text = "套餐";
     this.ToolBarButton12.ToolTipText = "向选中桌台及当前单据添加套餐";
     //
     // ToolBarButton18
     //
     this.ToolBarButton18.Name = "ToolBarButton18";
     this.ToolBarButton18.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ToolBarButton9
     //
     this.ToolBarButton9.ImageIndex = 9;
     this.ToolBarButton9.Name = "ToolBarButton9";
     this.ToolBarButton9.Text = "删单据";
     this.ToolBarButton9.ToolTipText = "删除当前单据";
     //
     // ToolBarButton10
     //
     this.ToolBarButton10.ImageIndex = 10;
     this.ToolBarButton10.Name = "ToolBarButton10";
     this.ToolBarButton10.Text = "删菜品";
     this.ToolBarButton10.ToolTipText = "删除当前选中的菜品";
     //
     // ToolBarButton5
     //
     this.ToolBarButton5.Name = "ToolBarButton5";
     this.ToolBarButton5.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ToolBarButton19
     //
     this.ToolBarButton19.ImageIndex = 14;
     this.ToolBarButton19.Name = "ToolBarButton19";
     this.ToolBarButton19.Text = "消费单";
     //
     // ToolBarButton17
     //
     this.ToolBarButton17.ImageIndex = 8;
     this.ToolBarButton17.Name = "ToolBarButton17";
     this.ToolBarButton17.Text = "结帐";
     this.ToolBarButton17.ToolTipText = "对当前桌台进行结账操作";
     //
     // ToolBarButton11
     //
     this.ToolBarButton11.Name = "ToolBarButton11";
     this.ToolBarButton11.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ToolBarButton13
     //
     this.ToolBarButton13.ImageIndex = 13;
     this.ToolBarButton13.Name = "ToolBarButton13";
     this.ToolBarButton13.Text = "返位";
     this.ToolBarButton13.ToolTipText = "将已结帐的桌台重新设为开台状态并还原结帐金额";
     //
     // ToolBarButton14
     //
     this.ToolBarButton14.Name = "ToolBarButton14";
     this.ToolBarButton14.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ToolBarButton16
     //
     this.ToolBarButton16.ImageIndex = 11;
     this.ToolBarButton16.Name = "ToolBarButton16";
     this.ToolBarButton16.Text = "关闭";
     this.ToolBarButton16.ToolTipText = "关闭当前窗口";
     //
     // cbFoodType
     //
     this.cbFoodType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cbFoodType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbFoodType.Location = new System.Drawing.Point(672, 88);
     this.cbFoodType.MaxDropDownItems = 15;
     this.cbFoodType.Name = "cbFoodType";
     this.cbFoodType.Size = new System.Drawing.Size(168, 20);
     this.cbFoodType.TabIndex = 21;
     this.cbFoodType.SelectedIndexChanged += new System.EventHandler(this.cbFoodType_SelectedIndexChanged);
     //
     // cbDeptList
     //
     this.cbDeptList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cbDeptList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbDeptList.Location = new System.Drawing.Point(672, 64);
     this.cbDeptList.MaxDropDownItems = 15;
     this.cbDeptList.Name = "cbDeptList";
     this.cbDeptList.Size = new System.Drawing.Size(168, 20);
     this.cbDeptList.TabIndex = 22;
     this.cbDeptList.SelectedIndexChanged += new System.EventHandler(this.cbDeptList_SelectedIndexChanged);
     //
     // Label3
     //
     this.Label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.Label3.Location = new System.Drawing.Point(608, 64);
     this.Label3.Name = "Label3";
     this.Label3.Size = new System.Drawing.Size(64, 23);
     this.Label3.TabIndex = 23;
     this.Label3.Text = "部门:";
     this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // InputBill
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize = new System.Drawing.Size(848, 630);
     this.Controls.Add(this.cbDeptList);
     this.Controls.Add(this.Label3);
     this.Controls.Add(this.ToolBar1);
     this.Controls.Add(this.LinkLabel1);
     this.Controls.Add(this.cbTableType);
     this.Controls.Add(this.Label6);
     this.Controls.Add(this.dgFoodList);
     this.Controls.Add(this.Panel1);
     this.Controls.Add(this.dgTableStatus);
     this.Controls.Add(this.cbFoodType);
     this.Controls.Add(this.txtFoodCode);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview = true;
     this.Name = "InputBill";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "输入单据";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Closed += new System.EventHandler(this.InputBill_Closed);
     this.Load += new System.EventHandler(this.InputBill_Load);
     this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.InputBill_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.dgTableStatus)).EndInit();
     this.Panel1.ResumeLayout(false);
     this.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numOpenPsn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgSaleFoods)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgFoodList)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #15
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.pnlBottom = new System.Windows.Forms.Panel();
       this.btnCancel = new System.Windows.Forms.Button();
       this.btnOk = new System.Windows.Forms.Button();
       this.pHeader = new Ndi.HelpDesk.UI.Controls.InfoBarLite();
       this.txtDescription = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.txtName = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.label2 = new System.Windows.Forms.Label();
       this.label1 = new System.Windows.Forms.Label();
       this.cmbStatus = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.label16 = new System.Windows.Forms.Label();
       this.txtNonregisteredPartners = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.label3 = new System.Windows.Forms.Label();
       this.cmbResponsible = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.label4 = new System.Windows.Forms.Label();
       this.cmbCoordinator1 = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.label5 = new System.Windows.Forms.Label();
       this.cmbCoordinator2 = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.label6 = new System.Windows.Forms.Label();
       this.cbxActivate = new System.Windows.Forms.CheckBox();
       this.label7 = new System.Windows.Forms.Label();
       this.label8 = new System.Windows.Forms.Label();
       this.tabControl = new System.Windows.Forms.TabControl();
       this.tabPageBase = new System.Windows.Forms.TabPage();
       this.lstAvaiableRegion1 = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.lstSelectedRegion = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.btnNoRegion = new System.Windows.Forms.Button();
       this.btnAllRegion = new System.Windows.Forms.Button();
       this.btnRemoveRegion = new System.Windows.Forms.Button();
       this.label19 = new System.Windows.Forms.Label();
       this.label18 = new System.Windows.Forms.Label();
       this.label17 = new System.Windows.Forms.Label();
       this.txtOrganisation = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.txtCategory = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.txtFinishDate = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.txtStartDate = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.label14 = new System.Windows.Forms.Label();
       this.label11 = new System.Windows.Forms.Label();
       this.btnAddRegion = new System.Windows.Forms.Button();
       this.tabPageExpert = new System.Windows.Forms.TabPage();
       this.dtgExpertDetail = new Ndi.HelpDesk.UI.Controls.GreptonDataGrid();
       this.customStylesCollection2 = new Ndi.HelpDesk.UI.Controls.CustomStylesCollection();
       this.colExpertNameDetail = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colEmailDetail = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colAddressDetail = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colPhoneDetail = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colActiveDetail = new System.Windows.Forms.DataGridBoolColumn();
       this.btnDetailExpert = new System.Windows.Forms.Button();
       this.btnRemoveExpert = new System.Windows.Forms.Button();
       this.btnAddExpert = new System.Windows.Forms.Button();
       this.label10 = new System.Windows.Forms.Label();
       this.dtgExpert = new Ndi.HelpDesk.UI.Controls.GreptonDataGrid();
       this.customStylesCollection6 = new Ndi.HelpDesk.UI.Controls.CustomStylesCollection();
       this.colExpertName = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colEmail = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colAddress = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colPhone = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colActiveExpert = new System.Windows.Forms.DataGridBoolColumn();
       this.tabPageAttachment = new System.Windows.Forms.TabPage();
       this.btnActivate = new System.Windows.Forms.Button();
       this.btnModifyAttachment = new System.Windows.Forms.Button();
       this.btnNewAttachment = new System.Windows.Forms.Button();
       this.label12 = new System.Windows.Forms.Label();
       this.dtgAttachment = new Ndi.HelpDesk.UI.Controls.GreptonDataGrid();
       this.customStylesCollection5 = new Ndi.HelpDesk.UI.Controls.CustomStylesCollection();
       this.colNameAtt = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colPath = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colKeywords = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colCreatedDate = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colFileSize = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colActiveAtt = new System.Windows.Forms.DataGridBoolColumn();
       this.tabPageOrganisation = new System.Windows.Forms.TabPage();
       this.dtgOrgDetail = new Ndi.HelpDesk.UI.Controls.GreptonDataGrid();
       this.customStylesCollection3 = new Ndi.HelpDesk.UI.Controls.CustomStylesCollection();
       this.colNameOrg = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colRegionOrg = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colActiveOrg = new System.Windows.Forms.DataGridBoolColumn();
       this.btnDetailOrganisation = new System.Windows.Forms.Button();
       this.btnRemoveOrganisation = new System.Windows.Forms.Button();
       this.btnAddOrganisation = new System.Windows.Forms.Button();
       this.label9 = new System.Windows.Forms.Label();
       this.dtgOrg = new Ndi.HelpDesk.UI.Controls.GreptonDataGrid();
       this.customStylesCollection1 = new Ndi.HelpDesk.UI.Controls.CustomStylesCollection();
       this.dtgOrgSelected = new Ndi.HelpDesk.UI.Controls.GreptonDataGrid();
       this.colName = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colRegion = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colActive = new System.Windows.Forms.DataGridBoolColumn();
       this.tabPageKeyword = new System.Windows.Forms.TabPage();
       this.dtgThesaurusDetail = new Ndi.HelpDesk.UI.Controls.GreptonDataGrid();
       this.customStylesCollection7 = new Ndi.HelpDesk.UI.Controls.CustomStylesCollection();
       this.colKeywordDetail = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colActiveThesaurusDetail = new System.Windows.Forms.DataGridBoolColumn();
       this.btnDetailThesaurus = new System.Windows.Forms.Button();
       this.btnRemoveThesaurus = new System.Windows.Forms.Button();
       this.btnAddThesaurus = new System.Windows.Forms.Button();
       this.label15 = new System.Windows.Forms.Label();
       this.dtgThesaurus = new Ndi.HelpDesk.UI.Controls.GreptonDataGrid();
       this.customStylesCollection4 = new Ndi.HelpDesk.UI.Controls.CustomStylesCollection();
       this.colKeyword = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colActiveThesaurus = new System.Windows.Forms.DataGridBoolColumn();
       this.label13 = new System.Windows.Forms.Label();
       this.pnlBottom.SuspendLayout();
       this.tabControl.SuspendLayout();
       this.tabPageBase.SuspendLayout();
       this.tabPageExpert.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgExpertDetail)).BeginInit();
       ((System.ComponentModel.ISupportInitialize)(this.dtgExpert)).BeginInit();
       this.tabPageAttachment.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgAttachment)).BeginInit();
       this.tabPageOrganisation.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgOrgDetail)).BeginInit();
       ((System.ComponentModel.ISupportInitialize)(this.dtgOrg)).BeginInit();
       ((System.ComponentModel.ISupportInitialize)(this.dtgOrgSelected)).BeginInit();
       this.tabPageKeyword.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgThesaurusDetail)).BeginInit();
       ((System.ComponentModel.ISupportInitialize)(this.dtgThesaurus)).BeginInit();
       this.SuspendLayout();
       //
       // pnlBottom
       //
       this.pnlBottom.Controls.Add(this.btnCancel);
       this.pnlBottom.Controls.Add(this.btnOk);
       this.pnlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
       this.pnlBottom.Location = new System.Drawing.Point(0, 573);
       this.pnlBottom.Name = "pnlBottom";
       this.pnlBottom.Size = new System.Drawing.Size(804, 45);
       this.pnlBottom.TabIndex = 2;
       //
       // btnCancel
       //
       this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
       this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnCancel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnCancel.Location = new System.Drawing.Point(705, 14);
       this.btnCancel.Name = "btnCancel";
       this.btnCancel.Size = new System.Drawing.Size(84, 23);
       this.btnCancel.TabIndex = 1;
       this.btnCancel.Text = "Mégse";
       //
       // btnOk
       //
       this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
       this.btnOk.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnOk.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnOk.Location = new System.Drawing.Point(609, 14);
       this.btnOk.Name = "btnOk";
       this.btnOk.Size = new System.Drawing.Size(84, 23);
       this.btnOk.TabIndex = 0;
       this.btnOk.Text = "Rendben";
       this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
       //
       // pHeader
       //
       this.pHeader.BackColor = System.Drawing.SystemColors.Window;
       this.pHeader.BackStyle = Ndi.HelpDesk.UI.Controls.BackStyle.Solid;
       this.pHeader.BorderSide = System.Windows.Forms.Border3DSide.Bottom;
       this.pHeader.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
       this.pHeader.Dock = System.Windows.Forms.DockStyle.Top;
       this.pHeader.GradientEndColor = System.Drawing.Color.White;
       this.pHeader.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
       this.pHeader.GradientStartColor = System.Drawing.Color.DeepSkyBlue;
       this.pHeader.Image = null;
       this.pHeader.ImageAlign = Ndi.HelpDesk.UI.Controls.ImageAlignment.TopLeft;
       this.pHeader.ImageOffsetX = 2;
       this.pHeader.ImageOffsetY = 0;
       this.pHeader.Location = new System.Drawing.Point(0, 0);
       this.pHeader.Name = "pHeader";
       this.pHeader.Size = new System.Drawing.Size(804, 46);
       this.pHeader.TabIndex = 0;
       this.pHeader.TabStop = false;
       this.pHeader.Text1 = "Programok";
       this.pHeader.Text1Font = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Bold);
       this.pHeader.Text1ForeColor = System.Drawing.SystemColors.ControlText;
       this.pHeader.Text1OffsetX = 0;
       this.pHeader.Text1OffsetY = 0;
       this.pHeader.Text2 = "Program szerkesztése";
       this.pHeader.Text2Font = new System.Drawing.Font("Segoe UI", 8F);
       this.pHeader.Text2ForeColor = System.Drawing.SystemColors.ControlText;
       this.pHeader.Text2OffsetX = 20;
       this.pHeader.Text2OffsetY = 0;
       //
       // txtDescription
       //
       this.txtDescription.AllowNull = false;
       this.txtDescription.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtDescription.InvalidCharSet = "";
       this.txtDescription.Location = new System.Drawing.Point(14, 203);
       this.txtDescription.MaxLength = 5000;
       this.txtDescription.Multiline = true;
       this.txtDescription.Name = "txtDescription";
       this.txtDescription.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtDescription.ScrollBars = System.Windows.Forms.ScrollBars.Both;
       this.txtDescription.Size = new System.Drawing.Size(754, 143);
       this.txtDescription.TabIndex = 20;
       this.txtDescription.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtDescription.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtDescription.ValidationMask = "";
       this.txtDescription.ValidCharSet = "";
       //
       // txtName
       //
       this.txtName.AllowNull = false;
       this.txtName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtName.InvalidCharSet = "";
       this.txtName.Location = new System.Drawing.Point(130, 14);
       this.txtName.MaxLength = 250;
       this.txtName.Name = "txtName";
       this.txtName.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtName.Size = new System.Drawing.Size(580, 22);
       this.txtName.TabIndex = 1;
       this.txtName.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtName.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtName.ValidationMask = "";
       this.txtName.ValidCharSet = "";
       //
       // label2
       //
       this.label2.Location = new System.Drawing.Point(14, 185);
       this.label2.Name = "label2";
       this.label2.Size = new System.Drawing.Size(183, 18);
       this.label2.TabIndex = 19;
       this.label2.Text = "A program részletes leírása:";
       //
       // label1
       //
       this.label1.Location = new System.Drawing.Point(14, 18);
       this.label1.Name = "label1";
       this.label1.Size = new System.Drawing.Size(106, 19);
       this.label1.TabIndex = 0;
       this.label1.Text = "Program neve:";
       //
       // cmbStatus
       //
       this.cmbStatus.AllowNull = false;
       this.cmbStatus.BreakSort = false;
       this.cmbStatus.Location = new System.Drawing.Point(528, 69);
       this.cmbStatus.Name = "cmbStatus";
       this.cmbStatus.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbStatus.Size = new System.Drawing.Size(182, 24);
       this.cmbStatus.TabIndex = 13;
       this.cmbStatus.ToolBarUse = false;
       this.cmbStatus.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // label16
       //
       this.label16.Location = new System.Drawing.Point(418, 74);
       this.label16.Name = "label16";
       this.label16.Size = new System.Drawing.Size(96, 18);
       this.label16.TabIndex = 12;
       this.label16.Text = "Státusz:";
       //
       // txtNonregisteredPartners
       //
       this.txtNonregisteredPartners.AllowNull = true;
       this.txtNonregisteredPartners.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtNonregisteredPartners.InvalidCharSet = "";
       this.txtNonregisteredPartners.Location = new System.Drawing.Point(14, 272);
       this.txtNonregisteredPartners.Multiline = true;
       this.txtNonregisteredPartners.Name = "txtNonregisteredPartners";
       this.txtNonregisteredPartners.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtNonregisteredPartners.Size = new System.Drawing.Size(778, 65);
       this.txtNonregisteredPartners.TabIndex = 7;
       this.txtNonregisteredPartners.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtNonregisteredPartners.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtNonregisteredPartners.ValidationMask = "";
       this.txtNonregisteredPartners.ValidCharSet = "";
       //
       // label3
       //
       this.label3.Location = new System.Drawing.Point(14, 254);
       this.label3.Name = "label3";
       this.label3.Size = new System.Drawing.Size(240, 18);
       this.label3.TabIndex = 6;
       this.label3.Text = "Nem regisztrált résztvevõ szervezetek:";
       //
       // cmbResponsible
       //
       this.cmbResponsible.AllowNull = true;
       this.cmbResponsible.BreakSort = false;
       this.cmbResponsible.Location = new System.Drawing.Point(130, 97);
       this.cmbResponsible.Name = "cmbResponsible";
       this.cmbResponsible.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbResponsible.Size = new System.Drawing.Size(264, 24);
       this.cmbResponsible.TabIndex = 7;
       this.cmbResponsible.ToolBarUse = false;
       this.cmbResponsible.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // label4
       //
       this.label4.Location = new System.Drawing.Point(14, 102);
       this.label4.Name = "label4";
       this.label4.Size = new System.Drawing.Size(106, 18);
       this.label4.TabIndex = 6;
       this.label4.Text = "Felelõs:";
       //
       // cmbCoordinator1
       //
       this.cmbCoordinator1.AllowNull = true;
       this.cmbCoordinator1.BreakSort = false;
       this.cmbCoordinator1.Location = new System.Drawing.Point(130, 125);
       this.cmbCoordinator1.Name = "cmbCoordinator1";
       this.cmbCoordinator1.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbCoordinator1.Size = new System.Drawing.Size(264, 24);
       this.cmbCoordinator1.TabIndex = 9;
       this.cmbCoordinator1.ToolBarUse = false;
       this.cmbCoordinator1.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // label5
       //
       this.label5.Location = new System.Drawing.Point(14, 129);
       this.label5.Name = "label5";
       this.label5.Size = new System.Drawing.Size(106, 19);
       this.label5.TabIndex = 8;
       this.label5.Text = "Koordinátor 1:";
       //
       // cmbCoordinator2
       //
       this.cmbCoordinator2.AllowNull = true;
       this.cmbCoordinator2.BreakSort = false;
       this.cmbCoordinator2.Location = new System.Drawing.Point(130, 152);
       this.cmbCoordinator2.Name = "cmbCoordinator2";
       this.cmbCoordinator2.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbCoordinator2.Size = new System.Drawing.Size(264, 24);
       this.cmbCoordinator2.TabIndex = 11;
       this.cmbCoordinator2.ToolBarUse = false;
       this.cmbCoordinator2.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // label6
       //
       this.label6.Location = new System.Drawing.Point(14, 157);
       this.label6.Name = "label6";
       this.label6.Size = new System.Drawing.Size(106, 18);
       this.label6.TabIndex = 10;
       this.label6.Text = "Koordinátor 2:";
       //
       // cbxActivate
       //
       this.cbxActivate.Location = new System.Drawing.Point(528, 152);
       this.cbxActivate.Name = "cbxActivate";
       this.cbxActivate.Size = new System.Drawing.Size(125, 28);
       this.cbxActivate.TabIndex = 18;
       this.cbxActivate.Text = "Aktív";
       //
       // label7
       //
       this.label7.Location = new System.Drawing.Point(418, 102);
       this.label7.Name = "label7";
       this.label7.Size = new System.Drawing.Size(105, 18);
       this.label7.TabIndex = 14;
       this.label7.Text = "Indulás dátuma:";
       //
       // label8
       //
       this.label8.Location = new System.Drawing.Point(418, 129);
       this.label8.Name = "label8";
       this.label8.Size = new System.Drawing.Size(105, 19);
       this.label8.TabIndex = 16;
       this.label8.Text = "Lezárás dátuma:";
       //
       // tabControl
       //
       this.tabControl.Controls.Add(this.tabPageBase);
       this.tabControl.Controls.Add(this.tabPageExpert);
       this.tabControl.Controls.Add(this.tabPageAttachment);
       this.tabControl.Controls.Add(this.tabPageOrganisation);
       this.tabControl.Controls.Add(this.tabPageKeyword);
       this.tabControl.Dock = System.Windows.Forms.DockStyle.Fill;
       this.tabControl.Location = new System.Drawing.Point(0, 46);
       this.tabControl.Name = "tabControl";
       this.tabControl.SelectedIndex = 0;
       this.tabControl.Size = new System.Drawing.Size(804, 527);
       this.tabControl.TabIndex = 1;
       //
       // tabPageBase
       //
       this.tabPageBase.Controls.Add(this.lstAvaiableRegion1);
       this.tabPageBase.Controls.Add(this.lstSelectedRegion);
       this.tabPageBase.Controls.Add(this.btnNoRegion);
       this.tabPageBase.Controls.Add(this.btnAllRegion);
       this.tabPageBase.Controls.Add(this.btnRemoveRegion);
       this.tabPageBase.Controls.Add(this.label19);
       this.tabPageBase.Controls.Add(this.label18);
       this.tabPageBase.Controls.Add(this.label17);
       this.tabPageBase.Controls.Add(this.txtOrganisation);
       this.tabPageBase.Controls.Add(this.txtCategory);
       this.tabPageBase.Controls.Add(this.txtFinishDate);
       this.tabPageBase.Controls.Add(this.txtStartDate);
       this.tabPageBase.Controls.Add(this.label14);
       this.tabPageBase.Controls.Add(this.label11);
       this.tabPageBase.Controls.Add(this.label1);
       this.tabPageBase.Controls.Add(this.label2);
       this.tabPageBase.Controls.Add(this.txtName);
       this.tabPageBase.Controls.Add(this.txtDescription);
       this.tabPageBase.Controls.Add(this.label6);
       this.tabPageBase.Controls.Add(this.cmbCoordinator2);
       this.tabPageBase.Controls.Add(this.cmbResponsible);
       this.tabPageBase.Controls.Add(this.label4);
       this.tabPageBase.Controls.Add(this.cmbCoordinator1);
       this.tabPageBase.Controls.Add(this.label5);
       this.tabPageBase.Controls.Add(this.cmbStatus);
       this.tabPageBase.Controls.Add(this.label16);
       this.tabPageBase.Controls.Add(this.label7);
       this.tabPageBase.Controls.Add(this.label8);
       this.tabPageBase.Controls.Add(this.cbxActivate);
       this.tabPageBase.Controls.Add(this.btnAddRegion);
       this.tabPageBase.Location = new System.Drawing.Point(4, 25);
       this.tabPageBase.Name = "tabPageBase";
       this.tabPageBase.Size = new System.Drawing.Size(796, 498);
       this.tabPageBase.TabIndex = 0;
       this.tabPageBase.Text = "Alapadatok";
       //
       // lstAvaiableRegion1
       //
       this.lstAvaiableRegion1.AllowNull = true;
       this.lstAvaiableRegion1.BreakSort = false;
       this.lstAvaiableRegion1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.Simple;
       this.lstAvaiableRegion1.Location = new System.Drawing.Point(475, 374);
       this.lstAvaiableRegion1.Name = "lstAvaiableRegion1";
       this.lstAvaiableRegion1.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.lstAvaiableRegion1.Size = new System.Drawing.Size(231, 111);
       this.lstAvaiableRegion1.TabIndex = 29;
       this.lstAvaiableRegion1.ToolBarUse = false;
       this.lstAvaiableRegion1.ValidationErrorMessage = "Érvénytelen karakter!";
       this.lstAvaiableRegion1.DoubleClick += new System.EventHandler(this.lstAvaiableRegion1_DoubleClick);
       //
       // lstSelectedRegion
       //
       this.lstSelectedRegion.AllowNull = false;
       this.lstSelectedRegion.BreakSort = false;
       this.lstSelectedRegion.DropDownStyle = System.Windows.Forms.ComboBoxStyle.Simple;
       this.lstSelectedRegion.Location = new System.Drawing.Point(130, 374);
       this.lstSelectedRegion.Name = "lstSelectedRegion";
       this.lstSelectedRegion.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.lstSelectedRegion.Size = new System.Drawing.Size(230, 111);
       this.lstSelectedRegion.TabIndex = 23;
       this.lstSelectedRegion.ToolBarUse = false;
       this.lstSelectedRegion.ValidationErrorMessage = "Érvénytelen karakter!";
       this.lstSelectedRegion.DoubleClick += new System.EventHandler(this.lstSelectedRegion_DoubleClick);
       //
       // btnNoRegion
       //
       this.btnNoRegion.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnNoRegion.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnNoRegion.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnNoRegion.Location = new System.Drawing.Point(376, 459);
       this.btnNoRegion.Name = "btnNoRegion";
       this.btnNoRegion.Size = new System.Drawing.Size(96, 23);
       this.btnNoRegion.TabIndex = 27;
       this.btnNoRegion.Text = "Egyik sem>";
       this.btnNoRegion.Click += new System.EventHandler(this.btnNoRegion_Click);
       //
       // btnAllRegion
       //
       this.btnAllRegion.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnAllRegion.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnAllRegion.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnAllRegion.Location = new System.Drawing.Point(376, 431);
       this.btnAllRegion.Name = "btnAllRegion";
       this.btnAllRegion.Size = new System.Drawing.Size(96, 23);
       this.btnAllRegion.TabIndex = 26;
       this.btnAllRegion.Text = "<Mind";
       this.btnAllRegion.Click += new System.EventHandler(this.btnAllRegion_Click);
       //
       // btnRemoveRegion
       //
       this.btnRemoveRegion.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnRemoveRegion.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnRemoveRegion.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnRemoveRegion.Location = new System.Drawing.Point(376, 404);
       this.btnRemoveRegion.Name = "btnRemoveRegion";
       this.btnRemoveRegion.Size = new System.Drawing.Size(96, 23);
       this.btnRemoveRegion.TabIndex = 25;
       this.btnRemoveRegion.Text = "Eltávolít>";
       this.btnRemoveRegion.Click += new System.EventHandler(this.btnRemoveRegion_Click);
       //
       // label19
       //
       this.label19.Location = new System.Drawing.Point(475, 351);
       this.label19.Name = "label19";
       this.label19.Size = new System.Drawing.Size(202, 18);
       this.label19.TabIndex = 28;
       this.label19.Text = "Választható megyék:";
       //
       // label18
       //
       this.label18.Location = new System.Drawing.Point(130, 351);
       this.label18.Name = "label18";
       this.label18.Size = new System.Drawing.Size(230, 18);
       this.label18.TabIndex = 22;
       this.label18.Text = "Kiválasztott megyék:";
       //
       // label17
       //
       this.label17.Location = new System.Drawing.Point(14, 374);
       this.label17.Name = "label17";
       this.label17.Size = new System.Drawing.Size(106, 18);
       this.label17.TabIndex = 21;
       this.label17.Text = "Megyék:";
       //
       // txtOrganisation
       //
       this.txtOrganisation.AllowNull = true;
       this.txtOrganisation.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtOrganisation.InvalidCharSet = "";
       this.txtOrganisation.Location = new System.Drawing.Point(130, 42);
       this.txtOrganisation.MaxLength = 10;
       this.txtOrganisation.Name = "txtOrganisation";
       this.txtOrganisation.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtOrganisation.ReadOnly = true;
       this.txtOrganisation.Size = new System.Drawing.Size(580, 22);
       this.txtOrganisation.TabIndex = 3;
       this.txtOrganisation.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtOrganisation.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtOrganisation.ValidationMask = "";
       this.txtOrganisation.ValidCharSet = "";
       //
       // txtCategory
       //
       this.txtCategory.AllowNull = true;
       this.txtCategory.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtCategory.InvalidCharSet = "";
       this.txtCategory.Location = new System.Drawing.Point(130, 69);
       this.txtCategory.MaxLength = 10;
       this.txtCategory.Name = "txtCategory";
       this.txtCategory.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtCategory.ReadOnly = true;
       this.txtCategory.Size = new System.Drawing.Size(264, 22);
       this.txtCategory.TabIndex = 5;
       this.txtCategory.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtCategory.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtCategory.ValidationMask = "";
       this.txtCategory.ValidCharSet = "";
       //
       // txtFinishDate
       //
       this.txtFinishDate.AllowNull = true;
       this.txtFinishDate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtFinishDate.InvalidCharSet = "";
       this.txtFinishDate.Location = new System.Drawing.Point(528, 125);
       this.txtFinishDate.MaxLength = 50;
       this.txtFinishDate.Name = "txtFinishDate";
       this.txtFinishDate.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtFinishDate.Size = new System.Drawing.Size(182, 22);
       this.txtFinishDate.TabIndex = 17;
       this.txtFinishDate.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtFinishDate.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtFinishDate.ValidationMask = "";
       this.txtFinishDate.ValidCharSet = "";
       //
       // txtStartDate
       //
       this.txtStartDate.AllowNull = true;
       this.txtStartDate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtStartDate.InvalidCharSet = "";
       this.txtStartDate.Location = new System.Drawing.Point(528, 97);
       this.txtStartDate.MaxLength = 50;
       this.txtStartDate.Name = "txtStartDate";
       this.txtStartDate.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtStartDate.Size = new System.Drawing.Size(182, 22);
       this.txtStartDate.TabIndex = 15;
       this.txtStartDate.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtStartDate.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtStartDate.ValidationMask = "";
       this.txtStartDate.ValidCharSet = "";
       //
       // label14
       //
       this.label14.Location = new System.Drawing.Point(14, 46);
       this.label14.Name = "label14";
       this.label14.Size = new System.Drawing.Size(106, 19);
       this.label14.TabIndex = 2;
       this.label14.Text = "Szervezet:";
       //
       // label11
       //
       this.label11.Location = new System.Drawing.Point(14, 74);
       this.label11.Name = "label11";
       this.label11.Size = new System.Drawing.Size(106, 18);
       this.label11.TabIndex = 4;
       this.label11.Text = "Kategória:";
       //
       // btnAddRegion
       //
       this.btnAddRegion.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnAddRegion.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnAddRegion.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnAddRegion.Location = new System.Drawing.Point(376, 375);
       this.btnAddRegion.Name = "btnAddRegion";
       this.btnAddRegion.Size = new System.Drawing.Size(96, 24);
       this.btnAddRegion.TabIndex = 24;
       this.btnAddRegion.Text = "<Hozzáad";
       this.btnAddRegion.Click += new System.EventHandler(this.btnAddRegion_Click);
       //
       // tabPageExpert
       //
       this.tabPageExpert.Controls.Add(this.dtgExpertDetail);
       this.tabPageExpert.Controls.Add(this.btnDetailExpert);
       this.tabPageExpert.Controls.Add(this.btnRemoveExpert);
       this.tabPageExpert.Controls.Add(this.btnAddExpert);
       this.tabPageExpert.Controls.Add(this.label10);
       this.tabPageExpert.Controls.Add(this.dtgExpert);
       this.tabPageExpert.Location = new System.Drawing.Point(4, 25);
       this.tabPageExpert.Name = "tabPageExpert";
       this.tabPageExpert.Size = new System.Drawing.Size(796, 498);
       this.tabPageExpert.TabIndex = 2;
       this.tabPageExpert.Text = "Szakemberek";
       //
       // dtgExpertDetail
       //
       this.dtgExpertDetail.BackgroundColor = System.Drawing.SystemColors.Window;
       this.dtgExpertDetail.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.dtgExpertDetail.CaptionBackColor = System.Drawing.SystemColors.Highlight;
       this.dtgExpertDetail.CaptionVisible = false;
       this.dtgExpertDetail.DataMember = "";
       this.dtgExpertDetail.GridLineColor = System.Drawing.SystemColors.ControlLight;
       this.dtgExpertDetail.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.dtgExpertDetail.Location = new System.Drawing.Point(566, 37);
       this.dtgExpertDetail.Name = "dtgExpertDetail";
       this.dtgExpertDetail.ReadOnly = true;
       this.dtgExpertDetail.RowHeaderWidth = 3;
       this.dtgExpertDetail.Size = new System.Drawing.Size(221, 300);
       this.dtgExpertDetail.TabIndex = 5;
       this.dtgExpertDetail.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.customStylesCollection2});
       this.dtgExpertDetail.DoubleClick += new System.EventHandler(this.dtgExpertDetail_DoubleClick);
       //
       // customStylesCollection2
       //
       this.customStylesCollection2.DataGrid = this.dtgExpertDetail;
       this.customStylesCollection2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.colExpertNameDetail,
     this.colEmailDetail,
     this.colAddressDetail,
     this.colPhoneDetail,
     this.colActiveDetail});
       this.customStylesCollection2.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       //
       // colExpertNameDetail
       //
       this.colExpertNameDetail.Format = "";
       this.colExpertNameDetail.FormatInfo = null;
       this.colExpertNameDetail.HeaderText = "Név";
       this.colExpertNameDetail.MappingName = "ExpertName";
       this.colExpertNameDetail.Width = 75;
       //
       // colEmailDetail
       //
       this.colEmailDetail.Format = "";
       this.colEmailDetail.FormatInfo = null;
       this.colEmailDetail.HeaderText = "E-mail cím";
       this.colEmailDetail.MappingName = "Email1";
       this.colEmailDetail.Width = 75;
       //
       // colAddressDetail
       //
       this.colAddressDetail.Format = "";
       this.colAddressDetail.FormatInfo = null;
       this.colAddressDetail.HeaderText = "Cím";
       this.colAddressDetail.MappingName = "Address";
       this.colAddressDetail.Width = 75;
       //
       // colPhoneDetail
       //
       this.colPhoneDetail.Format = "";
       this.colPhoneDetail.FormatInfo = null;
       this.colPhoneDetail.HeaderText = "Telefon";
       this.colPhoneDetail.MappingName = "Phone1";
       this.colPhoneDetail.Width = 75;
       //
       // colActiveDetail
       //
       this.colActiveDetail.HeaderText = "Aktív";
       this.colActiveDetail.MappingName = "IsActive";
       this.colActiveDetail.Width = 75;
       //
       // btnDetailExpert
       //
       this.btnDetailExpert.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnDetailExpert.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnDetailExpert.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnDetailExpert.Location = new System.Drawing.Point(451, 398);
       this.btnDetailExpert.Name = "btnDetailExpert";
       this.btnDetailExpert.Size = new System.Drawing.Size(96, 26);
       this.btnDetailExpert.TabIndex = 4;
       this.btnDetailExpert.Text = "Részletek";
       this.btnDetailExpert.Click += new System.EventHandler(this.btnDetailExpert_Click);
       //
       // btnRemoveExpert
       //
       this.btnRemoveExpert.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnRemoveExpert.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnRemoveExpert.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnRemoveExpert.Location = new System.Drawing.Point(451, 214);
       this.btnRemoveExpert.Name = "btnRemoveExpert";
       this.btnRemoveExpert.Size = new System.Drawing.Size(96, 23);
       this.btnRemoveExpert.TabIndex = 3;
       this.btnRemoveExpert.Text = "< Eltávolít";
       this.btnRemoveExpert.Click += new System.EventHandler(this.btnRemoveExpert_Click);
       //
       // btnAddExpert
       //
       this.btnAddExpert.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnAddExpert.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnAddExpert.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnAddExpert.Location = new System.Drawing.Point(451, 182);
       this.btnAddExpert.Name = "btnAddExpert";
       this.btnAddExpert.Size = new System.Drawing.Size(96, 23);
       this.btnAddExpert.TabIndex = 2;
       this.btnAddExpert.Text = "Hozzáad >";
       this.btnAddExpert.Click += new System.EventHandler(this.btnAddExpert_Click);
       //
       // label10
       //
       this.label10.Location = new System.Drawing.Point(14, 14);
       this.label10.Name = "label10";
       this.label10.Size = new System.Drawing.Size(164, 23);
       this.label10.TabIndex = 0;
       this.label10.Text = "Résztvevõ szakemberek:";
       //
       // dtgExpert
       //
       this.dtgExpert.BackgroundColor = System.Drawing.SystemColors.Window;
       this.dtgExpert.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.dtgExpert.CaptionBackColor = System.Drawing.SystemColors.Highlight;
       this.dtgExpert.CaptionVisible = false;
       this.dtgExpert.DataMember = "";
       this.dtgExpert.GridLineColor = System.Drawing.SystemColors.ControlLight;
       this.dtgExpert.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.dtgExpert.Location = new System.Drawing.Point(14, 37);
       this.dtgExpert.Name = "dtgExpert";
       this.dtgExpert.ReadOnly = true;
       this.dtgExpert.RowHeaderWidth = 3;
       this.dtgExpert.Size = new System.Drawing.Size(428, 300);
       this.dtgExpert.TabIndex = 1;
       this.dtgExpert.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.customStylesCollection6});
       this.dtgExpert.DoubleClick += new System.EventHandler(this.dtgExpert_DoubleClick);
       //
       // customStylesCollection6
       //
       this.customStylesCollection6.DataGrid = this.dtgExpert;
       this.customStylesCollection6.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.colExpertName,
     this.colEmail,
     this.colAddress,
     this.colPhone,
     this.colActiveExpert});
       this.customStylesCollection6.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       //
       // colExpertName
       //
       this.colExpertName.Format = "";
       this.colExpertName.FormatInfo = null;
       this.colExpertName.HeaderText = "Név";
       this.colExpertName.MappingName = "ExpertName";
       this.colExpertName.Width = 75;
       //
       // colEmail
       //
       this.colEmail.Format = "";
       this.colEmail.FormatInfo = null;
       this.colEmail.HeaderText = "E-mail cím";
       this.colEmail.MappingName = "Email1";
       this.colEmail.Width = 75;
       //
       // colAddress
       //
       this.colAddress.Format = "";
       this.colAddress.FormatInfo = null;
       this.colAddress.HeaderText = "Cím";
       this.colAddress.MappingName = "Address";
       this.colAddress.Width = 75;
       //
       // colPhone
       //
       this.colPhone.Format = "";
       this.colPhone.FormatInfo = null;
       this.colPhone.HeaderText = "Telefon";
       this.colPhone.MappingName = "Phone1";
       this.colPhone.Width = 75;
       //
       // colActiveExpert
       //
       this.colActiveExpert.HeaderText = "Aktív";
       this.colActiveExpert.MappingName = "IsActive";
       this.colActiveExpert.Width = 75;
       //
       // tabPageAttachment
       //
       this.tabPageAttachment.Controls.Add(this.btnActivate);
       this.tabPageAttachment.Controls.Add(this.btnModifyAttachment);
       this.tabPageAttachment.Controls.Add(this.btnNewAttachment);
       this.tabPageAttachment.Controls.Add(this.label12);
       this.tabPageAttachment.Controls.Add(this.dtgAttachment);
       this.tabPageAttachment.Location = new System.Drawing.Point(4, 25);
       this.tabPageAttachment.Name = "tabPageAttachment";
       this.tabPageAttachment.Size = new System.Drawing.Size(796, 498);
       this.tabPageAttachment.TabIndex = 3;
       this.tabPageAttachment.Text = "Dokumentumok";
       //
       // btnActivate
       //
       this.btnActivate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnActivate.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnActivate.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnActivate.Location = new System.Drawing.Point(693, 247);
       this.btnActivate.Name = "btnActivate";
       this.btnActivate.Size = new System.Drawing.Size(92, 23);
       this.btnActivate.TabIndex = 4;
       this.btnActivate.Text = "Aktiválás";
       this.btnActivate.Click += new System.EventHandler(this.btnActivate_Click);
       //
       // btnModifyAttachment
       //
       this.btnModifyAttachment.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnModifyAttachment.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnModifyAttachment.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnModifyAttachment.Location = new System.Drawing.Point(693, 214);
       this.btnModifyAttachment.Name = "btnModifyAttachment";
       this.btnModifyAttachment.Size = new System.Drawing.Size(92, 23);
       this.btnModifyAttachment.TabIndex = 3;
       this.btnModifyAttachment.Text = "Módosítás";
       this.btnModifyAttachment.Click += new System.EventHandler(this.btnModifyAttachment_Click);
       //
       // btnNewAttachment
       //
       this.btnNewAttachment.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnNewAttachment.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnNewAttachment.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnNewAttachment.Location = new System.Drawing.Point(693, 182);
       this.btnNewAttachment.Name = "btnNewAttachment";
       this.btnNewAttachment.Size = new System.Drawing.Size(92, 23);
       this.btnNewAttachment.TabIndex = 2;
       this.btnNewAttachment.Text = "Új";
       this.btnNewAttachment.Click += new System.EventHandler(this.btnNewAttachment_Click);
       //
       // label12
       //
       this.label12.Location = new System.Drawing.Point(14, 14);
       this.label12.Name = "label12";
       this.label12.Size = new System.Drawing.Size(164, 23);
       this.label12.TabIndex = 0;
       this.label12.Text = "Csatolt dokumentumok:";
       //
       // dtgAttachment
       //
       this.dtgAttachment.BackgroundColor = System.Drawing.SystemColors.Window;
       this.dtgAttachment.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.dtgAttachment.CaptionBackColor = System.Drawing.SystemColors.Highlight;
       this.dtgAttachment.CaptionVisible = false;
       this.dtgAttachment.DataMember = "";
       this.dtgAttachment.GridLineColor = System.Drawing.SystemColors.ControlLight;
       this.dtgAttachment.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.dtgAttachment.Location = new System.Drawing.Point(14, 37);
       this.dtgAttachment.Name = "dtgAttachment";
       this.dtgAttachment.ReadOnly = true;
       this.dtgAttachment.RowHeaderWidth = 3;
       this.dtgAttachment.Size = new System.Drawing.Size(668, 300);
       this.dtgAttachment.TabIndex = 1;
       this.dtgAttachment.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.customStylesCollection5});
       this.dtgAttachment.DoubleClick += new System.EventHandler(this.dtgAttachment_DoubleClick);
       //
       // customStylesCollection5
       //
       this.customStylesCollection5.DataGrid = this.dtgAttachment;
       this.customStylesCollection5.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.colNameAtt,
     this.colPath,
     this.colKeywords,
     this.colCreatedDate,
     this.colFileSize,
     this.colActiveAtt});
       this.customStylesCollection5.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       //
       // colNameAtt
       //
       this.colNameAtt.Format = "";
       this.colNameAtt.FormatInfo = null;
       this.colNameAtt.HeaderText = "Név";
       this.colNameAtt.MappingName = "Name";
       this.colNameAtt.Width = 150;
       //
       // colPath
       //
       this.colPath.Format = "";
       this.colPath.FormatInfo = null;
       this.colPath.HeaderText = "Fájl";
       this.colPath.MappingName = "Path";
       this.colPath.Width = 125;
       //
       // colKeywords
       //
       this.colKeywords.Format = "";
       this.colKeywords.FormatInfo = null;
       this.colKeywords.HeaderText = "Kulcsszavak";
       this.colKeywords.MappingName = "Keywords";
       this.colKeywords.Width = 75;
       //
       // colCreatedDate
       //
       this.colCreatedDate.Format = "";
       this.colCreatedDate.FormatInfo = null;
       this.colCreatedDate.HeaderText = "Létrehozás dátuma";
       this.colCreatedDate.MappingName = "CreatedDate";
       this.colCreatedDate.Width = 75;
       //
       // colFileSize
       //
       this.colFileSize.Format = "";
       this.colFileSize.FormatInfo = null;
       this.colFileSize.HeaderText = "Méret";
       this.colFileSize.MappingName = "nFileSize";
       this.colFileSize.Width = 75;
       //
       // colActiveAtt
       //
       this.colActiveAtt.HeaderText = "Aktív";
       this.colActiveAtt.MappingName = "IsActive";
       this.colActiveAtt.Width = 75;
       //
       // tabPageOrganisation
       //
       this.tabPageOrganisation.Controls.Add(this.dtgOrgDetail);
       this.tabPageOrganisation.Controls.Add(this.btnDetailOrganisation);
       this.tabPageOrganisation.Controls.Add(this.btnRemoveOrganisation);
       this.tabPageOrganisation.Controls.Add(this.btnAddOrganisation);
       this.tabPageOrganisation.Controls.Add(this.label9);
       this.tabPageOrganisation.Controls.Add(this.dtgOrg);
       this.tabPageOrganisation.Controls.Add(this.label3);
       this.tabPageOrganisation.Controls.Add(this.txtNonregisteredPartners);
       this.tabPageOrganisation.Location = new System.Drawing.Point(4, 25);
       this.tabPageOrganisation.Name = "tabPageOrganisation";
       this.tabPageOrganisation.Size = new System.Drawing.Size(796, 498);
       this.tabPageOrganisation.TabIndex = 1;
       this.tabPageOrganisation.Text = "Szervezetek";
       //
       // dtgOrgDetail
       //
       this.dtgOrgDetail.BackgroundColor = System.Drawing.SystemColors.Window;
       this.dtgOrgDetail.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.dtgOrgDetail.CaptionBackColor = System.Drawing.SystemColors.Highlight;
       this.dtgOrgDetail.CaptionVisible = false;
       this.dtgOrgDetail.DataMember = "";
       this.dtgOrgDetail.GridLineColor = System.Drawing.SystemColors.ControlLight;
       this.dtgOrgDetail.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.dtgOrgDetail.Location = new System.Drawing.Point(557, 37);
       this.dtgOrgDetail.Name = "dtgOrgDetail";
       this.dtgOrgDetail.ReadOnly = true;
       this.dtgOrgDetail.RowHeaderWidth = 3;
       this.dtgOrgDetail.Size = new System.Drawing.Size(235, 198);
       this.dtgOrgDetail.TabIndex = 5;
       this.dtgOrgDetail.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.customStylesCollection3});
       this.dtgOrgDetail.DoubleClick += new System.EventHandler(this.dtgOrgDetail_DoubleClick);
       //
       // customStylesCollection3
       //
       this.customStylesCollection3.DataGrid = this.dtgOrgDetail;
       this.customStylesCollection3.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.colNameOrg,
     this.colRegionOrg,
     this.colActiveOrg});
       this.customStylesCollection3.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       //
       // colNameOrg
       //
       this.colNameOrg.Format = "";
       this.colNameOrg.FormatInfo = null;
       this.colNameOrg.HeaderText = "Szervezet neve";
       this.colNameOrg.MappingName = "Name";
       this.colNameOrg.Width = 175;
       //
       // colRegionOrg
       //
       this.colRegionOrg.Format = "";
       this.colRegionOrg.FormatInfo = null;
       this.colRegionOrg.HeaderText = "Régió";
       this.colRegionOrg.MappingName = "RegionName";
       this.colRegionOrg.Width = 75;
       //
       // colActiveOrg
       //
       this.colActiveOrg.HeaderText = "Aktív";
       this.colActiveOrg.MappingName = "IsActive";
       this.colActiveOrg.Width = 75;
       //
       // btnDetailOrganisation
       //
       this.btnDetailOrganisation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnDetailOrganisation.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnDetailOrganisation.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnDetailOrganisation.Location = new System.Drawing.Point(446, 343);
       this.btnDetailOrganisation.Name = "btnDetailOrganisation";
       this.btnDetailOrganisation.Size = new System.Drawing.Size(96, 23);
       this.btnDetailOrganisation.TabIndex = 4;
       this.btnDetailOrganisation.Text = "Részletek";
       this.btnDetailOrganisation.Click += new System.EventHandler(this.btnDetailOrganisation_Click);
       //
       // btnRemoveOrganisation
       //
       this.btnRemoveOrganisation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnRemoveOrganisation.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnRemoveOrganisation.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnRemoveOrganisation.Location = new System.Drawing.Point(446, 214);
       this.btnRemoveOrganisation.Name = "btnRemoveOrganisation";
       this.btnRemoveOrganisation.Size = new System.Drawing.Size(96, 23);
       this.btnRemoveOrganisation.TabIndex = 3;
       this.btnRemoveOrganisation.Text = "< Eltávolít";
       this.btnRemoveOrganisation.Click += new System.EventHandler(this.btnRemoveOrganisation_Click);
       //
       // btnAddOrganisation
       //
       this.btnAddOrganisation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnAddOrganisation.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnAddOrganisation.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnAddOrganisation.Location = new System.Drawing.Point(446, 182);
       this.btnAddOrganisation.Name = "btnAddOrganisation";
       this.btnAddOrganisation.Size = new System.Drawing.Size(96, 23);
       this.btnAddOrganisation.TabIndex = 2;
       this.btnAddOrganisation.Text = "Hozzáad >";
       this.btnAddOrganisation.Click += new System.EventHandler(this.btnAddOrganisation_Click);
       //
       // label9
       //
       this.label9.Location = new System.Drawing.Point(14, 14);
       this.label9.Name = "label9";
       this.label9.Size = new System.Drawing.Size(212, 23);
       this.label9.TabIndex = 0;
       this.label9.Text = "Regisztrált résztvevõ szervezetek:";
       //
       // dtgOrg
       //
       this.dtgOrg.BackgroundColor = System.Drawing.SystemColors.Window;
       this.dtgOrg.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.dtgOrg.CaptionBackColor = System.Drawing.SystemColors.Highlight;
       this.dtgOrg.CaptionVisible = false;
       this.dtgOrg.DataMember = "";
       this.dtgOrg.GridLineColor = System.Drawing.SystemColors.ControlLight;
       this.dtgOrg.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.dtgOrg.Location = new System.Drawing.Point(14, 37);
       this.dtgOrg.Name = "dtgOrg";
       this.dtgOrg.ReadOnly = true;
       this.dtgOrg.RowHeaderWidth = 3;
       this.dtgOrg.Size = new System.Drawing.Size(428, 198);
       this.dtgOrg.TabIndex = 1;
       this.dtgOrg.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.customStylesCollection1});
       this.dtgOrg.DoubleClick += new System.EventHandler(this.dtgOrg_DoubleClick);
       //
       // customStylesCollection1
       //
       this.customStylesCollection1.DataGrid = this.dtgOrg;
       this.customStylesCollection1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.colName,
     this.colRegion,
     this.colActive});
       this.customStylesCollection1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       //
       // dtgOrgSelected
       //
       this.dtgOrgSelected.BackgroundColor = System.Drawing.SystemColors.Window;
       this.dtgOrgSelected.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.dtgOrgSelected.CaptionBackColor = System.Drawing.SystemColors.Highlight;
       this.dtgOrgSelected.CaptionVisible = false;
       this.dtgOrgSelected.DataMember = "";
       this.dtgOrgSelected.GridLineColor = System.Drawing.SystemColors.ControlLight;
       this.dtgOrgSelected.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.dtgOrgSelected.Location = new System.Drawing.Point(472, 32);
       this.dtgOrgSelected.Name = "dtgOrgSelected";
       this.dtgOrgSelected.ReadOnly = true;
       this.dtgOrgSelected.RowHeaderWidth = 3;
       this.dtgOrgSelected.Size = new System.Drawing.Size(160, 176);
       this.dtgOrgSelected.TabIndex = 8;
       this.dtgOrgSelected.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.customStylesCollection1});
       //
       // colName
       //
       this.colName.Format = "";
       this.colName.FormatInfo = null;
       this.colName.HeaderText = "Szervezet neve";
       this.colName.MappingName = "Name";
       this.colName.Width = 175;
       //
       // colRegion
       //
       this.colRegion.Format = "";
       this.colRegion.FormatInfo = null;
       this.colRegion.HeaderText = "Régió";
       this.colRegion.MappingName = "RegionName";
       this.colRegion.Width = 75;
       //
       // colActive
       //
       this.colActive.HeaderText = "Aktív";
       this.colActive.MappingName = "IsActive";
       this.colActive.Width = 75;
       //
       // tabPageKeyword
       //
       this.tabPageKeyword.Controls.Add(this.dtgThesaurusDetail);
       this.tabPageKeyword.Controls.Add(this.btnDetailThesaurus);
       this.tabPageKeyword.Controls.Add(this.btnRemoveThesaurus);
       this.tabPageKeyword.Controls.Add(this.btnAddThesaurus);
       this.tabPageKeyword.Controls.Add(this.label15);
       this.tabPageKeyword.Controls.Add(this.dtgThesaurus);
       this.tabPageKeyword.Location = new System.Drawing.Point(4, 25);
       this.tabPageKeyword.Name = "tabPageKeyword";
       this.tabPageKeyword.Size = new System.Drawing.Size(796, 498);
       this.tabPageKeyword.TabIndex = 4;
       this.tabPageKeyword.Text = "Tezaurusz";
       //
       // dtgThesaurusDetail
       //
       this.dtgThesaurusDetail.BackgroundColor = System.Drawing.SystemColors.Window;
       this.dtgThesaurusDetail.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.dtgThesaurusDetail.CaptionBackColor = System.Drawing.SystemColors.Highlight;
       this.dtgThesaurusDetail.CaptionVisible = false;
       this.dtgThesaurusDetail.DataMember = "";
       this.dtgThesaurusDetail.GridLineColor = System.Drawing.SystemColors.ControlLight;
       this.dtgThesaurusDetail.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.dtgThesaurusDetail.Location = new System.Drawing.Point(557, 38);
       this.dtgThesaurusDetail.Name = "dtgThesaurusDetail";
       this.dtgThesaurusDetail.ReadOnly = true;
       this.dtgThesaurusDetail.RowHeaderWidth = 3;
       this.dtgThesaurusDetail.Size = new System.Drawing.Size(230, 300);
       this.dtgThesaurusDetail.TabIndex = 5;
       this.dtgThesaurusDetail.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.customStylesCollection7});
       this.dtgThesaurusDetail.DoubleClick += new System.EventHandler(this.dtgThesaurusDetail_DoubleClick);
       //
       // customStylesCollection7
       //
       this.customStylesCollection7.DataGrid = this.dtgThesaurusDetail;
       this.customStylesCollection7.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.colKeywordDetail,
     this.colActiveThesaurusDetail});
       this.customStylesCollection7.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       //
       // colKeywordDetail
       //
       this.colKeywordDetail.Format = "";
       this.colKeywordDetail.FormatInfo = null;
       this.colKeywordDetail.HeaderText = "Vezérszó";
       this.colKeywordDetail.MappingName = "Keyword";
       this.colKeywordDetail.Width = 75;
       //
       // colActiveThesaurusDetail
       //
       this.colActiveThesaurusDetail.HeaderText = "Aktív";
       this.colActiveThesaurusDetail.MappingName = "IsActive";
       this.colActiveThesaurusDetail.Width = 75;
       //
       // btnDetailThesaurus
       //
       this.btnDetailThesaurus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnDetailThesaurus.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnDetailThesaurus.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnDetailThesaurus.Location = new System.Drawing.Point(451, 313);
       this.btnDetailThesaurus.Name = "btnDetailThesaurus";
       this.btnDetailThesaurus.Size = new System.Drawing.Size(96, 24);
       this.btnDetailThesaurus.TabIndex = 4;
       this.btnDetailThesaurus.Text = "Részletek";
       this.btnDetailThesaurus.Click += new System.EventHandler(this.btnDetailThesaurus_Click);
       //
       // btnRemoveThesaurus
       //
       this.btnRemoveThesaurus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnRemoveThesaurus.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnRemoveThesaurus.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnRemoveThesaurus.Location = new System.Drawing.Point(451, 214);
       this.btnRemoveThesaurus.Name = "btnRemoveThesaurus";
       this.btnRemoveThesaurus.Size = new System.Drawing.Size(96, 24);
       this.btnRemoveThesaurus.TabIndex = 3;
       this.btnRemoveThesaurus.Text = "< Eltávolít";
       this.btnRemoveThesaurus.Click += new System.EventHandler(this.btnRemoveThesaurus_Click);
       //
       // btnAddThesaurus
       //
       this.btnAddThesaurus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnAddThesaurus.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnAddThesaurus.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnAddThesaurus.Location = new System.Drawing.Point(451, 182);
       this.btnAddThesaurus.Name = "btnAddThesaurus";
       this.btnAddThesaurus.Size = new System.Drawing.Size(96, 23);
       this.btnAddThesaurus.TabIndex = 2;
       this.btnAddThesaurus.Text = "Hozzáad >";
       this.btnAddThesaurus.Click += new System.EventHandler(this.btnAddThesaurus_Click);
       //
       // label15
       //
       this.label15.Location = new System.Drawing.Point(14, 15);
       this.label15.Name = "label15";
       this.label15.Size = new System.Drawing.Size(164, 23);
       this.label15.TabIndex = 0;
       this.label15.Text = "Tezaurusz szócikkek:";
       //
       // dtgThesaurus
       //
       this.dtgThesaurus.BackgroundColor = System.Drawing.SystemColors.Window;
       this.dtgThesaurus.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.dtgThesaurus.CaptionBackColor = System.Drawing.SystemColors.Highlight;
       this.dtgThesaurus.CaptionVisible = false;
       this.dtgThesaurus.DataMember = "";
       this.dtgThesaurus.GridLineColor = System.Drawing.SystemColors.ControlLight;
       this.dtgThesaurus.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.dtgThesaurus.Location = new System.Drawing.Point(14, 38);
       this.dtgThesaurus.Name = "dtgThesaurus";
       this.dtgThesaurus.ReadOnly = true;
       this.dtgThesaurus.RowHeaderWidth = 3;
       this.dtgThesaurus.Size = new System.Drawing.Size(428, 300);
       this.dtgThesaurus.TabIndex = 1;
       this.dtgThesaurus.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.customStylesCollection4});
       this.dtgThesaurus.DoubleClick += new System.EventHandler(this.dtgThesaurus_DoubleClick);
       //
       // customStylesCollection4
       //
       this.customStylesCollection4.DataGrid = this.dtgThesaurus;
       this.customStylesCollection4.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.colKeyword,
     this.colActiveThesaurus});
       this.customStylesCollection4.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       //
       // colKeyword
       //
       this.colKeyword.Format = "";
       this.colKeyword.FormatInfo = null;
       this.colKeyword.HeaderText = "Vezérszó";
       this.colKeyword.MappingName = "Keyword";
       this.colKeyword.Width = 200;
       //
       // colActiveThesaurus
       //
       this.colActiveThesaurus.HeaderText = "Aktív";
       this.colActiveThesaurus.MappingName = "IsActive";
       this.colActiveThesaurus.Width = 75;
       //
       // label13
       //
       this.label13.Location = new System.Drawing.Point(0, 0);
       this.label13.Name = "label13";
       this.label13.Size = new System.Drawing.Size(100, 23);
       this.label13.TabIndex = 0;
       //
       // frmProgramEdit
       //
       this.AcceptButton = this.btnOk;
       this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
       this.CancelButton = this.btnCancel;
       this.ClientSize = new System.Drawing.Size(804, 618);
       this.Controls.Add(this.tabControl);
       this.Controls.Add(this.pHeader);
       this.Controls.Add(this.pnlBottom);
       this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
       this.MaximizeBox = false;
       this.MinimizeBox = false;
       this.Name = "frmProgramEdit";
       this.ShowInTaskbar = false;
       this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
       this.Text = "NDI HelpDesk Adminisztrátor";
       this.Closing += new System.ComponentModel.CancelEventHandler(this.frmProgramEdit_Closing);
       this.Load += new System.EventHandler(this.frmProgramEdit_Load);
       this.pnlBottom.ResumeLayout(false);
       this.tabControl.ResumeLayout(false);
       this.tabPageBase.ResumeLayout(false);
       this.tabPageBase.PerformLayout();
       this.tabPageExpert.ResumeLayout(false);
       ((System.ComponentModel.ISupportInitialize)(this.dtgExpertDetail)).EndInit();
       ((System.ComponentModel.ISupportInitialize)(this.dtgExpert)).EndInit();
       this.tabPageAttachment.ResumeLayout(false);
       ((System.ComponentModel.ISupportInitialize)(this.dtgAttachment)).EndInit();
       this.tabPageOrganisation.ResumeLayout(false);
       this.tabPageOrganisation.PerformLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgOrgDetail)).EndInit();
       ((System.ComponentModel.ISupportInitialize)(this.dtgOrg)).EndInit();
       ((System.ComponentModel.ISupportInitialize)(this.dtgOrgSelected)).EndInit();
       this.tabPageKeyword.ResumeLayout(false);
       ((System.ComponentModel.ISupportInitialize)(this.dtgThesaurusDetail)).EndInit();
       ((System.ComponentModel.ISupportInitialize)(this.dtgThesaurus)).EndInit();
       this.ResumeLayout(false);
 }
Example #16
0
 [System.Diagnostics.DebuggerStepThrough()] private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSuitFood));
     this.ToolBar1               = new System.Windows.Forms.ToolBar();
     this.ToolBarButton1         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton2         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton3         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton4         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton5         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton6         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton7         = new System.Windows.Forms.ToolBarButton();
     this.ImageList1             = new System.Windows.Forms.ImageList(this.components);
     this.dgSuitFood             = new System.Windows.Forms.DataGrid();
     this.DataGridTableStyle1    = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn1    = new System.Windows.Forms.DataGridBoolColumn();
     this.Panel1         = new System.Windows.Forms.Panel();
     this.Label9         = new System.Windows.Forms.Label();
     this.Label8         = new System.Windows.Forms.Label();
     this.Label7         = new System.Windows.Forms.Label();
     this.NumericUpDown3 = new System.Windows.Forms.NumericUpDown();
     this.NumericUpDown2 = new System.Windows.Forms.NumericUpDown();
     this.NumericUpDown1 = new System.Windows.Forms.NumericUpDown();
     this.CheckBox1      = new System.Windows.Forms.CheckBox();
     this.Label6         = new System.Windows.Forms.Label();
     this.Label2         = new System.Windows.Forms.Label();
     this.Label1         = new System.Windows.Forms.Label();
     this.TextBox2       = new System.Windows.Forms.TextBox();
     this.TextBox1       = new System.Windows.Forms.TextBox();
     this.Label4         = new System.Windows.Forms.Label();
     this.Label5         = new System.Windows.Forms.Label();
     this.Label3         = new System.Windows.Forms.Label();
     this.Button2        = new System.Windows.Forms.Button();
     this.Button1        = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.dgSuitFood)).BeginInit();
     this.Panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.NumericUpDown3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.NumericUpDown2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.NumericUpDown1)).BeginInit();
     this.SuspendLayout();
     //
     // ToolBar1
     //
     this.ToolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.ToolBarButton1,
         this.ToolBarButton2,
         this.ToolBarButton3,
         this.ToolBarButton4,
         this.ToolBarButton5,
         this.ToolBarButton6,
         this.ToolBarButton7
     });
     this.ToolBar1.ButtonSize     = new System.Drawing.Size(50, 48);
     this.ToolBar1.DropDownArrows = true;
     this.ToolBar1.ImageList      = this.ImageList1;
     this.ToolBar1.Location       = new System.Drawing.Point(0, 0);
     this.ToolBar1.Name           = "ToolBar1";
     this.ToolBar1.ShowToolTips   = true;
     this.ToolBar1.Size           = new System.Drawing.Size(505, 54);
     this.ToolBar1.TabIndex       = 0;
     this.ToolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.ToolBar1_ButtonClick);
     //
     // ToolBarButton1
     //
     this.ToolBarButton1.ImageIndex = 0;
     this.ToolBarButton1.Name       = "ToolBarButton1";
     this.ToolBarButton1.Text       = "添加";
     //
     // ToolBarButton2
     //
     this.ToolBarButton2.ImageIndex = 1;
     this.ToolBarButton2.Name       = "ToolBarButton2";
     this.ToolBarButton2.Text       = "修改";
     //
     // ToolBarButton3
     //
     this.ToolBarButton3.ImageIndex = 2;
     this.ToolBarButton3.Name       = "ToolBarButton3";
     this.ToolBarButton3.Text       = "删除";
     //
     // ToolBarButton4
     //
     this.ToolBarButton4.Name  = "ToolBarButton4";
     this.ToolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ToolBarButton5
     //
     this.ToolBarButton5.ImageIndex = 3;
     this.ToolBarButton5.Name       = "ToolBarButton5";
     this.ToolBarButton5.Text       = "菜品";
     //
     // ToolBarButton6
     //
     this.ToolBarButton6.Name  = "ToolBarButton6";
     this.ToolBarButton6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ToolBarButton7
     //
     this.ToolBarButton7.ImageIndex = 4;
     this.ToolBarButton7.Name       = "ToolBarButton7";
     this.ToolBarButton7.Text       = "关闭";
     //
     // ImageList1
     //
     this.ImageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageList1.ImageStream")));
     this.ImageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.ImageList1.Images.SetKeyName(0, "");
     this.ImageList1.Images.SetKeyName(1, "");
     this.ImageList1.Images.SetKeyName(2, "");
     this.ImageList1.Images.SetKeyName(3, "");
     this.ImageList1.Images.SetKeyName(4, "");
     //
     // dgSuitFood
     //
     this.dgSuitFood.AlternatingBackColor = System.Drawing.Color.GhostWhite;
     this.dgSuitFood.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.dgSuitFood.BackColor           = System.Drawing.Color.GhostWhite;
     this.dgSuitFood.BackgroundColor     = System.Drawing.Color.Lavender;
     this.dgSuitFood.CaptionBackColor    = System.Drawing.Color.Navy;
     this.dgSuitFood.CaptionForeColor    = System.Drawing.Color.White;
     this.dgSuitFood.DataMember          = "";
     this.dgSuitFood.FlatMode            = true;
     this.dgSuitFood.Font                = new System.Drawing.Font("Tahoma", 8F);
     this.dgSuitFood.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dgSuitFood.GridLineColor       = System.Drawing.Color.RoyalBlue;
     this.dgSuitFood.HeaderBackColor     = System.Drawing.Color.MidnightBlue;
     this.dgSuitFood.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dgSuitFood.HeaderForeColor     = System.Drawing.Color.Lavender;
     this.dgSuitFood.LinkColor           = System.Drawing.Color.Teal;
     this.dgSuitFood.Location            = new System.Drawing.Point(0, 56);
     this.dgSuitFood.Name                = "dgSuitFood";
     this.dgSuitFood.ParentRowsBackColor = System.Drawing.Color.Lavender;
     this.dgSuitFood.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dgSuitFood.ReadOnly            = true;
     this.dgSuitFood.SelectionBackColor  = System.Drawing.Color.Teal;
     this.dgSuitFood.SelectionForeColor  = System.Drawing.Color.PaleGreen;
     this.dgSuitFood.Size                = new System.Drawing.Size(505, 188);
     this.dgSuitFood.TabIndex            = 1;
     this.dgSuitFood.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.DataGridTableStyle1
     });
     this.dgSuitFood.DoubleClick += new System.EventHandler(this.dgSuitFood_DoubleClick);
     //
     // DataGridTableStyle1
     //
     this.DataGridTableStyle1.DataGrid = this.dgSuitFood;
     this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.DataGridTextBoxColumn1,
         this.DataGridTextBoxColumn2,
         this.DataGridTextBoxColumn3,
         this.DataGridTextBoxColumn4,
         this.DataGridTextBoxColumn5,
         this.DataGridBoolColumn1
     });
     this.DataGridTableStyle1.HeaderFont      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle1.MappingName     = "suit";
     //
     // DataGridTextBoxColumn1
     //
     this.DataGridTextBoxColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn1.Format      = "";
     this.DataGridTextBoxColumn1.FormatInfo  = null;
     this.DataGridTextBoxColumn1.HeaderText  = "套餐编码";
     this.DataGridTextBoxColumn1.MappingName = "suitcode";
     this.DataGridTextBoxColumn1.Width       = 75;
     //
     // DataGridTextBoxColumn2
     //
     this.DataGridTextBoxColumn2.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn2.Format      = "";
     this.DataGridTextBoxColumn2.FormatInfo  = null;
     this.DataGridTextBoxColumn2.HeaderText  = "套餐名称";
     this.DataGridTextBoxColumn2.MappingName = "suitname";
     this.DataGridTextBoxColumn2.Width       = 75;
     //
     // DataGridTextBoxColumn3
     //
     this.DataGridTextBoxColumn3.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn3.Format      = "";
     this.DataGridTextBoxColumn3.FormatInfo  = null;
     this.DataGridTextBoxColumn3.HeaderText  = "就餐人数";
     this.DataGridTextBoxColumn3.MappingName = "mannum";
     this.DataGridTextBoxColumn3.Width       = 75;
     //
     // DataGridTextBoxColumn4
     //
     this.DataGridTextBoxColumn4.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn4.Format      = "";
     this.DataGridTextBoxColumn4.FormatInfo  = null;
     this.DataGridTextBoxColumn4.HeaderText  = "每人标准";
     this.DataGridTextBoxColumn4.MappingName = "eachstandard";
     this.DataGridTextBoxColumn4.Width       = 75;
     //
     // DataGridTextBoxColumn5
     //
     this.DataGridTextBoxColumn5.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn5.Format      = "";
     this.DataGridTextBoxColumn5.FormatInfo  = null;
     this.DataGridTextBoxColumn5.HeaderText  = "合计";
     this.DataGridTextBoxColumn5.MappingName = "standardsum";
     this.DataGridTextBoxColumn5.Width       = 75;
     //
     // DataGridBoolColumn1
     //
     this.DataGridBoolColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn1.FalseValue  = "0";
     this.DataGridBoolColumn1.HeaderText  = "暂停使用";
     this.DataGridBoolColumn1.MappingName = "disabled";
     this.DataGridBoolColumn1.TrueValue   = "1";
     this.DataGridBoolColumn1.Width       = 75;
     //
     // Panel1
     //
     this.Panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.Panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.Panel1.Controls.Add(this.Label9);
     this.Panel1.Controls.Add(this.Label8);
     this.Panel1.Controls.Add(this.Label7);
     this.Panel1.Controls.Add(this.NumericUpDown3);
     this.Panel1.Controls.Add(this.NumericUpDown2);
     this.Panel1.Controls.Add(this.NumericUpDown1);
     this.Panel1.Controls.Add(this.CheckBox1);
     this.Panel1.Controls.Add(this.Label6);
     this.Panel1.Controls.Add(this.Label2);
     this.Panel1.Controls.Add(this.Label1);
     this.Panel1.Controls.Add(this.TextBox2);
     this.Panel1.Controls.Add(this.TextBox1);
     this.Panel1.Controls.Add(this.Label4);
     this.Panel1.Controls.Add(this.Label5);
     this.Panel1.Controls.Add(this.Label3);
     this.Panel1.Controls.Add(this.Button2);
     this.Panel1.Controls.Add(this.Button1);
     this.Panel1.Location = new System.Drawing.Point(0, 247);
     this.Panel1.Name     = "Panel1";
     this.Panel1.Size     = new System.Drawing.Size(505, 161);
     this.Panel1.TabIndex = 2;
     //
     // Label9
     //
     this.Label9.Location  = new System.Drawing.Point(428, 82);
     this.Label9.Name      = "Label9";
     this.Label9.Size      = new System.Drawing.Size(28, 23);
     this.Label9.TabIndex  = 16;
     this.Label9.Text      = "元";
     this.Label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // Label8
     //
     this.Label8.Location  = new System.Drawing.Point(428, 55);
     this.Label8.Name      = "Label8";
     this.Label8.Size      = new System.Drawing.Size(28, 23);
     this.Label8.TabIndex  = 15;
     this.Label8.Text      = "元";
     this.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // Label7
     //
     this.Label7.Location  = new System.Drawing.Point(428, 30);
     this.Label7.Name      = "Label7";
     this.Label7.Size      = new System.Drawing.Size(28, 23);
     this.Label7.TabIndex  = 14;
     this.Label7.Text      = "人";
     this.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // NumericUpDown3
     //
     this.NumericUpDown3.Location = new System.Drawing.Point(339, 83);
     this.NumericUpDown3.Maximum  = new decimal(new int[] {
         100000,
         0,
         0,
         0
     });
     this.NumericUpDown3.Name          = "NumericUpDown3";
     this.NumericUpDown3.Size          = new System.Drawing.Size(87, 21);
     this.NumericUpDown3.TabIndex      = 4;
     this.NumericUpDown3.TextAlign     = System.Windows.Forms.HorizontalAlignment.Right;
     this.NumericUpDown3.ValueChanged += new System.EventHandler(this.NumericUpDown3_ValueChanged);
     this.NumericUpDown3.Leave        += new System.EventHandler(this.NumericUpDown3_Leave);
     //
     // NumericUpDown2
     //
     this.NumericUpDown2.Location = new System.Drawing.Point(339, 56);
     this.NumericUpDown2.Maximum  = new decimal(new int[] {
         100000,
         0,
         0,
         0
     });
     this.NumericUpDown2.Name          = "NumericUpDown2";
     this.NumericUpDown2.Size          = new System.Drawing.Size(87, 21);
     this.NumericUpDown2.TabIndex      = 3;
     this.NumericUpDown2.TextAlign     = System.Windows.Forms.HorizontalAlignment.Right;
     this.NumericUpDown2.ValueChanged += new System.EventHandler(this.NumericUpDown2_ValueChanged);
     this.NumericUpDown2.Leave        += new System.EventHandler(this.NumericUpDown2_Leave);
     //
     // NumericUpDown1
     //
     this.NumericUpDown1.Location      = new System.Drawing.Point(339, 30);
     this.NumericUpDown1.Name          = "NumericUpDown1";
     this.NumericUpDown1.Size          = new System.Drawing.Size(87, 21);
     this.NumericUpDown1.TabIndex      = 1;
     this.NumericUpDown1.TextAlign     = System.Windows.Forms.HorizontalAlignment.Right;
     this.NumericUpDown1.ValueChanged += new System.EventHandler(this.NumericUpDown1_ValueChanged);
     this.NumericUpDown1.Leave        += new System.EventHandler(this.NumericUpDown1_Leave);
     //
     // CheckBox1
     //
     this.CheckBox1.Location = new System.Drawing.Point(150, 83);
     this.CheckBox1.Name     = "CheckBox1";
     this.CheckBox1.Size     = new System.Drawing.Size(96, 24);
     this.CheckBox1.TabIndex = 5;
     this.CheckBox1.Text     = "暂停该套餐";
     //
     // Label6
     //
     this.Label6.Location  = new System.Drawing.Point(270, 82);
     this.Label6.Name      = "Label6";
     this.Label6.Size      = new System.Drawing.Size(69, 23);
     this.Label6.TabIndex  = 13;
     this.Label6.Text      = "套餐标准:";
     this.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Label2
     //
     this.Label2.Location  = new System.Drawing.Point(270, 55);
     this.Label2.Name      = "Label2";
     this.Label2.Size      = new System.Drawing.Size(69, 23);
     this.Label2.TabIndex  = 12;
     this.Label2.Text      = "每人标准:";
     this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Label1
     //
     this.Label1.Location  = new System.Drawing.Point(270, 30);
     this.Label1.Name      = "Label1";
     this.Label1.Size      = new System.Drawing.Size(69, 23);
     this.Label1.TabIndex  = 10;
     this.Label1.Text      = "适宜人数:";
     this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // TextBox2
     //
     this.TextBox2.Location = new System.Drawing.Point(135, 56);
     this.TextBox2.Name     = "TextBox2";
     this.TextBox2.Size     = new System.Drawing.Size(125, 21);
     this.TextBox2.TabIndex = 2;
     //
     // TextBox1
     //
     this.TextBox1.Location = new System.Drawing.Point(135, 30);
     this.TextBox1.Name     = "TextBox1";
     this.TextBox1.Size     = new System.Drawing.Size(125, 21);
     this.TextBox1.TabIndex = 0;
     //
     // Label4
     //
     this.Label4.Location  = new System.Drawing.Point(69, 30);
     this.Label4.Name      = "Label4";
     this.Label4.Size      = new System.Drawing.Size(68, 23);
     this.Label4.TabIndex  = 9;
     this.Label4.Text      = "套餐编码:";
     this.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Label5
     //
     this.Label5.Location  = new System.Drawing.Point(69, 55);
     this.Label5.Name      = "Label5";
     this.Label5.Size      = new System.Drawing.Size(68, 23);
     this.Label5.TabIndex  = 11;
     this.Label5.Text      = "套餐名称:";
     this.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Label3
     //
     this.Label3.Font      = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Label3.ForeColor = System.Drawing.Color.Teal;
     this.Label3.Location  = new System.Drawing.Point(7, 5);
     this.Label3.Name      = "Label3";
     this.Label3.Size      = new System.Drawing.Size(100, 23);
     this.Label3.TabIndex  = 8;
     this.Label3.Text      = "Label3";
     this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // Button2
     //
     this.Button2.Location = new System.Drawing.Point(404, 120);
     this.Button2.Name     = "Button2";
     this.Button2.Size     = new System.Drawing.Size(58, 23);
     this.Button2.TabIndex = 7;
     this.Button2.Text     = "隐藏(&H)";
     this.Button2.Click   += new System.EventHandler(this.Button2_Click);
     //
     // Button1
     //
     this.Button1.Location = new System.Drawing.Point(340, 120);
     this.Button1.Name     = "Button1";
     this.Button1.Size     = new System.Drawing.Size(58, 23);
     this.Button1.TabIndex = 6;
     this.Button1.Text     = "保存(&S)";
     this.Button1.Click   += new System.EventHandler(this.Button1_Click);
     //
     // frmSuitFood
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(505, 408);
     this.Controls.Add(this.Panel1);
     this.Controls.Add(this.dgSuitFood);
     this.Controls.Add(this.ToolBar1);
     this.Icon    = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name    = "frmSuitFood";
     this.Text    = "套餐";
     this.Load   += new System.EventHandler(this.frmSuitFood_Load);
     this.Closed += new System.EventHandler(this.frmSuitFood_Closed);
     ((System.ComponentModel.ISupportInitialize)(this.dgSuitFood)).EndInit();
     this.Panel1.ResumeLayout(false);
     this.Panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.NumericUpDown3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.NumericUpDown2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.NumericUpDown1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #17
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(EmpForm));
     this.label1              = new System.Windows.Forms.Label();
     this.empDataGrid         = new System.Windows.Forms.DataGrid();
     this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle();
     this.empno           = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ename           = new System.Windows.Forms.DataGridTextBoxColumn();
     this.job             = new System.Windows.Forms.DataGridTextBoxColumn();
     this.sal             = new System.Windows.Forms.DataGridTextBoxColumn();
     this.deptno          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.boolCol         = new System.Windows.Forms.DataGridBoolColumn();
     this.empRichTextBox  = new System.Windows.Forms.RichTextBox();
     this.btnInsert       = new System.Windows.Forms.Button();
     this.grpBxConnection = new System.Windows.Forms.GroupBox();
     this.btnExit         = new System.Windows.Forms.Button();
     this.btnConnect      = new System.Windows.Forms.Button();
     this.lblStatus       = new System.Windows.Forms.Label();
     this.txtConStr       = new System.Windows.Forms.TextBox();
     this.lblConstr       = new System.Windows.Forms.Label();
     this.txtPwd          = new System.Windows.Forms.TextBox();
     this.lblPwd          = new System.Windows.Forms.Label();
     this.label4          = new System.Windows.Forms.Label();
     this.txtName         = new System.Windows.Forms.TextBox();
     this.btnNewRec       = new System.Windows.Forms.Button();
     this.btnUpdate       = new System.Windows.Forms.Button();
     this.groupBox4       = new System.Windows.Forms.GroupBox();
     this.richTextBox1    = new System.Windows.Forms.RichTextBox();
     this.hintTextBox     = new System.Windows.Forms.RichTextBox();
     this.label2          = new System.Windows.Forms.Label();
     this.listDeptno      = new System.Windows.Forms.ListBox();
     this.DelBtn          = new System.Windows.Forms.Button();
     this.groupBox1       = new System.Windows.Forms.GroupBox();
     this.groupBox2       = new System.Windows.Forms.GroupBox();
     this.groupBox3       = new System.Windows.Forms.GroupBox();
     this.groupBox5       = new System.Windows.Forms.GroupBox();
     this.label3          = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.empDataGrid)).BeginInit();
     this.grpBxConnection.SuspendLayout();
     this.groupBox4.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.groupBox5.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Font     = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.Location = new System.Drawing.Point(240, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(344, 24);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Employee Management System";
     //
     // empDataGrid
     //
     this.empDataGrid.CaptionText     = "List of Employees";
     this.empDataGrid.DataMember      = "";
     this.empDataGrid.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.empDataGrid.Location        = new System.Drawing.Point(24, 120);
     this.empDataGrid.Name            = "empDataGrid";
     this.empDataGrid.ReadOnly        = true;
     this.empDataGrid.Size            = new System.Drawing.Size(360, 328);
     this.empDataGrid.TabIndex        = 2;
     this.empDataGrid.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     this.empDataGrid.MouseUp += new System.Windows.Forms.MouseEventHandler(this.empDataGrid_MouseUp);
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.DataGrid = this.empDataGrid;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.empno,
         this.ename,
         this.job,
         this.sal,
         this.deptno
     });
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyle1.MappingName     = "emp_view";
     this.dataGridTableStyle1.ReadOnly        = true;
     //
     // empno
     //
     this.empno.Format      = "";
     this.empno.FormatInfo  = null;
     this.empno.HeaderText  = "Emp #";
     this.empno.MappingName = "empno";
     this.empno.Width       = 60;
     //
     // ename
     //
     this.ename.Format      = "";
     this.ename.FormatInfo  = null;
     this.ename.HeaderText  = "Name";
     this.ename.MappingName = "ename";
     this.ename.Width       = 72;
     //
     // job
     //
     this.job.Format      = "";
     this.job.FormatInfo  = null;
     this.job.HeaderText  = "Job";
     this.job.MappingName = "job";
     this.job.Width       = 77;
     //
     // sal
     //
     this.sal.Format      = "";
     this.sal.FormatInfo  = null;
     this.sal.HeaderText  = "Salary";
     this.sal.MappingName = "sal";
     this.sal.Width       = 60;
     //
     // deptno
     //
     this.deptno.Format      = "";
     this.deptno.FormatInfo  = null;
     this.deptno.HeaderText  = "Dept #";
     this.deptno.MappingName = "deptno";
     this.deptno.Width       = 50;
     //
     // boolCol
     //
     this.boolCol.FalseValue  = false;
     this.boolCol.HeaderText  = "Info Current";
     this.boolCol.MappingName = "Current";
     this.boolCol.NullValue   = ((System.DBNull)(resources.GetObject("boolCol.NullValue")));
     this.boolCol.TrueValue   = true;
     this.boolCol.Width       = 70;
     //
     // empRichTextBox
     //
     this.empRichTextBox.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.empRichTextBox.Location = new System.Drawing.Point(424, 120);
     this.empRichTextBox.Name     = "empRichTextBox";
     this.empRichTextBox.Size     = new System.Drawing.Size(320, 328);
     this.empRichTextBox.TabIndex = 3;
     this.empRichTextBox.Text     = "";
     //
     // btnInsert
     //
     this.btnInsert.Font     = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.btnInsert.Location = new System.Drawing.Point(584, 480);
     this.btnInsert.Name     = "btnInsert";
     this.btnInsert.Size     = new System.Drawing.Size(56, 24);
     this.btnInsert.TabIndex = 7;
     this.btnInsert.Text     = "Insert";
     this.btnInsert.Click   += new System.EventHandler(this.btnInsert_Click);
     //
     // grpBxConnection
     //
     this.grpBxConnection.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.btnExit,
         this.btnConnect,
         this.lblStatus,
         this.txtConStr,
         this.lblConstr,
         this.txtPwd,
         this.lblPwd,
         this.label4,
         this.txtName
     });
     this.grpBxConnection.Font     = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.grpBxConnection.Location = new System.Drawing.Point(24, 40);
     this.grpBxConnection.Name     = "grpBxConnection";
     this.grpBxConnection.Size     = new System.Drawing.Size(720, 64);
     this.grpBxConnection.TabIndex = 11;
     this.grpBxConnection.TabStop  = false;
     this.grpBxConnection.Text     = "Connection Details";
     //
     // btnExit
     //
     this.btnExit.Location = new System.Drawing.Point(552, 24);
     this.btnExit.Name     = "btnExit";
     this.btnExit.Size     = new System.Drawing.Size(40, 24);
     this.btnExit.TabIndex = 9;
     this.btnExit.Text     = "Exit";
     this.btnExit.Click   += new System.EventHandler(this.btnExit_Click);
     //
     // btnConnect
     //
     this.btnConnect.Location = new System.Drawing.Point(448, 24);
     this.btnConnect.Name     = "btnConnect";
     this.btnConnect.Size     = new System.Drawing.Size(96, 24);
     this.btnConnect.TabIndex = 8;
     this.btnConnect.Text     = "Connect";
     this.btnConnect.Click   += new System.EventHandler(this.btnConnect_Click);
     //
     // lblStatus
     //
     this.lblStatus.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblStatus.ForeColor = System.Drawing.Color.Red;
     this.lblStatus.Location  = new System.Drawing.Point(608, 32);
     this.lblStatus.Name      = "lblStatus";
     this.lblStatus.Size      = new System.Drawing.Size(104, 16);
     this.lblStatus.TabIndex  = 7;
     this.lblStatus.Text      = "Not Connected";
     this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // txtConStr
     //
     this.txtConStr.Font     = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtConStr.Location = new System.Drawing.Point(368, 24);
     this.txtConStr.Name     = "txtConStr";
     this.txtConStr.Size     = new System.Drawing.Size(72, 23);
     this.txtConStr.TabIndex = 5;
     this.txtConStr.Text     = "orcl";
     //
     // lblConstr
     //
     this.lblConstr.Font     = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblConstr.Location = new System.Drawing.Point(280, 27);
     this.lblConstr.Name     = "lblConstr";
     this.lblConstr.Size     = new System.Drawing.Size(88, 16);
     this.lblConstr.TabIndex = 4;
     this.lblConstr.Text     = "Host String";
     //
     // txtPwd
     //
     this.txtPwd.Font     = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtPwd.Location = new System.Drawing.Point(216, 24);
     this.txtPwd.Name     = "txtPwd";
     this.txtPwd.Size     = new System.Drawing.Size(56, 23);
     this.txtPwd.TabIndex = 3;
     this.txtPwd.Text     = "tiger";
     //
     // lblPwd
     //
     this.lblPwd.Font     = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblPwd.Location = new System.Drawing.Point(144, 27);
     this.lblPwd.Name     = "lblPwd";
     this.lblPwd.Size     = new System.Drawing.Size(72, 16);
     this.lblPwd.TabIndex = 2;
     this.lblPwd.Text     = "Password";
     //
     // label4
     //
     this.label4.Font     = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label4.Location = new System.Drawing.Point(8, 27);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(80, 16);
     this.label4.TabIndex = 0;
     this.label4.Text     = "User Name";
     //
     // txtName
     //
     this.txtName.Font     = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtName.Location = new System.Drawing.Point(88, 24);
     this.txtName.Name     = "txtName";
     this.txtName.Size     = new System.Drawing.Size(56, 23);
     this.txtName.TabIndex = 1;
     this.txtName.Text     = "scott";
     //
     // btnNewRec
     //
     this.btnNewRec.Font     = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.btnNewRec.Location = new System.Drawing.Point(8, 16);
     this.btnNewRec.Name     = "btnNewRec";
     this.btnNewRec.Size     = new System.Drawing.Size(144, 24);
     this.btnNewRec.TabIndex = 12;
     this.btnNewRec.Text     = "Create New Record";
     this.btnNewRec.Click   += new System.EventHandler(this.btnNewRec_Click);
     //
     // btnUpdate
     //
     this.btnUpdate.Font     = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.btnUpdate.Location = new System.Drawing.Point(16, 16);
     this.btnUpdate.Name     = "btnUpdate";
     this.btnUpdate.Size     = new System.Drawing.Size(64, 24);
     this.btnUpdate.TabIndex = 11;
     this.btnUpdate.Text     = "Update";
     this.btnUpdate.Click   += new System.EventHandler(this.btnUpdate_Click);
     //
     // groupBox4
     //
     this.groupBox4.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.richTextBox1
     });
     this.groupBox4.Font      = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.groupBox4.ForeColor = System.Drawing.Color.Black;
     this.groupBox4.Location  = new System.Drawing.Point(24, 456);
     this.groupBox4.Name      = "groupBox4";
     this.groupBox4.Size      = new System.Drawing.Size(376, 120);
     this.groupBox4.TabIndex  = 17;
     this.groupBox4.TabStop   = false;
     this.groupBox4.Text      = "Sample Highlights";
     //
     // richTextBox1
     //
     this.richTextBox1.BackColor   = System.Drawing.Color.White;
     this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.richTextBox1.Font        = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.richTextBox1.ForeColor   = System.Drawing.Color.Maroon;
     this.richTextBox1.Location    = new System.Drawing.Point(8, 16);
     this.richTextBox1.Name        = "richTextBox1";
     this.richTextBox1.ReadOnly    = true;
     this.richTextBox1.Size        = new System.Drawing.Size(360, 96);
     this.richTextBox1.TabIndex    = 0;
     this.richTextBox1.Text        = "* Access data from an XMLType view in an Oracle 9.2 or higher database server wit" +
                                     "h ODP.NET classes and native XMLType data types\n\n* Insert/update/delete data fro" +
                                     "m the XMLType view using instead-of-triggers on the view from ODP.NET";
     //
     // hintTextBox
     //
     this.hintTextBox.Font      = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.hintTextBox.ForeColor = System.Drawing.Color.Blue;
     this.hintTextBox.Location  = new System.Drawing.Point(24, 600);
     this.hintTextBox.Name      = "hintTextBox";
     this.hintTextBox.ReadOnly  = true;
     this.hintTextBox.Size      = new System.Drawing.Size(720, 72);
     this.hintTextBox.TabIndex  = 18;
     this.hintTextBox.Text      = "";
     //
     // label2
     //
     this.label2.Font     = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label2.Location = new System.Drawing.Point(24, 584);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(216, 16);
     this.label2.TabIndex = 19;
     this.label2.Text     = "Hints to Execute the Sample";
     //
     // listDeptno
     //
     this.listDeptno.ItemHeight          = 14;
     this.listDeptno.Location            = new System.Drawing.Point(136, 16);
     this.listDeptno.Name                = "listDeptno";
     this.listDeptno.ScrollAlwaysVisible = true;
     this.listDeptno.Size                = new System.Drawing.Size(80, 18);
     this.listDeptno.TabIndex            = 20;
     //
     // DelBtn
     //
     this.DelBtn.Font     = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.DelBtn.Location = new System.Drawing.Point(8, 16);
     this.DelBtn.Name     = "DelBtn";
     this.DelBtn.Size     = new System.Drawing.Size(72, 24);
     this.DelBtn.TabIndex = 20;
     this.DelBtn.Text     = "Delete";
     this.DelBtn.Click   += new System.EventHandler(this.DelBtn_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.btnNewRec
     });
     this.groupBox1.Location = new System.Drawing.Point(424, 464);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(224, 48);
     this.groupBox1.TabIndex = 21;
     this.groupBox1.TabStop  = false;
     //
     // groupBox2
     //
     this.groupBox2.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.btnUpdate
     });
     this.groupBox2.Location = new System.Drawing.Point(648, 464);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(96, 48);
     this.groupBox2.TabIndex = 22;
     this.groupBox2.TabStop  = false;
     //
     // groupBox3
     //
     this.groupBox3.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.DelBtn
     });
     this.groupBox3.Location = new System.Drawing.Point(424, 512);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(88, 48);
     this.groupBox3.TabIndex = 23;
     this.groupBox3.TabStop  = false;
     //
     // groupBox5
     //
     this.groupBox5.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label3,
         this.listDeptno
     });
     this.groupBox5.Location = new System.Drawing.Point(520, 512);
     this.groupBox5.Name     = "groupBox5";
     this.groupBox5.Size     = new System.Drawing.Size(224, 48);
     this.groupBox5.TabIndex = 24;
     this.groupBox5.TabStop  = false;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 18);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(128, 16);
     this.label3.TabIndex = 21;
     this.label3.Text     = "Valid Deptno Values";
     //
     // EmpForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(7, 15);
     this.ClientSize        = new System.Drawing.Size(768, 677);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.groupBox5,
         this.groupBox3,
         this.groupBox2,
         this.label2,
         this.hintTextBox,
         this.groupBox4,
         this.grpBxConnection,
         this.empRichTextBox,
         this.empDataGrid,
         this.label1,
         this.btnInsert,
         this.groupBox1
     });
     this.Font          = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.MaximizeBox   = false;
     this.Name          = "EmpForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Employee Management System";
     ((System.ComponentModel.ISupportInitialize)(this.empDataGrid)).EndInit();
     this.grpBxConnection.ResumeLayout(false);
     this.groupBox4.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.groupBox5.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #18
0
        /// <summary>
        /// Paste data from Clipboard to DataGridTableStyle
        /// </summary>
        /// <param name="grdStyle"></param>
        /// <remarks>
        /// Author:			PhatLT. FPTSS.
        /// Created date:	14/02/2011
        /// </remarks>
        public static void Paste(DataGridTableStyle grdStyle)
        {
            if (grdStyle == null || grdStyle.ReadOnly)
            {
                return;
            }

            DataView view       = null;
            object   datasoucre = grdStyle.DataGrid.DataSource;

            if (datasoucre.GetType() == typeof(DataTable))
            {
                view = ((DataTable)datasoucre).DefaultView;
            }
            else if (datasoucre.GetType() == typeof(DataView))
            {
                view = ((DataView)datasoucre);
            }
            else
            {
                return;
            }

            GridColumnStylesCollection cols = grdStyle.GridColumnStyles;

            if (grdStyle.DataGrid.ReadOnly)
            {
                return;
            }
            DataGridCell grdcell = grdStyle.DataGrid.CurrentCell;

            int startCol = grdcell.ColumnNumber;

            if (startCol < 0)
            {
                return;
            }
            int endCol = grdStyle.GridColumnStyles.Count - 1;

            int startRow = grdcell.RowNumber;

            char tab = '\t';


            if (!tempText.Multiline)
            {
                tempText.Multiline = true;
            }
            tempText.Clear();
            tempText.Paste();
            string value = tempText.Text;

            tempText.Clear();

            value = value.Replace("\r\n", "\n");
            if (value.EndsWith("\n"))
            {
                value = value.Substring(0, value.Length - 1);
            }

            string [] lines = value.Split('\n');

            int minRow = view.Count - startRow;;

            grdStyle.DataGrid.BeginInit();
            view.Table.BeginInit();

            if (minRow > lines.Length)
            {
                minRow = lines.Length;
            }
            for (int i = 0; i < minRow; i++)
            {
                string [] cells  = lines[i].Split(tab);
                int       minCol = endCol - startCol + 1;
                if (minCol > cells.Length)
                {
                    minCol = cells.Length;
                }

                for (int j = 0; j < minCol; j++)
                {
                    Type grdColType = cols[j + startCol].GetType();
                    if (!cols[j + startCol].ReadOnly && (grdColType == typeof(DataGridTextBoxColumn) || grdColType == typeof(System.Windows.Forms.DataGridBoolColumn) || grdColType == typeof(DataGridTextAutoHilight)))
                    {
                        try
                        {
                            DataColumn dcol = view.Table.Columns[cols[j + startCol].MappingName];
                            if (dcol == null)
                            {
                                continue;
                            }
                            Type type = dcol.DataType;
                            System.Windows.Forms.DataGridBoolColumn blnCol = cols[j + startCol] as System.Windows.Forms.DataGridBoolColumn;
                            if (type == typeof(string))
                            {
                                if (blnCol == null)
                                {
                                    view[i + startRow][cols[j + startCol].MappingName] = cells[j];
                                }
                                else
                                {
                                    if (cells[j].Equals(blnCol.TrueValue) || cells[j].Equals(blnCol.FalseValue))
                                    {
                                        view[i + startRow][cols[j + startCol].MappingName] = cells[j];
                                    }
                                }
                            }
                            else
                            {
                                if (cells[j].Length == 0)
                                {
                                    if (dcol.AllowDBNull)
                                    {
                                        view[i + startRow][cols[j + startCol].MappingName] = DBNull.Value;
                                    }
                                }
                                else
                                {
                                    object obj = Convert.ChangeType(cells[j], view.Table.Columns[cols[j + startCol].MappingName].DataType);
                                    if (blnCol == null)
                                    {
                                        view[i + startRow][cols[j + startCol].MappingName] = obj;
                                    }
                                    else
                                    {
                                        if (obj != null && (obj.Equals(blnCol.TrueValue) || obj.Equals(blnCol.FalseValue)))
                                        {
                                            view[i + startRow][cols[j + startCol].MappingName] = obj;
                                        }
                                    }
                                }
                            }
                        }
                        catch {}
                    }
                }
            }

            view.Table.EndInit();
            grdStyle.DataGrid.EndInit();
            grdStyle.DataGrid.Refresh();
        }
Example #19
0
 [System.Diagnostics.DebuggerStepThrough()] private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     base.Load      += new System.EventHandler(frmEmployee_Load);
     base.Closed    += new System.EventHandler(frmEmployee_Closed);
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmEmployee));
     this.dgEmpl                 = new System.Windows.Forms.DataGrid();
     this.dgEmpl.DoubleClick    += new System.EventHandler(this.dgEmpl_DoubleClick);
     this.DataGridTableStyle1    = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn1    = new System.Windows.Forms.DataGridBoolColumn();
     this.DataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn3    = new System.Windows.Forms.DataGridBoolColumn();
     this.ToolBarButton1         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton2         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton3         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton9         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton7         = new System.Windows.Forms.ToolBarButton();
     this.ToolBar1               = new System.Windows.Forms.ToolBar();
     this.ToolBar1.ButtonClick  += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.ToolBar1_ButtonClick);
     this.ToolBarButton5         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton4         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton6         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton8         = new System.Windows.Forms.ToolBarButton();
     this.ImageList1             = new System.Windows.Forms.ImageList(this.components);
     ((System.ComponentModel.ISupportInitialize) this.dgEmpl).BeginInit();
     this.SuspendLayout();
     //
     //dgEmpl
     //
     this.dgEmpl.AlternatingBackColor = System.Drawing.Color.GhostWhite;
     this.dgEmpl.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.dgEmpl.BackColor           = System.Drawing.Color.GhostWhite;
     this.dgEmpl.BackgroundColor     = System.Drawing.Color.Lavender;
     this.dgEmpl.CaptionBackColor    = System.Drawing.Color.Navy;
     this.dgEmpl.CaptionForeColor    = System.Drawing.Color.White;
     this.dgEmpl.DataMember          = "";
     this.dgEmpl.FlatMode            = true;
     this.dgEmpl.Font                = new System.Drawing.Font("Tahoma", 8.0F);
     this.dgEmpl.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dgEmpl.GridLineColor       = System.Drawing.Color.RoyalBlue;
     this.dgEmpl.HeaderBackColor     = System.Drawing.Color.MidnightBlue;
     this.dgEmpl.HeaderFont          = new System.Drawing.Font("Tahoma", 8.0F, System.Drawing.FontStyle.Bold);
     this.dgEmpl.HeaderForeColor     = System.Drawing.Color.Lavender;
     this.dgEmpl.LinkColor           = System.Drawing.Color.Teal;
     this.dgEmpl.Location            = new System.Drawing.Point(0, 56);
     this.dgEmpl.Name                = "dgEmpl";
     this.dgEmpl.ParentRowsBackColor = System.Drawing.Color.Lavender;
     this.dgEmpl.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dgEmpl.ReadOnly            = true;
     this.dgEmpl.SelectionBackColor  = System.Drawing.Color.Teal;
     this.dgEmpl.SelectionForeColor  = System.Drawing.Color.PaleGreen;
     this.dgEmpl.Size                = new System.Drawing.Size(500, 328);
     this.dgEmpl.TabIndex            = 2;
     this.dgEmpl.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.DataGridTableStyle1 });
     //
     //DataGridTableStyle1
     //
     this.DataGridTableStyle1.DataGrid = this.dgEmpl;
     this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.DataGridTextBoxColumn1, this.DataGridTextBoxColumn2, this.DataGridTextBoxColumn3, this.DataGridTextBoxColumn5, this.DataGridTextBoxColumn6, this.DataGridBoolColumn1, this.DataGridTextBoxColumn8, this.DataGridTextBoxColumn9, this.DataGridBoolColumn3 });
     this.DataGridTableStyle1.HeaderFont      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle1.MappingName     = "Employee";
     //
     //DataGridTextBoxColumn1
     //
     this.DataGridTextBoxColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn1.Format      = "";
     this.DataGridTextBoxColumn1.FormatInfo  = null;
     this.DataGridTextBoxColumn1.HeaderText  = "雇员编码";
     this.DataGridTextBoxColumn1.MappingName = "empid";
     this.DataGridTextBoxColumn1.Width       = 75;
     //
     //DataGridTextBoxColumn2
     //
     this.DataGridTextBoxColumn2.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn2.Format      = "";
     this.DataGridTextBoxColumn2.FormatInfo  = null;
     this.DataGridTextBoxColumn2.HeaderText  = "姓名";
     this.DataGridTextBoxColumn2.MappingName = "name";
     this.DataGridTextBoxColumn2.Width       = 75;
     //
     //DataGridTextBoxColumn3
     //
     this.DataGridTextBoxColumn3.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn3.Format      = "";
     this.DataGridTextBoxColumn3.FormatInfo  = null;
     this.DataGridTextBoxColumn3.HeaderText  = "所属部门";
     this.DataGridTextBoxColumn3.MappingName = "deptname";
     this.DataGridTextBoxColumn3.Width       = 75;
     //
     //DataGridTextBoxColumn5
     //
     this.DataGridTextBoxColumn5.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn5.Format      = "";
     this.DataGridTextBoxColumn5.FormatInfo  = null;
     this.DataGridTextBoxColumn5.HeaderText  = "联系地址";
     this.DataGridTextBoxColumn5.MappingName = "address";
     this.DataGridTextBoxColumn5.NullText    = "";
     this.DataGridTextBoxColumn5.Width       = 75;
     //
     //DataGridTextBoxColumn6
     //
     this.DataGridTextBoxColumn6.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn6.Format      = "";
     this.DataGridTextBoxColumn6.FormatInfo  = null;
     this.DataGridTextBoxColumn6.HeaderText  = "通讯方式";
     this.DataGridTextBoxColumn6.MappingName = "contact";
     this.DataGridTextBoxColumn6.NullText    = "";
     this.DataGridTextBoxColumn6.Width       = 75;
     //
     //DataGridBoolColumn1
     //
     this.DataGridBoolColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn1.FalseValue  = "0";
     this.DataGridBoolColumn1.HeaderText  = "部门领导";
     this.DataGridBoolColumn1.MappingName = "manager";
     this.DataGridBoolColumn1.NullValue   = resources.GetObject("DataGridBoolColumn1.NullValue");
     this.DataGridBoolColumn1.TrueValue   = "1";
     this.DataGridBoolColumn1.Width       = 75;
     //
     //DataGridTextBoxColumn8
     //
     this.DataGridTextBoxColumn8.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn8.Format      = "";
     this.DataGridTextBoxColumn8.FormatInfo  = null;
     this.DataGridTextBoxColumn8.HeaderText  = "身份证号";
     this.DataGridTextBoxColumn8.MappingName = "idcardno";
     this.DataGridTextBoxColumn8.NullText    = "";
     this.DataGridTextBoxColumn8.Width       = 75;
     //
     //DataGridTextBoxColumn9
     //
     this.DataGridTextBoxColumn9.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn9.Format      = "";
     this.DataGridTextBoxColumn9.FormatInfo  = null;
     this.DataGridTextBoxColumn9.HeaderText  = "备注";
     this.DataGridTextBoxColumn9.MappingName = "note";
     this.DataGridTextBoxColumn9.NullText    = "";
     this.DataGridTextBoxColumn9.Width       = 75;
     //
     //DataGridBoolColumn3
     //
     this.DataGridBoolColumn3.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn3.FalseValue  = "0";
     this.DataGridBoolColumn3.HeaderText  = "暂停";
     this.DataGridBoolColumn3.MappingName = "disabled";
     this.DataGridBoolColumn3.NullValue   = resources.GetObject("DataGridBoolColumn3.NullValue");
     this.DataGridBoolColumn3.TrueValue   = "1";
     this.DataGridBoolColumn3.Width       = 75;
     //
     //ToolBarButton1
     //
     this.ToolBarButton1.ImageIndex = 0;
     this.ToolBarButton1.Text       = "添加";
     //
     //ToolBarButton2
     //
     this.ToolBarButton2.ImageIndex = 1;
     this.ToolBarButton2.Text       = "修改";
     //
     //ToolBarButton3
     //
     this.ToolBarButton3.ImageIndex = 2;
     this.ToolBarButton3.Text       = "删除";
     //
     //ToolBarButton9
     //
     this.ToolBarButton9.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton7
     //
     this.ToolBarButton7.ImageIndex = 5;
     this.ToolBarButton7.Text       = "关闭";
     //
     //ToolBar1
     //
     this.ToolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.ToolBarButton1, this.ToolBarButton2, this.ToolBarButton3, this.ToolBarButton9, this.ToolBarButton5, this.ToolBarButton4, this.ToolBarButton6, this.ToolBarButton8, this.ToolBarButton7 });
     this.ToolBar1.ButtonSize     = new System.Drawing.Size(50, 48);
     this.ToolBar1.DropDownArrows = true;
     this.ToolBar1.ImageList      = this.ImageList1;
     this.ToolBar1.Location       = new System.Drawing.Point(0, 0);
     this.ToolBar1.Name           = "ToolBar1";
     this.ToolBar1.ShowToolTips   = true;
     this.ToolBar1.Size           = new System.Drawing.Size(500, 55);
     this.ToolBar1.TabIndex       = 1;
     //
     //ToolBarButton5
     //
     this.ToolBarButton5.ImageIndex = 3;
     this.ToolBarButton5.Text       = "查询";
     //
     //ToolBarButton4
     //
     this.ToolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton6
     //
     this.ToolBarButton6.ImageIndex = 4;
     this.ToolBarButton6.Text       = "打印";
     //
     //ToolBarButton8
     //
     this.ToolBarButton8.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ImageList1
     //
     this.ImageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth16Bit;
     this.ImageList1.ImageSize        = new System.Drawing.Size(28, 28);
     this.ImageList1.ImageStream      = (System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageList1.ImageStream"));
     this.ImageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     //frmEmployee
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(500, 384);
     this.Controls.Add(this.dgEmpl);
     this.Controls.Add(this.ToolBar1);
     this.Icon = (System.Drawing.Icon)(resources.GetObject("$this.Icon"));
     this.Name = "frmEmployee";
     this.Text = "雇员管理";
     ((System.ComponentModel.ISupportInitialize) this.dgEmpl).EndInit();
     this.ResumeLayout(false);
 }
Example #20
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.statusBar1             = new System.Windows.Forms.StatusBar();
     this.statusBarPanel1        = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanel2        = new System.Windows.Forms.StatusBarPanel();
     this.groupBox2              = new System.Windows.Forms.GroupBox();
     this.cmbyjks                = new System.Windows.Forms.ComboBox();
     this.label1                 = new System.Windows.Forms.Label();
     this.butquit                = new System.Windows.Forms.Button();
     this.butsave                = new System.Windows.Forms.Button();
     this.groupBox1              = new System.Windows.Forms.GroupBox();
     this.myDataGrid1            = new myDataGrid.myDataGrid();
     this.dataGridTableStyle1    = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridBoolColumn1    = new System.Windows.Forms.DataGridBoolColumn();
     this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit();
     this.groupBox2.SuspendLayout();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 494);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this.statusBarPanel1,
         this.statusBarPanel2
     });
     this.statusBar1.ShowPanels = true;
     this.statusBar1.Size       = new System.Drawing.Size(888, 31);
     this.statusBar1.TabIndex   = 0;
     //
     // statusBarPanel1
     //
     this.statusBarPanel1.Name  = "statusBarPanel1";
     this.statusBarPanel1.Width = 200;
     //
     // statusBarPanel2
     //
     this.statusBarPanel2.Name = "statusBarPanel2";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.cmbyjks);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Controls.Add(this.butquit);
     this.groupBox2.Controls.Add(this.butsave);
     this.groupBox2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.groupBox2.Location = new System.Drawing.Point(0, 412);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(888, 82);
     this.groupBox2.TabIndex = 2;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "操作";
     //
     // cmbyjks
     //
     this.cmbyjks.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbyjks.Location              = new System.Drawing.Point(175, 26);
     this.cmbyjks.Name                  = "cmbyjks";
     this.cmbyjks.Size                  = new System.Drawing.Size(149, 23);
     this.cmbyjks.TabIndex              = 9;
     this.cmbyjks.SelectedIndexChanged += new System.EventHandler(this.cmbyjks_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(100, 31);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(88, 20);
     this.label1.TabIndex = 8;
     this.label1.Text     = "药剂科室";
     //
     // butquit
     //
     this.butquit.Location = new System.Drawing.Point(864, 21);
     this.butquit.Name     = "butquit";
     this.butquit.Size     = new System.Drawing.Size(139, 51);
     this.butquit.TabIndex = 1;
     this.butquit.Text     = "退出(&Q)";
     this.butquit.Click   += new System.EventHandler(this.butquit_Click);
     //
     // butsave
     //
     this.butsave.Location = new System.Drawing.Point(704, 21);
     this.butsave.Name     = "butsave";
     this.butsave.Size     = new System.Drawing.Size(139, 51);
     this.butsave.TabIndex = 0;
     this.butsave.Text     = "保存(&S)";
     this.butsave.Click   += new System.EventHandler(this.butsave_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.myDataGrid1);
     this.groupBox1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBox1.Location = new System.Drawing.Point(0, 0);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(888, 412);
     this.groupBox1.TabIndex = 3;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "参数列表";
     //
     // myDataGrid1
     //
     this.myDataGrid1.BackgroundColor = System.Drawing.Color.White;
     this.myDataGrid1.CaptionVisible  = false;
     this.myDataGrid1.DataMember      = "";
     this.myDataGrid1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.myDataGrid1.Location        = new System.Drawing.Point(3, 21);
     this.myDataGrid1.Name            = "myDataGrid1";
     this.myDataGrid1.Size            = new System.Drawing.Size(882, 388);
     this.myDataGrid1.TabIndex        = 0;
     this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.DataGrid = this.myDataGrid1;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn1,
         this.dataGridTextBoxColumn4,
         this.dataGridTextBoxColumn2,
         this.dataGridBoolColumn1,
         this.dataGridTextBoxColumn5
     });
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     //
     // dataGridTextBoxColumn1
     //
     this.dataGridTextBoxColumn1.Format     = "";
     this.dataGridTextBoxColumn1.FormatInfo = null;
     this.dataGridTextBoxColumn1.HeaderText = "序号";
     this.dataGridTextBoxColumn1.NullText   = "";
     this.dataGridTextBoxColumn1.ReadOnly   = true;
     this.dataGridTextBoxColumn1.Width      = 40;
     //
     // dataGridTextBoxColumn4
     //
     this.dataGridTextBoxColumn4.Format     = "";
     this.dataGridTextBoxColumn4.FormatInfo = null;
     this.dataGridTextBoxColumn4.HeaderText = "参数编码";
     this.dataGridTextBoxColumn4.NullText   = "";
     this.dataGridTextBoxColumn4.ReadOnly   = true;
     this.dataGridTextBoxColumn4.Width      = 75;
     //
     // dataGridTextBoxColumn2
     //
     this.dataGridTextBoxColumn2.Format     = "";
     this.dataGridTextBoxColumn2.FormatInfo = null;
     this.dataGridTextBoxColumn2.HeaderText = "参数名称";
     this.dataGridTextBoxColumn2.NullText   = "";
     this.dataGridTextBoxColumn2.ReadOnly   = true;
     this.dataGridTextBoxColumn2.Width      = 150;
     //
     // dataGridBoolColumn1
     //
     this.dataGridBoolColumn1.AllowNull  = false;
     this.dataGridBoolColumn1.FalseValue = ((short)(0));
     this.dataGridBoolColumn1.HeaderText = "参数值";
     this.dataGridBoolColumn1.NullText   = "0";
     this.dataGridBoolColumn1.NullValue  = ((short)(0));
     this.dataGridBoolColumn1.TrueValue  = ((short)(1));
     this.dataGridBoolColumn1.Width      = 50;
     //
     // dataGridTextBoxColumn5
     //
     this.dataGridTextBoxColumn5.Format     = "";
     this.dataGridTextBoxColumn5.FormatInfo = null;
     this.dataGridTextBoxColumn5.HeaderText = "参数描述";
     this.dataGridTextBoxColumn5.NullText   = "";
     this.dataGridTextBoxColumn5.ReadOnly   = true;
     this.dataGridTextBoxColumn5.Width      = 200;
     //
     // Frmconfig
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 18);
     this.ClientSize        = new System.Drawing.Size(888, 525);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.statusBar1);
     this.Name        = "Frmconfig";
     this.Text        = "参数设置";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.Frmyfkpz_Load);
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit();
     this.groupBox2.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit();
     this.ResumeLayout(false);
 }
Example #21
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(frmProgramSelect));
       this.pHeader = new Ndi.HelpDesk.UI.Controls.InfoBarLite();
       this.imgToolbar = new System.Windows.Forms.ImageList(this.components);
       this.tlbMain = new System.Windows.Forms.ToolBar();
       this.tbbSeparator1 = new System.Windows.Forms.ToolBarButton();
       this.tbbModify = new System.Windows.Forms.ToolBarButton();
       this.tbbInactivate = new System.Windows.Forms.ToolBarButton();
       this.tbbSeparator2 = new System.Windows.Forms.ToolBarButton();
       this.tbbRefresh = new System.Windows.Forms.ToolBarButton();
       this.tbbExport = new System.Windows.Forms.ToolBarButton();
       this.pnlFilter = new System.Windows.Forms.Panel();
       this.cmbStatus = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.label4 = new System.Windows.Forms.Label();
       this.label2 = new System.Windows.Forms.Label();
       this.cmbCategory = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.label3 = new System.Windows.Forms.Label();
       this.cmbOrganisation = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.label1 = new System.Windows.Forms.Label();
       this.txtName = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.dtgMain = new Ndi.HelpDesk.UI.Controls.GreptonDataGrid();
       this.customStylesCollection1 = new Ndi.HelpDesk.UI.Controls.CustomStylesCollection();
       this.colProgramName = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colCategory = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colOrganisationName = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colActive = new System.Windows.Forms.DataGridBoolColumn();
       this.colName = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colRegion = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colActiv = new System.Windows.Forms.DataGridBoolColumn();
       this.csvSaveFileDialog = new System.Windows.Forms.SaveFileDialog();
       this.pnlFilter.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgMain)).BeginInit();
       this.SuspendLayout();
       //
       // pHeader
       //
       this.pHeader.BackColor = System.Drawing.SystemColors.Window;
       this.pHeader.BackStyle = Ndi.HelpDesk.UI.Controls.BackStyle.Solid;
       this.pHeader.BorderSide = System.Windows.Forms.Border3DSide.Bottom;
       this.pHeader.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
       this.pHeader.Dock = System.Windows.Forms.DockStyle.Top;
       this.pHeader.GradientEndColor = System.Drawing.Color.White;
       this.pHeader.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
       this.pHeader.GradientStartColor = System.Drawing.Color.DeepSkyBlue;
       this.pHeader.Image = null;
       this.pHeader.ImageAlign = Ndi.HelpDesk.UI.Controls.ImageAlignment.TopLeft;
       this.pHeader.ImageOffsetX = 2;
       this.pHeader.ImageOffsetY = 0;
       this.pHeader.Location = new System.Drawing.Point(0, 0);
       this.pHeader.Name = "pHeader";
       this.pHeader.Size = new System.Drawing.Size(593, 46);
       this.pHeader.TabIndex = 0;
       this.pHeader.Text1 = "Programok";
       this.pHeader.Text1Font = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Bold);
       this.pHeader.Text1ForeColor = System.Drawing.SystemColors.ControlText;
       this.pHeader.Text1OffsetX = 0;
       this.pHeader.Text1OffsetY = 0;
       this.pHeader.Text2 = "Programok adatainak karbantartása";
       this.pHeader.Text2Font = new System.Drawing.Font("Segoe UI", 8F);
       this.pHeader.Text2ForeColor = System.Drawing.SystemColors.ControlText;
       this.pHeader.Text2OffsetX = 20;
       this.pHeader.Text2OffsetY = 0;
       //
       // imgToolbar
       //
       this.imgToolbar.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgToolbar.ImageStream")));
       this.imgToolbar.TransparentColor = System.Drawing.Color.Transparent;
       this.imgToolbar.Images.SetKeyName(0, "");
       this.imgToolbar.Images.SetKeyName(1, "");
       this.imgToolbar.Images.SetKeyName(2, "");
       this.imgToolbar.Images.SetKeyName(3, "");
       this.imgToolbar.Images.SetKeyName(4, "");
       this.imgToolbar.Images.SetKeyName(5, "");
       //
       // tlbMain
       //
       this.tlbMain.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
       this.tlbMain.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
     this.tbbSeparator1,
     this.tbbModify,
     this.tbbInactivate,
     this.tbbSeparator2,
     this.tbbRefresh,
     this.tbbExport});
       this.tlbMain.DropDownArrows = true;
       this.tlbMain.ImageList = this.imgToolbar;
       this.tlbMain.Location = new System.Drawing.Point(0, 46);
       this.tlbMain.Name = "tlbMain";
       this.tlbMain.ShowToolTips = true;
       this.tlbMain.Size = new System.Drawing.Size(593, 28);
       this.tlbMain.TabIndex = 1;
       this.tlbMain.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.tlbMain_ButtonClick);
       //
       // tbbSeparator1
       //
       this.tbbSeparator1.Name = "tbbSeparator1";
       this.tbbSeparator1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // tbbModify
       //
       this.tbbModify.ImageIndex = 1;
       this.tbbModify.Name = "tbbModify";
       this.tbbModify.ToolTipText = "Program adatainak módosítása";
       //
       // tbbInactivate
       //
       this.tbbInactivate.ImageIndex = 2;
       this.tbbInactivate.Name = "tbbInactivate";
       this.tbbInactivate.ToolTipText = "Inaktiválás/aktiválás";
       //
       // tbbSeparator2
       //
       this.tbbSeparator2.Name = "tbbSeparator2";
       this.tbbSeparator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // tbbRefresh
       //
       this.tbbRefresh.ImageIndex = 3;
       this.tbbRefresh.Name = "tbbRefresh";
       this.tbbRefresh.ToolTipText = "Lista frissítése/szûrés";
       //
       // tbbExport
       //
       this.tbbExport.ImageIndex = 5;
       this.tbbExport.Name = "tbbExport";
       this.tbbExport.ToolTipText = "Lista exportálása";
       //
       // pnlFilter
       //
       this.pnlFilter.Controls.Add(this.cmbStatus);
       this.pnlFilter.Controls.Add(this.label4);
       this.pnlFilter.Controls.Add(this.label2);
       this.pnlFilter.Controls.Add(this.cmbCategory);
       this.pnlFilter.Controls.Add(this.label3);
       this.pnlFilter.Controls.Add(this.cmbOrganisation);
       this.pnlFilter.Controls.Add(this.label1);
       this.pnlFilter.Controls.Add(this.txtName);
       this.pnlFilter.Dock = System.Windows.Forms.DockStyle.Top;
       this.pnlFilter.Location = new System.Drawing.Point(0, 74);
       this.pnlFilter.Name = "pnlFilter";
       this.pnlFilter.Size = new System.Drawing.Size(593, 70);
       this.pnlFilter.TabIndex = 2;
       //
       // cmbStatus
       //
       this.cmbStatus.AllowNull = true;
       this.cmbStatus.BreakSort = false;
       this.cmbStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbStatus.Location = new System.Drawing.Point(403, 37);
       this.cmbStatus.Name = "cmbStatus";
       this.cmbStatus.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbStatus.Size = new System.Drawing.Size(173, 24);
       this.cmbStatus.TabIndex = 7;
       this.cmbStatus.ToolBarUse = false;
       this.cmbStatus.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // label4
       //
       this.label4.AutoSize = true;
       this.label4.Location = new System.Drawing.Point(326, 42);
       this.label4.Name = "label4";
       this.label4.Size = new System.Drawing.Size(55, 17);
       this.label4.TabIndex = 6;
       this.label4.Text = "Állapot:";
       //
       // label2
       //
       this.label2.AutoSize = true;
       this.label2.Location = new System.Drawing.Point(326, 15);
       this.label2.Name = "label2";
       this.label2.Size = new System.Drawing.Size(73, 17);
       this.label2.TabIndex = 2;
       this.label2.Text = "Kategória:";
       //
       // cmbCategory
       //
       this.cmbCategory.AllowNull = true;
       this.cmbCategory.BreakSort = false;
       this.cmbCategory.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbCategory.Location = new System.Drawing.Point(403, 9);
       this.cmbCategory.Name = "cmbCategory";
       this.cmbCategory.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbCategory.Size = new System.Drawing.Size(173, 24);
       this.cmbCategory.TabIndex = 3;
       this.cmbCategory.ToolBarUse = false;
       this.cmbCategory.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // label3
       //
       this.label3.AutoSize = true;
       this.label3.Location = new System.Drawing.Point(19, 42);
       this.label3.Name = "label3";
       this.label3.Size = new System.Drawing.Size(75, 17);
       this.label3.TabIndex = 4;
       this.label3.Text = "Szervezet:";
       //
       // cmbOrganisation
       //
       this.cmbOrganisation.AllowNull = true;
       this.cmbOrganisation.BreakSort = false;
       this.cmbOrganisation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbOrganisation.Location = new System.Drawing.Point(115, 37);
       this.cmbOrganisation.Name = "cmbOrganisation";
       this.cmbOrganisation.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbOrganisation.Size = new System.Drawing.Size(192, 24);
       this.cmbOrganisation.TabIndex = 5;
       this.cmbOrganisation.ToolBarUse = false;
       this.cmbOrganisation.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // label1
       //
       this.label1.AutoSize = true;
       this.label1.Location = new System.Drawing.Point(19, 14);
       this.label1.Name = "label1";
       this.label1.Size = new System.Drawing.Size(93, 17);
       this.label1.TabIndex = 0;
       this.label1.Text = "Program név:";
       //
       // txtName
       //
       this.txtName.AllowNull = true;
       this.txtName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtName.InvalidCharSet = "";
       this.txtName.Location = new System.Drawing.Point(115, 9);
       this.txtName.MaxLength = 50;
       this.txtName.Name = "txtName";
       this.txtName.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtName.Size = new System.Drawing.Size(192, 22);
       this.txtName.TabIndex = 1;
       this.txtName.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtName.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtName.ValidationMask = "";
       this.txtName.ValidCharSet = "";
       //
       // dtgMain
       //
       this.dtgMain.BackgroundColor = System.Drawing.SystemColors.Window;
       this.dtgMain.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.dtgMain.CaptionBackColor = System.Drawing.SystemColors.Highlight;
       this.dtgMain.CaptionVisible = false;
       this.dtgMain.DataMember = "";
       this.dtgMain.Dock = System.Windows.Forms.DockStyle.Fill;
       this.dtgMain.GridLineColor = System.Drawing.SystemColors.ControlLight;
       this.dtgMain.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.dtgMain.Location = new System.Drawing.Point(0, 144);
       this.dtgMain.Name = "dtgMain";
       this.dtgMain.ReadOnly = true;
       this.dtgMain.RowHeaderWidth = 3;
       this.dtgMain.Size = new System.Drawing.Size(593, 199);
       this.dtgMain.TabIndex = 3;
       this.dtgMain.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.customStylesCollection1});
       this.dtgMain.DoubleClick += new System.EventHandler(this.dtgMain_DoubleClick);
       //
       // customStylesCollection1
       //
       this.customStylesCollection1.DataGrid = this.dtgMain;
       this.customStylesCollection1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.colProgramName,
     this.colCategory,
     this.colOrganisationName,
     this.colActive});
       this.customStylesCollection1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.customStylesCollection1.RowHeaderWidth = 3;
       this.customStylesCollection1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
       //
       // colProgramName
       //
       this.colProgramName.Format = "";
       this.colProgramName.FormatInfo = null;
       this.colProgramName.HeaderText = "Program név";
       this.colProgramName.MappingName = "Name";
       this.colProgramName.Width = 250;
       //
       // colCategory
       //
       this.colCategory.Format = "";
       this.colCategory.FormatInfo = null;
       this.colCategory.HeaderText = "Kategória";
       this.colCategory.MappingName = "ProgramCategoryName";
       this.colCategory.Width = 120;
       //
       // colOrganisationName
       //
       this.colOrganisationName.Format = "";
       this.colOrganisationName.FormatInfo = null;
       this.colOrganisationName.HeaderText = "Szervezet";
       this.colOrganisationName.MappingName = "OrganisationName";
       this.colOrganisationName.Width = 180;
       //
       // colActive
       //
       this.colActive.HeaderText = "Aktív";
       this.colActive.MappingName = "IsActive";
       this.colActive.Width = 75;
       //
       // colName
       //
       this.colName.Format = "";
       this.colName.FormatInfo = null;
       this.colName.Width = -1;
       //
       // colRegion
       //
       this.colRegion.Format = "";
       this.colRegion.FormatInfo = null;
       this.colRegion.Width = -1;
       //
       // colActiv
       //
       this.colActiv.Width = -1;
       //
       // csvSaveFileDialog
       //
       this.csvSaveFileDialog.DefaultExt = "csv";
       this.csvSaveFileDialog.Filter = "CSV files|*.csv|All files|*.*";
       //
       // frmProgramSelect
       //
       this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
       this.ClientSize = new System.Drawing.Size(593, 343);
       this.Controls.Add(this.dtgMain);
       this.Controls.Add(this.pnlFilter);
       this.Controls.Add(this.tlbMain);
       this.Controls.Add(this.pHeader);
       this.Name = "frmProgramSelect";
       this.Text = "NDI HelpDesk Adminisztrátor";
       this.Load += new System.EventHandler(this.frmProgramSelect_Load);
       this.pnlFilter.ResumeLayout(false);
       this.pnlFilter.PerformLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgMain)).EndInit();
       this.ResumeLayout(false);
       this.PerformLayout();
 }
Example #22
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.statusBar1             = new System.Windows.Forms.StatusBar();
     this.statusBarPanel1        = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanel2        = new System.Windows.Forms.StatusBarPanel();
     this.myDataGrid1            = new myDataGrid.myDataGrid();
     this.dataGridTableStyle1    = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridBoolColumn1    = new System.Windows.Forms.DataGridBoolColumn();
     this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.cmbyjks   = new System.Windows.Forms.ComboBox();
     this.butquit   = new System.Windows.Forms.Button();
     this.butsave   = new System.Windows.Forms.Button();
     this.label1    = new System.Windows.Forms.Label();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 454);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this.statusBarPanel1,
         this.statusBarPanel2
     });
     this.statusBar1.ShowPanels = true;
     this.statusBar1.Size       = new System.Drawing.Size(768, 31);
     this.statusBar1.TabIndex   = 0;
     this.statusBar1.Text       = "statusBar1";
     //
     // statusBarPanel1
     //
     this.statusBarPanel1.Name  = "statusBarPanel1";
     this.statusBarPanel1.Width = 300;
     //
     // statusBarPanel2
     //
     this.statusBarPanel2.Name  = "statusBarPanel2";
     this.statusBarPanel2.Width = 1001;
     //
     // myDataGrid1
     //
     this.myDataGrid1.BackgroundColor = System.Drawing.Color.White;
     this.myDataGrid1.CaptionVisible  = false;
     this.myDataGrid1.DataMember      = "";
     this.myDataGrid1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.myDataGrid1.Location        = new System.Drawing.Point(3, 21);
     this.myDataGrid1.Name            = "myDataGrid1";
     this.myDataGrid1.Size            = new System.Drawing.Size(762, 347);
     this.myDataGrid1.TabIndex        = 0;
     this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.AllowSorting = false;
     this.dataGridTableStyle1.DataGrid     = this.myDataGrid1;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn1,
         this.dataGridTextBoxColumn2,
         this.dataGridTextBoxColumn3,
         this.dataGridBoolColumn1,
         this.dataGridTextBoxColumn8,
         this.dataGridTextBoxColumn9
     });
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     //
     // dataGridTextBoxColumn1
     //
     this.dataGridTextBoxColumn1.Format     = "";
     this.dataGridTextBoxColumn1.FormatInfo = null;
     this.dataGridTextBoxColumn1.HeaderText = "序号";
     this.dataGridTextBoxColumn1.Width      = 40;
     //
     // dataGridTextBoxColumn2
     //
     this.dataGridTextBoxColumn2.Format     = "";
     this.dataGridTextBoxColumn2.FormatInfo = null;
     this.dataGridTextBoxColumn2.HeaderText = "药品子类型";
     this.dataGridTextBoxColumn2.Width      = 150;
     //
     // dataGridTextBoxColumn3
     //
     this.dataGridTextBoxColumn3.Format     = "";
     this.dataGridTextBoxColumn3.FormatInfo = null;
     this.dataGridTextBoxColumn3.HeaderText = "药品类型";
     this.dataGridTextBoxColumn3.Width      = 70;
     //
     // dataGridBoolColumn1
     //
     this.dataGridBoolColumn1.AllowNull  = false;
     this.dataGridBoolColumn1.FalseValue = ((short)(0));
     this.dataGridBoolColumn1.HeaderText = "管理权限";
     this.dataGridBoolColumn1.NullValue  = ((short)(0));
     this.dataGridBoolColumn1.TrueValue  = ((short)(1));
     this.dataGridBoolColumn1.Width      = 80;
     //
     // dataGridTextBoxColumn8
     //
     this.dataGridTextBoxColumn8.Format     = "";
     this.dataGridTextBoxColumn8.FormatInfo = null;
     this.dataGridTextBoxColumn8.HeaderText = "ypzlxid";
     this.dataGridTextBoxColumn8.NullText   = "";
     this.dataGridTextBoxColumn8.ReadOnly   = true;
     this.dataGridTextBoxColumn8.Width      = 0;
     //
     // dataGridTextBoxColumn9
     //
     this.dataGridTextBoxColumn9.Format     = "";
     this.dataGridTextBoxColumn9.FormatInfo = null;
     this.dataGridTextBoxColumn9.HeaderText = "yplxid";
     this.dataGridTextBoxColumn9.ReadOnly   = true;
     this.dataGridTextBoxColumn9.Width      = 0;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.cmbyjks);
     this.groupBox1.Controls.Add(this.butquit);
     this.groupBox1.Controls.Add(this.butsave);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.groupBox1.Location = new System.Drawing.Point(0, 371);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(768, 83);
     this.groupBox1.TabIndex = 4;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "操作";
     //
     // cmbyjks
     //
     this.cmbyjks.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbyjks.Location              = new System.Drawing.Point(139, 31);
     this.cmbyjks.Name                  = "cmbyjks";
     this.cmbyjks.Size                  = new System.Drawing.Size(192, 23);
     this.cmbyjks.TabIndex              = 5;
     this.cmbyjks.SelectedIndexChanged += new System.EventHandler(this.cmbyjks_SelectedIndexChanged);
     //
     // butquit
     //
     this.butquit.Location = new System.Drawing.Point(725, 21);
     this.butquit.Name     = "butquit";
     this.butquit.Size     = new System.Drawing.Size(128, 41);
     this.butquit.TabIndex = 4;
     this.butquit.Text     = "退出(&Q)";
     this.butquit.Click   += new System.EventHandler(this.butquit_Click);
     //
     // butsave
     //
     this.butsave.Location = new System.Drawing.Point(576, 21);
     this.butsave.Name     = "butsave";
     this.butsave.Size     = new System.Drawing.Size(128, 41);
     this.butsave.TabIndex = 2;
     this.butsave.Text     = "保存(&S)";
     this.butsave.Click   += new System.EventHandler(this.butsave_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(51, 36);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(88, 21);
     this.label1.TabIndex = 0;
     this.label1.Text     = "药剂科室";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.myDataGrid1);
     this.groupBox2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBox2.Location = new System.Drawing.Point(0, 0);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(768, 371);
     this.groupBox2.TabIndex = 5;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "药品类型及子类型";
     //
     // Frmgllx
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 18);
     this.ClientSize        = new System.Drawing.Size(768, 485);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.statusBar1);
     this.Name        = "Frmgllx";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.Frmsccj_Load);
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #23
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(frmUserSelect));
       this.pHeader = new Ndi.HelpDesk.UI.Controls.InfoBarLite();
       this.tlbMain = new System.Windows.Forms.ToolBar();
       this.tbbSeparator1 = new System.Windows.Forms.ToolBarButton();
       this.tbbNew = new System.Windows.Forms.ToolBarButton();
       this.tbbModify = new System.Windows.Forms.ToolBarButton();
       this.tbbPasswordReset = new System.Windows.Forms.ToolBarButton();
       this.tbbInactivate = new System.Windows.Forms.ToolBarButton();
       this.tbbLockedOut = new System.Windows.Forms.ToolBarButton();
       this.tbbReplace = new System.Windows.Forms.ToolBarButton();
       this.tbbSeparator2 = new System.Windows.Forms.ToolBarButton();
       this.tbbRefresh = new System.Windows.Forms.ToolBarButton();
       this.imgToolbar = new System.Windows.Forms.ImageList(this.components);
       this.pnlFilter = new System.Windows.Forms.Panel();
       this.cmbLockedOut = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.label5 = new System.Windows.Forms.Label();
       this.cmbStatus = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.label4 = new System.Windows.Forms.Label();
       this.label1 = new System.Windows.Forms.Label();
       this.txtLoginName = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.label3 = new System.Windows.Forms.Label();
       this.cmbOrganisation = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.cmbRight = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.label2 = new System.Windows.Forms.Label();
       this.pnlReplace = new System.Windows.Forms.Panel();
       this.groupBox1 = new System.Windows.Forms.GroupBox();
       this.txtNameToReplace = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.txtOtherToReplace = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.label6 = new System.Windows.Forms.Label();
       this.btnCancel = new System.Windows.Forms.Button();
       this.dtgMain = new Ndi.HelpDesk.UI.Controls.GreptonDataGrid();
       this.customStylesCollection1 = new Ndi.HelpDesk.UI.Controls.CustomStylesCollection();
       this.colLoginName = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colName = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colActive = new System.Windows.Forms.DataGridBoolColumn();
       this.colLockedOut = new System.Windows.Forms.DataGridBoolColumn();
       this.pnlFilter.SuspendLayout();
       this.pnlReplace.SuspendLayout();
       this.groupBox1.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgMain)).BeginInit();
       this.SuspendLayout();
       //
       // pHeader
       //
       this.pHeader.BackColor = System.Drawing.SystemColors.Window;
       this.pHeader.BackStyle = Ndi.HelpDesk.UI.Controls.BackStyle.Solid;
       this.pHeader.BorderSide = System.Windows.Forms.Border3DSide.Bottom;
       this.pHeader.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
       this.pHeader.Dock = System.Windows.Forms.DockStyle.Top;
       this.pHeader.GradientEndColor = System.Drawing.Color.White;
       this.pHeader.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
       this.pHeader.GradientStartColor = System.Drawing.Color.DeepSkyBlue;
       this.pHeader.Image = null;
       this.pHeader.ImageAlign = Ndi.HelpDesk.UI.Controls.ImageAlignment.TopLeft;
       this.pHeader.ImageOffsetX = 2;
       this.pHeader.ImageOffsetY = 0;
       this.pHeader.Location = new System.Drawing.Point(0, 0);
       this.pHeader.Name = "pHeader";
       this.pHeader.Size = new System.Drawing.Size(665, 46);
       this.pHeader.TabIndex = 0;
       this.pHeader.Text1 = "Felhasználók";
       this.pHeader.Text1Font = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Bold);
       this.pHeader.Text1ForeColor = System.Drawing.SystemColors.ControlText;
       this.pHeader.Text1OffsetX = 0;
       this.pHeader.Text1OffsetY = 0;
       this.pHeader.Text2 = "Regisztrált felhasználók adatainak karbantartása";
       this.pHeader.Text2Font = new System.Drawing.Font("Segoe UI", 8F);
       this.pHeader.Text2ForeColor = System.Drawing.SystemColors.ControlText;
       this.pHeader.Text2OffsetX = 20;
       this.pHeader.Text2OffsetY = 0;
       //
       // tlbMain
       //
       this.tlbMain.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
       this.tlbMain.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
     this.tbbSeparator1,
     this.tbbNew,
     this.tbbModify,
     this.tbbPasswordReset,
     this.tbbInactivate,
     this.tbbLockedOut,
     this.tbbReplace,
     this.tbbSeparator2,
     this.tbbRefresh});
       this.tlbMain.DropDownArrows = true;
       this.tlbMain.ImageList = this.imgToolbar;
       this.tlbMain.Location = new System.Drawing.Point(0, 46);
       this.tlbMain.Name = "tlbMain";
       this.tlbMain.ShowToolTips = true;
       this.tlbMain.Size = new System.Drawing.Size(665, 28);
       this.tlbMain.TabIndex = 1;
       this.tlbMain.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.tlbMain_ButtonClick);
       //
       // tbbSeparator1
       //
       this.tbbSeparator1.Name = "tbbSeparator1";
       this.tbbSeparator1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // tbbNew
       //
       this.tbbNew.ImageIndex = 0;
       this.tbbNew.Name = "tbbNew";
       this.tbbNew.ToolTipText = "Új (adminisztrátor) felhasználó";
       //
       // tbbModify
       //
       this.tbbModify.ImageIndex = 1;
       this.tbbModify.Name = "tbbModify";
       this.tbbModify.ToolTipText = "Felhasználó adatainak módosítása";
       //
       // tbbPasswordReset
       //
       this.tbbPasswordReset.ImageIndex = 4;
       this.tbbPasswordReset.Name = "tbbPasswordReset";
       this.tbbPasswordReset.ToolTipText = "Jelszó megváltoztatása";
       //
       // tbbInactivate
       //
       this.tbbInactivate.ImageIndex = 2;
       this.tbbInactivate.Name = "tbbInactivate";
       this.tbbInactivate.ToolTipText = "Inaktiválás/aktiválás";
       //
       // tbbLockedOut
       //
       this.tbbLockedOut.ImageIndex = 5;
       this.tbbLockedOut.Name = "tbbLockedOut";
       this.tbbLockedOut.ToolTipText = "Letiltott felhasználó engedélyezése";
       //
       // tbbReplace
       //
       this.tbbReplace.ImageIndex = 6;
       this.tbbReplace.Name = "tbbReplace";
       this.tbbReplace.ToolTipText = "Felhasználók összevonása";
       //
       // tbbSeparator2
       //
       this.tbbSeparator2.Name = "tbbSeparator2";
       this.tbbSeparator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // tbbRefresh
       //
       this.tbbRefresh.ImageIndex = 3;
       this.tbbRefresh.Name = "tbbRefresh";
       this.tbbRefresh.ToolTipText = "Lista frissítése/szûrés";
       //
       // imgToolbar
       //
       this.imgToolbar.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgToolbar.ImageStream")));
       this.imgToolbar.TransparentColor = System.Drawing.Color.Transparent;
       this.imgToolbar.Images.SetKeyName(0, "");
       this.imgToolbar.Images.SetKeyName(1, "");
       this.imgToolbar.Images.SetKeyName(2, "");
       this.imgToolbar.Images.SetKeyName(3, "");
       this.imgToolbar.Images.SetKeyName(4, "");
       this.imgToolbar.Images.SetKeyName(5, "");
       this.imgToolbar.Images.SetKeyName(6, "");
       //
       // pnlFilter
       //
       this.pnlFilter.Controls.Add(this.cmbLockedOut);
       this.pnlFilter.Controls.Add(this.label5);
       this.pnlFilter.Controls.Add(this.cmbStatus);
       this.pnlFilter.Controls.Add(this.label4);
       this.pnlFilter.Controls.Add(this.label1);
       this.pnlFilter.Controls.Add(this.txtLoginName);
       this.pnlFilter.Controls.Add(this.label3);
       this.pnlFilter.Controls.Add(this.cmbOrganisation);
       this.pnlFilter.Controls.Add(this.cmbRight);
       this.pnlFilter.Controls.Add(this.label2);
       this.pnlFilter.Controls.Add(this.pnlReplace);
       this.pnlFilter.Dock = System.Windows.Forms.DockStyle.Top;
       this.pnlFilter.Location = new System.Drawing.Point(0, 74);
       this.pnlFilter.Name = "pnlFilter";
       this.pnlFilter.Size = new System.Drawing.Size(665, 180);
       this.pnlFilter.TabIndex = 2;
       //
       // cmbLockedOut
       //
       this.cmbLockedOut.AllowNull = true;
       this.cmbLockedOut.BreakSort = false;
       this.cmbLockedOut.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbLockedOut.Location = new System.Drawing.Point(398, 64);
       this.cmbLockedOut.Name = "cmbLockedOut";
       this.cmbLockedOut.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbLockedOut.Size = new System.Drawing.Size(192, 24);
       this.cmbLockedOut.TabIndex = 9;
       this.cmbLockedOut.ToolBarUse = false;
       this.cmbLockedOut.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // label5
       //
       this.label5.AutoSize = true;
       this.label5.Location = new System.Drawing.Point(326, 68);
       this.label5.Name = "label5";
       this.label5.Size = new System.Drawing.Size(75, 17);
       this.label5.TabIndex = 8;
       this.label5.Text = "Használat:";
       //
       // cmbStatus
       //
       this.cmbStatus.AllowNull = true;
       this.cmbStatus.BreakSort = false;
       this.cmbStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbStatus.Location = new System.Drawing.Point(398, 36);
       this.cmbStatus.Name = "cmbStatus";
       this.cmbStatus.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbStatus.Size = new System.Drawing.Size(192, 24);
       this.cmbStatus.TabIndex = 7;
       this.cmbStatus.ToolBarUse = false;
       this.cmbStatus.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // label4
       //
       this.label4.AutoSize = true;
       this.label4.Location = new System.Drawing.Point(326, 41);
       this.label4.Name = "label4";
       this.label4.Size = new System.Drawing.Size(55, 17);
       this.label4.TabIndex = 6;
       this.label4.Text = "Állapot:";
       //
       // label1
       //
       this.label1.AutoSize = true;
       this.label1.Location = new System.Drawing.Point(10, 14);
       this.label1.Name = "label1";
       this.label1.Size = new System.Drawing.Size(74, 17);
       this.label1.TabIndex = 0;
       this.label1.Text = "Login név:";
       //
       // txtLoginName
       //
       this.txtLoginName.AllowNull = true;
       this.txtLoginName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtLoginName.InvalidCharSet = "";
       this.txtLoginName.Location = new System.Drawing.Point(96, 9);
       this.txtLoginName.MaxLength = 50;
       this.txtLoginName.Name = "txtLoginName";
       this.txtLoginName.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtLoginName.Size = new System.Drawing.Size(494, 22);
       this.txtLoginName.TabIndex = 1;
       this.txtLoginName.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtLoginName.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtLoginName.ValidationMask = "";
       this.txtLoginName.ValidCharSet = "";
       //
       // label3
       //
       this.label3.AutoSize = true;
       this.label3.Location = new System.Drawing.Point(10, 68);
       this.label3.Name = "label3";
       this.label3.Size = new System.Drawing.Size(75, 17);
       this.label3.TabIndex = 4;
       this.label3.Text = "Szervezet:";
       //
       // cmbOrganisation
       //
       this.cmbOrganisation.AllowNull = true;
       this.cmbOrganisation.BreakSort = false;
       this.cmbOrganisation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbOrganisation.Location = new System.Drawing.Point(96, 64);
       this.cmbOrganisation.Name = "cmbOrganisation";
       this.cmbOrganisation.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbOrganisation.Size = new System.Drawing.Size(202, 24);
       this.cmbOrganisation.TabIndex = 5;
       this.cmbOrganisation.ToolBarUse = false;
       this.cmbOrganisation.ValidationErrorMessage = "Érvénytelen karakter!";
       this.cmbOrganisation.SelectedIndexChanged += new System.EventHandler(this.cmbOrganisation_SelectedIndexChanged);
       //
       // cmbRight
       //
       this.cmbRight.AllowNull = true;
       this.cmbRight.BreakSort = false;
       this.cmbRight.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbRight.Location = new System.Drawing.Point(96, 36);
       this.cmbRight.Name = "cmbRight";
       this.cmbRight.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbRight.Size = new System.Drawing.Size(202, 24);
       this.cmbRight.TabIndex = 3;
       this.cmbRight.ToolBarUse = false;
       this.cmbRight.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // label2
       //
       this.label2.AutoSize = true;
       this.label2.Location = new System.Drawing.Point(10, 41);
       this.label2.Name = "label2";
       this.label2.Size = new System.Drawing.Size(88, 17);
       this.label2.TabIndex = 2;
       this.label2.Text = "Jogosultság:";
       //
       // pnlReplace
       //
       this.pnlReplace.Controls.Add(this.groupBox1);
       this.pnlReplace.Controls.Add(this.btnCancel);
       this.pnlReplace.Location = new System.Drawing.Point(0, 102);
       this.pnlReplace.Name = "pnlReplace";
       this.pnlReplace.Size = new System.Drawing.Size(643, 71);
       this.pnlReplace.TabIndex = 5;
       //
       // groupBox1
       //
       this.groupBox1.Controls.Add(this.txtNameToReplace);
       this.groupBox1.Controls.Add(this.txtOtherToReplace);
       this.groupBox1.Controls.Add(this.label6);
       this.groupBox1.Location = new System.Drawing.Point(10, 0);
       this.groupBox1.Name = "groupBox1";
       this.groupBox1.Size = new System.Drawing.Size(480, 69);
       this.groupBox1.TabIndex = 0;
       this.groupBox1.TabStop = false;
       this.groupBox1.Text = " Cserére kiválasztott felhasználó";
       //
       // txtNameToReplace
       //
       this.txtNameToReplace.AllowNull = true;
       this.txtNameToReplace.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.txtNameToReplace.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
       this.txtNameToReplace.InvalidCharSet = "";
       this.txtNameToReplace.Location = new System.Drawing.Point(19, 18);
       this.txtNameToReplace.MaxLength = 50;
       this.txtNameToReplace.Multiline = true;
       this.txtNameToReplace.Name = "txtNameToReplace";
       this.txtNameToReplace.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtNameToReplace.ReadOnly = true;
       this.txtNameToReplace.Size = new System.Drawing.Size(192, 47);
       this.txtNameToReplace.TabIndex = 0;
       this.txtNameToReplace.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtNameToReplace.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtNameToReplace.ValidationMask = "";
       this.txtNameToReplace.ValidCharSet = "";
       //
       // txtOtherToReplace
       //
       this.txtOtherToReplace.AllowNull = true;
       this.txtOtherToReplace.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.txtOtherToReplace.InvalidCharSet = "";
       this.txtOtherToReplace.Location = new System.Drawing.Point(226, 18);
       this.txtOtherToReplace.MaxLength = 50;
       this.txtOtherToReplace.Multiline = true;
       this.txtOtherToReplace.Name = "txtOtherToReplace";
       this.txtOtherToReplace.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtOtherToReplace.ReadOnly = true;
       this.txtOtherToReplace.Size = new System.Drawing.Size(240, 47);
       this.txtOtherToReplace.TabIndex = 2;
       this.txtOtherToReplace.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtOtherToReplace.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtOtherToReplace.ValidationMask = "";
       this.txtOtherToReplace.ValidCharSet = "";
       //
       // label6
       //
       this.label6.BackColor = System.Drawing.SystemColors.ControlDark;
       this.label6.Location = new System.Drawing.Point(216, 14);
       this.label6.Name = "label6";
       this.label6.Size = new System.Drawing.Size(1, 51);
       this.label6.TabIndex = 1;
       this.label6.Visible = false;
       //
       // btnCancel
       //
       this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
       this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnCancel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnCancel.Location = new System.Drawing.Point(547, 39);
       this.btnCancel.Name = "btnCancel";
       this.btnCancel.Size = new System.Drawing.Size(84, 23);
       this.btnCancel.TabIndex = 2;
       this.btnCancel.Text = "Mégse";
       this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
       //
       // dtgMain
       //
       this.dtgMain.BackgroundColor = System.Drawing.SystemColors.Window;
       this.dtgMain.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.dtgMain.CaptionBackColor = System.Drawing.SystemColors.Highlight;
       this.dtgMain.CaptionVisible = false;
       this.dtgMain.DataMember = "";
       this.dtgMain.Dock = System.Windows.Forms.DockStyle.Fill;
       this.dtgMain.GridLineColor = System.Drawing.SystemColors.ControlLight;
       this.dtgMain.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.dtgMain.Location = new System.Drawing.Point(0, 254);
       this.dtgMain.Name = "dtgMain";
       this.dtgMain.ReadOnly = true;
       this.dtgMain.RowHeaderWidth = 3;
       this.dtgMain.Size = new System.Drawing.Size(665, 245);
       this.dtgMain.TabIndex = 3;
       this.dtgMain.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.customStylesCollection1});
       this.dtgMain.DoubleClick += new System.EventHandler(this.dtgMain_DoubleClick);
       //
       // customStylesCollection1
       //
       this.customStylesCollection1.DataGrid = this.dtgMain;
       this.customStylesCollection1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.colLoginName,
     this.colName,
     this.colActive,
     this.colLockedOut});
       this.customStylesCollection1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.customStylesCollection1.RowHeaderWidth = 3;
       this.customStylesCollection1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
       //
       // colLoginName
       //
       this.colLoginName.Format = "";
       this.colLoginName.FormatInfo = null;
       this.colLoginName.HeaderText = "Login név";
       this.colLoginName.MappingName = "LoginName";
       this.colLoginName.Width = 220;
       //
       // colName
       //
       this.colName.Format = "";
       this.colName.FormatInfo = null;
       this.colName.HeaderText = "Név";
       this.colName.MappingName = "Name";
       this.colName.Width = 220;
       //
       // colActive
       //
       this.colActive.HeaderText = "Aktív";
       this.colActive.MappingName = "IsActive";
       this.colActive.Width = 75;
       //
       // colLockedOut
       //
       this.colLockedOut.HeaderText = "Letiltott";
       this.colLockedOut.MappingName = "LockedOut";
       this.colLockedOut.Width = 75;
       //
       // frmUserSelect
       //
       this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
       this.ClientSize = new System.Drawing.Size(665, 499);
       this.Controls.Add(this.dtgMain);
       this.Controls.Add(this.pnlFilter);
       this.Controls.Add(this.tlbMain);
       this.Controls.Add(this.pHeader);
       this.Name = "frmUserSelect";
       this.Text = "NDI HelpDesk Adminisztrátor";
       this.Load += new System.EventHandler(this.frmUserSelect_Load);
       this.pnlFilter.ResumeLayout(false);
       this.pnlFilter.PerformLayout();
       this.pnlReplace.ResumeLayout(false);
       this.groupBox1.ResumeLayout(false);
       this.groupBox1.PerformLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgMain)).EndInit();
       this.ResumeLayout(false);
       this.PerformLayout();
 }
Example #24
0
        public ucParamDef(bool aModeDlg)
        {
            _params = null;

              // This call is required by the Windows.Forms Form Designer.
              InitializeComponent();

              #region Create data table and filling it:
              _dt = new DataTable();
              _dt.Columns.Add("Number", typeof(int));
              _dt.Columns.Add("Title", typeof(string));
              _dt.Columns.Add("Name", typeof(string));
              _dt.Columns.Add("Type", typeof(int));
              _dt.Columns.Add("Inset", typeof(bool));
              _dt.Columns.Add("DefaultValue", typeof(string));
              _dt.Columns.Add("CurrentValue", typeof(string));
              _dt.Columns.Add("SelectValue", typeof(string));

              _dt.Columns["Inset"].DefaultValue = false;
              _dt.Columns["Type"].DefaultValue = (int)eQueryParamType.String;

              #endregion

              _dt.DefaultView.Sort = "Number ASC";

              _dgr.DataSource = _dt;

              #region Create DateGridStyle
              _dgs = new AutoResizeDataGridTableStyle();
              //DataGridTableStyle _dgs = new DataGridTableStyle();
              _dgs.AllowSorting = false;

              DataGridTextBoxColumn dgTextColumn = new DataGridTextBoxColumn();
              dgTextColumn.MappingName = "Number";
              dgTextColumn.HeaderText = "NN";
              dgTextColumn.NullText = string.Empty;
              _dgs.GridColumnStyles.Add(dgTextColumn);

              dgTextColumn = new DataGridTextBoxColumn();
              dgTextColumn.MappingName = "Title";
              dgTextColumn.HeaderText = "Название";
              dgTextColumn.NullText = string.Empty;
              _dgs.GridColumnStyles.Add(dgTextColumn);

              dgTextColumn = new DataGridTextBoxColumn();
              dgTextColumn.MappingName = "Name";
              dgTextColumn.HeaderText = "Имя";
              dgTextColumn.NullText = string.Empty;
              _dgs.GridColumnStyles.Add(dgTextColumn);

              DataGridComboBoxColumnByCode dgComboColumn = new DataGridComboBoxColumnByCode();
              dgComboColumn.MappingName = "Type";
              dgComboColumn.HeaderText = "Тип";
              if (aModeDlg)
              {
            foreach (eQueryParamType ep in Enum.GetValues(typeof(eQueryParamType)))
              dgComboColumn.pCbo.Items.Add(new _ListBoxItem((int)ep, ep.ToString()));
              }
              else
              {
            dgComboColumn.pCbo.Items.Add(new _ListBoxItem((int)eQueryParamType.Date, eQueryParamType.Date.ToString()));
            dgComboColumn.pCbo.Items.Add(new _ListBoxItem((int)eQueryParamType.String, eQueryParamType.String.ToString()));
            dgComboColumn.pCbo.Items.Add(new _ListBoxItem((int)eQueryParamType.Integer, eQueryParamType.Integer.ToString()));
            //dgComboColumn.pCbo.Items.Add(new _ListBoxItem((int)eQueryParamType.PlaceCode, eQueryParamType.PlaceCode.ToString()));
              }
              _dgs.GridColumnStyles.Add(dgComboColumn);

              DataGridBoolColumn dgsBool = new DataGridBoolColumn();
              dgsBool.AllowNull = false;
              dgsBool.MappingName = "Inset";
              dgsBool.HeaderText = "Текст вст.";
              //dgsBool.NullText = string.Empty;
              _dgs.GridColumnStyles.Add(dgsBool);

              if (aModeDlg)
              {
            dgTextColumn = new DataGridTextBoxColumn();
            dgTextColumn.MappingName = "DefaultValue";
            dgTextColumn.HeaderText = "По умолчанию";
            dgTextColumn.NullText = string.Empty;
            _dgs.GridColumnStyles.Add(dgTextColumn);
              }

              _dgr.TableStyles.Clear();
              _dgr.TableStyles.Add(_dgs);
              #endregion

              _txt.AcceptsReturn = true;
              _txt.AcceptsTab = true;
              _txt.Font = new Font(_txt.Font.Name, _txt.Font.Size, FontStyle.Bold);

              Binding bnd = _txt.DataBindings.Add("Text", _dt, aModeDlg ? "SelectValue" : "CurrentValue");
              bnd.Format += new ConvertEventHandler(bnd_Format);
              bnd.Parse += new ConvertEventHandler(bnd_Parse);
        }
Example #25
0
 [System.Diagnostics.DebuggerStepThrough()] private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     base.Closed    += new System.EventHandler(frmDept_Closed);
     base.Load      += new System.EventHandler(frmDept_Load);
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmDept));
     this.ToolBar1              = new System.Windows.Forms.ToolBar();
     this.ToolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.ToolBar1_ButtonClick);
     this.ToolBarButton1        = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton2        = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton3        = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton4        = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton5        = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton6        = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton7        = new System.Windows.Forms.ToolBarButton();
     this.ImageList1            = new System.Windows.Forms.ImageList(this.components);
     this.dgDept                 = new System.Windows.Forms.DataGrid();
     this.dgDept.DoubleClick    += new System.EventHandler(this.dgDept_DoubleClick);
     this.DataGridTableStyle1    = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn1    = new System.Windows.Forms.DataGridBoolColumn();
     ((System.ComponentModel.ISupportInitialize) this.dgDept).BeginInit();
     this.SuspendLayout();
     //
     //ToolBar1
     //
     this.ToolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.ToolBarButton1, this.ToolBarButton2, this.ToolBarButton3, this.ToolBarButton4, this.ToolBarButton5, this.ToolBarButton6, this.ToolBarButton7 });
     this.ToolBar1.ButtonSize     = new System.Drawing.Size(50, 48);
     this.ToolBar1.DropDownArrows = true;
     this.ToolBar1.ImageList      = this.ImageList1;
     this.ToolBar1.Location       = new System.Drawing.Point(0, 0);
     this.ToolBar1.Name           = "ToolBar1";
     this.ToolBar1.ShowToolTips   = true;
     this.ToolBar1.Size           = new System.Drawing.Size(391, 55);
     this.ToolBar1.TabIndex       = 0;
     //
     //ToolBarButton1
     //
     this.ToolBarButton1.ImageIndex = 0;
     this.ToolBarButton1.Text       = "添加";
     //
     //ToolBarButton2
     //
     this.ToolBarButton2.ImageIndex = 1;
     this.ToolBarButton2.Text       = "修改";
     //
     //ToolBarButton3
     //
     this.ToolBarButton3.ImageIndex = 2;
     this.ToolBarButton3.Text       = "删除";
     //
     //ToolBarButton4
     //
     this.ToolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton5
     //
     this.ToolBarButton5.ImageIndex = 4;
     this.ToolBarButton5.Text       = "打印";
     //
     //ToolBarButton6
     //
     this.ToolBarButton6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton7
     //
     this.ToolBarButton7.ImageIndex = 5;
     this.ToolBarButton7.Text       = "关闭";
     //
     //ImageList1
     //
     this.ImageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth16Bit;
     this.ImageList1.ImageSize        = new System.Drawing.Size(28, 28);
     this.ImageList1.ImageStream      = (System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageList1.ImageStream"));
     this.ImageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     //dgDept
     //
     this.dgDept.AlternatingBackColor = System.Drawing.Color.GhostWhite;
     this.dgDept.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.dgDept.BackColor           = System.Drawing.Color.GhostWhite;
     this.dgDept.BackgroundColor     = System.Drawing.Color.Lavender;
     this.dgDept.CaptionBackColor    = System.Drawing.Color.Navy;
     this.dgDept.CaptionForeColor    = System.Drawing.Color.White;
     this.dgDept.DataMember          = "";
     this.dgDept.FlatMode            = true;
     this.dgDept.Font                = new System.Drawing.Font("Tahoma", 8.0F);
     this.dgDept.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dgDept.GridLineColor       = System.Drawing.Color.RoyalBlue;
     this.dgDept.HeaderBackColor     = System.Drawing.Color.MidnightBlue;
     this.dgDept.HeaderFont          = new System.Drawing.Font("Tahoma", 8.0F, System.Drawing.FontStyle.Bold);
     this.dgDept.HeaderForeColor     = System.Drawing.Color.Lavender;
     this.dgDept.LinkColor           = System.Drawing.Color.Teal;
     this.dgDept.Location            = new System.Drawing.Point(0, 55);
     this.dgDept.Name                = "dgDept";
     this.dgDept.ParentRowsBackColor = System.Drawing.Color.Lavender;
     this.dgDept.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dgDept.ReadOnly            = true;
     this.dgDept.SelectionBackColor  = System.Drawing.Color.Teal;
     this.dgDept.SelectionForeColor  = System.Drawing.Color.PaleGreen;
     this.dgDept.Size                = new System.Drawing.Size(391, 247);
     this.dgDept.TabIndex            = 1;
     this.dgDept.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.DataGridTableStyle1 });
     //
     //DataGridTableStyle1
     //
     this.DataGridTableStyle1.DataGrid = this.dgDept;
     this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.DataGridTextBoxColumn1, this.DataGridTextBoxColumn2, this.DataGridTextBoxColumn3, this.DataGridBoolColumn1 });
     this.DataGridTableStyle1.HeaderFont      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle1.MappingName     = "Department";
     //
     //DataGridTextBoxColumn1
     //
     this.DataGridTextBoxColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn1.Format      = "";
     this.DataGridTextBoxColumn1.FormatInfo  = null;
     this.DataGridTextBoxColumn1.HeaderText  = "部门编码";
     this.DataGridTextBoxColumn1.MappingName = "DepCode";
     this.DataGridTextBoxColumn1.Width       = 75;
     //
     //DataGridTextBoxColumn2
     //
     this.DataGridTextBoxColumn2.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn2.Format      = "";
     this.DataGridTextBoxColumn2.FormatInfo  = null;
     this.DataGridTextBoxColumn2.HeaderText  = "部门名称";
     this.DataGridTextBoxColumn2.MappingName = "deptname";
     this.DataGridTextBoxColumn2.Width       = 90;
     //
     //DataGridTextBoxColumn3
     //
     this.DataGridTextBoxColumn3.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn3.Format      = "";
     this.DataGridTextBoxColumn3.FormatInfo  = null;
     this.DataGridTextBoxColumn3.HeaderText  = "部门类型";
     this.DataGridTextBoxColumn3.MappingName = "depttype";
     this.DataGridTextBoxColumn3.Width       = 80;
     //
     //DataGridBoolColumn1
     //
     this.DataGridBoolColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn1.FalseValue  = "0";
     this.DataGridBoolColumn1.HeaderText  = "是否商品部门";
     this.DataGridBoolColumn1.MappingName = "issecondarystock";
     this.DataGridBoolColumn1.NullValue   = resources.GetObject("DataGridBoolColumn1.NullValue");
     this.DataGridBoolColumn1.TrueValue   = "1";
     this.DataGridBoolColumn1.Width       = 80;
     //
     //frmDept
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(391, 302);
     this.Controls.Add(this.dgDept);
     this.Controls.Add(this.ToolBar1);
     this.Icon = (System.Drawing.Icon)(resources.GetObject("$this.Icon"));
     this.Name = "frmDept";
     this.Text = "部门管理";
     ((System.ComponentModel.ISupportInitialize) this.dgDept).EndInit();
     this.ResumeLayout(false);
 }
Example #26
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(frmIntelligentSearch));
     this.trvSearchType          = new System.Windows.Forms.TreeView();
     this.m_lblForTitle          = new System.Windows.Forms.Label();
     this.groupBox1              = new System.Windows.Forms.GroupBox();
     this.m_lblSearchDesc        = new System.Windows.Forms.Label();
     this.dataGrid1              = new System.Windows.Forms.DataGrid();
     this.m_dtbSearchContent     = new System.Data.DataTable();
     this.dataColumn1            = new System.Data.DataColumn();
     this.dataColumn2            = new System.Data.DataColumn();
     this.dataColumn3            = new System.Data.DataColumn();
     this.dataColumn4            = new System.Data.DataColumn();
     this.dataGridTableStyle1    = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dtsTemp             = new System.Data.DataSet();
     this.groupBox2           = new System.Windows.Forms.GroupBox();
     this.m_lsvQueryResult    = new System.Windows.Forms.ListView();
     this.label1              = new System.Windows.Forms.Label();
     this.m_cmdPerformQuery   = new System.Windows.Forms.Button();
     this.dataColumn5         = new System.Data.DataColumn();
     this.dataGridBoolColumn1 = new System.Windows.Forms.DataGridBoolColumn();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.m_dtbSearchContent)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtsTemp)).BeginInit();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // trvSearchType
     //
     this.trvSearchType.BackColor          = System.Drawing.Color.FromArgb(((System.Byte)(51)), ((System.Byte)(102)), ((System.Byte)(153)));
     this.trvSearchType.BorderStyle        = System.Windows.Forms.BorderStyle.None;
     this.trvSearchType.Font               = new System.Drawing.Font("SimSun", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.trvSearchType.ForeColor          = System.Drawing.SystemColors.Window;
     this.trvSearchType.HideSelection      = false;
     this.trvSearchType.ImageIndex         = -1;
     this.trvSearchType.ItemHeight         = 18;
     this.trvSearchType.Location           = new System.Drawing.Point(40, 68);
     this.trvSearchType.Name               = "trvSearchType";
     this.trvSearchType.SelectedImageIndex = -1;
     this.trvSearchType.ShowRootLines      = false;
     this.trvSearchType.Size               = new System.Drawing.Size(260, 240);
     this.trvSearchType.TabIndex           = 502;
     this.trvSearchType.AfterSelect       += new System.Windows.Forms.TreeViewEventHandler(this.trvSearchType_AfterSelect);
     this.trvSearchType.BeforeExpand      += new System.Windows.Forms.TreeViewCancelEventHandler(this.trvSearchType_BeforeExpand);
     //
     // m_lblForTitle
     //
     this.m_lblForTitle.Font      = new System.Drawing.Font("SimSun", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.m_lblForTitle.Location  = new System.Drawing.Point(324, 8);
     this.m_lblForTitle.Name      = "m_lblForTitle";
     this.m_lblForTitle.Size      = new System.Drawing.Size(416, 48);
     this.m_lblForTitle.TabIndex  = 503;
     this.m_lblForTitle.Text      = "智 能 查 询";
     this.m_lblForTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // groupBox1
     //
     this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.m_lblSearchDesc,
         this.dataGrid1
     });
     this.groupBox1.Location = new System.Drawing.Point(316, 56);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(660, 252);
     this.groupBox1.TabIndex = 504;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "查询内容";
     //
     // m_lblSearchDesc
     //
     this.m_lblSearchDesc.Location = new System.Drawing.Point(16, 28);
     this.m_lblSearchDesc.Name     = "m_lblSearchDesc";
     this.m_lblSearchDesc.Size     = new System.Drawing.Size(632, 40);
     this.m_lblSearchDesc.TabIndex = 2;
     this.m_lblSearchDesc.Text     = "查询说明:";
     //
     // dataGrid1
     //
     this.dataGrid1.BorderStyle     = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionVisible  = false;
     this.dataGrid1.DataMember      = "";
     this.dataGrid1.DataSource      = this.m_dtbSearchContent;
     this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGrid1.Location        = new System.Drawing.Point(16, 76);
     this.dataGrid1.Name            = "dataGrid1";
     this.dataGrid1.Size            = new System.Drawing.Size(632, 160);
     this.dataGrid1.TabIndex        = 1;
     this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     //
     // m_dtbSearchContent
     //
     this.m_dtbSearchContent.Columns.AddRange(new System.Data.DataColumn[] {
         this.dataColumn1,
         this.dataColumn2,
         this.dataColumn3,
         this.dataColumn4,
         this.dataColumn5
     });
     this.m_dtbSearchContent.TableName = "SearchContent";
     //
     // dataColumn1
     //
     this.dataColumn1.Caption    = "名称";
     this.dataColumn1.ColumnName = "ConditionName";
     //
     // dataColumn2
     //
     this.dataColumn2.Caption    = "条件值";
     this.dataColumn2.ColumnName = "ConditionValue";
     //
     // dataColumn3
     //
     this.dataColumn3.Caption    = "说明";
     this.dataColumn3.ColumnName = "ConditionExplain";
     //
     // dataColumn4
     //
     this.dataColumn4.ColumnName = "XmlNode";
     this.dataColumn4.DataType   = typeof(object);
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.DataGrid = this.dataGrid1;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn1,
         this.dataGridTextBoxColumn2,
         this.dataGridBoolColumn1,
         this.dataGridTextBoxColumn3
     });
     this.dataGridTableStyle1.HeaderForeColor   = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyle1.MappingName       = "SearchContent";
     this.dataGridTableStyle1.RowHeadersVisible = false;
     //
     // dataGridTextBoxColumn1
     //
     this.dataGridTextBoxColumn1.Format      = "";
     this.dataGridTextBoxColumn1.FormatInfo  = null;
     this.dataGridTextBoxColumn1.HeaderText  = "名称";
     this.dataGridTextBoxColumn1.MappingName = "ConditionName";
     this.dataGridTextBoxColumn1.NullText    = "";
     this.dataGridTextBoxColumn1.ReadOnly    = true;
     this.dataGridTextBoxColumn1.Width       = 120;
     //
     // dataGridTextBoxColumn2
     //
     this.dataGridTextBoxColumn2.Format      = "";
     this.dataGridTextBoxColumn2.FormatInfo  = null;
     this.dataGridTextBoxColumn2.HeaderText  = "条件值";
     this.dataGridTextBoxColumn2.MappingName = "ConditionValue";
     this.dataGridTextBoxColumn2.NullText    = "";
     this.dataGridTextBoxColumn2.Width       = 120;
     //
     // dataGridTextBoxColumn3
     //
     this.dataGridTextBoxColumn3.Format      = "";
     this.dataGridTextBoxColumn3.FormatInfo  = null;
     this.dataGridTextBoxColumn3.HeaderText  = "说明";
     this.dataGridTextBoxColumn3.MappingName = "ConditionExplain";
     this.dataGridTextBoxColumn3.NullText    = "";
     this.dataGridTextBoxColumn3.ReadOnly    = true;
     this.dataGridTextBoxColumn3.Width       = 300;
     //
     // dtsTemp
     //
     this.dtsTemp.DataSetName = "TempDTS";
     this.dtsTemp.Locale      = new System.Globalization.CultureInfo("zh-CN");
     this.dtsTemp.Tables.AddRange(new System.Data.DataTable[] {
         this.m_dtbSearchContent
     });
     //
     // groupBox2
     //
     this.groupBox2.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.m_lsvQueryResult,
         this.label1,
         this.m_cmdPerformQuery
     });
     this.groupBox2.Location = new System.Drawing.Point(40, 324);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(936, 304);
     this.groupBox2.TabIndex = 505;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "查询结果";
     //
     // m_lsvQueryResult
     //
     this.m_lsvQueryResult.BackColor     = System.Drawing.Color.FromArgb(((System.Byte)(51)), ((System.Byte)(102)), ((System.Byte)(153)));
     this.m_lsvQueryResult.BorderStyle   = System.Windows.Forms.BorderStyle.None;
     this.m_lsvQueryResult.Font          = new System.Drawing.Font("SimSun", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.m_lsvQueryResult.ForeColor     = System.Drawing.Color.White;
     this.m_lsvQueryResult.FullRowSelect = true;
     this.m_lsvQueryResult.GridLines     = true;
     this.m_lsvQueryResult.Location      = new System.Drawing.Point(16, 76);
     this.m_lsvQueryResult.MultiSelect   = false;
     this.m_lsvQueryResult.Name          = "m_lsvQueryResult";
     this.m_lsvQueryResult.Size          = new System.Drawing.Size(904, 208);
     this.m_lsvQueryResult.Sorting       = System.Windows.Forms.SortOrder.Ascending;
     this.m_lsvQueryResult.TabIndex      = 171;
     this.m_lsvQueryResult.View          = System.Windows.Forms.View.Details;
     this.m_lsvQueryResult.DoubleClick  += new System.EventHandler(this.m_lsvQueryResult_DoubleClick);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(88, 40);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(312, 23);
     this.label1.TabIndex = 142;
     this.label1.Text     = "提示:双击结果来查看具体内容";
     //
     // m_cmdPerformQuery
     //
     this.m_cmdPerformQuery.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.m_cmdPerformQuery.Location  = new System.Drawing.Point(16, 32);
     this.m_cmdPerformQuery.Name      = "m_cmdPerformQuery";
     this.m_cmdPerformQuery.Size      = new System.Drawing.Size(64, 32);
     this.m_cmdPerformQuery.TabIndex  = 141;
     this.m_cmdPerformQuery.Text      = "查询";
     this.m_cmdPerformQuery.Click    += new System.EventHandler(this.m_cmdPerformQuery_Click);
     //
     // dataColumn5
     //
     this.dataColumn5.AllowDBNull  = false;
     this.dataColumn5.ColumnName   = "IsUse";
     this.dataColumn5.DataType     = typeof(bool);
     this.dataColumn5.DefaultValue = false;
     //
     // dataGridBoolColumn1
     //
     this.dataGridBoolColumn1.AllowNull   = false;
     this.dataGridBoolColumn1.FalseValue  = false;
     this.dataGridBoolColumn1.HeaderText  = "使用";
     this.dataGridBoolColumn1.MappingName = "IsUse";
     this.dataGridBoolColumn1.NullText    = "";
     this.dataGridBoolColumn1.NullValue   = ((System.DBNull)(resources.GetObject("dataGridBoolColumn1.NullValue")));
     this.dataGridBoolColumn1.TrueValue   = true;
     this.dataGridBoolColumn1.Width       = 60;
     //
     // frmIntelligentSearch
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 19);
     this.ClientSize        = new System.Drawing.Size(1016, 733);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.groupBox1,
         this.groupBox2,
         this.m_lblForTitle,
         this.trvSearchType
     });
     this.Name  = "frmIntelligentSearch";
     this.Text  = "智能查询";
     this.Load += new System.EventHandler(this.frmIntelligentSearch_Load);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.m_dtbSearchContent)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtsTemp)).EndInit();
     this.groupBox2.ResumeLayout(false);
     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.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDesignerDrogSelect));
     this.pHeader = new Ndi.HelpDesk.UI.Controls.InfoBarLite();
     this.imgToolbar = new System.Windows.Forms.ImageList(this.components);
     this.tlbMain = new System.Windows.Forms.ToolBar();
     this.tbbSeparator1 = new System.Windows.Forms.ToolBarButton();
     this.tbbNew = new System.Windows.Forms.ToolBarButton();
     this.tbbModify = new System.Windows.Forms.ToolBarButton();
     this.tbbInactivate = new System.Windows.Forms.ToolBarButton();
     this.tbbSeparator2 = new System.Windows.Forms.ToolBarButton();
     this.tbbRefresh = new System.Windows.Forms.ToolBarButton();
     this.pnlFilter = new System.Windows.Forms.Panel();
     this.cmbCategoryRef = new Ndi.HelpDesk.UI.Controls.TextComboBox();
     this.lblCategoryRef = new System.Windows.Forms.Label();
     this.cmbActual = new Ndi.HelpDesk.UI.Controls.TextComboBox();
     this.cmbStatus = new Ndi.HelpDesk.UI.Controls.TextComboBox();
     this.label4 = new System.Windows.Forms.Label();
     this.dtgMain = new Ndi.HelpDesk.UI.Controls.GreptonDataGrid();
     this.customStylesCollection1 = new Ndi.HelpDesk.UI.Controls.CustomStylesCollection();
     this.colTitle = new System.Windows.Forms.DataGridTextBoxColumn();
     this.colAuthor = new System.Windows.Forms.DataGridTextBoxColumn();
     this.colSource = new System.Windows.Forms.DataGridTextBoxColumn();
     this.colCategory = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
     this.colActive = new System.Windows.Forms.DataGridBoolColumn();
     this.colIsActual = new System.Windows.Forms.DataGridBoolColumn();
     this.pnlFilter.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dtgMain)).BeginInit();
     this.SuspendLayout();
     //
     // pHeader
     //
     this.pHeader.BackColor = System.Drawing.SystemColors.Window;
     this.pHeader.BackStyle = Ndi.HelpDesk.UI.Controls.BackStyle.Solid;
     this.pHeader.BorderSide = System.Windows.Forms.Border3DSide.Bottom;
     this.pHeader.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
     this.pHeader.Dock = System.Windows.Forms.DockStyle.Top;
     this.pHeader.GradientEndColor = System.Drawing.Color.White;
     this.pHeader.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
     this.pHeader.GradientStartColor = System.Drawing.Color.DeepSkyBlue;
     this.pHeader.Image = null;
     this.pHeader.ImageAlign = Ndi.HelpDesk.UI.Controls.ImageAlignment.TopLeft;
     this.pHeader.ImageOffsetX = 2;
     this.pHeader.ImageOffsetY = 0;
     this.pHeader.Location = new System.Drawing.Point(0, 0);
     this.pHeader.Name = "pHeader";
     this.pHeader.Size = new System.Drawing.Size(800, 46);
     this.pHeader.TabIndex = 0;
     this.pHeader.Text1 = "Designer drogok";
     this.pHeader.Text1Font = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Bold);
     this.pHeader.Text1ForeColor = System.Drawing.SystemColors.ControlText;
     this.pHeader.Text1OffsetX = 0;
     this.pHeader.Text1OffsetY = 0;
     this.pHeader.Text2 = "A Designer drogok portálon megjelenõ elemek szerkeszétse";
     this.pHeader.Text2Font = new System.Drawing.Font("Segoe UI", 8F);
     this.pHeader.Text2ForeColor = System.Drawing.SystemColors.ControlText;
     this.pHeader.Text2OffsetX = 20;
     this.pHeader.Text2OffsetY = 0;
     //
     // imgToolbar
     //
     this.imgToolbar.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgToolbar.ImageStream")));
     this.imgToolbar.TransparentColor = System.Drawing.Color.Transparent;
     this.imgToolbar.Images.SetKeyName(0, "");
     this.imgToolbar.Images.SetKeyName(1, "");
     this.imgToolbar.Images.SetKeyName(2, "");
     this.imgToolbar.Images.SetKeyName(3, "");
     this.imgToolbar.Images.SetKeyName(4, "");
     //
     // tlbMain
     //
     this.tlbMain.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.tlbMain.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
     this.tbbSeparator1,
     this.tbbNew,
     this.tbbModify,
     this.tbbInactivate,
     this.tbbSeparator2,
     this.tbbRefresh});
     this.tlbMain.DropDownArrows = true;
     this.tlbMain.ImageList = this.imgToolbar;
     this.tlbMain.Location = new System.Drawing.Point(0, 46);
     this.tlbMain.Name = "tlbMain";
     this.tlbMain.ShowToolTips = true;
     this.tlbMain.Size = new System.Drawing.Size(800, 28);
     this.tlbMain.TabIndex = 1;
     this.tlbMain.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.tlbMain_ButtonClick);
     //
     // tbbSeparator1
     //
     this.tbbSeparator1.Name = "tbbSeparator1";
     this.tbbSeparator1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbbNew
     //
     this.tbbNew.ImageIndex = 0;
     this.tbbNew.Name = "tbbNew";
     this.tbbNew.ToolTipText = "Új hír";
     //
     // tbbModify
     //
     this.tbbModify.ImageIndex = 1;
     this.tbbModify.Name = "tbbModify";
     this.tbbModify.ToolTipText = "Hír módosítása";
     //
     // tbbInactivate
     //
     this.tbbInactivate.ImageIndex = 2;
     this.tbbInactivate.Name = "tbbInactivate";
     this.tbbInactivate.ToolTipText = "Inaktiválás/aktiválás";
     //
     // tbbSeparator2
     //
     this.tbbSeparator2.Name = "tbbSeparator2";
     this.tbbSeparator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbbRefresh
     //
     this.tbbRefresh.ImageIndex = 3;
     this.tbbRefresh.Name = "tbbRefresh";
     this.tbbRefresh.ToolTipText = "Lista frissítése/szûrés";
     //
     // pnlFilter
     //
     this.pnlFilter.Controls.Add(this.cmbCategoryRef);
     this.pnlFilter.Controls.Add(this.lblCategoryRef);
     this.pnlFilter.Controls.Add(this.cmbActual);
     this.pnlFilter.Controls.Add(this.cmbStatus);
     this.pnlFilter.Controls.Add(this.label4);
     this.pnlFilter.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlFilter.Location = new System.Drawing.Point(0, 74);
     this.pnlFilter.Name = "pnlFilter";
     this.pnlFilter.Size = new System.Drawing.Size(800, 80);
     this.pnlFilter.TabIndex = 2;
     //
     // cmbCategoryRef
     //
     this.cmbCategoryRef.AllowNull = true;
     this.cmbCategoryRef.BreakSort = false;
     this.cmbCategoryRef.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbCategoryRef.Items.AddRange(new object[] {
     "Magyar"});
     this.cmbCategoryRef.Location = new System.Drawing.Point(101, 34);
     this.cmbCategoryRef.Name = "cmbCategoryRef";
     this.cmbCategoryRef.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
     this.cmbCategoryRef.Size = new System.Drawing.Size(341, 24);
     this.cmbCategoryRef.TabIndex = 44;
     this.cmbCategoryRef.ToolBarUse = false;
     this.cmbCategoryRef.ValidationErrorMessage = "Érvénytelen karakter!";
     //
     // lblCategoryRef
     //
     this.lblCategoryRef.Location = new System.Drawing.Point(9, 39);
     this.lblCategoryRef.Name = "lblCategoryRef";
     this.lblCategoryRef.Size = new System.Drawing.Size(86, 23);
     this.lblCategoryRef.TabIndex = 45;
     this.lblCategoryRef.Text = "Kategória:";
     //
     // cmbActual
     //
     this.cmbActual.AllowNull = true;
     this.cmbActual.BreakSort = false;
     this.cmbActual.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbActual.Location = new System.Drawing.Point(303, 6);
     this.cmbActual.Name = "cmbActual";
     this.cmbActual.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
     this.cmbActual.Size = new System.Drawing.Size(139, 24);
     this.cmbActual.TabIndex = 7;
     this.cmbActual.ToolBarUse = false;
     this.cmbActual.ValidationErrorMessage = "Érvénytelen karakter!";
     //
     // cmbStatus
     //
     this.cmbStatus.AllowNull = true;
     this.cmbStatus.BreakSort = false;
     this.cmbStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbStatus.Location = new System.Drawing.Point(101, 6);
     this.cmbStatus.Name = "cmbStatus";
     this.cmbStatus.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
     this.cmbStatus.Size = new System.Drawing.Size(139, 24);
     this.cmbStatus.TabIndex = 5;
     this.cmbStatus.ToolBarUse = false;
     this.cmbStatus.ValidationErrorMessage = "Érvénytelen karakter!";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(9, 11);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(55, 17);
     this.label4.TabIndex = 4;
     this.label4.Text = "Állapot:";
     //
     // dtgMain
     //
     this.dtgMain.BackgroundColor = System.Drawing.SystemColors.Window;
     this.dtgMain.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.dtgMain.CaptionBackColor = System.Drawing.SystemColors.Highlight;
     this.dtgMain.CaptionVisible = false;
     this.dtgMain.DataMember = "";
     this.dtgMain.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dtgMain.GridLineColor = System.Drawing.SystemColors.ControlLight;
     this.dtgMain.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dtgMain.Location = new System.Drawing.Point(0, 154);
     this.dtgMain.Name = "dtgMain";
     this.dtgMain.ReadOnly = true;
     this.dtgMain.RowHeaderWidth = 3;
     this.dtgMain.Size = new System.Drawing.Size(800, 155);
     this.dtgMain.TabIndex = 3;
     this.dtgMain.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.customStylesCollection1});
     this.dtgMain.Navigate += new System.Windows.Forms.NavigateEventHandler(this.dtgMain_Navigate);
     this.dtgMain.DoubleClick += new System.EventHandler(this.dtgMain_DoubleClick);
     //
     // customStylesCollection1
     //
     this.customStylesCollection1.DataGrid = this.dtgMain;
     this.customStylesCollection1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.colTitle,
     this.colAuthor,
     this.colSource,
     this.colCategory,
     this.colActive,
     this.colIsActual});
     this.customStylesCollection1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.customStylesCollection1.MappingName = "Table";
     this.customStylesCollection1.RowHeaderWidth = 3;
     this.customStylesCollection1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     //
     // colTitle
     //
     this.colTitle.Format = "";
     this.colTitle.FormatInfo = null;
     this.colTitle.HeaderText = "Cím";
     this.colTitle.MappingName = "cTitle";
     this.colTitle.Width = 200;
     //
     // colVisibleForVisitor
     //
     this.colAuthor.HeaderText = "Szerzõ";
     this.colAuthor.MappingName = "cAuthor";
     this.colAuthor.Width = 100;
     //
     // colVisibleForRegistered
     //
     this.colSource.HeaderText = "Forrás";
     this.colSource.MappingName = "cSource";
     this.colSource.Width = 100;
     //
     // colCategory
     //
     this.colCategory.Format = "";
     this.colCategory.FormatInfo = null;
     this.colCategory.HeaderText = "Kategória";
     this.colCategory.MappingName = "cCategoryName";
     this.colCategory.Width = 135;
     //
     // colActive
     //
     this.colActive.HeaderText = "Aktív";
     this.colActive.MappingName = "bIsActive";
     this.colActive.Width = 75;
     //
     // colIsActual
     //
     this.colIsActual.HeaderText = "Aktuális";
     this.colIsActual.MappingName = "bIsActual";
     this.colIsActual.Width = 75;
     //
     // frmDesignerDrogSelect
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.ClientSize = new System.Drawing.Size(800, 309);
     this.Controls.Add(this.dtgMain);
     this.Controls.Add(this.pnlFilter);
     this.Controls.Add(this.tlbMain);
     this.Controls.Add(this.pHeader);
     this.Name = "frmDesignerDrogSelect";
     this.Text = "NDI HelpDesk Adminisztrátor";
     this.Load += new System.EventHandler(this.frmDesignerDrogsSelect_Load);
     this.pnlFilter.ResumeLayout(false);
     this.pnlFilter.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dtgMain)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #28
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.panel1                  = new System.Windows.Forms.Panel();
     this.textBox1                = new System.Windows.Forms.TextBox();
     this.butquit                 = new System.Windows.Forms.Button();
     this.butok                   = new System.Windows.Forms.Button();
     this.label1                  = new System.Windows.Forms.Label();
     this.panel2                  = new System.Windows.Forms.Panel();
     this.myDataGrid1             = new myDataGrid.myDataGrid();
     this.dataGridTableStyle1     = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn1  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn2  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn3  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn4  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn5  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridBoolColumn1     = new System.Windows.Forms.DataGridBoolColumn();
     this.dataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.myDataGrid2             = new myDataGrid.myDataGrid();
     this.dataGridTableStyle2     = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn6  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn7  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn8  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn9  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.splitter1               = new System.Windows.Forms.Splitter();
     this.panel3                  = new System.Windows.Forms.Panel();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.myDataGrid2)).BeginInit();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.textBox1);
     this.panel1.Controls.Add(this.butquit);
     this.panel1.Controls.Add(this.butok);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(688, 48);
     this.panel1.TabIndex = 0;
     //
     // textBox1
     //
     this.textBox1.Font      = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.textBox1.Location  = new System.Drawing.Point(400, 11);
     this.textBox1.Name      = "textBox1";
     this.textBox1.Size      = new System.Drawing.Size(160, 30);
     this.textBox1.TabIndex  = 0;
     this.textBox1.Text      = "";
     this.textBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);
     //
     // butquit
     //
     this.butquit.Location = new System.Drawing.Point(160, 8);
     this.butquit.Name     = "butquit";
     this.butquit.Size     = new System.Drawing.Size(136, 32);
     this.butquit.TabIndex = 1;
     this.butquit.Text     = "取消";
     this.butquit.Click   += new System.EventHandler(this.butquit_Click);
     //
     // butok
     //
     this.butok.Location = new System.Drawing.Point(24, 8);
     this.butok.Name     = "butok";
     this.butok.Size     = new System.Drawing.Size(136, 32);
     this.butok.TabIndex = 3;
     this.butok.Text     = "选择";
     this.butok.Click   += new System.EventHandler(this.butok_Click);
     //
     // label1
     //
     this.label1.Font     = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.label1.Location = new System.Drawing.Point(334, 17);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(104, 24);
     this.label1.TabIndex = 3;
     this.label1.Text     = "处方号";
     //
     // panel2
     //
     this.panel2.Controls.Add(this.myDataGrid1);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location = new System.Drawing.Point(0, 48);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(688, 184);
     this.panel2.TabIndex = 1;
     //
     // myDataGrid1
     //
     this.myDataGrid1.BackgroundColor = System.Drawing.Color.White;
     this.myDataGrid1.CaptionVisible  = false;
     this.myDataGrid1.DataMember      = "";
     this.myDataGrid1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.myDataGrid1.Location        = new System.Drawing.Point(0, 0);
     this.myDataGrid1.Name            = "myDataGrid1";
     this.myDataGrid1.ReadOnly        = true;
     this.myDataGrid1.Size            = new System.Drawing.Size(688, 184);
     this.myDataGrid1.TabIndex        = 0;
     this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     this.myDataGrid1.Click += new System.EventHandler(this.myDataGrid1_Click);
     this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged);
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.DataGrid = this.myDataGrid1;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn1,
         this.dataGridTextBoxColumn2,
         this.dataGridTextBoxColumn3,
         this.dataGridTextBoxColumn4,
         this.dataGridTextBoxColumn5,
         this.dataGridTextBoxColumn15,
         this.dataGridTextBoxColumn16,
         this.dataGridBoolColumn1
     });
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyle1.MappingName     = "";
     //
     // dataGridTextBoxColumn1
     //
     this.dataGridTextBoxColumn1.Format      = "";
     this.dataGridTextBoxColumn1.FormatInfo  = null;
     this.dataGridTextBoxColumn1.HeaderText  = "序号";
     this.dataGridTextBoxColumn1.MappingName = "";
     this.dataGridTextBoxColumn1.NullText    = "";
     this.dataGridTextBoxColumn1.Width       = 40;
     //
     // dataGridTextBoxColumn2
     //
     this.dataGridTextBoxColumn2.Format      = "";
     this.dataGridTextBoxColumn2.FormatInfo  = null;
     this.dataGridTextBoxColumn2.HeaderText  = "科室";
     this.dataGridTextBoxColumn2.MappingName = "";
     this.dataGridTextBoxColumn2.NullText    = "";
     this.dataGridTextBoxColumn2.Width       = 75;
     //
     // dataGridTextBoxColumn3
     //
     this.dataGridTextBoxColumn3.Format      = "";
     this.dataGridTextBoxColumn3.FormatInfo  = null;
     this.dataGridTextBoxColumn3.HeaderText  = "住院号";
     this.dataGridTextBoxColumn3.MappingName = "";
     this.dataGridTextBoxColumn3.Width       = 75;
     //
     // dataGridTextBoxColumn4
     //
     this.dataGridTextBoxColumn4.Format      = "";
     this.dataGridTextBoxColumn4.FormatInfo  = null;
     this.dataGridTextBoxColumn4.HeaderText  = "姓名";
     this.dataGridTextBoxColumn4.MappingName = "";
     this.dataGridTextBoxColumn4.Width       = 75;
     //
     // dataGridTextBoxColumn5
     //
     this.dataGridTextBoxColumn5.Format      = "";
     this.dataGridTextBoxColumn5.FormatInfo  = null;
     this.dataGridTextBoxColumn5.HeaderText  = "金额";
     this.dataGridTextBoxColumn5.MappingName = "";
     this.dataGridTextBoxColumn5.Width       = 75;
     //
     // dataGridTextBoxColumn15
     //
     this.dataGridTextBoxColumn15.Format      = "";
     this.dataGridTextBoxColumn15.FormatInfo  = null;
     this.dataGridTextBoxColumn15.HeaderText  = "剂数";
     this.dataGridTextBoxColumn15.MappingName = "";
     this.dataGridTextBoxColumn15.Width       = 50;
     //
     // dataGridBoolColumn1
     //
     this.dataGridBoolColumn1.FalseValue  = ((short)(0));
     this.dataGridBoolColumn1.HeaderText  = "选";
     this.dataGridBoolColumn1.MappingName = "";
     this.dataGridBoolColumn1.NullText    = "";
     this.dataGridBoolColumn1.NullValue   = 0;
     this.dataGridBoolColumn1.TrueValue   = ((short)(1));
     this.dataGridBoolColumn1.Width       = 50;
     //
     // dataGridTextBoxColumn16
     //
     this.dataGridTextBoxColumn16.Format      = "";
     this.dataGridTextBoxColumn16.FormatInfo  = null;
     this.dataGridTextBoxColumn16.HeaderText  = "处方号";
     this.dataGridTextBoxColumn16.MappingName = "";
     this.dataGridTextBoxColumn16.NullText    = "";
     this.dataGridTextBoxColumn16.Width       = 60;
     //
     // myDataGrid2
     //
     this.myDataGrid2.BackgroundColor = System.Drawing.Color.White;
     this.myDataGrid2.CaptionVisible  = false;
     this.myDataGrid2.DataMember      = "";
     this.myDataGrid2.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.myDataGrid2.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.myDataGrid2.Location        = new System.Drawing.Point(0, 0);
     this.myDataGrid2.Name            = "myDataGrid2";
     this.myDataGrid2.Size            = new System.Drawing.Size(688, 213);
     this.myDataGrid2.TabIndex        = 0;
     this.myDataGrid2.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle2
     });
     //
     // dataGridTableStyle2
     //
     this.dataGridTableStyle2.DataGrid = this.myDataGrid2;
     this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn6,
         this.dataGridTextBoxColumn7,
         this.dataGridTextBoxColumn8,
         this.dataGridTextBoxColumn9,
         this.dataGridTextBoxColumn10,
         this.dataGridTextBoxColumn11,
         this.dataGridTextBoxColumn12,
         this.dataGridTextBoxColumn13,
         this.dataGridTextBoxColumn14
     });
     this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyle2.MappingName     = "";
     //
     // dataGridTextBoxColumn6
     //
     this.dataGridTextBoxColumn6.Format      = "";
     this.dataGridTextBoxColumn6.FormatInfo  = null;
     this.dataGridTextBoxColumn6.HeaderText  = "序号";
     this.dataGridTextBoxColumn6.MappingName = "";
     this.dataGridTextBoxColumn6.NullText    = "";
     this.dataGridTextBoxColumn6.Width       = 40;
     //
     // dataGridTextBoxColumn7
     //
     this.dataGridTextBoxColumn7.Format      = "";
     this.dataGridTextBoxColumn7.FormatInfo  = null;
     this.dataGridTextBoxColumn7.HeaderText  = "商品名";
     this.dataGridTextBoxColumn7.MappingName = "";
     this.dataGridTextBoxColumn7.NullText    = "";
     this.dataGridTextBoxColumn7.Width       = 75;
     //
     // dataGridTextBoxColumn8
     //
     this.dataGridTextBoxColumn8.Format      = "";
     this.dataGridTextBoxColumn8.FormatInfo  = null;
     this.dataGridTextBoxColumn8.HeaderText  = "品名";
     this.dataGridTextBoxColumn8.MappingName = "";
     this.dataGridTextBoxColumn8.NullText    = "";
     this.dataGridTextBoxColumn8.Width       = 75;
     //
     // dataGridTextBoxColumn9
     //
     this.dataGridTextBoxColumn9.Format      = "";
     this.dataGridTextBoxColumn9.FormatInfo  = null;
     this.dataGridTextBoxColumn9.HeaderText  = "数量";
     this.dataGridTextBoxColumn9.MappingName = "";
     this.dataGridTextBoxColumn9.NullText    = "";
     this.dataGridTextBoxColumn9.Width       = 60;
     //
     // dataGridTextBoxColumn10
     //
     this.dataGridTextBoxColumn10.Format      = "";
     this.dataGridTextBoxColumn10.FormatInfo  = null;
     this.dataGridTextBoxColumn10.HeaderText  = "单位";
     this.dataGridTextBoxColumn10.MappingName = "";
     this.dataGridTextBoxColumn10.NullText    = "";
     this.dataGridTextBoxColumn10.Width       = 40;
     //
     // dataGridTextBoxColumn11
     //
     this.dataGridTextBoxColumn11.Format      = "";
     this.dataGridTextBoxColumn11.FormatInfo  = null;
     this.dataGridTextBoxColumn11.HeaderText  = "规格";
     this.dataGridTextBoxColumn11.MappingName = "";
     this.dataGridTextBoxColumn11.NullText    = "";
     this.dataGridTextBoxColumn11.Width       = 90;
     //
     // dataGridTextBoxColumn12
     //
     this.dataGridTextBoxColumn12.Format      = "";
     this.dataGridTextBoxColumn12.FormatInfo  = null;
     this.dataGridTextBoxColumn12.HeaderText  = "厂家";
     this.dataGridTextBoxColumn12.MappingName = "";
     this.dataGridTextBoxColumn12.NullText    = "";
     this.dataGridTextBoxColumn12.Width       = 90;
     //
     // dataGridTextBoxColumn13
     //
     this.dataGridTextBoxColumn13.Format      = "";
     this.dataGridTextBoxColumn13.FormatInfo  = null;
     this.dataGridTextBoxColumn13.HeaderText  = "单价";
     this.dataGridTextBoxColumn13.MappingName = "";
     this.dataGridTextBoxColumn13.NullText    = "";
     this.dataGridTextBoxColumn13.Width       = 60;
     //
     // dataGridTextBoxColumn14
     //
     this.dataGridTextBoxColumn14.Format      = "";
     this.dataGridTextBoxColumn14.FormatInfo  = null;
     this.dataGridTextBoxColumn14.HeaderText  = "金额";
     this.dataGridTextBoxColumn14.MappingName = "";
     this.dataGridTextBoxColumn14.NullText    = "";
     this.dataGridTextBoxColumn14.Width       = 65;
     //
     // splitter1
     //
     this.splitter1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.splitter1.Location = new System.Drawing.Point(0, 232);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(688, 8);
     this.splitter1.TabIndex = 2;
     this.splitter1.TabStop  = false;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.myDataGrid2);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 240);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(688, 213);
     this.panel3.TabIndex = 3;
     //
     // Frmcffy_cx
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(688, 453);
     this.ControlBox        = false;
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "Frmcffy_cx";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "选择明细记录";
     this.Load           += new System.EventHandler(this.Frmmxcx_Load);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.myDataGrid2)).EndInit();
     this.panel3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #29
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmFoodDiscount));
     this.ToolBar1 = new System.Windows.Forms.ToolBar();
     this.ToolBarButton1 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton2 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton3 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton4 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton5 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton6 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton7 = new System.Windows.Forms.ToolBarButton();
     this.ImageList1 = new System.Windows.Forms.ImageList(this.components);
     this.dgFoodDiscount = new System.Windows.Forms.DataGrid();
     this.DataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn1 = new System.Windows.Forms.DataGridBoolColumn();
     this.Panel1 = new System.Windows.Forms.Panel();
     this.Label4 = new System.Windows.Forms.Label();
     this.CheckBox1 = new System.Windows.Forms.CheckBox();
     this.NumericUpDown1 = new System.Windows.Forms.NumericUpDown();
     this.Label1 = new System.Windows.Forms.Label();
     this.TextBox2 = new System.Windows.Forms.TextBox();
     this.TextBox1 = new System.Windows.Forms.TextBox();
     this.Label5 = new System.Windows.Forms.Label();
     this.Label3 = new System.Windows.Forms.Label();
     this.Button2 = new System.Windows.Forms.Button();
     this.Button1 = new System.Windows.Forms.Button();
     this.Label2 = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.dgFoodDiscount)).BeginInit();
     this.Panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.NumericUpDown1)).BeginInit();
     this.SuspendLayout();
     //
     // ToolBar1
     //
     this.ToolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
     this.ToolBarButton1,
     this.ToolBarButton2,
     this.ToolBarButton3,
     this.ToolBarButton4,
     this.ToolBarButton5,
     this.ToolBarButton6,
     this.ToolBarButton7});
     this.ToolBar1.ButtonSize = new System.Drawing.Size(50, 48);
     this.ToolBar1.DropDownArrows = true;
     this.ToolBar1.ImageList = this.ImageList1;
     this.ToolBar1.Location = new System.Drawing.Point(0, 0);
     this.ToolBar1.Name = "ToolBar1";
     this.ToolBar1.ShowToolTips = true;
     this.ToolBar1.Size = new System.Drawing.Size(376, 54);
     this.ToolBar1.TabIndex = 0;
     this.ToolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.ToolBar1_ButtonClick);
     //
     // ToolBarButton1
     //
     this.ToolBarButton1.ImageIndex = 0;
     this.ToolBarButton1.Name = "ToolBarButton1";
     this.ToolBarButton1.Text = "添加";
     //
     // ToolBarButton2
     //
     this.ToolBarButton2.ImageIndex = 1;
     this.ToolBarButton2.Name = "ToolBarButton2";
     this.ToolBarButton2.Text = "修改";
     //
     // ToolBarButton3
     //
     this.ToolBarButton3.ImageIndex = 2;
     this.ToolBarButton3.Name = "ToolBarButton3";
     this.ToolBarButton3.Text = "删除";
     //
     // ToolBarButton4
     //
     this.ToolBarButton4.Name = "ToolBarButton4";
     this.ToolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ToolBarButton5
     //
     this.ToolBarButton5.ImageIndex = 4;
     this.ToolBarButton5.Name = "ToolBarButton5";
     this.ToolBarButton5.Text = "应用";
     //
     // ToolBarButton6
     //
     this.ToolBarButton6.Name = "ToolBarButton6";
     this.ToolBarButton6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ToolBarButton7
     //
     this.ToolBarButton7.ImageIndex = 3;
     this.ToolBarButton7.Name = "ToolBarButton7";
     this.ToolBarButton7.Text = "关闭";
     //
     // ImageList1
     //
     this.ImageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageList1.ImageStream")));
     this.ImageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.ImageList1.Images.SetKeyName(0, "");
     this.ImageList1.Images.SetKeyName(1, "");
     this.ImageList1.Images.SetKeyName(2, "");
     this.ImageList1.Images.SetKeyName(3, "");
     this.ImageList1.Images.SetKeyName(4, "");
     //
     // dgFoodDiscount
     //
     this.dgFoodDiscount.AlternatingBackColor = System.Drawing.Color.GhostWhite;
     this.dgFoodDiscount.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.dgFoodDiscount.BackColor = System.Drawing.Color.GhostWhite;
     this.dgFoodDiscount.BackgroundColor = System.Drawing.Color.Lavender;
     this.dgFoodDiscount.CaptionBackColor = System.Drawing.Color.Navy;
     this.dgFoodDiscount.CaptionForeColor = System.Drawing.Color.White;
     this.dgFoodDiscount.DataMember = "";
     this.dgFoodDiscount.FlatMode = true;
     this.dgFoodDiscount.Font = new System.Drawing.Font("Tahoma", 8F);
     this.dgFoodDiscount.ForeColor = System.Drawing.Color.MidnightBlue;
     this.dgFoodDiscount.GridLineColor = System.Drawing.Color.RoyalBlue;
     this.dgFoodDiscount.HeaderBackColor = System.Drawing.Color.MidnightBlue;
     this.dgFoodDiscount.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dgFoodDiscount.HeaderForeColor = System.Drawing.Color.Lavender;
     this.dgFoodDiscount.LinkColor = System.Drawing.Color.Teal;
     this.dgFoodDiscount.Location = new System.Drawing.Point(0, 56);
     this.dgFoodDiscount.Name = "dgFoodDiscount";
     this.dgFoodDiscount.ParentRowsBackColor = System.Drawing.Color.Lavender;
     this.dgFoodDiscount.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dgFoodDiscount.ReadOnly = true;
     this.dgFoodDiscount.SelectionBackColor = System.Drawing.Color.Teal;
     this.dgFoodDiscount.SelectionForeColor = System.Drawing.Color.PaleGreen;
     this.dgFoodDiscount.Size = new System.Drawing.Size(376, 159);
     this.dgFoodDiscount.TabIndex = 1;
     this.dgFoodDiscount.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.DataGridTableStyle1});
     this.dgFoodDiscount.DoubleClick += new System.EventHandler(this.dgFoodDiscount_DoubleClick);
     //
     // DataGridTableStyle1
     //
     this.DataGridTableStyle1.DataGrid = this.dgFoodDiscount;
     this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.DataGridTextBoxColumn1,
     this.DataGridTextBoxColumn2,
     this.DataGridTextBoxColumn3,
     this.DataGridBoolColumn1});
     this.DataGridTableStyle1.HeaderFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle1.MappingName = "discount";
     //
     // DataGridTextBoxColumn1
     //
     this.DataGridTextBoxColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn1.Format = "";
     this.DataGridTextBoxColumn1.FormatInfo = null;
     this.DataGridTextBoxColumn1.HeaderText = "优惠编码";
     this.DataGridTextBoxColumn1.MappingName = "discountcode";
     this.DataGridTextBoxColumn1.Width = 75;
     //
     // DataGridTextBoxColumn2
     //
     this.DataGridTextBoxColumn2.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn2.Format = "";
     this.DataGridTextBoxColumn2.FormatInfo = null;
     this.DataGridTextBoxColumn2.HeaderText = "优惠名称";
     this.DataGridTextBoxColumn2.MappingName = "discountname";
     this.DataGridTextBoxColumn2.Width = 75;
     //
     // DataGridTextBoxColumn3
     //
     this.DataGridTextBoxColumn3.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn3.Format = "";
     this.DataGridTextBoxColumn3.FormatInfo = null;
     this.DataGridTextBoxColumn3.HeaderText = "折扣率";
     this.DataGridTextBoxColumn3.MappingName = "discountrate";
     this.DataGridTextBoxColumn3.Width = 75;
     //
     // DataGridBoolColumn1
     //
     this.DataGridBoolColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn1.FalseValue = "0";
     this.DataGridBoolColumn1.HeaderText = "暂停优惠";
     this.DataGridBoolColumn1.MappingName = "disabled";
     this.DataGridBoolColumn1.TrueValue = "1";
     this.DataGridBoolColumn1.Width = 75;
     //
     // Panel1
     //
     this.Panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.Panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.Panel1.Controls.Add(this.Label4);
     this.Panel1.Controls.Add(this.CheckBox1);
     this.Panel1.Controls.Add(this.NumericUpDown1);
     this.Panel1.Controls.Add(this.Label1);
     this.Panel1.Controls.Add(this.TextBox2);
     this.Panel1.Controls.Add(this.TextBox1);
     this.Panel1.Controls.Add(this.Label5);
     this.Panel1.Controls.Add(this.Label3);
     this.Panel1.Controls.Add(this.Button2);
     this.Panel1.Controls.Add(this.Button1);
     this.Panel1.Controls.Add(this.Label2);
     this.Panel1.Location = new System.Drawing.Point(1, 219);
     this.Panel1.Name = "Panel1";
     this.Panel1.Size = new System.Drawing.Size(374, 143);
     this.Panel1.TabIndex = 2;
     //
     // Label4
     //
     this.Label4.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Label4.Location = new System.Drawing.Point(335, 38);
     this.Label4.Name = "Label4";
     this.Label4.Size = new System.Drawing.Size(24, 23);
     this.Label4.TabIndex = 10;
     this.Label4.Text = "%";
     this.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // CheckBox1
     //
     this.CheckBox1.Location = new System.Drawing.Point(237, 64);
     this.CheckBox1.Name = "CheckBox1";
     this.CheckBox1.Size = new System.Drawing.Size(95, 24);
     this.CheckBox1.TabIndex = 3;
     this.CheckBox1.Text = "暂停优惠";
     //
     // NumericUpDown1
     //
     this.NumericUpDown1.Location = new System.Drawing.Point(264, 40);
     this.NumericUpDown1.Name = "NumericUpDown1";
     this.NumericUpDown1.Size = new System.Drawing.Size(69, 21);
     this.NumericUpDown1.TabIndex = 1;
     this.NumericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.NumericUpDown1.Value = new decimal(new int[] {
     100,
     0,
     0,
     0});
     //
     // Label1
     //
     this.Label1.Location = new System.Drawing.Point(216, 39);
     this.Label1.Name = "Label1";
     this.Label1.Size = new System.Drawing.Size(100, 23);
     this.Label1.TabIndex = 8;
     this.Label1.Text = "优惠值:";
     this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // TextBox2
     //
     this.TextBox2.Location = new System.Drawing.Point(125, 66);
     this.TextBox2.Name = "TextBox2";
     this.TextBox2.Size = new System.Drawing.Size(88, 21);
     this.TextBox2.TabIndex = 2;
     //
     // TextBox1
     //
     this.TextBox1.Location = new System.Drawing.Point(125, 40);
     this.TextBox1.Name = "TextBox1";
     this.TextBox1.Size = new System.Drawing.Size(89, 21);
     this.TextBox1.TabIndex = 0;
     //
     // Label5
     //
     this.Label5.Location = new System.Drawing.Point(51, 65);
     this.Label5.Name = "Label5";
     this.Label5.Size = new System.Drawing.Size(76, 23);
     this.Label5.TabIndex = 9;
     this.Label5.Text = "优惠名称:";
     this.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Label3
     //
     this.Label3.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Label3.ForeColor = System.Drawing.Color.Teal;
     this.Label3.Location = new System.Drawing.Point(7, 5);
     this.Label3.Name = "Label3";
     this.Label3.Size = new System.Drawing.Size(100, 23);
     this.Label3.TabIndex = 6;
     this.Label3.Text = "Label3";
     this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // Button2
     //
     this.Button2.Location = new System.Drawing.Point(290, 102);
     this.Button2.Name = "Button2";
     this.Button2.Size = new System.Drawing.Size(58, 23);
     this.Button2.TabIndex = 5;
     this.Button2.Text = "隐藏(&H)";
     this.Button2.Click += new System.EventHandler(this.Button2_Click);
     //
     // Button1
     //
     this.Button1.Location = new System.Drawing.Point(227, 102);
     this.Button1.Name = "Button1";
     this.Button1.Size = new System.Drawing.Size(58, 23);
     this.Button1.TabIndex = 4;
     this.Button1.Text = "保存(&S)";
     this.Button1.Click += new System.EventHandler(this.Button1_Click);
     //
     // Label2
     //
     this.Label2.Location = new System.Drawing.Point(51, 39);
     this.Label2.Name = "Label2";
     this.Label2.Size = new System.Drawing.Size(76, 23);
     this.Label2.TabIndex = 7;
     this.Label2.Text = "优惠编码:";
     this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // frmFoodDiscount
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize = new System.Drawing.Size(376, 363);
     this.Controls.Add(this.Panel1);
     this.Controls.Add(this.dgFoodDiscount);
     this.Controls.Add(this.ToolBar1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "frmFoodDiscount";
     this.Text = "优惠打折";
     this.Load += new System.EventHandler(this.frmFoodDiscount_Load);
     this.Closed += new System.EventHandler(this.frmFoodDiscount_Closed);
     ((System.ComponentModel.ISupportInitialize)(this.dgFoodDiscount)).EndInit();
     this.Panel1.ResumeLayout(false);
     this.Panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.NumericUpDown1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #30
0
 [System.Diagnostics.DebuggerStepThrough()] private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmBillType));
     this.ToolBar1               = new System.Windows.Forms.ToolBar();
     this.ToolBarButton1         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton2         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton3         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton4         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton7         = new System.Windows.Forms.ToolBarButton();
     this.ImageList1             = new System.Windows.Forms.ImageList(this.components);
     this.dgBillType             = new System.Windows.Forms.DataGrid();
     this.DataGridTableStyle1    = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn1    = new System.Windows.Forms.DataGridBoolColumn();
     this.DataGridBoolColumn2    = new System.Windows.Forms.DataGridBoolColumn();
     this.DataGridBoolColumn3    = new System.Windows.Forms.DataGridBoolColumn();
     this.Panel1       = new System.Windows.Forms.Panel();
     this.GroupBox1    = new System.Windows.Forms.GroupBox();
     this.RadioButton2 = new System.Windows.Forms.RadioButton();
     this.RadioButton1 = new System.Windows.Forms.RadioButton();
     this.RadioButton3 = new System.Windows.Forms.RadioButton();
     this.TextBox2     = new System.Windows.Forms.TextBox();
     this.TextBox1     = new System.Windows.Forms.TextBox();
     this.Label4       = new System.Windows.Forms.Label();
     this.Label5       = new System.Windows.Forms.Label();
     this.Label3       = new System.Windows.Forms.Label();
     this.Button2      = new System.Windows.Forms.Button();
     this.Button1      = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.dgBillType)).BeginInit();
     this.Panel1.SuspendLayout();
     this.GroupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // ToolBar1
     //
     this.ToolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.ToolBarButton1,
         this.ToolBarButton2,
         this.ToolBarButton3,
         this.ToolBarButton4,
         this.ToolBarButton7
     });
     this.ToolBar1.ButtonSize     = new System.Drawing.Size(50, 48);
     this.ToolBar1.DropDownArrows = true;
     this.ToolBar1.ImageList      = this.ImageList1;
     this.ToolBar1.Location       = new System.Drawing.Point(0, 0);
     this.ToolBar1.Name           = "ToolBar1";
     this.ToolBar1.ShowToolTips   = true;
     this.ToolBar1.Size           = new System.Drawing.Size(471, 54);
     this.ToolBar1.TabIndex       = 0;
     this.ToolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.ToolBar1_ButtonClick);
     //
     // ToolBarButton1
     //
     this.ToolBarButton1.ImageIndex = 0;
     this.ToolBarButton1.Name       = "ToolBarButton1";
     this.ToolBarButton1.Text       = "添加";
     //
     // ToolBarButton2
     //
     this.ToolBarButton2.ImageIndex = 1;
     this.ToolBarButton2.Name       = "ToolBarButton2";
     this.ToolBarButton2.Text       = "修改";
     //
     // ToolBarButton3
     //
     this.ToolBarButton3.ImageIndex = 2;
     this.ToolBarButton3.Name       = "ToolBarButton3";
     this.ToolBarButton3.Text       = "删除";
     //
     // ToolBarButton4
     //
     this.ToolBarButton4.Name  = "ToolBarButton4";
     this.ToolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ToolBarButton7
     //
     this.ToolBarButton7.ImageIndex = 3;
     this.ToolBarButton7.Name       = "ToolBarButton7";
     this.ToolBarButton7.Text       = "关闭";
     //
     // ImageList1
     //
     this.ImageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageList1.ImageStream")));
     this.ImageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.ImageList1.Images.SetKeyName(0, "");
     this.ImageList1.Images.SetKeyName(1, "");
     this.ImageList1.Images.SetKeyName(2, "");
     this.ImageList1.Images.SetKeyName(3, "");
     //
     // dgBillType
     //
     this.dgBillType.AlternatingBackColor = System.Drawing.Color.GhostWhite;
     this.dgBillType.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.dgBillType.BackColor           = System.Drawing.Color.GhostWhite;
     this.dgBillType.BackgroundColor     = System.Drawing.Color.Lavender;
     this.dgBillType.CaptionBackColor    = System.Drawing.Color.Navy;
     this.dgBillType.CaptionForeColor    = System.Drawing.Color.White;
     this.dgBillType.DataMember          = "";
     this.dgBillType.FlatMode            = true;
     this.dgBillType.Font                = new System.Drawing.Font("Tahoma", 8F);
     this.dgBillType.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dgBillType.GridLineColor       = System.Drawing.Color.RoyalBlue;
     this.dgBillType.HeaderBackColor     = System.Drawing.Color.MidnightBlue;
     this.dgBillType.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dgBillType.HeaderForeColor     = System.Drawing.Color.Lavender;
     this.dgBillType.LinkColor           = System.Drawing.Color.Teal;
     this.dgBillType.Location            = new System.Drawing.Point(0, 56);
     this.dgBillType.Name                = "dgBillType";
     this.dgBillType.ParentRowsBackColor = System.Drawing.Color.Lavender;
     this.dgBillType.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dgBillType.ReadOnly            = true;
     this.dgBillType.SelectionBackColor  = System.Drawing.Color.Teal;
     this.dgBillType.SelectionForeColor  = System.Drawing.Color.PaleGreen;
     this.dgBillType.Size                = new System.Drawing.Size(471, 165);
     this.dgBillType.TabIndex            = 1;
     this.dgBillType.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.DataGridTableStyle1
     });
     this.dgBillType.DoubleClick += new System.EventHandler(this.dgBillType_DoubleClick);
     //
     // DataGridTableStyle1
     //
     this.DataGridTableStyle1.DataGrid = this.dgBillType;
     this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.DataGridTextBoxColumn1,
         this.DataGridTextBoxColumn2,
         this.DataGridBoolColumn1,
         this.DataGridBoolColumn2,
         this.DataGridBoolColumn3
     });
     this.DataGridTableStyle1.HeaderFont      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle1.MappingName     = "billtype";
     //
     // DataGridTextBoxColumn1
     //
     this.DataGridTextBoxColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn1.Format      = "";
     this.DataGridTextBoxColumn1.FormatInfo  = null;
     this.DataGridTextBoxColumn1.HeaderText  = "类别编码";
     this.DataGridTextBoxColumn1.MappingName = "billtypecode";
     this.DataGridTextBoxColumn1.Width       = 75;
     //
     // DataGridTextBoxColumn2
     //
     this.DataGridTextBoxColumn2.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn2.Format      = "";
     this.DataGridTextBoxColumn2.FormatInfo  = null;
     this.DataGridTextBoxColumn2.HeaderText  = "单据名称";
     this.DataGridTextBoxColumn2.MappingName = "name";
     this.DataGridTextBoxColumn2.Width       = 75;
     //
     // DataGridBoolColumn1
     //
     this.DataGridBoolColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn1.FalseValue  = "0";
     this.DataGridBoolColumn1.HeaderText  = "消费单";
     this.DataGridBoolColumn1.MappingName = "consumebill";
     this.DataGridBoolColumn1.TrueValue   = "1";
     this.DataGridBoolColumn1.Width       = 75;
     //
     // DataGridBoolColumn2
     //
     this.DataGridBoolColumn2.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn2.FalseValue  = "0";
     this.DataGridBoolColumn2.HeaderText  = "取消单";
     this.DataGridBoolColumn2.MappingName = "cancelbill";
     this.DataGridBoolColumn2.TrueValue   = "1";
     this.DataGridBoolColumn2.Width       = 75;
     //
     // DataGridBoolColumn3
     //
     this.DataGridBoolColumn3.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn3.FalseValue  = "0";
     this.DataGridBoolColumn3.HeaderText  = "赠送单";
     this.DataGridBoolColumn3.MappingName = "presentbill";
     this.DataGridBoolColumn3.TrueValue   = "1";
     this.DataGridBoolColumn3.Width       = 75;
     //
     // Panel1
     //
     this.Panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.Panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.Panel1.Controls.Add(this.GroupBox1);
     this.Panel1.Controls.Add(this.TextBox2);
     this.Panel1.Controls.Add(this.TextBox1);
     this.Panel1.Controls.Add(this.Label4);
     this.Panel1.Controls.Add(this.Label5);
     this.Panel1.Controls.Add(this.Label3);
     this.Panel1.Controls.Add(this.Button2);
     this.Panel1.Controls.Add(this.Button1);
     this.Panel1.Location = new System.Drawing.Point(0, 223);
     this.Panel1.Name     = "Panel1";
     this.Panel1.Size     = new System.Drawing.Size(469, 131);
     this.Panel1.TabIndex = 2;
     //
     // GroupBox1
     //
     this.GroupBox1.Controls.Add(this.RadioButton2);
     this.GroupBox1.Controls.Add(this.RadioButton1);
     this.GroupBox1.Controls.Add(this.RadioButton3);
     this.GroupBox1.Location = new System.Drawing.Point(224, 16);
     this.GroupBox1.Name     = "GroupBox1";
     this.GroupBox1.Size     = new System.Drawing.Size(232, 72);
     this.GroupBox1.TabIndex = 7;
     this.GroupBox1.TabStop  = false;
     this.GroupBox1.Text     = "单据性质";
     //
     // RadioButton2
     //
     this.RadioButton2.Location = new System.Drawing.Point(128, 16);
     this.RadioButton2.Name     = "RadioButton2";
     this.RadioButton2.Size     = new System.Drawing.Size(96, 24);
     this.RadioButton2.TabIndex = 1;
     this.RadioButton2.Text     = "取消单";
     //
     // RadioButton1
     //
     this.RadioButton1.Checked  = true;
     this.RadioButton1.Location = new System.Drawing.Point(24, 16);
     this.RadioButton1.Name     = "RadioButton1";
     this.RadioButton1.Size     = new System.Drawing.Size(96, 24);
     this.RadioButton1.TabIndex = 0;
     this.RadioButton1.TabStop  = true;
     this.RadioButton1.Text     = "消费单";
     //
     // RadioButton3
     //
     this.RadioButton3.Location = new System.Drawing.Point(24, 40);
     this.RadioButton3.Name     = "RadioButton3";
     this.RadioButton3.Size     = new System.Drawing.Size(104, 24);
     this.RadioButton3.TabIndex = 2;
     this.RadioButton3.Text     = "赠送单";
     //
     // TextBox2
     //
     this.TextBox2.Location = new System.Drawing.Point(120, 62);
     this.TextBox2.Name     = "TextBox2";
     this.TextBox2.Size     = new System.Drawing.Size(96, 21);
     this.TextBox2.TabIndex = 1;
     //
     // TextBox1
     //
     this.TextBox1.Location = new System.Drawing.Point(120, 35);
     this.TextBox1.Name     = "TextBox1";
     this.TextBox1.Size     = new System.Drawing.Size(96, 21);
     this.TextBox1.TabIndex = 0;
     //
     // Label4
     //
     this.Label4.Location  = new System.Drawing.Point(24, 34);
     this.Label4.Name      = "Label4";
     this.Label4.Size      = new System.Drawing.Size(100, 23);
     this.Label4.TabIndex  = 5;
     this.Label4.Text      = "类别编码:";
     this.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Label5
     //
     this.Label5.Location  = new System.Drawing.Point(24, 61);
     this.Label5.Name      = "Label5";
     this.Label5.Size      = new System.Drawing.Size(100, 23);
     this.Label5.TabIndex  = 6;
     this.Label5.Text      = "单据名称:";
     this.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Label3
     //
     this.Label3.Font      = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Label3.ForeColor = System.Drawing.Color.Teal;
     this.Label3.Location  = new System.Drawing.Point(7, 5);
     this.Label3.Name      = "Label3";
     this.Label3.Size      = new System.Drawing.Size(100, 23);
     this.Label3.TabIndex  = 4;
     this.Label3.Text      = "Label3";
     this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // Button2
     //
     this.Button2.Location = new System.Drawing.Point(384, 96);
     this.Button2.Name     = "Button2";
     this.Button2.Size     = new System.Drawing.Size(58, 23);
     this.Button2.TabIndex = 3;
     this.Button2.Text     = "隐藏(&H)";
     this.Button2.Click   += new System.EventHandler(this.Button2_Click);
     //
     // Button1
     //
     this.Button1.Location = new System.Drawing.Point(320, 96);
     this.Button1.Name     = "Button1";
     this.Button1.Size     = new System.Drawing.Size(58, 23);
     this.Button1.TabIndex = 2;
     this.Button1.Text     = "保存(&S)";
     this.Button1.Click   += new System.EventHandler(this.Button1_Click);
     //
     // frmBillType
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(471, 357);
     this.Controls.Add(this.Panel1);
     this.Controls.Add(this.dgBillType);
     this.Controls.Add(this.ToolBar1);
     this.Icon    = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name    = "frmBillType";
     this.Text    = "单据设置";
     this.Load   += new System.EventHandler(this.frmBillType_Load);
     this.Closed += new System.EventHandler(this.frmBillType_Closed);
     ((System.ComponentModel.ISupportInitialize)(this.dgBillType)).EndInit();
     this.Panel1.ResumeLayout(false);
     this.Panel1.PerformLayout();
     this.GroupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #31
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     base.Load += new System.EventHandler(frmClubCard_Load);
     base.Closed += new System.EventHandler(frmClubCard_Closed);
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmClubCard));
     this.dgCard = new System.Windows.Forms.DataGrid();
     this.dgCard.DoubleClick += new System.EventHandler(this.dgCard_DoubleClick);
     this.DataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn1 = new System.Windows.Forms.DataGridBoolColumn();
     this.ToolBar1 = new System.Windows.Forms.ToolBar();
     this.ToolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.ToolBar1_ButtonClick);
     this.ToolBarButton1 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton2 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton3 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton8 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton9 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton5 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton12 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton11 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton4 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton13 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton10 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton6 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton14 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton7 = new System.Windows.Forms.ToolBarButton();
     this.ImageList1 = new System.Windows.Forms.ImageList(this.components);
     ((System.ComponentModel.ISupportInitialize) this.dgCard).BeginInit();
     this.SuspendLayout();
     //
     //dgCard
     //
     this.dgCard.AlternatingBackColor = System.Drawing.Color.GhostWhite;
     this.dgCard.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.dgCard.BackColor = System.Drawing.Color.GhostWhite;
     this.dgCard.BackgroundColor = System.Drawing.Color.Lavender;
     this.dgCard.CaptionBackColor = System.Drawing.Color.Navy;
     this.dgCard.CaptionForeColor = System.Drawing.Color.White;
     this.dgCard.DataMember = "";
     this.dgCard.FlatMode = true;
     this.dgCard.Font = new System.Drawing.Font("Tahoma", 8.0F);
     this.dgCard.ForeColor = System.Drawing.Color.MidnightBlue;
     this.dgCard.GridLineColor = System.Drawing.Color.RoyalBlue;
     this.dgCard.HeaderBackColor = System.Drawing.Color.MidnightBlue;
     this.dgCard.HeaderFont = new System.Drawing.Font("Tahoma", 8.0F, System.Drawing.FontStyle.Bold);
     this.dgCard.HeaderForeColor = System.Drawing.Color.Lavender;
     this.dgCard.LinkColor = System.Drawing.Color.Teal;
     this.dgCard.Location = new System.Drawing.Point(0, 56);
     this.dgCard.Name = "dgCard";
     this.dgCard.ParentRowsBackColor = System.Drawing.Color.Lavender;
     this.dgCard.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dgCard.ReadOnly = true;
     this.dgCard.SelectionBackColor = System.Drawing.Color.Teal;
     this.dgCard.SelectionForeColor = System.Drawing.Color.PaleGreen;
     this.dgCard.Size = new System.Drawing.Size(568, 360);
     this.dgCard.TabIndex = 5;
     this.dgCard.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {this.DataGridTableStyle1});
     //
     //DataGridTableStyle1
     //
     this.DataGridTableStyle1.DataGrid = this.dgCard;
     this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {this.DataGridTextBoxColumn1, this.DataGridTextBoxColumn2, this.DataGridTextBoxColumn3, this.DataGridTextBoxColumn4, this.DataGridTextBoxColumn5, this.DataGridTextBoxColumn6, this.DataGridTextBoxColumn7, this.DataGridTextBoxColumn8, this.DataGridBoolColumn1});
     this.DataGridTableStyle1.HeaderFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0)));
     this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle1.MappingName = "clubcard";
     //
     //DataGridTextBoxColumn1
     //
     this.DataGridTextBoxColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn1.Format = "";
     this.DataGridTextBoxColumn1.FormatInfo = null;
     this.DataGridTextBoxColumn1.HeaderText = "卡号";
     this.DataGridTextBoxColumn1.MappingName = "clubcardno";
     this.DataGridTextBoxColumn1.Width = 75;
     //
     //DataGridTextBoxColumn2
     //
     this.DataGridTextBoxColumn2.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn2.Format = "";
     this.DataGridTextBoxColumn2.FormatInfo = null;
     this.DataGridTextBoxColumn2.HeaderText = "客户编码";
     this.DataGridTextBoxColumn2.MappingName = "customercode";
     this.DataGridTextBoxColumn2.Width = 80;
     //
     //DataGridTextBoxColumn3
     //
     this.DataGridTextBoxColumn3.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn3.Format = "";
     this.DataGridTextBoxColumn3.FormatInfo = null;
     this.DataGridTextBoxColumn3.HeaderText = "客户名称";
     this.DataGridTextBoxColumn3.MappingName = "customername";
     this.DataGridTextBoxColumn3.Width = 75;
     //
     //DataGridTextBoxColumn4
     //
     this.DataGridTextBoxColumn4.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn4.Format = "";
     this.DataGridTextBoxColumn4.FormatInfo = null;
     this.DataGridTextBoxColumn4.HeaderText = "开户日期";
     this.DataGridTextBoxColumn4.MappingName = "begindate";
     this.DataGridTextBoxColumn4.Width = 90;
     //
     //DataGridTextBoxColumn5
     //
     this.DataGridTextBoxColumn5.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn5.Format = "";
     this.DataGridTextBoxColumn5.FormatInfo = null;
     this.DataGridTextBoxColumn5.HeaderText = "开户金额";
     this.DataGridTextBoxColumn5.MappingName = "begincost";
     this.DataGridTextBoxColumn5.Width = 75;
     //
     //DataGridTextBoxColumn6
     //
     this.DataGridTextBoxColumn6.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn6.Format = "";
     this.DataGridTextBoxColumn6.FormatInfo = null;
     this.DataGridTextBoxColumn6.HeaderText = "累计消费";
     this.DataGridTextBoxColumn6.MappingName = "totalcost";
     this.DataGridTextBoxColumn6.Width = 75;
     //
     //DataGridTextBoxColumn7
     //
     this.DataGridTextBoxColumn7.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn7.Format = "";
     this.DataGridTextBoxColumn7.FormatInfo = null;
     this.DataGridTextBoxColumn7.HeaderText = "卡存余额";
     this.DataGridTextBoxColumn7.MappingName = "remaincost";
     this.DataGridTextBoxColumn7.Width = 75;
     //
     //DataGridTextBoxColumn8
     //
     this.DataGridTextBoxColumn8.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn8.Format = "";
     this.DataGridTextBoxColumn8.FormatInfo = null;
     this.DataGridTextBoxColumn8.HeaderText = "折让比率";
     this.DataGridTextBoxColumn8.MappingName = "discountrate";
     this.DataGridTextBoxColumn8.Width = 75;
     //
     //DataGridBoolColumn1
     //
     this.DataGridBoolColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn1.FalseValue = "3";
     this.DataGridBoolColumn1.HeaderText = "启用";
     this.DataGridBoolColumn1.MappingName = "status";
     this.DataGridBoolColumn1.NullValue = resources.GetObject("DataGridBoolColumn1.NullValue");
     this.DataGridBoolColumn1.TrueValue = "1";
     this.DataGridBoolColumn1.Width = 75;
     //
     //ToolBar1
     //
     this.ToolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {this.ToolBarButton1, this.ToolBarButton2, this.ToolBarButton3, this.ToolBarButton8, this.ToolBarButton9, this.ToolBarButton5, this.ToolBarButton12, this.ToolBarButton11, this.ToolBarButton4, this.ToolBarButton13, this.ToolBarButton10, this.ToolBarButton6, this.ToolBarButton14, this.ToolBarButton7});
     this.ToolBar1.ButtonSize = new System.Drawing.Size(50, 48);
     this.ToolBar1.DropDownArrows = true;
     this.ToolBar1.ImageList = this.ImageList1;
     this.ToolBar1.Location = new System.Drawing.Point(0, 0);
     this.ToolBar1.Name = "ToolBar1";
     this.ToolBar1.ShowToolTips = true;
     this.ToolBar1.Size = new System.Drawing.Size(568, 55);
     this.ToolBar1.TabIndex = 4;
     //
     //ToolBarButton1
     //
     this.ToolBarButton1.ImageIndex = 0;
     this.ToolBarButton1.Text = "启用";
     //
     //ToolBarButton2
     //
     this.ToolBarButton2.ImageIndex = 1;
     this.ToolBarButton2.Text = "暂停";
     //
     //ToolBarButton3
     //
     this.ToolBarButton3.ImageIndex = 2;
     this.ToolBarButton3.Text = "废止";
     //
     //ToolBarButton8
     //
     this.ToolBarButton8.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton9
     //
     this.ToolBarButton9.ImageIndex = 3;
     this.ToolBarButton9.Text = "打折";
     //
     //ToolBarButton5
     //
     this.ToolBarButton5.ImageIndex = 4;
     this.ToolBarButton5.Text = "续存";
     //
     //ToolBarButton12
     //
     this.ToolBarButton12.ImageIndex = 5;
     this.ToolBarButton12.Text = "密码";
     //
     //ToolBarButton11
     //
     this.ToolBarButton11.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton4
     //
     this.ToolBarButton4.ImageIndex = 6;
     this.ToolBarButton4.Text = "删除";
     //
     //ToolBarButton13
     //
     this.ToolBarButton13.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton10
     //
     this.ToolBarButton10.ImageIndex = 7;
     this.ToolBarButton10.Text = "查询";
     //
     //ToolBarButton6
     //
     this.ToolBarButton6.ImageIndex = 8;
     this.ToolBarButton6.Text = "打印";
     //
     //ToolBarButton14
     //
     this.ToolBarButton14.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton7
     //
     this.ToolBarButton7.ImageIndex = 9;
     this.ToolBarButton7.Text = "关闭";
     //
     //ImageList1
     //
     this.ImageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth16Bit;
     this.ImageList1.ImageSize = new System.Drawing.Size(28, 28);
     this.ImageList1.ImageStream = (System.Windows.Forms.ImageListStreamer) (resources.GetObject("ImageList1.ImageStream"));
     this.ImageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     //frmClubCard
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize = new System.Drawing.Size(568, 414);
     this.Controls.Add(this.dgCard);
     this.Controls.Add(this.ToolBar1);
     this.Icon = (System.Drawing.Icon) (resources.GetObject("$this.Icon"));
     this.Name = "frmClubCard";
     this.Text = "会员卡管理";
     ((System.ComponentModel.ISupportInitialize) this.dgCard).EndInit();
     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.components = new System.ComponentModel.Container();
       System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDocumentSelect));
       this.pHeader = new Ndi.HelpDesk.UI.Controls.InfoBarLite();
       this.tlbMain = new System.Windows.Forms.ToolBar();
       this.tbbSeparator1 = new System.Windows.Forms.ToolBarButton();
       this.tbbNew = new System.Windows.Forms.ToolBarButton();
       this.tbbModify = new System.Windows.Forms.ToolBarButton();
       this.tbbInactivate = new System.Windows.Forms.ToolBarButton();
       this.tbbSeparator2 = new System.Windows.Forms.ToolBarButton();
       this.tbbRefresh = new System.Windows.Forms.ToolBarButton();
       this.imgToolbar = new System.Windows.Forms.ImageList(this.components);
       this.pnlFilter = new System.Windows.Forms.Panel();
       this.txtPublishYear = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.lblPublishYear = new System.Windows.Forms.Label();
       this.txtPublisherName = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.lblPublisherName = new System.Windows.Forms.Label();
       this.cmbStatus = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.lblActive = new System.Windows.Forms.Label();
       this.txtLink = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.lblLink = new System.Windows.Forms.Label();
       this.cmbCategoryRef = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.lblCategoryRef = new System.Windows.Forms.Label();
       this.txtCommAuthor = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.txtCommTitle = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.lblCommAuthor = new System.Windows.Forms.Label();
       this.lblCommName = new System.Windows.Forms.Label();
       this.cmbSubType = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.lblSubType = new System.Windows.Forms.Label();
       this.lblLanguage = new System.Windows.Forms.Label();
       this.cmbLanguage = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.txtAuthor = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.lblAuthor = new System.Windows.Forms.Label();
       this.label8 = new System.Windows.Forms.Label();
       this.txtTitle = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.dtgMain = new Ndi.HelpDesk.UI.Controls.GreptonDataGrid();
       this.customStylesCollection1 = new Ndi.HelpDesk.UI.Controls.CustomStylesCollection();
       this.colID = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colTitle = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colAuthor = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colLanguageName = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colCategoryName = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colSubTypeName = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colLink = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colCommTitle = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colCommAuthor = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colModifiedDate = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colVisibleForVisitor = new System.Windows.Forms.DataGridBoolColumn();
       this.colVisibleForRegistered = new System.Windows.Forms.DataGridBoolColumn();
       this.colIsActive = new System.Windows.Forms.DataGridBoolColumn();
       this.pnlFilter.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgMain)).BeginInit();
       this.SuspendLayout();
       //
       // pHeader
       //
       this.pHeader.BackColor = System.Drawing.SystemColors.Window;
       this.pHeader.BackStyle = Ndi.HelpDesk.UI.Controls.BackStyle.Solid;
       this.pHeader.BorderSide = System.Windows.Forms.Border3DSide.Bottom;
       this.pHeader.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
       this.pHeader.Dock = System.Windows.Forms.DockStyle.Top;
       this.pHeader.GradientEndColor = System.Drawing.Color.White;
       this.pHeader.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
       this.pHeader.GradientStartColor = System.Drawing.Color.DeepSkyBlue;
       this.pHeader.Image = null;
       this.pHeader.ImageAlign = Ndi.HelpDesk.UI.Controls.ImageAlignment.TopLeft;
       this.pHeader.ImageOffsetX = 2;
       this.pHeader.ImageOffsetY = 0;
       this.pHeader.Location = new System.Drawing.Point(0, 0);
       this.pHeader.Name = "pHeader";
       this.pHeader.Size = new System.Drawing.Size(602, 46);
       this.pHeader.TabIndex = 0;
       this.pHeader.Text1 = "Monitorozás, értékelés";
       this.pHeader.Text1Font = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Bold);
       this.pHeader.Text1ForeColor = System.Drawing.SystemColors.ControlText;
       this.pHeader.Text1OffsetX = 0;
       this.pHeader.Text1OffsetY = 0;
       this.pHeader.Text2 = "Monitoroás, értékelés dokumentumainak, linkjeinek karbantartása";
       this.pHeader.Text2Font = new System.Drawing.Font("Segoe UI", 8F);
       this.pHeader.Text2ForeColor = System.Drawing.SystemColors.ControlText;
       this.pHeader.Text2OffsetX = 20;
       this.pHeader.Text2OffsetY = 0;
       //
       // tlbMain
       //
       this.tlbMain.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
       this.tlbMain.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
     this.tbbSeparator1,
     this.tbbNew,
     this.tbbModify,
     this.tbbInactivate,
     this.tbbSeparator2,
     this.tbbRefresh});
       this.tlbMain.DropDownArrows = true;
       this.tlbMain.ImageList = this.imgToolbar;
       this.tlbMain.Location = new System.Drawing.Point(0, 46);
       this.tlbMain.Name = "tlbMain";
       this.tlbMain.ShowToolTips = true;
       this.tlbMain.Size = new System.Drawing.Size(602, 28);
       this.tlbMain.TabIndex = 1;
       this.tlbMain.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.tlbMain_ButtonClick);
       //
       // tbbSeparator1
       //
       this.tbbSeparator1.Name = "tbbSeparator1";
       this.tbbSeparator1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // tbbNew
       //
       this.tbbNew.ImageIndex = 0;
       this.tbbNew.Name = "tbbNew";
       this.tbbNew.ToolTipText = "Új kiadvány";
       //
       // tbbModify
       //
       this.tbbModify.ImageIndex = 1;
       this.tbbModify.Name = "tbbModify";
       this.tbbModify.ToolTipText = "Kiadvány módosítása";
       //
       // tbbInactivate
       //
       this.tbbInactivate.ImageIndex = 2;
       this.tbbInactivate.Name = "tbbInactivate";
       this.tbbInactivate.ToolTipText = "Inaktiválás/aktiválás";
       //
       // tbbSeparator2
       //
       this.tbbSeparator2.Name = "tbbSeparator2";
       this.tbbSeparator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // tbbRefresh
       //
       this.tbbRefresh.ImageIndex = 3;
       this.tbbRefresh.Name = "tbbRefresh";
       this.tbbRefresh.ToolTipText = "Lista frissítése/szûrés";
       //
       // imgToolbar
       //
       this.imgToolbar.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgToolbar.ImageStream")));
       this.imgToolbar.TransparentColor = System.Drawing.Color.Transparent;
       this.imgToolbar.Images.SetKeyName(0, "");
       this.imgToolbar.Images.SetKeyName(1, "");
       this.imgToolbar.Images.SetKeyName(2, "");
       this.imgToolbar.Images.SetKeyName(3, "");
       this.imgToolbar.Images.SetKeyName(4, "");
       this.imgToolbar.Images.SetKeyName(5, "");
       //
       // pnlFilter
       //
       this.pnlFilter.Controls.Add(this.txtPublishYear);
       this.pnlFilter.Controls.Add(this.lblPublishYear);
       this.pnlFilter.Controls.Add(this.txtPublisherName);
       this.pnlFilter.Controls.Add(this.lblPublisherName);
       this.pnlFilter.Controls.Add(this.cmbStatus);
       this.pnlFilter.Controls.Add(this.lblActive);
       this.pnlFilter.Controls.Add(this.txtLink);
       this.pnlFilter.Controls.Add(this.lblLink);
       this.pnlFilter.Controls.Add(this.cmbCategoryRef);
       this.pnlFilter.Controls.Add(this.lblCategoryRef);
       this.pnlFilter.Controls.Add(this.txtCommAuthor);
       this.pnlFilter.Controls.Add(this.txtCommTitle);
       this.pnlFilter.Controls.Add(this.lblCommAuthor);
       this.pnlFilter.Controls.Add(this.lblCommName);
       this.pnlFilter.Controls.Add(this.cmbSubType);
       this.pnlFilter.Controls.Add(this.lblSubType);
       this.pnlFilter.Controls.Add(this.lblLanguage);
       this.pnlFilter.Controls.Add(this.cmbLanguage);
       this.pnlFilter.Controls.Add(this.txtAuthor);
       this.pnlFilter.Controls.Add(this.lblAuthor);
       this.pnlFilter.Controls.Add(this.label8);
       this.pnlFilter.Controls.Add(this.txtTitle);
       this.pnlFilter.Dock = System.Windows.Forms.DockStyle.Top;
       this.pnlFilter.Location = new System.Drawing.Point(0, 74);
       this.pnlFilter.Name = "pnlFilter";
       this.pnlFilter.Size = new System.Drawing.Size(602, 284);
       this.pnlFilter.TabIndex = 2;
       //
       // txtPublishYear
       //
       this.txtPublishYear.AllowNull = true;
       this.txtPublishYear.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtPublishYear.InvalidCharSet = "";
       this.txtPublishYear.Location = new System.Drawing.Point(120, 255);
       this.txtPublishYear.MaxLength = 4;
       this.txtPublishYear.Name = "txtPublishYear";
       this.txtPublishYear.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtPublishYear.Size = new System.Drawing.Size(82, 22);
       this.txtPublishYear.TabIndex = 10;
       this.txtPublishYear.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtPublishYear.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtPublishYear.ValidationMask = "";
       this.txtPublishYear.ValidCharSet = "0123456789";
       //
       // lblPublishYear
       //
       this.lblPublishYear.Location = new System.Drawing.Point(10, 258);
       this.lblPublishYear.Name = "lblPublishYear";
       this.lblPublishYear.Size = new System.Drawing.Size(105, 24);
       this.lblPublishYear.TabIndex = 50;
       this.lblPublishYear.Text = "Kiadás éve:";
       //
       // txtPublisherName
       //
       this.txtPublisherName.AllowNull = true;
       this.txtPublisherName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtPublisherName.InvalidCharSet = "";
       this.txtPublisherName.Location = new System.Drawing.Point(120, 227);
       this.txtPublisherName.MaxLength = 50;
       this.txtPublisherName.Name = "txtPublisherName";
       this.txtPublisherName.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtPublisherName.Size = new System.Drawing.Size(470, 22);
       this.txtPublisherName.TabIndex = 9;
       this.txtPublisherName.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtPublisherName.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtPublisherName.ValidationMask = "";
       this.txtPublisherName.ValidCharSet = "";
       //
       // lblPublisherName
       //
       this.lblPublisherName.Location = new System.Drawing.Point(10, 231);
       this.lblPublisherName.Name = "lblPublisherName";
       this.lblPublisherName.Size = new System.Drawing.Size(105, 23);
       this.lblPublisherName.TabIndex = 49;
       this.lblPublisherName.Text = "Kiadó:";
       //
       // cmbStatus
       //
       this.cmbStatus.AllowNull = true;
       this.cmbStatus.BreakSort = false;
       this.cmbStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbStatus.Location = new System.Drawing.Point(442, 89);
       this.cmbStatus.Name = "cmbStatus";
       this.cmbStatus.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbStatus.Size = new System.Drawing.Size(148, 24);
       this.cmbStatus.TabIndex = 4;
       this.cmbStatus.ToolBarUse = false;
       this.cmbStatus.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // lblActive
       //
       this.lblActive.AutoSize = true;
       this.lblActive.Location = new System.Drawing.Point(384, 92);
       this.lblActive.Name = "lblActive";
       this.lblActive.Size = new System.Drawing.Size(55, 17);
       this.lblActive.TabIndex = 46;
       this.lblActive.Text = "Állapot:";
       //
       // txtLink
       //
       this.txtLink.AllowNull = true;
       this.txtLink.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtLink.InvalidCharSet = "";
       this.txtLink.Location = new System.Drawing.Point(120, 36);
       this.txtLink.MaxLength = 250;
       this.txtLink.Name = "txtLink";
       this.txtLink.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtLink.Size = new System.Drawing.Size(470, 22);
       this.txtLink.TabIndex = 1;
       this.txtLink.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtLink.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtLink.ValidationMask = "";
       this.txtLink.ValidCharSet = "";
       //
       // lblLink
       //
       this.lblLink.Location = new System.Drawing.Point(10, 37);
       this.lblLink.Name = "lblLink";
       this.lblLink.Size = new System.Drawing.Size(105, 23);
       this.lblLink.TabIndex = 45;
       this.lblLink.Text = "Link:";
       //
       // cmbCategoryRef
       //
       this.cmbCategoryRef.AllowNull = true;
       this.cmbCategoryRef.BreakSort = false;
       this.cmbCategoryRef.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbCategoryRef.Items.AddRange(new object[] {
     "Magyar"});
       this.cmbCategoryRef.Location = new System.Drawing.Point(120, 117);
       this.cmbCategoryRef.Name = "cmbCategoryRef";
       this.cmbCategoryRef.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbCategoryRef.Size = new System.Drawing.Size(341, 24);
       this.cmbCategoryRef.TabIndex = 5;
       this.cmbCategoryRef.ToolBarUse = false;
       this.cmbCategoryRef.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // lblCategoryRef
       //
       this.lblCategoryRef.Location = new System.Drawing.Point(10, 120);
       this.lblCategoryRef.Name = "lblCategoryRef";
       this.lblCategoryRef.Size = new System.Drawing.Size(105, 23);
       this.lblCategoryRef.TabIndex = 43;
       this.lblCategoryRef.Text = "Kategória:";
       //
       // txtCommAuthor
       //
       this.txtCommAuthor.AllowNull = true;
       this.txtCommAuthor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtCommAuthor.InvalidCharSet = "";
       this.txtCommAuthor.Location = new System.Drawing.Point(120, 200);
       this.txtCommAuthor.MaxLength = 50;
       this.txtCommAuthor.Name = "txtCommAuthor";
       this.txtCommAuthor.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtCommAuthor.Size = new System.Drawing.Size(470, 22);
       this.txtCommAuthor.TabIndex = 8;
       this.txtCommAuthor.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtCommAuthor.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtCommAuthor.ValidationMask = "";
       this.txtCommAuthor.ValidCharSet = "";
       //
       // txtCommTitle
       //
       this.txtCommTitle.AllowNull = true;
       this.txtCommTitle.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtCommTitle.InvalidCharSet = "";
       this.txtCommTitle.Location = new System.Drawing.Point(120, 172);
       this.txtCommTitle.MaxLength = 50;
       this.txtCommTitle.Name = "txtCommTitle";
       this.txtCommTitle.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtCommTitle.Size = new System.Drawing.Size(470, 22);
       this.txtCommTitle.TabIndex = 7;
       this.txtCommTitle.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtCommTitle.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtCommTitle.ValidationMask = "";
       this.txtCommTitle.ValidCharSet = "";
       //
       // lblCommAuthor
       //
       this.lblCommAuthor.Location = new System.Drawing.Point(10, 203);
       this.lblCommAuthor.Name = "lblCommAuthor";
       this.lblCommAuthor.Size = new System.Drawing.Size(105, 23);
       this.lblCommAuthor.TabIndex = 40;
       this.lblCommAuthor.Text = "Ajánló szerzõ:";
       //
       // lblCommName
       //
       this.lblCommName.Location = new System.Drawing.Point(10, 175);
       this.lblCommName.Name = "lblCommName";
       this.lblCommName.Size = new System.Drawing.Size(105, 23);
       this.lblCommName.TabIndex = 39;
       this.lblCommName.Text = "Ajánló cím:";
       //
       // cmbSubType
       //
       this.cmbSubType.AllowNull = true;
       this.cmbSubType.BreakSort = false;
       this.cmbSubType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbSubType.Items.AddRange(new object[] {
     "Kiadvány"});
       this.cmbSubType.Location = new System.Drawing.Point(120, 144);
       this.cmbSubType.Name = "cmbSubType";
       this.cmbSubType.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbSubType.Size = new System.Drawing.Size(341, 24);
       this.cmbSubType.TabIndex = 6;
       this.cmbSubType.ToolBarUse = false;
       this.cmbSubType.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // lblSubType
       //
       this.lblSubType.Location = new System.Drawing.Point(10, 148);
       this.lblSubType.Name = "lblSubType";
       this.lblSubType.Size = new System.Drawing.Size(105, 23);
       this.lblSubType.TabIndex = 37;
       this.lblSubType.Text = "Típus:";
       //
       // lblLanguage
       //
       this.lblLanguage.Location = new System.Drawing.Point(10, 92);
       this.lblLanguage.Name = "lblLanguage";
       this.lblLanguage.Size = new System.Drawing.Size(105, 23);
       this.lblLanguage.TabIndex = 36;
       this.lblLanguage.Text = "Nyelv:";
       //
       // cmbLanguage
       //
       this.cmbLanguage.AllowNull = true;
       this.cmbLanguage.BreakSort = false;
       this.cmbLanguage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbLanguage.Items.AddRange(new object[] {
     "Magyar"});
       this.cmbLanguage.Location = new System.Drawing.Point(120, 89);
       this.cmbLanguage.Name = "cmbLanguage";
       this.cmbLanguage.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbLanguage.Size = new System.Drawing.Size(254, 24);
       this.cmbLanguage.TabIndex = 3;
       this.cmbLanguage.ToolBarUse = false;
       this.cmbLanguage.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // txtAuthor
       //
       this.txtAuthor.AllowNull = true;
       this.txtAuthor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtAuthor.InvalidCharSet = "";
       this.txtAuthor.Location = new System.Drawing.Point(120, 62);
       this.txtAuthor.MaxLength = 250;
       this.txtAuthor.Name = "txtAuthor";
       this.txtAuthor.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtAuthor.Size = new System.Drawing.Size(254, 22);
       this.txtAuthor.TabIndex = 2;
       this.txtAuthor.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtAuthor.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtAuthor.ValidationMask = "";
       this.txtAuthor.ValidCharSet = "";
       //
       // lblAuthor
       //
       this.lblAuthor.Location = new System.Drawing.Point(10, 65);
       this.lblAuthor.Name = "lblAuthor";
       this.lblAuthor.Size = new System.Drawing.Size(105, 23);
       this.lblAuthor.TabIndex = 29;
       this.lblAuthor.Text = "Szerzõ:";
       //
       // label8
       //
       this.label8.Location = new System.Drawing.Point(10, 14);
       this.label8.Name = "label8";
       this.label8.Size = new System.Drawing.Size(105, 18);
       this.label8.TabIndex = 12;
       this.label8.Text = "Cím:";
       //
       // txtTitle
       //
       this.txtTitle.AllowNull = true;
       this.txtTitle.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtTitle.InvalidCharSet = "";
       this.txtTitle.Location = new System.Drawing.Point(120, 9);
       this.txtTitle.MaxLength = 50;
       this.txtTitle.Name = "txtTitle";
       this.txtTitle.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtTitle.Size = new System.Drawing.Size(470, 22);
       this.txtTitle.TabIndex = 0;
       this.txtTitle.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtTitle.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtTitle.ValidationMask = "";
       this.txtTitle.ValidCharSet = "";
       //
       // dtgMain
       //
       this.dtgMain.BackgroundColor = System.Drawing.SystemColors.Window;
       this.dtgMain.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.dtgMain.CaptionBackColor = System.Drawing.SystemColors.Highlight;
       this.dtgMain.CaptionVisible = false;
       this.dtgMain.DataMember = "";
       this.dtgMain.Dock = System.Windows.Forms.DockStyle.Fill;
       this.dtgMain.GridLineColor = System.Drawing.SystemColors.ControlLight;
       this.dtgMain.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.dtgMain.Location = new System.Drawing.Point(0, 358);
       this.dtgMain.Name = "dtgMain";
       this.dtgMain.ReadOnly = true;
       this.dtgMain.RowHeaderWidth = 15;
       this.dtgMain.Size = new System.Drawing.Size(602, 225);
       this.dtgMain.TabIndex = 0;
       this.dtgMain.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.customStylesCollection1});
       this.dtgMain.DoubleClick += new System.EventHandler(this.dtgMain_DoubleClick);
       //
       // customStylesCollection1
       //
       this.customStylesCollection1.DataGrid = this.dtgMain;
       this.customStylesCollection1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.colID,
     this.colTitle,
     this.colAuthor,
     this.colLanguageName,
     this.colCategoryName,
     this.colSubTypeName,
     this.colLink,
     this.colCommTitle,
     this.colCommAuthor,
     this.colModifiedDate,
     this.colVisibleForVisitor,
     this.colVisibleForRegistered,
     this.colIsActive});
       this.customStylesCollection1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.customStylesCollection1.MappingName = "Table";
       this.customStylesCollection1.RowHeaderWidth = 3;
       this.customStylesCollection1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
       //
       // colID
       //
       this.colID.Format = "";
       this.colID.FormatInfo = null;
       this.colID.HeaderText = "ID";
       this.colID.MappingName = "uID";
       this.colID.Width = 0;
       //
       // colTitle
       //
       this.colTitle.Format = "";
       this.colTitle.FormatInfo = null;
       this.colTitle.HeaderText = "Cím";
       this.colTitle.MappingName = "cTitle";
       this.colTitle.Width = 60;
       //
       // colAuthor
       //
       this.colAuthor.Format = "";
       this.colAuthor.FormatInfo = null;
       this.colAuthor.HeaderText = "Szerzõ";
       this.colAuthor.MappingName = "cAuthor";
       this.colAuthor.Width = 60;
       //
       // colLanguageName
       //
       this.colLanguageName.Format = "";
       this.colLanguageName.FormatInfo = null;
       this.colLanguageName.HeaderText = "Nyelv";
       this.colLanguageName.MappingName = "cLanguageName";
       this.colLanguageName.Width = 60;
       //
       // colCategoryName
       //
       this.colCategoryName.Format = "";
       this.colCategoryName.FormatInfo = null;
       this.colCategoryName.HeaderText = "Kategória";
       this.colCategoryName.MappingName = "cCategoryName";
       this.colCategoryName.Width = 75;
       //
       // colSubTypeName
       //
       this.colSubTypeName.Format = "";
       this.colSubTypeName.FormatInfo = null;
       this.colSubTypeName.HeaderText = "Típus";
       this.colSubTypeName.MappingName = "cSubTypeName";
       this.colSubTypeName.Width = 60;
       //
       // colLink
       //
       this.colLink.Format = "";
       this.colLink.FormatInfo = null;
       this.colLink.HeaderText = "Link";
       this.colLink.MappingName = "cLink";
       this.colLink.Width = 120;
       //
       // colCommTitle
       //
       this.colCommTitle.Format = "";
       this.colCommTitle.FormatInfo = null;
       this.colCommTitle.HeaderText = "Ajánló cím";
       this.colCommTitle.MappingName = "cCommTitle";
       this.colCommTitle.Width = 75;
       //
       // colCommAuthor
       //
       this.colCommAuthor.Format = "";
       this.colCommAuthor.FormatInfo = null;
       this.colCommAuthor.HeaderText = "Ajánló szerzõ";
       this.colCommAuthor.MappingName = "cCommAuthor";
       this.colCommAuthor.Width = 75;
       //
       // colModifiedDate
       //
       this.colModifiedDate.Format = "";
       this.colModifiedDate.FormatInfo = null;
       this.colModifiedDate.HeaderText = "Utolsó módosítás";
       this.colModifiedDate.MappingName = "dModifiedDate";
       this.colModifiedDate.Width = 105;
       //
       // colVisibleForVisitor
       //
       this.colVisibleForVisitor.HeaderText = "Látogató";
       this.colVisibleForVisitor.MappingName = "bVisibleForVisitor";
       this.colVisibleForVisitor.NullValue = null;
       this.colVisibleForVisitor.Width = 50;
       //
       // colVisibleForRegistered
       //
       this.colVisibleForRegistered.HeaderText = "Felhasználó";
       this.colVisibleForRegistered.MappingName = "bVisibleForRegistered";
       this.colVisibleForRegistered.NullValue = null;
       this.colVisibleForRegistered.Width = 70;
       //
       // colIsActive
       //
       this.colIsActive.HeaderText = "Aktív?";
       this.colIsActive.MappingName = "bIsActive";
       this.colIsActive.Width = 50;
       //
       // frmDocumentSelect
       //
       this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
       this.ClientSize = new System.Drawing.Size(602, 583);
       this.Controls.Add(this.dtgMain);
       this.Controls.Add(this.pnlFilter);
       this.Controls.Add(this.tlbMain);
       this.Controls.Add(this.pHeader);
       this.Name = "frmDocumentSelect";
       this.Text = "NDI HelpDesk Adminisztrátor";
       this.Load += new System.EventHandler(this.frmDocumentSelect_Load);
       this.pnlFilter.ResumeLayout(false);
       this.pnlFilter.PerformLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgMain)).EndInit();
       this.ResumeLayout(false);
       this.PerformLayout();
 }
Example #33
0
 [System.Diagnostics.DebuggerStepThrough()] private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     base.Load      += new System.EventHandler(frmFoodList_Load);
     base.Closed    += new System.EventHandler(frmFoodList_Closed);
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmFoodList));
     this.ToolBar1                = new System.Windows.Forms.ToolBar();
     this.ToolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.ToolBar1_ButtonClick);
     this.ToolBarButton1          = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton2          = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton3          = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton4          = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton9          = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton10         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton7          = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton5          = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton6          = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton15         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton16         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton8          = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton12         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton11         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton14         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton13         = new System.Windows.Forms.ToolBarButton();
     this.ImageList1              = new System.Windows.Forms.ImageList(this.components);
     this.dgFoodList              = new System.Windows.Forms.DataGrid();
     this.dgFoodList.DoubleClick += new System.EventHandler(this.dgFoodList_DoubleClick);
     this.DataGridTableStyle1     = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn1  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn2  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn3  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn4  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn5  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn6  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn7  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn8  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn1     = new System.Windows.Forms.DataGridBoolColumn();
     this.DataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn2     = new System.Windows.Forms.DataGridBoolColumn();
     this.DataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn4     = new System.Windows.Forms.DataGridBoolColumn();
     this.DataGridBoolColumn3     = new System.Windows.Forms.DataGridBoolColumn();
     this.DataGridTextBoxColumn9  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn5     = new System.Windows.Forms.DataGridBoolColumn();
     ((System.ComponentModel.ISupportInitialize) this.dgFoodList).BeginInit();
     this.SuspendLayout();
     //
     //ToolBar1
     //
     this.ToolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.ToolBarButton1, this.ToolBarButton2, this.ToolBarButton3, this.ToolBarButton4, this.ToolBarButton9, this.ToolBarButton10, this.ToolBarButton7, this.ToolBarButton5, this.ToolBarButton6, this.ToolBarButton15, this.ToolBarButton16, this.ToolBarButton8, this.ToolBarButton12, this.ToolBarButton11, this.ToolBarButton14, this.ToolBarButton13 });
     this.ToolBar1.ButtonSize     = new System.Drawing.Size(50, 48);
     this.ToolBar1.DropDownArrows = true;
     this.ToolBar1.ImageList      = this.ImageList1;
     this.ToolBar1.Location       = new System.Drawing.Point(0, 0);
     this.ToolBar1.Name           = "ToolBar1";
     this.ToolBar1.ShowToolTips   = true;
     this.ToolBar1.Size           = new System.Drawing.Size(724, 55);
     this.ToolBar1.TabIndex       = 1;
     //
     //ToolBarButton1
     //
     this.ToolBarButton1.ImageIndex = 0;
     this.ToolBarButton1.Text       = "添加";
     //
     //ToolBarButton2
     //
     this.ToolBarButton2.ImageIndex = 1;
     this.ToolBarButton2.Text       = "修改";
     //
     //ToolBarButton3
     //
     this.ToolBarButton3.ImageIndex = 2;
     this.ToolBarButton3.Text       = "删除";
     //
     //ToolBarButton4
     //
     this.ToolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton9
     //
     this.ToolBarButton9.ImageIndex = 3;
     this.ToolBarButton9.Text       = "查询";
     //
     //ToolBarButton10
     //
     this.ToolBarButton10.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton7
     //
     this.ToolBarButton7.ImageIndex = 4;
     this.ToolBarButton7.Text       = "做法";
     //
     //ToolBarButton5
     //
     this.ToolBarButton5.ImageIndex = 5;
     this.ToolBarButton5.Text       = "口味";
     //
     //ToolBarButton6
     //
     this.ToolBarButton6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton15
     //
     this.ToolBarButton15.ImageIndex = 6;
     this.ToolBarButton15.Text       = "成本卡";
     //
     //ToolBarButton16
     //
     this.ToolBarButton16.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton8
     //
     this.ToolBarButton8.ImageIndex = 7;
     this.ToolBarButton8.Text       = "调价";
     //
     //ToolBarButton12
     //
     this.ToolBarButton12.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton11
     //
     this.ToolBarButton11.ImageIndex = 9;
     this.ToolBarButton11.Text       = "打印";
     //
     //ToolBarButton14
     //
     this.ToolBarButton14.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton13
     //
     this.ToolBarButton13.ImageIndex = 8;
     this.ToolBarButton13.Text       = "关闭";
     //
     //ImageList1
     //
     this.ImageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth16Bit;
     this.ImageList1.ImageSize        = new System.Drawing.Size(28, 28);
     this.ImageList1.ImageStream      = (System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageList1.ImageStream"));
     this.ImageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     //dgFoodList
     //
     this.dgFoodList.AlternatingBackColor = System.Drawing.Color.GhostWhite;
     this.dgFoodList.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.dgFoodList.BackColor           = System.Drawing.Color.GhostWhite;
     this.dgFoodList.BackgroundColor     = System.Drawing.Color.Lavender;
     this.dgFoodList.CaptionBackColor    = System.Drawing.Color.Navy;
     this.dgFoodList.CaptionForeColor    = System.Drawing.Color.White;
     this.dgFoodList.DataMember          = "";
     this.dgFoodList.FlatMode            = true;
     this.dgFoodList.Font                = new System.Drawing.Font("Tahoma", 8.0F);
     this.dgFoodList.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dgFoodList.GridLineColor       = System.Drawing.Color.RoyalBlue;
     this.dgFoodList.HeaderBackColor     = System.Drawing.Color.MidnightBlue;
     this.dgFoodList.HeaderFont          = new System.Drawing.Font("Tahoma", 8.0F, System.Drawing.FontStyle.Bold);
     this.dgFoodList.HeaderForeColor     = System.Drawing.Color.Lavender;
     this.dgFoodList.LinkColor           = System.Drawing.Color.Teal;
     this.dgFoodList.Location            = new System.Drawing.Point(0, 56);
     this.dgFoodList.Name                = "dgFoodList";
     this.dgFoodList.ParentRowsBackColor = System.Drawing.Color.Lavender;
     this.dgFoodList.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dgFoodList.ReadOnly            = true;
     this.dgFoodList.SelectionBackColor  = System.Drawing.Color.Teal;
     this.dgFoodList.SelectionForeColor  = System.Drawing.Color.PaleGreen;
     this.dgFoodList.Size                = new System.Drawing.Size(724, 477);
     this.dgFoodList.TabIndex            = 2;
     this.dgFoodList.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.DataGridTableStyle1 });
     //
     //DataGridTableStyle1
     //
     this.DataGridTableStyle1.DataGrid = this.dgFoodList;
     this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.DataGridTextBoxColumn1, this.DataGridTextBoxColumn2, this.DataGridTextBoxColumn3, this.DataGridTextBoxColumn4, this.DataGridTextBoxColumn5, this.DataGridTextBoxColumn6, this.DataGridTextBoxColumn7, this.DataGridTextBoxColumn8, this.DataGridBoolColumn1, this.DataGridTextBoxColumn11, this.DataGridBoolColumn2, this.DataGridTextBoxColumn13, this.DataGridTextBoxColumn14, this.DataGridBoolColumn4, this.DataGridBoolColumn3, this.DataGridTextBoxColumn9, this.DataGridBoolColumn5 });
     this.DataGridTableStyle1.HeaderFont      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle1.MappingName     = "foodlist";
     //
     //DataGridTextBoxColumn1
     //
     this.DataGridTextBoxColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn1.Format      = "";
     this.DataGridTextBoxColumn1.FormatInfo  = null;
     this.DataGridTextBoxColumn1.HeaderText  = "菜品编码";
     this.DataGridTextBoxColumn1.MappingName = "foodcode";
     this.DataGridTextBoxColumn1.Width       = 75;
     //
     //DataGridTextBoxColumn2
     //
     this.DataGridTextBoxColumn2.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn2.Format      = "";
     this.DataGridTextBoxColumn2.FormatInfo  = null;
     this.DataGridTextBoxColumn2.HeaderText  = "菜品名称";
     this.DataGridTextBoxColumn2.MappingName = "foodname";
     this.DataGridTextBoxColumn2.Width       = 75;
     //
     //DataGridTextBoxColumn3
     //
     this.DataGridTextBoxColumn3.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn3.Format      = "";
     this.DataGridTextBoxColumn3.FormatInfo  = null;
     this.DataGridTextBoxColumn3.HeaderText  = "菜品类别";
     this.DataGridTextBoxColumn3.MappingName = "typename";
     this.DataGridTextBoxColumn3.Width       = 75;
     //
     //DataGridTextBoxColumn4
     //
     this.DataGridTextBoxColumn4.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn4.Format      = "";
     this.DataGridTextBoxColumn4.FormatInfo  = null;
     this.DataGridTextBoxColumn4.HeaderText  = "单位";
     this.DataGridTextBoxColumn4.MappingName = "unit";
     this.DataGridTextBoxColumn4.Width       = 75;
     //
     //DataGridTextBoxColumn5
     //
     this.DataGridTextBoxColumn5.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn5.Format      = "";
     this.DataGridTextBoxColumn5.FormatInfo  = null;
     this.DataGridTextBoxColumn5.HeaderText  = "归属部门";
     this.DataGridTextBoxColumn5.MappingName = "deptname";
     this.DataGridTextBoxColumn5.Width       = 75;
     //
     //DataGridTextBoxColumn6
     //
     this.DataGridTextBoxColumn6.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn6.Format      = "";
     this.DataGridTextBoxColumn6.FormatInfo  = null;
     this.DataGridTextBoxColumn6.HeaderText  = "单价";
     this.DataGridTextBoxColumn6.MappingName = "price";
     this.DataGridTextBoxColumn6.Width       = 75;
     //
     //DataGridTextBoxColumn7
     //
     this.DataGridTextBoxColumn7.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn7.Format      = "";
     this.DataGridTextBoxColumn7.FormatInfo  = null;
     this.DataGridTextBoxColumn7.HeaderText  = "成本价";
     this.DataGridTextBoxColumn7.MappingName = "cost";
     this.DataGridTextBoxColumn7.Width       = 75;
     //
     //DataGridTextBoxColumn8
     //
     this.DataGridTextBoxColumn8.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn8.Format      = "";
     this.DataGridTextBoxColumn8.FormatInfo  = null;
     this.DataGridTextBoxColumn8.HeaderText  = "提成";
     this.DataGridTextBoxColumn8.MappingName = "deduct";
     this.DataGridTextBoxColumn8.Width       = 75;
     //
     //DataGridBoolColumn1
     //
     this.DataGridBoolColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn1.FalseValue  = "0";
     this.DataGridBoolColumn1.HeaderText  = "特价菜";
     this.DataGridBoolColumn1.MappingName = "specialfood";
     this.DataGridBoolColumn1.NullValue   = resources.GetObject("DataGridBoolColumn1.NullValue");
     this.DataGridBoolColumn1.TrueValue   = "1";
     this.DataGridBoolColumn1.Width       = 75;
     //
     //DataGridTextBoxColumn11
     //
     this.DataGridTextBoxColumn11.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn11.Format      = "";
     this.DataGridTextBoxColumn11.FormatInfo  = null;
     this.DataGridTextBoxColumn11.HeaderText  = "特价价格";
     this.DataGridTextBoxColumn11.MappingName = "specialprice";
     this.DataGridTextBoxColumn11.Width       = 75;
     //
     //DataGridBoolColumn2
     //
     this.DataGridBoolColumn2.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn2.FalseValue  = "0";
     this.DataGridBoolColumn2.HeaderText  = "时价菜";
     this.DataGridBoolColumn2.MappingName = "currentfood";
     this.DataGridBoolColumn2.NullValue   = resources.GetObject("DataGridBoolColumn2.NullValue");
     this.DataGridBoolColumn2.TrueValue   = "1";
     this.DataGridBoolColumn2.Width       = 75;
     //
     //DataGridTextBoxColumn13
     //
     this.DataGridTextBoxColumn13.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn13.Format      = "";
     this.DataGridTextBoxColumn13.FormatInfo  = null;
     this.DataGridTextBoxColumn13.HeaderText  = "时价价格";
     this.DataGridTextBoxColumn13.MappingName = "currentprice";
     this.DataGridTextBoxColumn13.Width       = 75;
     //
     //DataGridTextBoxColumn14
     //
     this.DataGridTextBoxColumn14.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn14.Format      = "";
     this.DataGridTextBoxColumn14.FormatInfo  = null;
     this.DataGridTextBoxColumn14.HeaderText  = "拼音码";
     this.DataGridTextBoxColumn14.MappingName = "spell";
     this.DataGridTextBoxColumn14.Width       = 75;
     //
     //DataGridBoolColumn4
     //
     this.DataGridBoolColumn4.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn4.FalseValue  = "0";
     this.DataGridBoolColumn4.HeaderText  = "不优惠";
     this.DataGridBoolColumn4.MappingName = "nodiscount";
     this.DataGridBoolColumn4.NullValue   = resources.GetObject("DataGridBoolColumn4.NullValue");
     this.DataGridBoolColumn4.TrueValue   = "1";
     this.DataGridBoolColumn4.Width       = 75;
     //
     //DataGridBoolColumn3
     //
     this.DataGridBoolColumn3.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn3.FalseValue  = "0";
     this.DataGridBoolColumn3.HeaderText  = "暂不出售";
     this.DataGridBoolColumn3.MappingName = "disabled";
     this.DataGridBoolColumn3.NullValue   = resources.GetObject("DataGridBoolColumn3.NullValue");
     this.DataGridBoolColumn3.TrueValue   = "1";
     this.DataGridBoolColumn3.Width       = 75;
     //
     //DataGridTextBoxColumn9
     //
     this.DataGridTextBoxColumn9.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn9.Format      = "";
     this.DataGridTextBoxColumn9.FormatInfo  = null;
     this.DataGridTextBoxColumn9.HeaderText  = "剩余数量";
     this.DataGridTextBoxColumn9.MappingName = "remain";
     this.DataGridTextBoxColumn9.NullText    = "";
     this.DataGridTextBoxColumn9.Width       = 75;
     //
     //DataGridBoolColumn5
     //
     this.DataGridBoolColumn5.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn5.FalseValue  = "0";
     this.DataGridBoolColumn5.HeaderText  = "前台定制";
     this.DataGridBoolColumn5.MappingName = "isunicode";
     this.DataGridBoolColumn5.NullValue   = resources.GetObject("DataGridBoolColumn5.NullValue");
     this.DataGridBoolColumn5.TrueValue   = "1";
     this.DataGridBoolColumn5.Width       = 75;
     //
     //frmFoodList
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(724, 533);
     this.Controls.Add(this.dgFoodList);
     this.Controls.Add(this.ToolBar1);
     this.Icon = (System.Drawing.Icon)(resources.GetObject("$this.Icon"));
     this.Name = "frmFoodList";
     this.Text = "菜品列表";
     ((System.ComponentModel.ISupportInitialize) this.dgFoodList).EndInit();
     this.ResumeLayout(false);
 }
Example #34
0
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MyForm));
     myDataGridTableStyle     = new System.Windows.Forms.DataGridTableStyle();
     myDataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     myDataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     myDataGridBoolColumn     = new System.Windows.Forms.DataGridBoolColumn();
     myLabel1    = new System.Windows.Forms.Label();
     myLabel2    = new System.Windows.Forms.Label();
     myDataGrid  = new System.Windows.Forms.DataGrid();
     myLabel3    = new System.Windows.Forms.Label();
     myComboBox3 = new System.Windows.Forms.ComboBox();
     myComboBox2 = new System.Windows.Forms.ComboBox();
     myComboBox1 = new System.Windows.Forms.ComboBox();
     ((System.ComponentModel.ISupportInitialize)(myDataGrid)).BeginInit();
     SuspendLayout();
     //
     // myDataGridTableStyle
     //
     myDataGridTableStyle.DataGrid = myDataGrid;
     myDataGridTableStyle.GridColumnStyles.AddRange(
         new System.Windows.Forms.DataGridColumnStyle[] {
         myDataGridTextBoxColumn1,
         myDataGridTextBoxColumn2,
         myDataGridBoolColumn
     });
     myDataGridTableStyle.MappingName = "TestTable";
     //
     // myDataGridTextBoxColumn1
     //
     myDataGridTextBoxColumn1.MappingName = "IntegerValue";
     //
     // myDataGridTextBoxColumn2
     //
     myDataGridTextBoxColumn2.MappingName = "StringValue";
     //
     // myDataGridBoolColumn
     //
     myDataGridBoolColumn.MappingName = "BooleanValue";
     myDataGridBoolColumn.TrueValue   = true;
     myDataGridBoolColumn.FalseValue  = false;
     myDataGridBoolColumn.NullValue   = Convert.DBNull;
     myDataGridBoolColumn.AllowNull   = true;
     RegisterEventHandlers(myDataGridBoolColumn);
     //
     // myLabel1
     //
     myLabel1.Location = new System.Drawing.Point(16, 232);
     myLabel1.Size     = new System.Drawing.Size(136, 24);
     myLabel1.Text     = "Change the TrueValue to:";
     //
     // myLabel2
     //
     myLabel2.Location = new System.Drawing.Point(16, 264);
     myLabel2.Size     = new System.Drawing.Size(136, 24);
     myLabel2.Text     = "Change the FalseValue to:";
     //
     // myDataGrid
     //
     myDataGrid.Location   = new System.Drawing.Point(16, 0);
     myDataGrid.Size       = new System.Drawing.Size(296, 216);
     myDataGrid.DataSource = CreateSource();
     myDataGrid.TableStyles.AddRange(
         new System.Windows.Forms.DataGridTableStyle[] {
         myDataGridTableStyle
     });
     //
     // myLabel3
     //
     myLabel3.Location = new System.Drawing.Point(16, 296);
     myLabel3.Size     = new System.Drawing.Size(136, 24);
     myLabel3.Text     = "Allow null values to appear:";
     //
     // myComboBox3
     //
     myComboBox3.Location = new System.Drawing.Point(168, 288);
     myComboBox3.Size     = new System.Drawing.Size(144, 21);
     myComboBox3.Items.AddRange(new Object[] { true, false });
     myComboBox3.SelectedIndexChanged +=
         new System.EventHandler(myComboBox3_SelectedIndexChanged);
     //
     // myComboBox2
     //
     myComboBox2.Location = new System.Drawing.Point(168, 256);
     myComboBox2.Size     = new System.Drawing.Size(144, 21);
     myComboBox2.Items.AddRange(new Object[] { true, false });
     myComboBox2.SelectedIndexChanged +=
         new System.EventHandler(myComboBox2_SelectedIndexChanged);
     //
     // myComboBox1
     //
     myComboBox1.Location = new System.Drawing.Point(168, 224);
     myComboBox1.Size     = new System.Drawing.Size(144, 21);
     myComboBox1.Items.AddRange(new Object[] { true, false });
     myComboBox1.SelectedIndexChanged +=
         new System.EventHandler(myComboBox1_SelectedIndexChanged);
     //
     // MyForm
     //
     ClientSize = new System.Drawing.Size(336, 341);
     Controls.AddRange(
         new System.Windows.Forms.Control[] {
         myComboBox3,
         myLabel3,
         myComboBox2,
         myLabel2,
         myComboBox1,
         myLabel1,
         myDataGrid
     });
     Name = "MyForm";
     Text = "MyForm";
     ((System.ComponentModel.ISupportInitialize)(myDataGrid)).EndInit();
     ResumeLayout(false);
 }
Example #35
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader();
     System.Resources.ResourceManager       resources = new System.Resources.ResourceManager(typeof(OrgAccountAccess));
     this.sqlSelectCommand1    = new System.Data.SqlClient.SqlCommand();
     this.sqlConnection1       = new System.Data.SqlClient.SqlConnection();
     this.sqldaUsers           = new System.Data.SqlClient.SqlDataAdapter();
     this.cmbOrgName           = new System.Windows.Forms.ComboBox();
     this.dsOrgs1              = new BPS.BLL.Orgs.DataSets.dsOrgs();
     this.dgOrgsAccounts       = new System.Windows.Forms.DataGrid();
     this.dvOrgsAccount        = new System.Data.DataView();
     this.dsOrgsAccountAccess1 = new BPS.BLL.Orgs.Datasets.dsOrgsAccountAccess();
     this.dataGridTableStyle1  = new System.Windows.Forms.DataGridTableStyle();
     this.dtbOrgName           = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dtbAccount           = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridBoolColumn1  = new System.Windows.Forms.DataGridBoolColumn();
     this.btnSave              = new System.Windows.Forms.Button();
     this.button2              = new System.Windows.Forms.Button();
     this.clbUsers             = new System.Windows.Forms.CheckedListBox();
     this.label1                         = new System.Windows.Forms.Label();
     this.dsUsers1                       = new BPS.BLL.Orgs.DataSets.dsUsers();
     this.dvOrgs                         = new System.Data.DataView();
     this.sqlSelectCommand2              = new System.Data.SqlClient.SqlCommand();
     this.sqldaUserOrgsAccounts          = new System.Data.SqlClient.SqlDataAdapter();
     this.dsUserOrgsAccounts1            = new BPS.BLL.Orgs.DataSets.dsUserOrgsAccounts();
     this.sqlcmdDelUserOrgAccountsAccess = new System.Data.SqlClient.SqlCommand();
     this.sqlcmdAddUserOrgAccountsAccess = new System.Data.SqlClient.SqlCommand();
     ((System.ComponentModel.ISupportInitialize)(this.dsOrgs1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgOrgsAccounts)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dvOrgsAccount)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsOrgsAccountAccess1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsUsers1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dvOrgs)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsUserOrgsAccounts1)).BeginInit();
     this.SuspendLayout();
     //
     // sqlSelectCommand1
     //
     this.sqlSelectCommand1.CommandText = "SELECT UserID, UserName, UserPassword, GroupID, IsRemoved, IsAdmin FROM Users";
     this.sqlSelectCommand1.Connection  = this.sqlConnection1;
     //
     // sqlConnection1
     //
     this.sqlConnection1.ConnectionString = ((string)(configurationAppSettings.GetValue("ConnectionString", typeof(string))));
     //
     // sqldaUsers
     //
     this.sqldaUsers.SelectCommand = this.sqlSelectCommand1;
     this.sqldaUsers.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "Users", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("UserID", "UserID"),
             new System.Data.Common.DataColumnMapping("UserName", "UserName"),
             new System.Data.Common.DataColumnMapping("UserPassword", "UserPassword"),
             new System.Data.Common.DataColumnMapping("GroupID", "GroupID"),
             new System.Data.Common.DataColumnMapping("IsRemoved", "IsRemoved"),
             new System.Data.Common.DataColumnMapping("IsAdmin", "IsAdmin")
         })
     });
     //
     // cmbOrgName
     //
     this.cmbOrgName.DataSource            = this.dsOrgs1.Orgs;
     this.cmbOrgName.DisplayMember         = "OrgName";
     this.cmbOrgName.Location              = new System.Drawing.Point(350, 2);
     this.cmbOrgName.MaxDropDownItems      = 20;
     this.cmbOrgName.Name                  = "cmbOrgName";
     this.cmbOrgName.Size                  = new System.Drawing.Size(212, 21);
     this.cmbOrgName.TabIndex              = 2;
     this.cmbOrgName.ValueMember           = "OrgID";
     this.cmbOrgName.SelectedIndexChanged += new System.EventHandler(this.cmbOrgName_SelectedIndexChanged);
     //
     // dsOrgs1
     //
     this.dsOrgs1.DataSetName = "dsOrgs";
     this.dsOrgs1.Locale      = new System.Globalization.CultureInfo("ru-RU");
     //
     // dgOrgsAccounts
     //
     this.dgOrgsAccounts.CaptionText     = "Расчетные счета";
     this.dgOrgsAccounts.CaptionVisible  = false;
     this.dgOrgsAccounts.DataMember      = "";
     this.dgOrgsAccounts.DataSource      = this.dvOrgsAccount;
     this.dgOrgsAccounts.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dgOrgsAccounts.Location        = new System.Drawing.Point(182, 26);
     this.dgOrgsAccounts.Name            = "dgOrgsAccounts";
     this.dgOrgsAccounts.Size            = new System.Drawing.Size(418, 190);
     this.dgOrgsAccounts.TabIndex        = 3;
     this.dgOrgsAccounts.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     //
     // dvOrgsAccount
     //
     this.dvOrgsAccount.AllowDelete = false;
     this.dvOrgsAccount.AllowNew    = false;
     this.dvOrgsAccount.Sort        = "OrgName,RAccount";
     this.dvOrgsAccount.Table       = this.dsOrgsAccountAccess1.OrgAccountsAccess;
     //
     // dsOrgsAccountAccess1
     //
     this.dsOrgsAccountAccess1.DataSetName = "dsOrgsAccountAccess";
     this.dsOrgsAccountAccess1.Locale      = new System.Globalization.CultureInfo("ru-RU");
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.DataGrid = this.dgOrgsAccounts;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dtbOrgName,
         this.dtbAccount,
         this.dataGridBoolColumn1
     });
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyle1.MappingName     = "OrgAccountsAccess";
     //
     // dtbOrgName
     //
     this.dtbOrgName.Format      = "";
     this.dtbOrgName.FormatInfo  = null;
     this.dtbOrgName.HeaderText  = "Название организации";
     this.dtbOrgName.MappingName = "OrgName";
     this.dtbOrgName.NullText    = "-";
     this.dtbOrgName.ReadOnly    = true;
     this.dtbOrgName.Width       = 150;
     //
     // dtbAccount
     //
     this.dtbAccount.Format      = "";
     this.dtbAccount.FormatInfo  = null;
     this.dtbAccount.HeaderText  = "Р / счет";
     this.dtbAccount.MappingName = "RAccount";
     this.dtbAccount.NullText    = "-";
     this.dtbAccount.ReadOnly    = true;
     this.dtbAccount.Width       = 135;
     //
     // dataGridBoolColumn1
     //
     this.dataGridBoolColumn1.AllowNull   = false;
     this.dataGridBoolColumn1.FalseValue  = false;
     this.dataGridBoolColumn1.HeaderText  = "Доступен";
     this.dataGridBoolColumn1.MappingName = "Enabled";
     this.dataGridBoolColumn1.NullText    = "-";
     this.dataGridBoolColumn1.NullValue   = ((object)(resources.GetObject("dataGridBoolColumn1.NullValue")));
     this.dataGridBoolColumn1.TrueValue   = true;
     this.dataGridBoolColumn1.Width       = 60;
     //
     // btnSave
     //
     this.btnSave.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.btnSave.Location = new System.Drawing.Point(436, 222);
     this.btnSave.Name     = "btnSave";
     this.btnSave.Size     = new System.Drawing.Size(80, 26);
     this.btnSave.TabIndex = 4;
     this.btnSave.Text     = "Сохранить";
     this.btnSave.Click   += new System.EventHandler(this.btnSave_Click);
     //
     // button2
     //
     this.button2.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.button2.Font         = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.button2.Location     = new System.Drawing.Point(520, 222);
     this.button2.Name         = "button2";
     this.button2.Size         = new System.Drawing.Size(80, 26);
     this.button2.TabIndex     = 5;
     this.button2.Text         = "Закрыть";
     this.button2.Click       += new System.EventHandler(this.button2_Click);
     //
     // clbUsers
     //
     this.clbUsers.Location              = new System.Drawing.Point(4, 4);
     this.clbUsers.Name                  = "clbUsers";
     this.clbUsers.Size                  = new System.Drawing.Size(174, 212);
     this.clbUsers.TabIndex              = 6;
     this.clbUsers.SelectedIndexChanged += new System.EventHandler(this.clbUsers_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(264, 6);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(84, 18);
     this.label1.TabIndex = 7;
     this.label1.Text     = "Организация:";
     this.label1.Click   += new System.EventHandler(this.label1_Click);
     //
     // dsUsers1
     //
     this.dsUsers1.DataSetName = "dsUsers";
     this.dsUsers1.Locale      = new System.Globalization.CultureInfo("ru-RU");
     //
     // dvOrgs
     //
     this.dvOrgs.Table = this.dsOrgs1.Orgs;
     //
     // sqlSelectCommand2
     //
     this.sqlSelectCommand2.CommandText = "SELECT UserID, OrgsAccountsID FROM UserOrgsAccounts WHERE (UserID = @UserID) ORDE" +
                                          "R BY OrgsAccountsID";
     this.sqlSelectCommand2.Connection = this.sqlConnection1;
     this.sqlSelectCommand2.Parameters.Add(new System.Data.SqlClient.SqlParameter("@UserID", System.Data.SqlDbType.Int, 4, "UserID"));
     //
     // sqldaUserOrgsAccounts
     //
     this.sqldaUserOrgsAccounts.SelectCommand = this.sqlSelectCommand2;
     this.sqldaUserOrgsAccounts.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "UserOrgsAccounts", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("UserID", "UserID"),
             new System.Data.Common.DataColumnMapping("OrgsAccountsID", "OrgsAccountsID")
         })
     });
     //
     // dsUserOrgsAccounts1
     //
     this.dsUserOrgsAccounts1.DataSetName = "dsUserOrgsAccounts";
     this.dsUserOrgsAccounts1.Locale      = new System.Globalization.CultureInfo("ru-RU");
     //
     // sqlcmdDelUserOrgAccountsAccess
     //
     this.sqlcmdDelUserOrgAccountsAccess.CommandText = "DELETE FROM UserOrgsAccounts WHERE (UserID = @UserID) AND (OrgsAccountsID = @Orgs" +
                                                       "AccountsID)";
     this.sqlcmdDelUserOrgAccountsAccess.Connection = this.sqlConnection1;
     this.sqlcmdDelUserOrgAccountsAccess.Parameters.Add(new System.Data.SqlClient.SqlParameter("@UserID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "UserID", System.Data.DataRowVersion.Original, null));
     this.sqlcmdDelUserOrgAccountsAccess.Parameters.Add(new System.Data.SqlClient.SqlParameter("@OrgsAccountsID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "OrgsAccountsID", System.Data.DataRowVersion.Original, null));
     //
     // sqlcmdAddUserOrgAccountsAccess
     //
     this.sqlcmdAddUserOrgAccountsAccess.CommandText = "INSERT INTO UserOrgsAccounts (UserID, OrgsAccountsID) VALUES (@UserID, @OrgsAccou" +
                                                       "ntsID)";
     this.sqlcmdAddUserOrgAccountsAccess.Connection = this.sqlConnection1;
     this.sqlcmdAddUserOrgAccountsAccess.Parameters.Add(new System.Data.SqlClient.SqlParameter("@UserID", System.Data.SqlDbType.Int, 4, "UserID"));
     this.sqlcmdAddUserOrgAccountsAccess.Parameters.Add(new System.Data.SqlClient.SqlParameter("@OrgsAccountsID", System.Data.SqlDbType.Int, 4, "OrgsAccountsID"));
     //
     // OrgAccountAccess
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.CancelButton      = this.button2;
     this.ClientSize        = new System.Drawing.Size(604, 251);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.clbUsers);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.dgOrgsAccounts);
     this.Controls.Add(this.cmbOrgName);
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "OrgAccountAccess";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Доступ к р.счетам";
     this.Load           += new System.EventHandler(this.OrgAccountAccess_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dsOrgs1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgOrgsAccounts)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dvOrgsAccount)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsOrgsAccountAccess1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsUsers1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dvOrgs)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsUserOrgsAccounts1)).EndInit();
     this.ResumeLayout(false);
 }
		//-------------------------------------------------------------------
		void PopulateDB( MemManager.Log.Log log )
		{
            DataSet myDataSet = new DataSet("DataSet");
			DataTable table;
			DataColumn column;
			DataGridColumnStyle columnstyle;
			string cats = "1Index|";
            if (mCategoryMode)
                cats += "0Category|";
            else
                cats += "0Heap|";

        //    cats+= "0Name|1Alignment|1ActualSize|1Count|1TotalSize";
            cats += "0Name|1ActualSize|1Count|1TotalSize";

			DataGridTableStyle tableStyle = new DataGridTableStyle(); 
			tableStyle.MappingName = "All"; 
			tableStyle.RowHeaderWidth = 10; 
			tableStyle.AlternatingBackColor = System.Drawing.Color.FromArgb(((System.Byte)(250)), ((System.Byte)(250)), ((System.Byte)(250)));

			table = new DataTable( "All" );
			table.BeginLoadData();
			foreach (string s in cats.Split('|'))
			{
				string n = s.Substring(1);

                //if (n == "Index")
                //    continue;
				column = new DataColumn();
				column.ColumnName = n;
				column.ReadOnly = true;
				column.Unique = false;				
				if (s[0] == '0')
				{
					column.DataType = System.Type.GetType("System.String");
					columnstyle = new DataGridTextBoxColumn();
				}
				else if (s[0] == '1')
				{
					column.DataType = System.Type.GetType("System.Int32");
					columnstyle = new DataGridTextBoxColumn();
				}
				else //if (s[0] == '2')
				{
					column.DataType = System.Type.GetType("System.Boolean");
					columnstyle = new DataGridBoolColumn();
				}
				table.Columns.Add(column);
				
				columnstyle.MappingName = n;
				columnstyle.HeaderText = n;
				columnstyle.Width = 70;
                if (n == "Name")
                    columnstyle.Width = 360;
                else if (n == "Heap")
                    columnstyle.Width = 70;
                else if (n == "Category")
                    columnstyle.Width = 90;
                else if (n == "Count" ) //|| n == "Alignment")
                    columnstyle.Width = 42;
				tableStyle.GridColumnStyles.Add( columnstyle );
			}

            for (int j = 0; j < mCollapsedView.Count; j++)
			{
                Item item = (Item)mCollapsedView[j];
                MemManager.Log.LogEntry le_a = log[item.index];

                string allocatorName = log.GetAllocator(le_a.allocator);
                string categoryName = mCategoryMode ? log.GetCategory(le_a.category) : log.GetCategory(0);

				DataRow row = table.NewRow();
				row["Index"] = item.index;
                if (mCategoryMode)
                    row["Category"] = categoryName;
                else
                    row["Heap"] = allocatorName;

             //   string removalString = log.GetAllocator(item.allocator) + "::";

             //   if (mCategoryMode)
              //      removalString += categoryName + "::";

                row["Name"] = log.GetString(le_a.nameString); //.Substring(removalString.Length);
           //     row["Alignment"] = item.alignment;
		//		row["ReqSize"] = item.requestedSize;
                row["ActualSize"] = le_a.allocSize;
				row["Count"] = item.count;
                row["TotalSize"] = item.count * le_a.allocSize;

                table.Rows.Add(row);
			}
			table.EndLoadData();

			// Add the table to the dataset
			myDataSet.Tables.Add(table);

			// Make the dataGrid use our new table style and bind it to our table 
			mDataGrid.TableStyles.Clear();
			mDataGrid.TableStyles.Add(tableStyle); 

			// Set up grid bindings
			mDataGrid.SetDataBinding(myDataSet, "All");

			// Update status
			UpdateStatusBar();
		}
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()
 {
     System.Resources.ResourceManager       resources = new System.Resources.ResourceManager(typeof(AddClient));
     System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader();
     this.cmbGroup               = new System.Windows.Forms.ComboBox();
     this.tbClient               = new System.Windows.Forms.TextBox();
     this.tbRemarks              = new System.Windows.Forms.TextBox();
     this.label1                 = new System.Windows.Forms.Label();
     this.label2                 = new System.Windows.Forms.Label();
     this.label3                 = new System.Windows.Forms.Label();
     this.btAddGroup             = new System.Windows.Forms.Button();
     this.bnOK                   = new System.Windows.Forms.Button();
     this.bnCancel               = new System.Windows.Forms.Button();
     this.sqlConnection1         = new System.Data.SqlClient.SqlConnection();
     this.sqlSelectCommand2      = new System.Data.SqlClient.SqlCommand();
     this.sqlDataAdapter2        = new System.Data.SqlClient.SqlDataAdapter();
     this.dataView1              = new System.Data.DataView();
     this.dataGrid1              = new System.Windows.Forms.DataGrid();
     this.dvClientRate           = new System.Data.DataView();
     this.dsInterestRate1        = new BPS.BLL.Clients.DataSets.dsInterestRate();
     this.dataGridTableStyle2    = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.tbPassw                = new System.Windows.Forms.TextBox();
     this.label4                 = new System.Windows.Forms.Label();
     this.tbConfirmPassw         = new System.Windows.Forms.TextBox();
     this.label5                 = new System.Windows.Forms.Label();
     this.tabControl1            = new System.Windows.Forms.TabControl();
     this.tabPage1               = new System.Windows.Forms.TabPage();
     this.tabPage2               = new System.Windows.Forms.TabPage();
     this.dgSendFrom             = new System.Windows.Forms.DataGrid();
     this.dvSend                 = new System.Data.DataView();
     this.dsOrgsClients1         = new BPS.BLL.Clients.DataSets.dsOrgsClients();
     this.dataGridTableStyle1    = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridBoolColumn1    = new System.Windows.Forms.DataGridBoolColumn();
     this.tabPage3               = new System.Windows.Forms.TabPage();
     this.dataGrid2              = new System.Windows.Forms.DataGrid();
     this.dvReceive              = new System.Data.DataView();
     this.dataGridTableStyle3    = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridBoolColumn2    = new System.Windows.Forms.DataGridBoolColumn();
     ((System.ComponentModel.ISupportInitialize)(this.dataView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dvClientRate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsInterestRate1)).BeginInit();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgSendFrom)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dvSend)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsOrgsClients1)).BeginInit();
     this.tabPage3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dvReceive)).BeginInit();
     this.SuspendLayout();
     //
     // cmbGroup
     //
     this.cmbGroup.Location = new System.Drawing.Point(86, 2);
     this.cmbGroup.Name     = "cmbGroup";
     this.cmbGroup.Size     = new System.Drawing.Size(160, 21);
     this.cmbGroup.TabIndex = 0;
     this.cmbGroup.Leave   += new System.EventHandler(this.cmbGroup_Leave);
     //
     // tbClient
     //
     this.tbClient.Location = new System.Drawing.Point(86, 24);
     this.tbClient.Name     = "tbClient";
     this.tbClient.Size     = new System.Drawing.Size(344, 21);
     this.tbClient.TabIndex = 2;
     this.tbClient.Text     = "";
     //
     // tbRemarks
     //
     this.tbRemarks.Location = new System.Drawing.Point(86, 90);
     this.tbRemarks.Name     = "tbRemarks";
     this.tbRemarks.Size     = new System.Drawing.Size(344, 21);
     this.tbRemarks.TabIndex = 5;
     this.tbRemarks.Text     = "";
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(6, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(50, 23);
     this.label1.TabIndex  = 3;
     this.label1.Text      = "Группа:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(6, 24);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(76, 23);
     this.label2.TabIndex  = 4;
     this.label2.Text      = "Клиент:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(6, 90);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(72, 23);
     this.label3.TabIndex  = 5;
     this.label3.Text      = "Примечание:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // btAddGroup
     //
     this.btAddGroup.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btAddGroup.Image     = ((System.Drawing.Bitmap)(resources.GetObject("btAddGroup.Image")));
     this.btAddGroup.Location  = new System.Drawing.Point(246, 2);
     this.btAddGroup.Name      = "btAddGroup";
     this.btAddGroup.Size      = new System.Drawing.Size(24, 21);
     this.btAddGroup.TabIndex  = 1;
     this.btAddGroup.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.btAddGroup.Click    += new System.EventHandler(this.btAddGroup_Click);
     //
     // bnOK
     //
     this.bnOK.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.bnOK.Location = new System.Drawing.Point(272, 360);
     this.bnOK.Name     = "bnOK";
     this.bnOK.Size     = new System.Drawing.Size(80, 26);
     this.bnOK.TabIndex = 8;
     this.bnOK.Text     = "Сохранить";
     this.bnOK.Click   += new System.EventHandler(this.bnOK_Click);
     //
     // bnCancel
     //
     this.bnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.bnCancel.Font         = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.bnCancel.Location     = new System.Drawing.Point(354, 360);
     this.bnCancel.Name         = "bnCancel";
     this.bnCancel.Size         = new System.Drawing.Size(80, 26);
     this.bnCancel.TabIndex     = 9;
     this.bnCancel.Text         = "Отменить";
     this.bnCancel.Click       += new System.EventHandler(this.bnCancel_Click);
     //
     // sqlConnection1
     //
     this.sqlConnection1.ConnectionString = ((string)(configurationAppSettings.GetValue("ConnectionString", typeof(string))));
     //
     // sqlSelectCommand2
     //
     this.sqlSelectCommand2.CommandText = "SELECT ClientGroupID, ClientGroupName, ClientGroupRemarks FROM ClientsGroups";
     this.sqlSelectCommand2.Connection  = this.sqlConnection1;
     //
     // sqlDataAdapter2
     //
     this.sqlDataAdapter2.SelectCommand = this.sqlSelectCommand2;
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.LightGray;
     this.dataGrid1.BackColor            = System.Drawing.Color.DarkGray;
     this.dataGrid1.CaptionBackColor     = System.Drawing.Color.White;
     this.dataGrid1.CaptionFont          = new System.Drawing.Font("Microsoft Sans Serif", 8F);
     this.dataGrid1.CaptionForeColor     = System.Drawing.Color.Navy;
     this.dataGrid1.CaptionText          = "Процентные ставки";
     this.dataGrid1.CaptionVisible       = false;
     this.dataGrid1.DataMember           = "";
     this.dataGrid1.DataSource           = this.dvClientRate;
     this.dataGrid1.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.dataGrid1.ForeColor           = System.Drawing.Color.Black;
     this.dataGrid1.GridLineColor       = System.Drawing.Color.Black;
     this.dataGrid1.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid1.HeaderBackColor     = System.Drawing.Color.Silver;
     this.dataGrid1.HeaderForeColor     = System.Drawing.Color.Black;
     this.dataGrid1.LinkColor           = System.Drawing.Color.Navy;
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.White;
     this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.Black;
     this.dataGrid1.SelectionBackColor  = System.Drawing.Color.Navy;
     this.dataGrid1.SelectionForeColor  = System.Drawing.Color.White;
     this.dataGrid1.Size                = new System.Drawing.Size(428, 202);
     this.dataGrid1.TabIndex            = 7;
     this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle2
     });
     //
     // dvClientRate
     //
     this.dvClientRate.AllowDelete = false;
     this.dvClientRate.AllowNew    = false;
     this.dvClientRate.Table       = this.dsInterestRate1.InterestRate;
     //
     // dsInterestRate1
     //
     this.dsInterestRate1.DataSetName = "dsInterestRate";
     this.dsInterestRate1.Locale      = new System.Globalization.CultureInfo("en-US");
     this.dsInterestRate1.Namespace   = "http://tempuri.org/dsInterestRate.xsd";
     //
     // dataGridTableStyle2
     //
     this.dataGridTableStyle2.DataGrid = this.dataGrid1;
     this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn3,
         this.dataGridTextBoxColumn4,
         this.dataGridTextBoxColumn5
     });
     this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyle2.MappingName     = "InterestRate";
     //
     // dataGridTextBoxColumn3
     //
     this.dataGridTextBoxColumn3.Format      = "";
     this.dataGridTextBoxColumn3.FormatInfo  = null;
     this.dataGridTextBoxColumn3.HeaderText  = "Тип операции";
     this.dataGridTextBoxColumn3.MappingName = "ReqTypeName";
     this.dataGridTextBoxColumn3.ReadOnly    = true;
     this.dataGridTextBoxColumn3.Width       = 200;
     //
     // dataGridTextBoxColumn4
     //
     this.dataGridTextBoxColumn4.Alignment   = System.Windows.Forms.HorizontalAlignment.Right;
     this.dataGridTextBoxColumn4.Format      = "0.00";
     this.dataGridTextBoxColumn4.FormatInfo  = null;
     this.dataGridTextBoxColumn4.HeaderText  = "% Норм.";
     this.dataGridTextBoxColumn4.MappingName = "RateNormal";
     this.dataGridTextBoxColumn4.NullText    = "-";
     this.dataGridTextBoxColumn4.Width       = 75;
     //
     // dataGridTextBoxColumn5
     //
     this.dataGridTextBoxColumn5.Alignment   = System.Windows.Forms.HorizontalAlignment.Right;
     this.dataGridTextBoxColumn5.Format      = "0.00";
     this.dataGridTextBoxColumn5.FormatInfo  = null;
     this.dataGridTextBoxColumn5.HeaderText  = "% Black";
     this.dataGridTextBoxColumn5.MappingName = "RateBlack";
     this.dataGridTextBoxColumn5.NullText    = "-";
     this.dataGridTextBoxColumn5.Width       = 75;
     //
     // tbPassw
     //
     this.tbPassw.Location     = new System.Drawing.Point(86, 46);
     this.tbPassw.MaxLength    = 16;
     this.tbPassw.Name         = "tbPassw";
     this.tbPassw.PasswordChar = '*';
     this.tbPassw.Size         = new System.Drawing.Size(344, 21);
     this.tbPassw.TabIndex     = 3;
     this.tbPassw.Text         = "";
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(6, 46);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(54, 23);
     this.label4.TabIndex  = 9;
     this.label4.Text      = "Пароль:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tbConfirmPassw
     //
     this.tbConfirmPassw.Location     = new System.Drawing.Point(86, 68);
     this.tbConfirmPassw.Name         = "tbConfirmPassw";
     this.tbConfirmPassw.PasswordChar = '*';
     this.tbConfirmPassw.Size         = new System.Drawing.Size(344, 21);
     this.tbConfirmPassw.TabIndex     = 4;
     this.tbConfirmPassw.Text         = "";
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(6, 70);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(80, 23);
     this.label5.TabIndex  = 11;
     this.label5.Text      = "Подтвердить:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tabControl1
     //
     this.tabControl1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tabPage1,
         this.tabPage2,
         this.tabPage3
     });
     this.tabControl1.Location      = new System.Drawing.Point(2, 122);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(436, 228);
     this.tabControl1.TabIndex      = 12;
     //
     // tabPage1
     //
     this.tabPage1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.dataGrid1
     });
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Size     = new System.Drawing.Size(428, 202);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "% Обслуживания";
     //
     // tabPage2
     //
     this.tabPage2.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.dgSendFrom
     });
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Size     = new System.Drawing.Size(428, 202);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "Отправка";
     //
     // dgSendFrom
     //
     this.dgSendFrom.AlternatingBackColor = System.Drawing.Color.LightGray;
     this.dgSendFrom.BackColor            = System.Drawing.Color.DarkGray;
     this.dgSendFrom.CaptionBackColor     = System.Drawing.Color.White;
     this.dgSendFrom.CaptionFont          = new System.Drawing.Font("Microsoft Sans Serif", 8F);
     this.dgSendFrom.CaptionForeColor     = System.Drawing.Color.Navy;
     this.dgSendFrom.CaptionText          = "Процентные ставки";
     this.dgSendFrom.CaptionVisible       = false;
     this.dgSendFrom.DataMember           = "";
     this.dgSendFrom.DataSource           = this.dvSend;
     this.dgSendFrom.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.dgSendFrom.ForeColor           = System.Drawing.Color.Black;
     this.dgSendFrom.GridLineColor       = System.Drawing.Color.Black;
     this.dgSendFrom.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dgSendFrom.HeaderBackColor     = System.Drawing.Color.Silver;
     this.dgSendFrom.HeaderForeColor     = System.Drawing.Color.Black;
     this.dgSendFrom.LinkColor           = System.Drawing.Color.Navy;
     this.dgSendFrom.Name                = "dgSendFrom";
     this.dgSendFrom.ParentRowsBackColor = System.Drawing.Color.White;
     this.dgSendFrom.ParentRowsForeColor = System.Drawing.Color.Black;
     this.dgSendFrom.SelectionBackColor  = System.Drawing.Color.Navy;
     this.dgSendFrom.SelectionForeColor  = System.Drawing.Color.White;
     this.dgSendFrom.Size                = new System.Drawing.Size(428, 202);
     this.dgSendFrom.TabIndex            = 8;
     this.dgSendFrom.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     //
     // dvSend
     //
     this.dvSend.AllowDelete = false;
     this.dvSend.AllowNew    = false;
     this.dvSend.RowFilter   = "Direction=1";
     this.dvSend.Table       = this.dsOrgsClients1.OrgsClients;
     //
     // dsOrgsClients1
     //
     this.dsOrgsClients1.DataSetName = "dsOrgsClients";
     this.dsOrgsClients1.Locale      = new System.Globalization.CultureInfo("ru-RU");
     this.dsOrgsClients1.Namespace   = "http://www.tempuri.org/dsOrgsClients.xsd";
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.DataGrid = this.dgSendFrom;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn1,
         this.dataGridTextBoxColumn2,
         this.dataGridBoolColumn1
     });
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyle1.MappingName     = "OrgsClients";
     //
     // dataGridTextBoxColumn1
     //
     this.dataGridTextBoxColumn1.Format      = "";
     this.dataGridTextBoxColumn1.FormatInfo  = null;
     this.dataGridTextBoxColumn1.HeaderText  = "Наименование";
     this.dataGridTextBoxColumn1.MappingName = "OrgName";
     this.dataGridTextBoxColumn1.NullText    = "-";
     this.dataGridTextBoxColumn1.ReadOnly    = true;
     this.dataGridTextBoxColumn1.Width       = 150;
     //
     // dataGridTextBoxColumn2
     //
     this.dataGridTextBoxColumn2.Format      = "";
     this.dataGridTextBoxColumn2.FormatInfo  = null;
     this.dataGridTextBoxColumn2.HeaderText  = "ИНН";
     this.dataGridTextBoxColumn2.MappingName = "CodeINN";
     this.dataGridTextBoxColumn2.NullText    = "-";
     this.dataGridTextBoxColumn2.ReadOnly    = true;
     this.dataGridTextBoxColumn2.Width       = 90;
     //
     // dataGridBoolColumn1
     //
     this.dataGridBoolColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.dataGridBoolColumn1.AllowNull   = false;
     this.dataGridBoolColumn1.FalseValue  = false;
     this.dataGridBoolColumn1.HeaderText  = "Разрешено";
     this.dataGridBoolColumn1.MappingName = "IsAvailable";
     this.dataGridBoolColumn1.NullValue   = ((System.DBNull)(resources.GetObject("dataGridBoolColumn1.NullValue")));
     this.dataGridBoolColumn1.TrueValue   = true;
     this.dataGridBoolColumn1.Width       = 75;
     //
     // tabPage3
     //
     this.tabPage3.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.dataGrid2
     });
     this.tabPage3.Location = new System.Drawing.Point(4, 22);
     this.tabPage3.Name     = "tabPage3";
     this.tabPage3.Size     = new System.Drawing.Size(428, 202);
     this.tabPage3.TabIndex = 2;
     this.tabPage3.Text     = "Прием";
     //
     // dataGrid2
     //
     this.dataGrid2.AlternatingBackColor = System.Drawing.Color.LightGray;
     this.dataGrid2.BackColor            = System.Drawing.Color.DarkGray;
     this.dataGrid2.CaptionBackColor     = System.Drawing.Color.White;
     this.dataGrid2.CaptionFont          = new System.Drawing.Font("Microsoft Sans Serif", 8F);
     this.dataGrid2.CaptionForeColor     = System.Drawing.Color.Navy;
     this.dataGrid2.CaptionText          = "Процентные ставки";
     this.dataGrid2.CaptionVisible       = false;
     this.dataGrid2.DataMember           = "";
     this.dataGrid2.DataSource           = this.dvReceive;
     this.dataGrid2.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.dataGrid2.ForeColor           = System.Drawing.Color.Black;
     this.dataGrid2.GridLineColor       = System.Drawing.Color.Black;
     this.dataGrid2.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid2.HeaderBackColor     = System.Drawing.Color.Silver;
     this.dataGrid2.HeaderForeColor     = System.Drawing.Color.Black;
     this.dataGrid2.LinkColor           = System.Drawing.Color.Navy;
     this.dataGrid2.Name                = "dataGrid2";
     this.dataGrid2.ParentRowsBackColor = System.Drawing.Color.White;
     this.dataGrid2.ParentRowsForeColor = System.Drawing.Color.Black;
     this.dataGrid2.SelectionBackColor  = System.Drawing.Color.Navy;
     this.dataGrid2.SelectionForeColor  = System.Drawing.Color.White;
     this.dataGrid2.Size                = new System.Drawing.Size(428, 202);
     this.dataGrid2.TabIndex            = 9;
     this.dataGrid2.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle3
     });
     //
     // dvReceive
     //
     this.dvReceive.AllowDelete = false;
     this.dvReceive.AllowNew    = false;
     this.dvReceive.RowFilter   = "Direction=0";
     this.dvReceive.Table       = this.dsOrgsClients1.OrgsClients;
     //
     // dataGridTableStyle3
     //
     this.dataGridTableStyle3.DataGrid = this.dataGrid2;
     this.dataGridTableStyle3.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn6,
         this.dataGridTextBoxColumn7,
         this.dataGridBoolColumn2
     });
     this.dataGridTableStyle3.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyle3.MappingName     = "OrgsClients";
     //
     // dataGridTextBoxColumn6
     //
     this.dataGridTextBoxColumn6.Format      = "";
     this.dataGridTextBoxColumn6.FormatInfo  = null;
     this.dataGridTextBoxColumn6.HeaderText  = "Наименование";
     this.dataGridTextBoxColumn6.MappingName = "OrgName";
     this.dataGridTextBoxColumn6.NullText    = "-";
     this.dataGridTextBoxColumn6.Width       = 150;
     //
     // dataGridTextBoxColumn7
     //
     this.dataGridTextBoxColumn7.Format      = "";
     this.dataGridTextBoxColumn7.FormatInfo  = null;
     this.dataGridTextBoxColumn7.HeaderText  = "ИНН";
     this.dataGridTextBoxColumn7.MappingName = "CodeINN";
     this.dataGridTextBoxColumn7.NullText    = "-";
     this.dataGridTextBoxColumn7.Width       = 90;
     //
     // dataGridBoolColumn2
     //
     this.dataGridBoolColumn2.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.dataGridBoolColumn2.AllowNull   = false;
     this.dataGridBoolColumn2.FalseValue  = false;
     this.dataGridBoolColumn2.HeaderText  = "Разрешено";
     this.dataGridBoolColumn2.MappingName = "IsAvailable";
     this.dataGridBoolColumn2.NullText    = "-";
     this.dataGridBoolColumn2.NullValue   = ((System.DBNull)(resources.GetObject("dataGridBoolColumn2.NullValue")));
     this.dataGridBoolColumn2.TrueValue   = true;
     this.dataGridBoolColumn2.Width       = 75;
     //
     // AddClient
     //
     this.AcceptButton      = this.bnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.CancelButton      = this.bnCancel;
     this.ClientSize        = new System.Drawing.Size(436, 387);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tabControl1,
         this.label5,
         this.tbConfirmPassw,
         this.label4,
         this.tbPassw,
         this.bnCancel,
         this.bnOK,
         this.btAddGroup,
         this.label3,
         this.label2,
         this.label1,
         this.tbRemarks,
         this.tbClient,
         this.cmbGroup
     });
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "AddClient";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Клиент";
     this.Load           += new System.EventHandler(this.AddClient_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dvClientRate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsInterestRate1)).EndInit();
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgSendFrom)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dvSend)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsOrgsClients1)).EndInit();
     this.tabPage3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dvReceive)).EndInit();
     this.ResumeLayout(false);
 }
Example #38
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(FPatrol));
			this.datasetPatrol = new Allberg.Shooter.Windows.DatasetPatrol();
			this.dataGridAssigned = new System.Windows.Forms.DataGrid();
			this.dataGridTableStyleAssigned = new System.Windows.Forms.DataGridTableStyle();
			this.dataGridAssignedMove = new System.Windows.Forms.DataGridBoolColumn();
			this.dataGridAssignedLane = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dataGridAssignedName = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dataGridAssignedClub = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dataGridAssignedWeaponClass = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dataGridAssignedWeapon = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dataGridUnassigned = new System.Windows.Forms.DataGrid();
			this.dataGridTableStyleUnassigned = new System.Windows.Forms.DataGridTableStyle();
			this.dataGridUnassignedLane = new System.Windows.Forms.DataGridBoolColumn();
			this.dataGridUnassignedName = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dataGridUnassignedClub = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dataGridUnassignedWeaponClass = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dataGridUnassignedWeapon = new System.Windows.Forms.DataGridTextBoxColumn();
			this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
			this.timePatrol = new Allberg.Shooter.Windows.Forms.SafeDateTimePicker();
			this.btnMoveDown = new SafeButton();
			this.btnMoveUp = new SafeButton();
			this.btnRemoveFromPatrol = new SafeButton();
			this.btnAddToPatrol = new SafeButton();
			this.chkUseAutomaticTime = new Allberg.Shooter.Windows.Forms.SafeCheckBox();
			this.safeLabel1 = new SafeLabel();
			this.lblPatrolClass = new SafeLabel();
			this.SafeLabel2 = new SafeLabel();
			this.lblPatrol = new SafeLabel();
			this.lblPatrolnumber = new SafeLabel();
			this.chkBlockThisPatrolForAutomatic = new System.Windows.Forms.CheckBox();
			((System.ComponentModel.ISupportInitialize)(this.datasetPatrol)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.dataGridAssigned)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.dataGridUnassigned)).BeginInit();
			this.SuspendLayout();
			// 
			// datasetPatrol
			// 
			this.datasetPatrol.DataSetName = "DatasetPatrol";
			this.datasetPatrol.Locale = new System.Globalization.CultureInfo("en-US");
			this.datasetPatrol.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
			// 
			// dataGridAssigned
			// 
			this.dataGridAssigned.AllowNavigation = false;
			this.dataGridAssigned.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
						| System.Windows.Forms.AnchorStyles.Left)));
			this.dataGridAssigned.CaptionText = "Skyttar i patrullen";
			this.dataGridAssigned.DataMember = "shooters";
			this.dataGridAssigned.DataSource = this.datasetPatrol;
			this.dataGridAssigned.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGridAssigned.Location = new System.Drawing.Point(8, 47);
			this.dataGridAssigned.Name = "dataGridAssigned";
			this.dataGridAssigned.Size = new System.Drawing.Size(272, 244);
			this.dataGridAssigned.TabIndex = 6;
			this.dataGridAssigned.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
			this.dataGridTableStyleAssigned});
			this.toolTip1.SetToolTip(this.dataGridAssigned, "Skyttar som redan finns i patrullen");
			// 
			// dataGridTableStyleAssigned
			// 
			this.dataGridTableStyleAssigned.DataGrid = this.dataGridAssigned;
			this.dataGridTableStyleAssigned.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
			this.dataGridAssignedMove,
			this.dataGridAssignedLane,
			this.dataGridAssignedName,
			this.dataGridAssignedClub,
			this.dataGridAssignedWeaponClass,
			this.dataGridAssignedWeapon});
			this.dataGridTableStyleAssigned.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGridTableStyleAssigned.MappingName = "shooters";
			this.dataGridTableStyleAssigned.RowHeadersVisible = false;
			// 
			// dataGridAssignedMove
			// 
			this.dataGridAssignedMove.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
			this.dataGridAssignedMove.AllowNull = false;
			this.dataGridAssignedMove.MappingName = "Move";
			this.dataGridAssignedMove.Width = 20;
			// 
			// dataGridAssignedLane
			// 
			this.dataGridAssignedLane.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
			this.dataGridAssignedLane.Format = "";
			this.dataGridAssignedLane.FormatInfo = null;
			this.dataGridAssignedLane.HeaderText = "Bana";
			this.dataGridAssignedLane.MappingName = "Lane";
			this.dataGridAssignedLane.ReadOnly = true;
			this.dataGridAssignedLane.Width = 40;
			// 
			// dataGridAssignedName
			// 
			this.dataGridAssignedName.Format = "";
			this.dataGridAssignedName.FormatInfo = null;
			this.dataGridAssignedName.HeaderText = "Namn";
			this.dataGridAssignedName.MappingName = "Name";
			this.dataGridAssignedName.ReadOnly = true;
			this.dataGridAssignedName.Width = 75;
			// 
			// dataGridAssignedClub
			// 
			this.dataGridAssignedClub.Format = "";
			this.dataGridAssignedClub.FormatInfo = null;
			this.dataGridAssignedClub.HeaderText = "Klubb";
			this.dataGridAssignedClub.MappingName = "Club";
			this.dataGridAssignedClub.ReadOnly = true;
			this.dataGridAssignedClub.Width = 75;
			// 
			// dataGridAssignedWeaponClass
			// 
			this.dataGridAssignedWeaponClass.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
			this.dataGridAssignedWeaponClass.Format = "";
			this.dataGridAssignedWeaponClass.FormatInfo = null;
			this.dataGridAssignedWeaponClass.HeaderText = "Klass";
			this.dataGridAssignedWeaponClass.MappingName = "WeaponClass";
			this.dataGridAssignedWeaponClass.NullText = "";
			this.dataGridAssignedWeaponClass.ReadOnly = true;
			this.dataGridAssignedWeaponClass.Width = 40;
			// 
			// dataGridAssignedWeapon
			// 
			this.dataGridAssignedWeapon.Format = "";
			this.dataGridAssignedWeapon.FormatInfo = null;
			this.dataGridAssignedWeapon.HeaderText = "Vapen";
			this.dataGridAssignedWeapon.MappingName = "Weapon";
			this.dataGridAssignedWeapon.ReadOnly = true;
			this.dataGridAssignedWeapon.Width = 75;
			// 
			// dataGridUnassigned
			// 
			this.dataGridUnassigned.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.dataGridUnassigned.CaptionText = "Skyttar utan patrull";
			this.dataGridUnassigned.DataMember = "unassigned";
			this.dataGridUnassigned.DataSource = this.datasetPatrol;
			this.dataGridUnassigned.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGridUnassigned.Location = new System.Drawing.Point(318, 47);
			this.dataGridUnassigned.Name = "dataGridUnassigned";
			this.dataGridUnassigned.Size = new System.Drawing.Size(272, 244);
			this.dataGridUnassigned.TabIndex = 9;
			this.dataGridUnassigned.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
			this.dataGridTableStyleUnassigned});
			this.toolTip1.SetToolTip(this.dataGridUnassigned, "Skyttar som inte blivit tilldelad någon patrull");
			// 
			// dataGridTableStyleUnassigned
			// 
			this.dataGridTableStyleUnassigned.DataGrid = this.dataGridUnassigned;
			this.dataGridTableStyleUnassigned.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
			this.dataGridUnassignedLane,
			this.dataGridUnassignedName,
			this.dataGridUnassignedClub,
			this.dataGridUnassignedWeaponClass,
			this.dataGridUnassignedWeapon});
			this.dataGridTableStyleUnassigned.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGridTableStyleUnassigned.MappingName = "unassigned";
			this.dataGridTableStyleUnassigned.RowHeadersVisible = false;
			// 
			// dataGridUnassignedLane
			// 
			this.dataGridUnassignedLane.AllowNull = false;
			this.dataGridUnassignedLane.MappingName = "Move";
			this.dataGridUnassignedLane.Width = 20;
			// 
			// dataGridUnassignedName
			// 
			this.dataGridUnassignedName.Format = "";
			this.dataGridUnassignedName.FormatInfo = null;
			this.dataGridUnassignedName.HeaderText = "Namn";
			this.dataGridUnassignedName.MappingName = "Name";
			this.dataGridUnassignedName.ReadOnly = true;
			this.dataGridUnassignedName.Width = 75;
			// 
			// dataGridUnassignedClub
			// 
			this.dataGridUnassignedClub.Format = "";
			this.dataGridUnassignedClub.FormatInfo = null;
			this.dataGridUnassignedClub.HeaderText = "Klubb";
			this.dataGridUnassignedClub.MappingName = "Club";
			this.dataGridUnassignedClub.ReadOnly = true;
			this.dataGridUnassignedClub.Width = 75;
			// 
			// dataGridUnassignedWeaponClass
			// 
			this.dataGridUnassignedWeaponClass.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
			this.dataGridUnassignedWeaponClass.Format = "";
			this.dataGridUnassignedWeaponClass.FormatInfo = null;
			this.dataGridUnassignedWeaponClass.HeaderText = "Klass";
			this.dataGridUnassignedWeaponClass.MappingName = "WeaponClass";
			this.dataGridUnassignedWeaponClass.NullText = "";
			this.dataGridUnassignedWeaponClass.ReadOnly = true;
			this.dataGridUnassignedWeaponClass.Width = 40;
			// 
			// dataGridUnassignedWeapon
			// 
			this.dataGridUnassignedWeapon.Format = "";
			this.dataGridUnassignedWeapon.FormatInfo = null;
			this.dataGridUnassignedWeapon.HeaderText = "Vapen";
			this.dataGridUnassignedWeapon.MappingName = "Weapon";
			this.dataGridUnassignedWeapon.ReadOnly = true;
			this.dataGridUnassignedWeapon.Width = 75;
			// 
			// timePatrol
			// 
			this.timePatrol.CustomFormat = "hh:mm";
			this.timePatrol.Enabled = false;
			this.timePatrol.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
			this.timePatrol.Location = new System.Drawing.Point(276, 6);
			this.timePatrol.Name = "timePatrol";
			this.timePatrol.ShowUpDown = true;
			this.timePatrol.Size = new System.Drawing.Size(73, 20);
			this.timePatrol.TabIndex = 14;
			this.toolTip1.SetToolTip(this.timePatrol, "Patrullens starttid kan sättas till annan tid än den som automatiskt sätts");
			this.timePatrol.Value = new System.DateTime(2006, 6, 13, 19, 2, 18, 562);
			this.timePatrol.ValueChanged += new System.EventHandler(this.timePatrol_ValueChanged);
			// 
			// btnMoveDown
			// 
			this.btnMoveDown.Font = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.btnMoveDown.Location = new System.Drawing.Point(280, 128);
			this.btnMoveDown.Name = "btnMoveDown";
			this.btnMoveDown.Size = new System.Drawing.Size(32, 23);
			this.btnMoveDown.TabIndex = 11;
			this.btnMoveDown.Text = "ß";
			this.toolTip1.SetToolTip(this.btnMoveDown, "Flytta skyttar till en senare bana");
			this.btnMoveDown.Click += new System.EventHandler(this.btnMoveDown_Click);
			// 
			// btnMoveUp
			// 
			this.btnMoveUp.Font = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.btnMoveUp.Location = new System.Drawing.Point(280, 104);
			this.btnMoveUp.Name = "btnMoveUp";
			this.btnMoveUp.Size = new System.Drawing.Size(32, 23);
			this.btnMoveUp.TabIndex = 10;
			this.btnMoveUp.Text = "Ý";
			this.toolTip1.SetToolTip(this.btnMoveUp, "Flytta skyttar till en tidigare bana");
			this.btnMoveUp.Click += new System.EventHandler(this.btnMoveUp_Click);
			// 
			// btnRemoveFromPatrol
			// 
			this.btnRemoveFromPatrol.Font = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.btnRemoveFromPatrol.Location = new System.Drawing.Point(280, 56);
			this.btnRemoveFromPatrol.Name = "btnRemoveFromPatrol";
			this.btnRemoveFromPatrol.Size = new System.Drawing.Size(32, 23);
			this.btnRemoveFromPatrol.TabIndex = 8;
			this.btnRemoveFromPatrol.Text = "Þ";
			this.toolTip1.SetToolTip(this.btnRemoveFromPatrol, "Ta bort skyttar ur patrullen");
			this.btnRemoveFromPatrol.Click += new System.EventHandler(this.btnRemoveFromPatrol_Click);
			// 
			// btnAddToPatrol
			// 
			this.btnAddToPatrol.Font = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.btnAddToPatrol.Location = new System.Drawing.Point(280, 80);
			this.btnAddToPatrol.Name = "btnAddToPatrol";
			this.btnAddToPatrol.Size = new System.Drawing.Size(32, 23);
			this.btnAddToPatrol.TabIndex = 7;
			this.btnAddToPatrol.Text = "Ü";
			this.toolTip1.SetToolTip(this.btnAddToPatrol, "Lägg till skyttar i patrullen");
			this.btnAddToPatrol.Click += new System.EventHandler(this.btnAddToPatrol_Click);
			// 
			// chkUseAutomaticTime
			// 
			this.chkUseAutomaticTime.AutoSize = true;
			this.chkUseAutomaticTime.Location = new System.Drawing.Point(355, 8);
			this.chkUseAutomaticTime.Name = "chkUseAutomaticTime";
			this.chkUseAutomaticTime.Size = new System.Drawing.Size(131, 17);
			this.chkUseAutomaticTime.TabIndex = 15;
			this.chkUseAutomaticTime.Text = "Använd automatisk tid";
			this.chkUseAutomaticTime.UseVisualStyleBackColor = true;
			this.chkUseAutomaticTime.CheckedChanged += new System.EventHandler(this.chkUseAutomaticTime_CheckedChanged);
			// 
			// safeLabel1
			// 
			this.safeLabel1.AutoSize = true;
			this.safeLabel1.Location = new System.Drawing.Point(230, 8);
			this.safeLabel1.Name = "safeLabel1";
			this.safeLabel1.Size = new System.Drawing.Size(40, 13);
			this.safeLabel1.TabIndex = 13;
			this.safeLabel1.Text = "Starttid";
			// 
			// lblPatrolClass
			// 
			this.lblPatrolClass.Location = new System.Drawing.Point(184, 8);
			this.lblPatrolClass.Name = "lblPatrolClass";
			this.lblPatrolClass.Size = new System.Drawing.Size(40, 23);
			this.lblPatrolClass.TabIndex = 5;
			this.lblPatrolClass.Text = "Klass1";
			// 
			// SafeLabel2
			// 
			this.SafeLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.SafeLabel2.Location = new System.Drawing.Point(136, 8);
			this.SafeLabel2.Name = "SafeLabel2";
			this.SafeLabel2.Size = new System.Drawing.Size(40, 23);
			this.SafeLabel2.TabIndex = 4;
			this.SafeLabel2.Text = "Klass";
			// 
			// lblPatrol
			// 
			this.lblPatrol.Location = new System.Drawing.Point(96, 8);
			this.lblPatrol.Name = "lblPatrol";
			this.lblPatrol.Size = new System.Drawing.Size(32, 23);
			this.lblPatrol.TabIndex = 3;
			this.lblPatrol.Text = "0";
			this.lblPatrol.TextAlign = System.Drawing.ContentAlignment.TopRight;
			// 
			// lblPatrolnumber
			// 
			this.lblPatrolnumber.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.lblPatrolnumber.Location = new System.Drawing.Point(8, 8);
			this.lblPatrolnumber.Name = "lblPatrolnumber";
			this.lblPatrolnumber.Size = new System.Drawing.Size(88, 23);
			this.lblPatrolnumber.TabIndex = 2;
			this.lblPatrolnumber.Text = "Patrullnummer";
			// 
			// chkBlockThisPatrolForAutomatic
			// 
			this.chkBlockThisPatrolForAutomatic.AutoSize = true;
			this.chkBlockThisPatrolForAutomatic.Location = new System.Drawing.Point(12, 24);
			this.chkBlockThisPatrolForAutomatic.Name = "chkBlockThisPatrolForAutomatic";
			this.chkBlockThisPatrolForAutomatic.Size = new System.Drawing.Size(233, 17);
			this.chkBlockThisPatrolForAutomatic.TabIndex = 16;
			this.chkBlockThisPatrolForAutomatic.Text = "Stäng denna patrull för automatisk placering";
			this.chkBlockThisPatrolForAutomatic.UseVisualStyleBackColor = true;
			this.chkBlockThisPatrolForAutomatic.CheckedChanged += new System.EventHandler(this.chkBlockThisPatrolForAutomatic_CheckedChanged);
			// 
			// FPatrol
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(598, 297);
			this.Controls.Add(this.chkBlockThisPatrolForAutomatic);
			this.Controls.Add(this.chkUseAutomaticTime);
			this.Controls.Add(this.timePatrol);
			this.Controls.Add(this.safeLabel1);
			this.Controls.Add(this.btnMoveDown);
			this.Controls.Add(this.btnMoveUp);
			this.Controls.Add(this.dataGridUnassigned);
			this.Controls.Add(this.btnRemoveFromPatrol);
			this.Controls.Add(this.btnAddToPatrol);
			this.Controls.Add(this.dataGridAssigned);
			this.Controls.Add(this.lblPatrolClass);
			this.Controls.Add(this.SafeLabel2);
			this.Controls.Add(this.lblPatrol);
			this.Controls.Add(this.lblPatrolnumber);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.Name = "FPatrol";
			this.Text = "Patrull";
			((System.ComponentModel.ISupportInitialize)(this.datasetPatrol)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.dataGridAssigned)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.dataGridUnassigned)).EndInit();
			this.ResumeLayout(false);
			this.PerformLayout();

		}
Example #39
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.statusBar1             = new System.Windows.Forms.StatusBar();
     this.statusBarPanel1        = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanel2        = new System.Windows.Forms.StatusBarPanel();
     this.myDataGrid1            = new myDataGrid.myDataGrid();
     this.dataGridTableStyle1    = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridBoolColumn1    = new System.Windows.Forms.DataGridBoolColumn();
     this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.butprint  = new System.Windows.Forms.Button();
     this.butquit   = new System.Windows.Forms.Button();
     this.butdel    = new System.Windows.Forms.Button();
     this.butsave   = new System.Windows.Forms.Button();
     this.txtdm     = new System.Windows.Forms.TextBox();
     this.label1    = new System.Windows.Forms.Label();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 454);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this.statusBarPanel1,
         this.statusBarPanel2
     });
     this.statusBar1.ShowPanels = true;
     this.statusBar1.Size       = new System.Drawing.Size(768, 31);
     this.statusBar1.TabIndex   = 0;
     this.statusBar1.Text       = "statusBar1";
     //
     // statusBarPanel1
     //
     this.statusBarPanel1.Name  = "statusBarPanel1";
     this.statusBarPanel1.Width = 300;
     //
     // statusBarPanel2
     //
     this.statusBarPanel2.Name  = "statusBarPanel2";
     this.statusBarPanel2.Width = 1001;
     //
     // myDataGrid1
     //
     this.myDataGrid1.BackgroundColor = System.Drawing.Color.White;
     this.myDataGrid1.CaptionVisible  = false;
     this.myDataGrid1.DataMember      = "";
     this.myDataGrid1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.myDataGrid1.Location        = new System.Drawing.Point(3, 21);
     this.myDataGrid1.Name            = "myDataGrid1";
     this.myDataGrid1.Size            = new System.Drawing.Size(762, 347);
     this.myDataGrid1.TabIndex        = 0;
     this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     this.myDataGrid1.myKeyDown += new myDataGrid.myDelegate(this.myDataGrid1_myKeyDown);
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.AllowSorting = false;
     this.dataGridTableStyle1.DataGrid     = this.myDataGrid1;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn1,
         this.dataGridTextBoxColumn2,
         this.dataGridTextBoxColumn3,
         this.dataGridTextBoxColumn4,
         this.dataGridTextBoxColumn5,
         this.dataGridTextBoxColumn6,
         this.dataGridTextBoxColumn7,
         this.dataGridBoolColumn1,
         this.dataGridTextBoxColumn8
     });
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     //
     // dataGridTextBoxColumn1
     //
     this.dataGridTextBoxColumn1.Format     = "";
     this.dataGridTextBoxColumn1.FormatInfo = null;
     this.dataGridTextBoxColumn1.HeaderText = "序号";
     this.dataGridTextBoxColumn1.Width      = 40;
     //
     // dataGridTextBoxColumn2
     //
     this.dataGridTextBoxColumn2.Format     = "";
     this.dataGridTextBoxColumn2.FormatInfo = null;
     this.dataGridTextBoxColumn2.HeaderText = "名称";
     this.dataGridTextBoxColumn2.Width      = 150;
     //
     // dataGridTextBoxColumn3
     //
     this.dataGridTextBoxColumn3.Format     = "";
     this.dataGridTextBoxColumn3.FormatInfo = null;
     this.dataGridTextBoxColumn3.HeaderText = "拼音码";
     this.dataGridTextBoxColumn3.Width      = 70;
     //
     // dataGridTextBoxColumn4
     //
     this.dataGridTextBoxColumn4.Format     = "";
     this.dataGridTextBoxColumn4.FormatInfo = null;
     this.dataGridTextBoxColumn4.HeaderText = "五笔码";
     this.dataGridTextBoxColumn4.Width      = 70;
     //
     // dataGridTextBoxColumn5
     //
     this.dataGridTextBoxColumn5.Format     = "";
     this.dataGridTextBoxColumn5.FormatInfo = null;
     this.dataGridTextBoxColumn5.HeaderText = "联系电话";
     this.dataGridTextBoxColumn5.Width      = 70;
     //
     // dataGridTextBoxColumn6
     //
     this.dataGridTextBoxColumn6.Format     = "";
     this.dataGridTextBoxColumn6.FormatInfo = null;
     this.dataGridTextBoxColumn6.HeaderText = "联系人";
     this.dataGridTextBoxColumn6.Width      = 60;
     //
     // dataGridTextBoxColumn7
     //
     this.dataGridTextBoxColumn7.Format     = "";
     this.dataGridTextBoxColumn7.FormatInfo = null;
     this.dataGridTextBoxColumn7.HeaderText = "地址";
     this.dataGridTextBoxColumn7.Width      = 75;
     //
     // dataGridBoolColumn1
     //
     this.dataGridBoolColumn1.AllowNull  = false;
     this.dataGridBoolColumn1.FalseValue = ((short)(0));
     this.dataGridBoolColumn1.HeaderText = "GMP达标";
     this.dataGridBoolColumn1.NullValue  = ((short)(0));
     this.dataGridBoolColumn1.TrueValue  = ((short)(1));
     this.dataGridBoolColumn1.Width      = 50;
     //
     // dataGridTextBoxColumn8
     //
     this.dataGridTextBoxColumn8.Format     = "";
     this.dataGridTextBoxColumn8.FormatInfo = null;
     this.dataGridTextBoxColumn8.HeaderText = "ID";
     this.dataGridTextBoxColumn8.NullText   = "";
     this.dataGridTextBoxColumn8.Width      = 0;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.butprint);
     this.groupBox1.Controls.Add(this.butquit);
     this.groupBox1.Controls.Add(this.butdel);
     this.groupBox1.Controls.Add(this.butsave);
     this.groupBox1.Controls.Add(this.txtdm);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.groupBox1.Location = new System.Drawing.Point(0, 371);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(768, 83);
     this.groupBox1.TabIndex = 4;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "操作";
     //
     // butprint
     //
     this.butprint.Location = new System.Drawing.Point(725, 21);
     this.butprint.Name     = "butprint";
     this.butprint.Size     = new System.Drawing.Size(128, 41);
     this.butprint.TabIndex = 8;
     this.butprint.Text     = "打印(&P)";
     this.butprint.Click   += new System.EventHandler(this.butprint_Click);
     //
     // butquit
     //
     this.butquit.Location = new System.Drawing.Point(864, 21);
     this.butquit.Name     = "butquit";
     this.butquit.Size     = new System.Drawing.Size(128, 41);
     this.butquit.TabIndex = 4;
     this.butquit.Text     = "退出(&Q)";
     this.butquit.Click   += new System.EventHandler(this.butquit_Click);
     //
     // butdel
     //
     this.butdel.Location = new System.Drawing.Point(587, 21);
     this.butdel.Name     = "butdel";
     this.butdel.Size     = new System.Drawing.Size(128, 41);
     this.butdel.TabIndex = 3;
     this.butdel.Text     = "删除(&D)";
     this.butdel.Click   += new System.EventHandler(this.butdel_Click);
     //
     // butsave
     //
     this.butsave.Location = new System.Drawing.Point(448, 21);
     this.butsave.Name     = "butsave";
     this.butsave.Size     = new System.Drawing.Size(128, 41);
     this.butsave.TabIndex = 2;
     this.butsave.Text     = "保存(&S)";
     this.butsave.Click   += new System.EventHandler(this.butsave_Click);
     //
     // txtdm
     //
     this.txtdm.Location = new System.Drawing.Point(91, 31);
     this.txtdm.Name     = "txtdm";
     this.txtdm.Size     = new System.Drawing.Size(256, 25);
     this.txtdm.TabIndex = 1;
     this.txtdm.KeyUp   += new System.Windows.Forms.KeyEventHandler(this.txtdm_KeyUp);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(51, 36);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(64, 21);
     this.label1.TabIndex = 0;
     this.label1.Text     = "查找";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.myDataGrid1);
     this.groupBox2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBox2.Location = new System.Drawing.Point(0, 0);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(768, 371);
     this.groupBox2.TabIndex = 5;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "厂家信息";
     //
     // Frmsccj
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 18);
     this.ClientSize        = new System.Drawing.Size(768, 485);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.statusBar1);
     this.Name        = "Frmsccj";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.Frmsccj_Load);
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     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.components = new System.ComponentModel.Container();
       System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmForumGroupSelect));
       this.pHeader = new Ndi.HelpDesk.UI.Controls.InfoBarLite();
       this.imgToolbar = new System.Windows.Forms.ImageList(this.components);
       this.tlbMain = new System.Windows.Forms.ToolBar();
       this.tbbSeparator1 = new System.Windows.Forms.ToolBarButton();
       this.tbbNew = new System.Windows.Forms.ToolBarButton();
       this.tbbModify = new System.Windows.Forms.ToolBarButton();
       this.tbbInactivate = new System.Windows.Forms.ToolBarButton();
       this.tbbSeparator2 = new System.Windows.Forms.ToolBarButton();
       this.tbbRefresh = new System.Windows.Forms.ToolBarButton();
       this.pnlFilter = new System.Windows.Forms.Panel();
       this.cmbStatus = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.label4 = new System.Windows.Forms.Label();
       this.label3 = new System.Windows.Forms.Label();
       this.cmbVisibleForRegistered = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.cmbVisibleForVisitor = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.label2 = new System.Windows.Forms.Label();
       this.dtgMain = new Ndi.HelpDesk.UI.Controls.GreptonDataGrid();
       this.customStylesCollection1 = new Ndi.HelpDesk.UI.Controls.CustomStylesCollection();
       this.colName = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colVisibleForVisitor = new System.Windows.Forms.DataGridBoolColumn();
       this.colVisibleForRegistered = new System.Windows.Forms.DataGridBoolColumn();
       this.colActive = new System.Windows.Forms.DataGridBoolColumn();
       this.toolBarButton1 = new System.Windows.Forms.ToolBarButton();
       this.pnlFilter.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgMain)).BeginInit();
       this.SuspendLayout();
       //
       // pHeader
       //
       this.pHeader.BackColor = System.Drawing.SystemColors.Window;
       this.pHeader.BackStyle = Ndi.HelpDesk.UI.Controls.BackStyle.Solid;
       this.pHeader.BorderSide = System.Windows.Forms.Border3DSide.Bottom;
       this.pHeader.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
       this.pHeader.Dock = System.Windows.Forms.DockStyle.Top;
       this.pHeader.GradientEndColor = System.Drawing.Color.White;
       this.pHeader.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
       this.pHeader.GradientStartColor = System.Drawing.Color.DeepSkyBlue;
       this.pHeader.Image = null;
       this.pHeader.ImageAlign = Ndi.HelpDesk.UI.Controls.ImageAlignment.TopLeft;
       this.pHeader.ImageOffsetX = 2;
       this.pHeader.ImageOffsetY = 0;
       this.pHeader.Location = new System.Drawing.Point(0, 0);
       this.pHeader.Name = "pHeader";
       this.pHeader.Size = new System.Drawing.Size(607, 46);
       this.pHeader.TabIndex = 0;
       this.pHeader.Text1 = "Fórum témák";
       this.pHeader.Text1Font = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Bold);
       this.pHeader.Text1ForeColor = System.Drawing.SystemColors.ControlText;
       this.pHeader.Text1OffsetX = 0;
       this.pHeader.Text1OffsetY = 0;
       this.pHeader.Text2 = "Fórum témák szerkesztése";
       this.pHeader.Text2Font = new System.Drawing.Font("Segoe UI", 8F);
       this.pHeader.Text2ForeColor = System.Drawing.SystemColors.ControlText;
       this.pHeader.Text2OffsetX = 20;
       this.pHeader.Text2OffsetY = 0;
       //
       // imgToolbar
       //
       this.imgToolbar.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgToolbar.ImageStream")));
       this.imgToolbar.TransparentColor = System.Drawing.Color.Transparent;
       this.imgToolbar.Images.SetKeyName(0, "");
       this.imgToolbar.Images.SetKeyName(1, "");
       this.imgToolbar.Images.SetKeyName(2, "");
       this.imgToolbar.Images.SetKeyName(3, "");
       this.imgToolbar.Images.SetKeyName(4, "");
       //
       // tlbMain
       //
       this.tlbMain.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
       this.tlbMain.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
     this.tbbSeparator1,
     this.tbbNew,
     this.tbbModify,
     this.tbbInactivate,
     this.tbbSeparator2,
     this.tbbRefresh});
       this.tlbMain.DropDownArrows = true;
       this.tlbMain.ImageList = this.imgToolbar;
       this.tlbMain.Location = new System.Drawing.Point(0, 46);
       this.tlbMain.Name = "tlbMain";
       this.tlbMain.ShowToolTips = true;
       this.tlbMain.Size = new System.Drawing.Size(607, 28);
       this.tlbMain.TabIndex = 1;
       this.tlbMain.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.tlbMain_ButtonClick);
       //
       // tbbSeparator1
       //
       this.tbbSeparator1.Name = "tbbSeparator1";
       this.tbbSeparator1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // tbbNew
       //
       this.tbbNew.ImageIndex = 0;
       this.tbbNew.Name = "tbbNew";
       this.tbbNew.ToolTipText = "Új fórum téma";
       //
       // tbbModify
       //
       this.tbbModify.ImageIndex = 1;
       this.tbbModify.Name = "tbbModify";
       this.tbbModify.ToolTipText = "Fórum téma módosítása";
       //
       // tbbInactivate
       //
       this.tbbInactivate.ImageIndex = 2;
       this.tbbInactivate.Name = "tbbInactivate";
       this.tbbInactivate.ToolTipText = "Fórum téma törlése";
       //
       // tbbSeparator2
       //
       this.tbbSeparator2.Name = "tbbSeparator2";
       this.tbbSeparator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // tbbRefresh
       //
       this.tbbRefresh.ImageIndex = 3;
       this.tbbRefresh.Name = "tbbRefresh";
       this.tbbRefresh.ToolTipText = "Lista frissítése/szûrés";
       //
       // pnlFilter
       //
       this.pnlFilter.Controls.Add(this.cmbStatus);
       this.pnlFilter.Controls.Add(this.label4);
       this.pnlFilter.Controls.Add(this.label3);
       this.pnlFilter.Controls.Add(this.cmbVisibleForRegistered);
       this.pnlFilter.Controls.Add(this.cmbVisibleForVisitor);
       this.pnlFilter.Controls.Add(this.label2);
       this.pnlFilter.Dock = System.Windows.Forms.DockStyle.Top;
       this.pnlFilter.Location = new System.Drawing.Point(0, 74);
       this.pnlFilter.Name = "pnlFilter";
       this.pnlFilter.Size = new System.Drawing.Size(607, 79);
       this.pnlFilter.TabIndex = 2;
       //
       // cmbStatus
       //
       this.cmbStatus.AllowNull = true;
       this.cmbStatus.BreakSort = false;
       this.cmbStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbStatus.Location = new System.Drawing.Point(449, 9);
       this.cmbStatus.Name = "cmbStatus";
       this.cmbStatus.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbStatus.Size = new System.Drawing.Size(139, 24);
       this.cmbStatus.TabIndex = 2;
       this.cmbStatus.ToolBarUse = false;
       this.cmbStatus.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // label4
       //
       this.label4.AutoSize = true;
       this.label4.Location = new System.Drawing.Point(391, 14);
       this.label4.Name = "label4";
       this.label4.Size = new System.Drawing.Size(55, 17);
       this.label4.TabIndex = 4;
       this.label4.Text = "Állapot:";
       //
       // label3
       //
       this.label3.Location = new System.Drawing.Point(17, 37);
       this.label3.Name = "label3";
       this.label3.Size = new System.Drawing.Size(206, 32);
       this.label3.TabIndex = 2;
       this.label3.Text = "Látható a regisztrált felhasználók számára:";
       //
       // cmbVisibleForRegistered
       //
       this.cmbVisibleForRegistered.AllowNull = true;
       this.cmbVisibleForRegistered.BreakSort = false;
       this.cmbVisibleForRegistered.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbVisibleForRegistered.Location = new System.Drawing.Point(223, 42);
       this.cmbVisibleForRegistered.Name = "cmbVisibleForRegistered";
       this.cmbVisibleForRegistered.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbVisibleForRegistered.Size = new System.Drawing.Size(139, 24);
       this.cmbVisibleForRegistered.TabIndex = 1;
       this.cmbVisibleForRegistered.ToolBarUse = false;
       this.cmbVisibleForRegistered.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // cmbVisibleForVisitor
       //
       this.cmbVisibleForVisitor.AllowNull = true;
       this.cmbVisibleForVisitor.BreakSort = false;
       this.cmbVisibleForVisitor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbVisibleForVisitor.Location = new System.Drawing.Point(223, 9);
       this.cmbVisibleForVisitor.Name = "cmbVisibleForVisitor";
       this.cmbVisibleForVisitor.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbVisibleForVisitor.Size = new System.Drawing.Size(139, 24);
       this.cmbVisibleForVisitor.TabIndex = 0;
       this.cmbVisibleForVisitor.ToolBarUse = false;
       this.cmbVisibleForVisitor.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // label2
       //
       this.label2.AutoSize = true;
       this.label2.Location = new System.Drawing.Point(17, 14);
       this.label2.Name = "label2";
       this.label2.Size = new System.Drawing.Size(192, 17);
       this.label2.TabIndex = 0;
       this.label2.Text = "Látható a látogatók számára:";
       //
       // dtgMain
       //
       this.dtgMain.BackgroundColor = System.Drawing.SystemColors.Window;
       this.dtgMain.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.dtgMain.CaptionBackColor = System.Drawing.SystemColors.Highlight;
       this.dtgMain.CaptionVisible = false;
       this.dtgMain.DataMember = "";
       this.dtgMain.Dock = System.Windows.Forms.DockStyle.Fill;
       this.dtgMain.GridLineColor = System.Drawing.SystemColors.ControlLight;
       this.dtgMain.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.dtgMain.Location = new System.Drawing.Point(0, 153);
       this.dtgMain.Name = "dtgMain";
       this.dtgMain.ReadOnly = true;
       this.dtgMain.RowHeaderWidth = 3;
       this.dtgMain.Size = new System.Drawing.Size(607, 113);
       this.dtgMain.TabIndex = 3;
       this.dtgMain.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.customStylesCollection1});
       this.dtgMain.DoubleClick += new System.EventHandler(this.dtgMain_DoubleClick);
       //
       // customStylesCollection1
       //
       this.customStylesCollection1.DataGrid = this.dtgMain;
       this.customStylesCollection1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.colName,
     this.colVisibleForVisitor,
     this.colVisibleForRegistered,
     this.colActive});
       this.customStylesCollection1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.customStylesCollection1.RowHeaderWidth = 3;
       this.customStylesCollection1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
       //
       // colName
       //
       this.colName.Format = "";
       this.colName.FormatInfo = null;
       this.colName.HeaderText = "Téma neve";
       this.colName.MappingName = "Name";
       this.colName.Width = 350;
       //
       // colVisibleForVisitor
       //
       this.colVisibleForVisitor.HeaderText = "Látogató";
       this.colVisibleForVisitor.MappingName = "VisibleForVisitor";
       this.colVisibleForVisitor.Width = 75;
       //
       // colVisibleForRegistered
       //
       this.colVisibleForRegistered.HeaderText = "Felhasználó";
       this.colVisibleForRegistered.MappingName = "VisibleForRegistered";
       this.colVisibleForRegistered.Width = 75;
       //
       // colActive
       //
       this.colActive.HeaderText = "Aktív";
       this.colActive.MappingName = "IsActive";
       this.colActive.Width = 75;
       //
       // toolBarButton1
       //
       this.toolBarButton1.ImageIndex = 1;
       this.toolBarButton1.Name = "toolBarButton1";
       this.toolBarButton1.Text = "Fórum téma módosítása";
       //
       // frmForumGroupSelect
       //
       this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
       this.ClientSize = new System.Drawing.Size(607, 266);
       this.Controls.Add(this.dtgMain);
       this.Controls.Add(this.pnlFilter);
       this.Controls.Add(this.tlbMain);
       this.Controls.Add(this.pHeader);
       this.Name = "frmForumGroupSelect";
       this.Text = "NDI HelpDesk Adminisztrátor";
       this.Load += new System.EventHandler(this.frmForumGroupSelect_Load);
       this.pnlFilter.ResumeLayout(false);
       this.pnlFilter.PerformLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgMain)).EndInit();
       this.ResumeLayout(false);
       this.PerformLayout();
 }
 /// <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(frmContinuativeSelect));
       this.pHeader = new Ndi.HelpDesk.UI.Controls.InfoBarLite();
       this.tlbMain = new System.Windows.Forms.ToolBar();
       this.tbbSeparator1 = new System.Windows.Forms.ToolBarButton();
       this.tbbNew = new System.Windows.Forms.ToolBarButton();
       this.tbbModify = new System.Windows.Forms.ToolBarButton();
       this.tbbInactivate = new System.Windows.Forms.ToolBarButton();
       this.tbbSeparator2 = new System.Windows.Forms.ToolBarButton();
       this.tbbRefresh = new System.Windows.Forms.ToolBarButton();
       this.imgToolbar = new System.Windows.Forms.ImageList(this.components);
       this.pnlFilter = new System.Windows.Forms.Panel();
       this.cmbStatus = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.lblActive = new System.Windows.Forms.Label();
       this.lblContinuativeName = new System.Windows.Forms.Label();
       this.txtContinuativeName = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.txtTargetGroup = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.lblTargetGroup = new System.Windows.Forms.Label();
       this.lblPersonName = new System.Windows.Forms.Label();
       this.txtPersonName = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.dtgMain = new Ndi.HelpDesk.UI.Controls.GreptonDataGrid();
       this.customStylesCollection1 = new Ndi.HelpDesk.UI.Controls.CustomStylesCollection();
       this.colID = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colContinuativeName = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colPersonName = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colTargetGroup = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colWhere = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colDateTo = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colOuterLink = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colActive = new System.Windows.Forms.DataGridBoolColumn();
       this.pnlFilter.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgMain)).BeginInit();
       this.SuspendLayout();
       //
       // pHeader
       //
       this.pHeader.BackColor = System.Drawing.SystemColors.Window;
       this.pHeader.BackStyle = Ndi.HelpDesk.UI.Controls.BackStyle.Solid;
       this.pHeader.BorderSide = System.Windows.Forms.Border3DSide.Bottom;
       this.pHeader.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
       this.pHeader.Dock = System.Windows.Forms.DockStyle.Top;
       this.pHeader.GradientEndColor = System.Drawing.Color.White;
       this.pHeader.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
       this.pHeader.GradientStartColor = System.Drawing.Color.DeepSkyBlue;
       this.pHeader.Image = null;
       this.pHeader.ImageAlign = Ndi.HelpDesk.UI.Controls.ImageAlignment.TopLeft;
       this.pHeader.ImageOffsetX = 2;
       this.pHeader.ImageOffsetY = 0;
       this.pHeader.Location = new System.Drawing.Point(0, 0);
       this.pHeader.Name = "pHeader";
       this.pHeader.Size = new System.Drawing.Size(609, 46);
       this.pHeader.TabIndex = 0;
       this.pHeader.Text1 = "Továbbképzési lehetõségek ajánlásai";
       this.pHeader.Text1Font = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Bold);
       this.pHeader.Text1ForeColor = System.Drawing.SystemColors.ControlText;
       this.pHeader.Text1OffsetX = 0;
       this.pHeader.Text1OffsetY = 0;
       this.pHeader.Text2 = "Továbbképzési lehetõségek ajánlásainak karbantartása";
       this.pHeader.Text2Font = new System.Drawing.Font("Segoe UI", 8F);
       this.pHeader.Text2ForeColor = System.Drawing.SystemColors.ControlText;
       this.pHeader.Text2OffsetX = 20;
       this.pHeader.Text2OffsetY = 0;
       //
       // tlbMain
       //
       this.tlbMain.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
       this.tlbMain.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
     this.tbbSeparator1,
     this.tbbNew,
     this.tbbModify,
     this.tbbInactivate,
     this.tbbSeparator2,
     this.tbbRefresh});
       this.tlbMain.DropDownArrows = true;
       this.tlbMain.ImageList = this.imgToolbar;
       this.tlbMain.Location = new System.Drawing.Point(0, 46);
       this.tlbMain.Name = "tlbMain";
       this.tlbMain.ShowToolTips = true;
       this.tlbMain.Size = new System.Drawing.Size(609, 28);
       this.tlbMain.TabIndex = 1;
       this.tlbMain.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.tlbMain_ButtonClick);
       //
       // tbbSeparator1
       //
       this.tbbSeparator1.Name = "tbbSeparator1";
       this.tbbSeparator1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // tbbNew
       //
       this.tbbNew.ImageIndex = 0;
       this.tbbNew.Name = "tbbNew";
       this.tbbNew.ToolTipText = "Új továbbképzési lehetõség";
       //
       // tbbModify
       //
       this.tbbModify.ImageIndex = 1;
       this.tbbModify.Name = "tbbModify";
       this.tbbModify.ToolTipText = "Továbbképzési lehetõség módosítása";
       //
       // tbbInactivate
       //
       this.tbbInactivate.ImageIndex = 2;
       this.tbbInactivate.Name = "tbbInactivate";
       this.tbbInactivate.ToolTipText = "Inaktiválás/aktiválás";
       //
       // tbbSeparator2
       //
       this.tbbSeparator2.Name = "tbbSeparator2";
       this.tbbSeparator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // tbbRefresh
       //
       this.tbbRefresh.ImageIndex = 3;
       this.tbbRefresh.Name = "tbbRefresh";
       this.tbbRefresh.ToolTipText = "Lista frissítése/szûrés";
       //
       // imgToolbar
       //
       this.imgToolbar.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgToolbar.ImageStream")));
       this.imgToolbar.TransparentColor = System.Drawing.Color.Transparent;
       this.imgToolbar.Images.SetKeyName(0, "");
       this.imgToolbar.Images.SetKeyName(1, "");
       this.imgToolbar.Images.SetKeyName(2, "");
       this.imgToolbar.Images.SetKeyName(3, "");
       this.imgToolbar.Images.SetKeyName(4, "");
       this.imgToolbar.Images.SetKeyName(5, "");
       //
       // pnlFilter
       //
       this.pnlFilter.Controls.Add(this.cmbStatus);
       this.pnlFilter.Controls.Add(this.lblActive);
       this.pnlFilter.Controls.Add(this.lblContinuativeName);
       this.pnlFilter.Controls.Add(this.txtContinuativeName);
       this.pnlFilter.Controls.Add(this.txtTargetGroup);
       this.pnlFilter.Controls.Add(this.lblTargetGroup);
       this.pnlFilter.Controls.Add(this.lblPersonName);
       this.pnlFilter.Controls.Add(this.txtPersonName);
       this.pnlFilter.Dock = System.Windows.Forms.DockStyle.Top;
       this.pnlFilter.Location = new System.Drawing.Point(0, 74);
       this.pnlFilter.Name = "pnlFilter";
       this.pnlFilter.Size = new System.Drawing.Size(609, 97);
       this.pnlFilter.TabIndex = 2;
       //
       // cmbStatus
       //
       this.cmbStatus.AllowNull = true;
       this.cmbStatus.BreakSort = false;
       this.cmbStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbStatus.Location = new System.Drawing.Point(398, 65);
       this.cmbStatus.Name = "cmbStatus";
       this.cmbStatus.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbStatus.Size = new System.Drawing.Size(192, 24);
       this.cmbStatus.TabIndex = 3;
       this.cmbStatus.ToolBarUse = false;
       this.cmbStatus.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // lblActive
       //
       this.lblActive.AutoSize = true;
       this.lblActive.Location = new System.Drawing.Point(341, 69);
       this.lblActive.Name = "lblActive";
       this.lblActive.Size = new System.Drawing.Size(55, 17);
       this.lblActive.TabIndex = 17;
       this.lblActive.Text = "Állapot:";
       //
       // lblContinuativeName
       //
       this.lblContinuativeName.Location = new System.Drawing.Point(10, 14);
       this.lblContinuativeName.Name = "lblContinuativeName";
       this.lblContinuativeName.Size = new System.Drawing.Size(105, 18);
       this.lblContinuativeName.TabIndex = 16;
       this.lblContinuativeName.Text = "Megnevezés:";
       //
       // txtContinuativeName
       //
       this.txtContinuativeName.AllowNull = true;
       this.txtContinuativeName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtContinuativeName.InvalidCharSet = "";
       this.txtContinuativeName.Location = new System.Drawing.Point(120, 9);
       this.txtContinuativeName.MaxLength = 50;
       this.txtContinuativeName.Name = "txtContinuativeName";
       this.txtContinuativeName.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtContinuativeName.Size = new System.Drawing.Size(470, 22);
       this.txtContinuativeName.TabIndex = 0;
       this.txtContinuativeName.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtContinuativeName.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtContinuativeName.ValidationMask = "";
       this.txtContinuativeName.ValidCharSet = "";
       //
       // txtTargetGroup
       //
       this.txtTargetGroup.AllowNull = true;
       this.txtTargetGroup.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtTargetGroup.InvalidCharSet = "";
       this.txtTargetGroup.Location = new System.Drawing.Point(120, 65);
       this.txtTargetGroup.MaxLength = 50;
       this.txtTargetGroup.Name = "txtTargetGroup";
       this.txtTargetGroup.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtTargetGroup.Size = new System.Drawing.Size(211, 22);
       this.txtTargetGroup.TabIndex = 2;
       this.txtTargetGroup.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtTargetGroup.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtTargetGroup.ValidationMask = "";
       this.txtTargetGroup.ValidCharSet = "";
       //
       // lblTargetGroup
       //
       this.lblTargetGroup.Location = new System.Drawing.Point(10, 69);
       this.lblTargetGroup.Name = "lblTargetGroup";
       this.lblTargetGroup.Size = new System.Drawing.Size(105, 19);
       this.lblTargetGroup.TabIndex = 13;
       this.lblTargetGroup.Text = "Célcsoport:";
       //
       // lblPersonName
       //
       this.lblPersonName.Location = new System.Drawing.Point(10, 42);
       this.lblPersonName.Name = "lblPersonName";
       this.lblPersonName.Size = new System.Drawing.Size(105, 18);
       this.lblPersonName.TabIndex = 12;
       this.lblPersonName.Text = "Felelõs:";
       //
       // txtPersonName
       //
       this.txtPersonName.AllowNull = true;
       this.txtPersonName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtPersonName.InvalidCharSet = "";
       this.txtPersonName.Location = new System.Drawing.Point(120, 37);
       this.txtPersonName.MaxLength = 50;
       this.txtPersonName.Name = "txtPersonName";
       this.txtPersonName.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtPersonName.Size = new System.Drawing.Size(470, 22);
       this.txtPersonName.TabIndex = 1;
       this.txtPersonName.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtPersonName.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtPersonName.ValidationMask = "";
       this.txtPersonName.ValidCharSet = "";
       //
       // dtgMain
       //
       this.dtgMain.BackgroundColor = System.Drawing.SystemColors.Window;
       this.dtgMain.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.dtgMain.CaptionBackColor = System.Drawing.SystemColors.Highlight;
       this.dtgMain.CaptionVisible = false;
       this.dtgMain.DataMember = "";
       this.dtgMain.Dock = System.Windows.Forms.DockStyle.Fill;
       this.dtgMain.GridLineColor = System.Drawing.SystemColors.ControlLight;
       this.dtgMain.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.dtgMain.Location = new System.Drawing.Point(0, 171);
       this.dtgMain.Name = "dtgMain";
       this.dtgMain.ReadOnly = true;
       this.dtgMain.RowHeaderWidth = 15;
       this.dtgMain.Size = new System.Drawing.Size(609, 219);
       this.dtgMain.TabIndex = 3;
       this.dtgMain.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.customStylesCollection1});
       this.dtgMain.DoubleClick += new System.EventHandler(this.dtgMain_DoubleClick);
       //
       // customStylesCollection1
       //
       this.customStylesCollection1.DataGrid = this.dtgMain;
       this.customStylesCollection1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.colID,
     this.colContinuativeName,
     this.colPersonName,
     this.colTargetGroup,
     this.colWhere,
     this.colDateTo,
     this.colOuterLink,
     this.colActive});
       this.customStylesCollection1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.customStylesCollection1.RowHeaderWidth = 3;
       this.customStylesCollection1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
       //
       // colID
       //
       this.colID.Format = "";
       this.colID.FormatInfo = null;
       this.colID.HeaderText = "ID";
       this.colID.MappingName = "   ID";
       this.colID.Width = 0;
       //
       // colContinuativeName
       //
       this.colContinuativeName.Format = "";
       this.colContinuativeName.FormatInfo = null;
       this.colContinuativeName.HeaderText = "Megnevezés";
       this.colContinuativeName.MappingName = "ContinuativeName";
       this.colContinuativeName.Width = 120;
       //
       // colPersonName
       //
       this.colPersonName.Format = "";
       this.colPersonName.FormatInfo = null;
       this.colPersonName.HeaderText = "Felelõs";
       this.colPersonName.MappingName = "PersonName";
       this.colPersonName.Width = 75;
       //
       // colTargetGroup
       //
       this.colTargetGroup.Format = "";
       this.colTargetGroup.FormatInfo = null;
       this.colTargetGroup.HeaderText = "Célcsoport";
       this.colTargetGroup.MappingName = "TargetGrop";
       this.colTargetGroup.Width = 75;
       //
       // colWhere
       //
       this.colWhere.Format = "";
       this.colWhere.FormatInfo = null;
       this.colWhere.HeaderText = "Hol";
       this.colWhere.MappingName = "Where";
       this.colWhere.Width = 75;
       //
       // colDateTo
       //
       this.colDateTo.Format = "";
       this.colDateTo.FormatInfo = null;
       this.colDateTo.HeaderText = "Idõtartam";
       this.colDateTo.MappingName = "DateTo";
       this.colDateTo.Width = 75;
       //
       // colOuterLink
       //
       this.colOuterLink.Format = "";
       this.colOuterLink.FormatInfo = null;
       this.colOuterLink.HeaderText = "Link (Official)";
       this.colOuterLink.MappingName = "OuterLink";
       this.colOuterLink.Width = 75;
       //
       // colActive
       //
       this.colActive.HeaderText = "Aktív?";
       this.colActive.MappingName = "IsActive";
       this.colActive.Width = 75;
       //
       // frmContinuativeSelect
       //
       this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
       this.ClientSize = new System.Drawing.Size(609, 390);
       this.Controls.Add(this.dtgMain);
       this.Controls.Add(this.pnlFilter);
       this.Controls.Add(this.tlbMain);
       this.Controls.Add(this.pHeader);
       this.Name = "frmContinuativeSelect";
       this.Text = "NDI HelpDesk Adminisztrátor";
       this.Load += new System.EventHandler(this.frmContinuativeSelect_Load);
       this.pnlFilter.ResumeLayout(false);
       this.pnlFilter.PerformLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgMain)).EndInit();
       this.ResumeLayout(false);
       this.PerformLayout();
 }
Example #42
0
 [System.Diagnostics.DebuggerStepThrough()] private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmFoodDiscount));
     this.ToolBar1               = new System.Windows.Forms.ToolBar();
     this.ToolBarButton1         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton2         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton3         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton4         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton5         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton6         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton7         = new System.Windows.Forms.ToolBarButton();
     this.ImageList1             = new System.Windows.Forms.ImageList(this.components);
     this.dgFoodDiscount         = new System.Windows.Forms.DataGrid();
     this.DataGridTableStyle1    = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn1    = new System.Windows.Forms.DataGridBoolColumn();
     this.Panel1         = new System.Windows.Forms.Panel();
     this.Label4         = new System.Windows.Forms.Label();
     this.CheckBox1      = new System.Windows.Forms.CheckBox();
     this.NumericUpDown1 = new System.Windows.Forms.NumericUpDown();
     this.Label1         = new System.Windows.Forms.Label();
     this.TextBox2       = new System.Windows.Forms.TextBox();
     this.TextBox1       = new System.Windows.Forms.TextBox();
     this.Label5         = new System.Windows.Forms.Label();
     this.Label3         = new System.Windows.Forms.Label();
     this.Button2        = new System.Windows.Forms.Button();
     this.Button1        = new System.Windows.Forms.Button();
     this.Label2         = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.dgFoodDiscount)).BeginInit();
     this.Panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.NumericUpDown1)).BeginInit();
     this.SuspendLayout();
     //
     // ToolBar1
     //
     this.ToolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.ToolBarButton1,
         this.ToolBarButton2,
         this.ToolBarButton3,
         this.ToolBarButton4,
         this.ToolBarButton5,
         this.ToolBarButton6,
         this.ToolBarButton7
     });
     this.ToolBar1.ButtonSize     = new System.Drawing.Size(50, 48);
     this.ToolBar1.DropDownArrows = true;
     this.ToolBar1.ImageList      = this.ImageList1;
     this.ToolBar1.Location       = new System.Drawing.Point(0, 0);
     this.ToolBar1.Name           = "ToolBar1";
     this.ToolBar1.ShowToolTips   = true;
     this.ToolBar1.Size           = new System.Drawing.Size(376, 54);
     this.ToolBar1.TabIndex       = 0;
     this.ToolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.ToolBar1_ButtonClick);
     //
     // ToolBarButton1
     //
     this.ToolBarButton1.ImageIndex = 0;
     this.ToolBarButton1.Name       = "ToolBarButton1";
     this.ToolBarButton1.Text       = "添加";
     //
     // ToolBarButton2
     //
     this.ToolBarButton2.ImageIndex = 1;
     this.ToolBarButton2.Name       = "ToolBarButton2";
     this.ToolBarButton2.Text       = "修改";
     //
     // ToolBarButton3
     //
     this.ToolBarButton3.ImageIndex = 2;
     this.ToolBarButton3.Name       = "ToolBarButton3";
     this.ToolBarButton3.Text       = "删除";
     //
     // ToolBarButton4
     //
     this.ToolBarButton4.Name  = "ToolBarButton4";
     this.ToolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ToolBarButton5
     //
     this.ToolBarButton5.ImageIndex = 4;
     this.ToolBarButton5.Name       = "ToolBarButton5";
     this.ToolBarButton5.Text       = "应用";
     //
     // ToolBarButton6
     //
     this.ToolBarButton6.Name  = "ToolBarButton6";
     this.ToolBarButton6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ToolBarButton7
     //
     this.ToolBarButton7.ImageIndex = 3;
     this.ToolBarButton7.Name       = "ToolBarButton7";
     this.ToolBarButton7.Text       = "关闭";
     //
     // ImageList1
     //
     this.ImageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageList1.ImageStream")));
     this.ImageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.ImageList1.Images.SetKeyName(0, "");
     this.ImageList1.Images.SetKeyName(1, "");
     this.ImageList1.Images.SetKeyName(2, "");
     this.ImageList1.Images.SetKeyName(3, "");
     this.ImageList1.Images.SetKeyName(4, "");
     //
     // dgFoodDiscount
     //
     this.dgFoodDiscount.AlternatingBackColor = System.Drawing.Color.GhostWhite;
     this.dgFoodDiscount.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.dgFoodDiscount.BackColor           = System.Drawing.Color.GhostWhite;
     this.dgFoodDiscount.BackgroundColor     = System.Drawing.Color.Lavender;
     this.dgFoodDiscount.CaptionBackColor    = System.Drawing.Color.Navy;
     this.dgFoodDiscount.CaptionForeColor    = System.Drawing.Color.White;
     this.dgFoodDiscount.DataMember          = "";
     this.dgFoodDiscount.FlatMode            = true;
     this.dgFoodDiscount.Font                = new System.Drawing.Font("Tahoma", 8F);
     this.dgFoodDiscount.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dgFoodDiscount.GridLineColor       = System.Drawing.Color.RoyalBlue;
     this.dgFoodDiscount.HeaderBackColor     = System.Drawing.Color.MidnightBlue;
     this.dgFoodDiscount.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dgFoodDiscount.HeaderForeColor     = System.Drawing.Color.Lavender;
     this.dgFoodDiscount.LinkColor           = System.Drawing.Color.Teal;
     this.dgFoodDiscount.Location            = new System.Drawing.Point(0, 56);
     this.dgFoodDiscount.Name                = "dgFoodDiscount";
     this.dgFoodDiscount.ParentRowsBackColor = System.Drawing.Color.Lavender;
     this.dgFoodDiscount.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dgFoodDiscount.ReadOnly            = true;
     this.dgFoodDiscount.SelectionBackColor  = System.Drawing.Color.Teal;
     this.dgFoodDiscount.SelectionForeColor  = System.Drawing.Color.PaleGreen;
     this.dgFoodDiscount.Size                = new System.Drawing.Size(376, 159);
     this.dgFoodDiscount.TabIndex            = 1;
     this.dgFoodDiscount.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.DataGridTableStyle1
     });
     this.dgFoodDiscount.DoubleClick += new System.EventHandler(this.dgFoodDiscount_DoubleClick);
     //
     // DataGridTableStyle1
     //
     this.DataGridTableStyle1.DataGrid = this.dgFoodDiscount;
     this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.DataGridTextBoxColumn1,
         this.DataGridTextBoxColumn2,
         this.DataGridTextBoxColumn3,
         this.DataGridBoolColumn1
     });
     this.DataGridTableStyle1.HeaderFont      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle1.MappingName     = "discount";
     //
     // DataGridTextBoxColumn1
     //
     this.DataGridTextBoxColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn1.Format      = "";
     this.DataGridTextBoxColumn1.FormatInfo  = null;
     this.DataGridTextBoxColumn1.HeaderText  = "优惠编码";
     this.DataGridTextBoxColumn1.MappingName = "discountcode";
     this.DataGridTextBoxColumn1.Width       = 75;
     //
     // DataGridTextBoxColumn2
     //
     this.DataGridTextBoxColumn2.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn2.Format      = "";
     this.DataGridTextBoxColumn2.FormatInfo  = null;
     this.DataGridTextBoxColumn2.HeaderText  = "优惠名称";
     this.DataGridTextBoxColumn2.MappingName = "discountname";
     this.DataGridTextBoxColumn2.Width       = 75;
     //
     // DataGridTextBoxColumn3
     //
     this.DataGridTextBoxColumn3.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn3.Format      = "";
     this.DataGridTextBoxColumn3.FormatInfo  = null;
     this.DataGridTextBoxColumn3.HeaderText  = "折扣率";
     this.DataGridTextBoxColumn3.MappingName = "discountrate";
     this.DataGridTextBoxColumn3.Width       = 75;
     //
     // DataGridBoolColumn1
     //
     this.DataGridBoolColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn1.FalseValue  = "0";
     this.DataGridBoolColumn1.HeaderText  = "暂停优惠";
     this.DataGridBoolColumn1.MappingName = "disabled";
     this.DataGridBoolColumn1.TrueValue   = "1";
     this.DataGridBoolColumn1.Width       = 75;
     //
     // Panel1
     //
     this.Panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.Panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.Panel1.Controls.Add(this.Label4);
     this.Panel1.Controls.Add(this.CheckBox1);
     this.Panel1.Controls.Add(this.NumericUpDown1);
     this.Panel1.Controls.Add(this.Label1);
     this.Panel1.Controls.Add(this.TextBox2);
     this.Panel1.Controls.Add(this.TextBox1);
     this.Panel1.Controls.Add(this.Label5);
     this.Panel1.Controls.Add(this.Label3);
     this.Panel1.Controls.Add(this.Button2);
     this.Panel1.Controls.Add(this.Button1);
     this.Panel1.Controls.Add(this.Label2);
     this.Panel1.Location = new System.Drawing.Point(1, 219);
     this.Panel1.Name     = "Panel1";
     this.Panel1.Size     = new System.Drawing.Size(374, 143);
     this.Panel1.TabIndex = 2;
     //
     // Label4
     //
     this.Label4.Font      = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Label4.Location  = new System.Drawing.Point(335, 38);
     this.Label4.Name      = "Label4";
     this.Label4.Size      = new System.Drawing.Size(24, 23);
     this.Label4.TabIndex  = 10;
     this.Label4.Text      = "%";
     this.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // CheckBox1
     //
     this.CheckBox1.Location = new System.Drawing.Point(237, 64);
     this.CheckBox1.Name     = "CheckBox1";
     this.CheckBox1.Size     = new System.Drawing.Size(95, 24);
     this.CheckBox1.TabIndex = 3;
     this.CheckBox1.Text     = "暂停优惠";
     //
     // NumericUpDown1
     //
     this.NumericUpDown1.Location  = new System.Drawing.Point(264, 40);
     this.NumericUpDown1.Name      = "NumericUpDown1";
     this.NumericUpDown1.Size      = new System.Drawing.Size(69, 21);
     this.NumericUpDown1.TabIndex  = 1;
     this.NumericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.NumericUpDown1.Value     = new decimal(new int[] {
         100,
         0,
         0,
         0
     });
     //
     // Label1
     //
     this.Label1.Location  = new System.Drawing.Point(216, 39);
     this.Label1.Name      = "Label1";
     this.Label1.Size      = new System.Drawing.Size(100, 23);
     this.Label1.TabIndex  = 8;
     this.Label1.Text      = "优惠值:";
     this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // TextBox2
     //
     this.TextBox2.Location = new System.Drawing.Point(125, 66);
     this.TextBox2.Name     = "TextBox2";
     this.TextBox2.Size     = new System.Drawing.Size(88, 21);
     this.TextBox2.TabIndex = 2;
     //
     // TextBox1
     //
     this.TextBox1.Location = new System.Drawing.Point(125, 40);
     this.TextBox1.Name     = "TextBox1";
     this.TextBox1.Size     = new System.Drawing.Size(89, 21);
     this.TextBox1.TabIndex = 0;
     //
     // Label5
     //
     this.Label5.Location  = new System.Drawing.Point(51, 65);
     this.Label5.Name      = "Label5";
     this.Label5.Size      = new System.Drawing.Size(76, 23);
     this.Label5.TabIndex  = 9;
     this.Label5.Text      = "优惠名称:";
     this.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Label3
     //
     this.Label3.Font      = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Label3.ForeColor = System.Drawing.Color.Teal;
     this.Label3.Location  = new System.Drawing.Point(7, 5);
     this.Label3.Name      = "Label3";
     this.Label3.Size      = new System.Drawing.Size(100, 23);
     this.Label3.TabIndex  = 6;
     this.Label3.Text      = "Label3";
     this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // Button2
     //
     this.Button2.Location = new System.Drawing.Point(290, 102);
     this.Button2.Name     = "Button2";
     this.Button2.Size     = new System.Drawing.Size(58, 23);
     this.Button2.TabIndex = 5;
     this.Button2.Text     = "隐藏(&H)";
     this.Button2.Click   += new System.EventHandler(this.Button2_Click);
     //
     // Button1
     //
     this.Button1.Location = new System.Drawing.Point(227, 102);
     this.Button1.Name     = "Button1";
     this.Button1.Size     = new System.Drawing.Size(58, 23);
     this.Button1.TabIndex = 4;
     this.Button1.Text     = "保存(&S)";
     this.Button1.Click   += new System.EventHandler(this.Button1_Click);
     //
     // Label2
     //
     this.Label2.Location  = new System.Drawing.Point(51, 39);
     this.Label2.Name      = "Label2";
     this.Label2.Size      = new System.Drawing.Size(76, 23);
     this.Label2.TabIndex  = 7;
     this.Label2.Text      = "优惠编码:";
     this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // frmFoodDiscount
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(376, 363);
     this.Controls.Add(this.Panel1);
     this.Controls.Add(this.dgFoodDiscount);
     this.Controls.Add(this.ToolBar1);
     this.Icon    = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name    = "frmFoodDiscount";
     this.Text    = "优惠打折";
     this.Load   += new System.EventHandler(this.frmFoodDiscount_Load);
     this.Closed += new System.EventHandler(this.frmFoodDiscount_Closed);
     ((System.ComponentModel.ISupportInitialize)(this.dgFoodDiscount)).EndInit();
     this.Panel1.ResumeLayout(false);
     this.Panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.NumericUpDown1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #43
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SongEditorForm));
     this.txtNumber              = new System.Windows.Forms.TextBox();
     this.label3                 = new System.Windows.Forms.Label();
     this.txtTitle               = new System.Windows.Forms.TextBox();
     this.label1                 = new System.Windows.Forms.Label();
     this.label2                 = new System.Windows.Forms.Label();
     this.txtChorus              = new System.Windows.Forms.TextBox();
     this.btnCancel              = new System.Windows.Forms.Button();
     this.btnSave                = new System.Windows.Forms.Button();
     this.ofdLocation            = new System.Windows.Forms.OpenFileDialog();
     this.errorProvider1         = new System.Windows.Forms.ErrorProvider(this.components);
     this.txtCopyright           = new System.Windows.Forms.TextBox();
     this.lblCopyrightTitle      = new System.Windows.Forms.Label();
     this.pbCopyright            = new System.Windows.Forms.PictureBox();
     this.pbPhoto                = new System.Windows.Forms.PictureBox();
     this.sliderOpacity          = new EmpowerPresenter.Controls.PopupSlider();
     this.btnFont                = new Vendisoft.Controls.ImageButton();
     this.btnImage               = new Vendisoft.Controls.ImageButton();
     this.dataGrid1              = new System.Windows.Forms.DataGridWithEnter();
     this.dataView1              = new System.Data.DataView();
     this.dataGridTableStyle1    = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridBoolColumn1    = new System.Windows.Forms.DataGridBoolColumn();
     this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridMultiLineTextBox();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pbCopyright)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pbPhoto)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataView1)).BeginInit();
     this.SuspendLayout();
     //
     // txtNumber
     //
     resources.ApplyResources(this.txtNumber, "txtNumber");
     this.errorProvider1.SetIconAlignment(this.txtNumber, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtNumber.IconAlignment"))));
     this.errorProvider1.SetIconPadding(this.txtNumber, ((int)(resources.GetObject("txtNumber.IconPadding"))));
     this.txtNumber.Name        = "txtNumber";
     this.txtNumber.Validating += new System.ComponentModel.CancelEventHandler(this.txtNumber_Validating);
     //
     // label3
     //
     this.errorProvider1.SetIconAlignment(this.label3, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("label3.IconAlignment"))));
     resources.ApplyResources(this.label3, "label3");
     this.label3.Name = "label3";
     //
     // txtTitle
     //
     resources.ApplyResources(this.txtTitle, "txtTitle");
     this.errorProvider1.SetIconAlignment(this.txtTitle, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtTitle.IconAlignment"))));
     this.errorProvider1.SetIconPadding(this.txtTitle, ((int)(resources.GetObject("txtTitle.IconPadding"))));
     this.txtTitle.Name        = "txtTitle";
     this.txtTitle.Validating += new System.ComponentModel.CancelEventHandler(this.txtTitle_Validating);
     //
     // label1
     //
     this.errorProvider1.SetIconAlignment(this.label1, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("label1.IconAlignment"))));
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // label2
     //
     this.errorProvider1.SetIconAlignment(this.label2, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("label2.IconAlignment"))));
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // txtChorus
     //
     resources.ApplyResources(this.txtChorus, "txtChorus");
     this.errorProvider1.SetIconAlignment(this.txtChorus, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtChorus.IconAlignment"))));
     this.errorProvider1.SetIconPadding(this.txtChorus, ((int)(resources.GetObject("txtChorus.IconPadding"))));
     this.txtChorus.Name        = "txtChorus";
     this.txtChorus.Validating += new System.ComponentModel.CancelEventHandler(this.txtChorus_Validating);
     //
     // btnCancel
     //
     resources.ApplyResources(this.btnCancel, "btnCancel");
     this.errorProvider1.SetIconAlignment(this.btnCancel, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("btnCancel.IconAlignment"))));
     this.btnCancel.Name   = "btnCancel";
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // btnSave
     //
     resources.ApplyResources(this.btnSave, "btnSave");
     this.errorProvider1.SetIconAlignment(this.btnSave, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("btnSave.IconAlignment"))));
     this.btnSave.Name   = "btnSave";
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     resources.ApplyResources(this.errorProvider1, "errorProvider1");
     //
     // txtCopyright
     //
     resources.ApplyResources(this.txtCopyright, "txtCopyright");
     this.errorProvider1.SetIconAlignment(this.txtCopyright, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtCopyright.IconAlignment"))));
     this.txtCopyright.Name = "txtCopyright";
     //
     // lblCopyrightTitle
     //
     resources.ApplyResources(this.lblCopyrightTitle, "lblCopyrightTitle");
     this.errorProvider1.SetIconAlignment(this.lblCopyrightTitle, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblCopyrightTitle.IconAlignment"))));
     this.lblCopyrightTitle.Name = "lblCopyrightTitle";
     //
     // pbCopyright
     //
     this.errorProvider1.SetIconAlignment(this.pbCopyright, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("pbCopyright.IconAlignment"))));
     this.pbCopyright.Image = global::EmpowerPresenter.Properties.Resources.copyright;
     resources.ApplyResources(this.pbCopyright, "pbCopyright");
     this.pbCopyright.Name    = "pbCopyright";
     this.pbCopyright.TabStop = false;
     //
     // pbPhoto
     //
     resources.ApplyResources(this.pbPhoto, "pbPhoto");
     this.errorProvider1.SetIconAlignment(this.pbPhoto, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("pbPhoto.IconAlignment"))));
     this.pbPhoto.Name         = "pbPhoto";
     this.pbPhoto.TabStop      = false;
     this.pbPhoto.Click       += new System.EventHandler(this.pbPhoto_Click);
     this.pbPhoto.Paint       += new System.Windows.Forms.PaintEventHandler(this.pbPhoto_Paint);
     this.pbPhoto.DoubleClick += new System.EventHandler(this.pbPhoto_Click);
     //
     // sliderOpacity
     //
     resources.ApplyResources(this.sliderOpacity, "sliderOpacity");
     this.sliderOpacity.BackColor = System.Drawing.Color.Transparent;
     this.errorProvider1.SetIconAlignment(this.sliderOpacity, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("sliderOpacity.IconAlignment"))));
     this.sliderOpacity.ImedUpdate    = false;
     this.sliderOpacity.MaximumSize   = new System.Drawing.Size(27, 95);
     this.sliderOpacity.MinimumSize   = new System.Drawing.Size(27, 95);
     this.sliderOpacity.Name          = "sliderOpacity";
     this.sliderOpacity.Value         = 100;
     this.sliderOpacity.ValueChanged += new System.EventHandler(this.sliderOpacity_ValueChanged);
     //
     // btnFont
     //
     resources.ApplyResources(this.btnFont, "btnFont");
     this.btnFont.DisabledImg = global::EmpowerPresenter.Properties.Resources.font_d;
     this.errorProvider1.SetIconAlignment(this.btnFont, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("btnFont.IconAlignment"))));
     this.btnFont.IsHighlighted = false;
     this.btnFont.IsPressed     = false;
     this.btnFont.IsSelected    = false;
     this.btnFont.Name          = "btnFont";
     this.btnFont.NormalImg     = global::EmpowerPresenter.Properties.Resources.font_n;
     this.btnFont.OverImg       = global::EmpowerPresenter.Properties.Resources.font_n;
     this.btnFont.PressedImg    = global::EmpowerPresenter.Properties.Resources.font_n;
     this.btnFont.Click        += new System.EventHandler(this.btnFont_Click);
     //
     // btnImage
     //
     resources.ApplyResources(this.btnImage, "btnImage");
     this.btnImage.DisabledImg = global::EmpowerPresenter.Properties.Resources.images_d;
     this.errorProvider1.SetIconAlignment(this.btnImage, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("btnImage.IconAlignment"))));
     this.btnImage.IsHighlighted = false;
     this.btnImage.IsPressed     = false;
     this.btnImage.IsSelected    = false;
     this.btnImage.Name          = "btnImage";
     this.btnImage.NormalImg     = global::EmpowerPresenter.Properties.Resources.images;
     this.btnImage.OverImg       = global::EmpowerPresenter.Properties.Resources.images;
     this.btnImage.PressedImg    = global::EmpowerPresenter.Properties.Resources.images;
     this.btnImage.Click        += new System.EventHandler(this.pbPhoto_Click);
     //
     // dataGrid1
     //
     resources.ApplyResources(this.dataGrid1, "dataGrid1");
     this.dataGrid1.DataMember      = "";
     this.dataGrid1.DataSource      = this.dataView1;
     this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.errorProvider1.SetIconAlignment(this.dataGrid1, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("dataGrid1.IconAlignment"))));
     this.dataGrid1.Name = "dataGrid1";
     this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.DataGrid = this.dataGrid1;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridBoolColumn1,
         this.dataGridTextBoxColumn1
     });
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     resources.ApplyResources(this.dataGridTableStyle1, "dataGridTableStyle1");
     //
     // dataGridBoolColumn1
     //
     resources.ApplyResources(this.dataGridBoolColumn1, "dataGridBoolColumn1");
     //
     // dataGridTextBoxColumn1
     //
     this.dataGridTextBoxColumn1.Format     = "";
     this.dataGridTextBoxColumn1.FormatInfo = null;
     resources.ApplyResources(this.dataGridTextBoxColumn1, "dataGridTextBoxColumn1");
     //
     // SongEditorForm
     //
     resources.ApplyResources(this, "$this");
     this.Controls.Add(this.sliderOpacity);
     this.Controls.Add(this.lblCopyrightTitle);
     this.Controls.Add(this.pbCopyright);
     this.Controls.Add(this.txtCopyright);
     this.Controls.Add(this.btnFont);
     this.Controls.Add(this.btnImage);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.pbPhoto);
     this.Controls.Add(this.txtNumber);
     this.Controls.Add(this.txtChorus);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.txtTitle);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.btnCancel);
     this.Name  = "SongEditorForm";
     this.Load += new System.EventHandler(this.SongEditorForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pbCopyright)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pbPhoto)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataView1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <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(frmThesaurusSelect));
       this.pHeader = new Ndi.HelpDesk.UI.Controls.InfoBarLite();
       this.tlbMain = new System.Windows.Forms.ToolBar();
       this.tbbSeparator1 = new System.Windows.Forms.ToolBarButton();
       this.tbbNew = new System.Windows.Forms.ToolBarButton();
       this.tbbModify = new System.Windows.Forms.ToolBarButton();
       this.tbbInactivate = new System.Windows.Forms.ToolBarButton();
       this.tbbSeparator2 = new System.Windows.Forms.ToolBarButton();
       this.tbbRefresh = new System.Windows.Forms.ToolBarButton();
       this.imgToolbar = new System.Windows.Forms.ImageList(this.components);
       this.pnlFilter = new System.Windows.Forms.Panel();
       this.txtKeyword = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.label1 = new System.Windows.Forms.Label();
       this.cmbStatus = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.label4 = new System.Windows.Forms.Label();
       this.dtgMain = new Ndi.HelpDesk.UI.Controls.GreptonDataGrid();
       this.customStylesCollection1 = new Ndi.HelpDesk.UI.Controls.CustomStylesCollection();
       this.colKeyword = new Ndi.HelpDesk.UI.Controls.DataGridFullSelectColumn();
       this.colActive = new System.Windows.Forms.DataGridBoolColumn();
       this.pnlFilter.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgMain)).BeginInit();
       this.SuspendLayout();
       //
       // pHeader
       //
       this.pHeader.BackColor = System.Drawing.SystemColors.Window;
       this.pHeader.BackStyle = Ndi.HelpDesk.UI.Controls.BackStyle.Solid;
       this.pHeader.BorderSide = System.Windows.Forms.Border3DSide.Bottom;
       this.pHeader.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
       this.pHeader.Dock = System.Windows.Forms.DockStyle.Top;
       this.pHeader.GradientEndColor = System.Drawing.Color.White;
       this.pHeader.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
       this.pHeader.GradientStartColor = System.Drawing.Color.DeepSkyBlue;
       this.pHeader.Image = null;
       this.pHeader.ImageAlign = Ndi.HelpDesk.UI.Controls.ImageAlignment.TopLeft;
       this.pHeader.ImageOffsetX = 2;
       this.pHeader.ImageOffsetY = 0;
       this.pHeader.Location = new System.Drawing.Point(0, 0);
       this.pHeader.Name = "pHeader";
       this.pHeader.Size = new System.Drawing.Size(603, 46);
       this.pHeader.TabIndex = 0;
       this.pHeader.Text1 = "Tezaurusz";
       this.pHeader.Text1Font = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Bold);
       this.pHeader.Text1ForeColor = System.Drawing.SystemColors.ControlText;
       this.pHeader.Text1OffsetX = 0;
       this.pHeader.Text1OffsetY = 0;
       this.pHeader.Text2 = "Kulcsszavak karbantartása";
       this.pHeader.Text2Font = new System.Drawing.Font("Segoe UI", 8F);
       this.pHeader.Text2ForeColor = System.Drawing.SystemColors.ControlText;
       this.pHeader.Text2OffsetX = 20;
       this.pHeader.Text2OffsetY = 0;
       //
       // tlbMain
       //
       this.tlbMain.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
       this.tlbMain.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
     this.tbbSeparator1,
     this.tbbNew,
     this.tbbModify,
     this.tbbInactivate,
     this.tbbSeparator2,
     this.tbbRefresh});
       this.tlbMain.DropDownArrows = true;
       this.tlbMain.ImageList = this.imgToolbar;
       this.tlbMain.Location = new System.Drawing.Point(0, 46);
       this.tlbMain.Name = "tlbMain";
       this.tlbMain.ShowToolTips = true;
       this.tlbMain.Size = new System.Drawing.Size(603, 28);
       this.tlbMain.TabIndex = 1;
       this.tlbMain.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.tlbMain_ButtonClick);
       //
       // tbbSeparator1
       //
       this.tbbSeparator1.Name = "tbbSeparator1";
       this.tbbSeparator1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // tbbNew
       //
       this.tbbNew.ImageIndex = 0;
       this.tbbNew.Name = "tbbNew";
       this.tbbNew.ToolTipText = "Új kulcsszó létrehozása";
       //
       // tbbModify
       //
       this.tbbModify.ImageIndex = 1;
       this.tbbModify.Name = "tbbModify";
       this.tbbModify.ToolTipText = "Program adatainak módosítása";
       //
       // tbbInactivate
       //
       this.tbbInactivate.ImageIndex = 2;
       this.tbbInactivate.Name = "tbbInactivate";
       this.tbbInactivate.ToolTipText = "Inaktiválás/aktiválás";
       //
       // tbbSeparator2
       //
       this.tbbSeparator2.Name = "tbbSeparator2";
       this.tbbSeparator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // tbbRefresh
       //
       this.tbbRefresh.ImageIndex = 3;
       this.tbbRefresh.Name = "tbbRefresh";
       this.tbbRefresh.ToolTipText = "Lista frissítése/szûrés";
       //
       // imgToolbar
       //
       this.imgToolbar.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgToolbar.ImageStream")));
       this.imgToolbar.TransparentColor = System.Drawing.Color.Transparent;
       this.imgToolbar.Images.SetKeyName(0, "");
       this.imgToolbar.Images.SetKeyName(1, "");
       this.imgToolbar.Images.SetKeyName(2, "");
       this.imgToolbar.Images.SetKeyName(3, "");
       this.imgToolbar.Images.SetKeyName(4, "");
       //
       // pnlFilter
       //
       this.pnlFilter.Controls.Add(this.txtKeyword);
       this.pnlFilter.Controls.Add(this.label1);
       this.pnlFilter.Controls.Add(this.cmbStatus);
       this.pnlFilter.Controls.Add(this.label4);
       this.pnlFilter.Dock = System.Windows.Forms.DockStyle.Top;
       this.pnlFilter.Location = new System.Drawing.Point(0, 74);
       this.pnlFilter.Name = "pnlFilter";
       this.pnlFilter.Size = new System.Drawing.Size(603, 42);
       this.pnlFilter.TabIndex = 2;
       //
       // txtKeyword
       //
       this.txtKeyword.AllowNull = true;
       this.txtKeyword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtKeyword.InvalidCharSet = "";
       this.txtKeyword.Location = new System.Drawing.Point(96, 9);
       this.txtKeyword.MaxLength = 100;
       this.txtKeyword.Name = "txtKeyword";
       this.txtKeyword.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtKeyword.Size = new System.Drawing.Size(204, 22);
       this.txtKeyword.TabIndex = 1;
       this.txtKeyword.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtKeyword.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtKeyword.ValidationMask = "";
       this.txtKeyword.ValidCharSet = "";
       //
       // label1
       //
       this.label1.AutoSize = true;
       this.label1.Location = new System.Drawing.Point(19, 14);
       this.label1.Name = "label1";
       this.label1.Size = new System.Drawing.Size(71, 17);
       this.label1.TabIndex = 0;
       this.label1.Text = "Vezérszó:";
       //
       // cmbStatus
       //
       this.cmbStatus.AllowNull = true;
       this.cmbStatus.BreakSort = false;
       this.cmbStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbStatus.Location = new System.Drawing.Point(413, 9);
       this.cmbStatus.Name = "cmbStatus";
       this.cmbStatus.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbStatus.Size = new System.Drawing.Size(173, 24);
       this.cmbStatus.TabIndex = 3;
       this.cmbStatus.ToolBarUse = false;
       this.cmbStatus.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // label4
       //
       this.label4.AutoSize = true;
       this.label4.Location = new System.Drawing.Point(350, 14);
       this.label4.Name = "label4";
       this.label4.Size = new System.Drawing.Size(55, 17);
       this.label4.TabIndex = 2;
       this.label4.Text = "Állapot:";
       //
       // dtgMain
       //
       this.dtgMain.BackgroundColor = System.Drawing.SystemColors.Window;
       this.dtgMain.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.dtgMain.CaptionBackColor = System.Drawing.SystemColors.Highlight;
       this.dtgMain.CaptionVisible = false;
       this.dtgMain.DataMember = "";
       this.dtgMain.Dock = System.Windows.Forms.DockStyle.Fill;
       this.dtgMain.GridLineColor = System.Drawing.SystemColors.ControlLight;
       this.dtgMain.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.dtgMain.Location = new System.Drawing.Point(0, 116);
       this.dtgMain.Name = "dtgMain";
       this.dtgMain.ReadOnly = true;
       this.dtgMain.RowHeaderWidth = 3;
       this.dtgMain.Size = new System.Drawing.Size(603, 185);
       this.dtgMain.TabIndex = 3;
       this.dtgMain.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.customStylesCollection1});
       this.dtgMain.DoubleClick += new System.EventHandler(this.dtgMain_DoubleClick);
       //
       // customStylesCollection1
       //
       this.customStylesCollection1.DataGrid = this.dtgMain;
       this.customStylesCollection1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.colKeyword,
     this.colActive});
       this.customStylesCollection1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       //
       // colKeyword
       //
       this.colKeyword.Format = "";
       this.colKeyword.FormatInfo = null;
       this.colKeyword.HeaderText = "Vezérszó";
       this.colKeyword.MappingName = "Keyword";
       this.colKeyword.Width = 300;
       //
       // colActive
       //
       this.colActive.HeaderText = "Aktív";
       this.colActive.MappingName = "IsActive";
       this.colActive.Width = 75;
       //
       // frmThesaurusSelect
       //
       this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
       this.ClientSize = new System.Drawing.Size(603, 301);
       this.Controls.Add(this.dtgMain);
       this.Controls.Add(this.pnlFilter);
       this.Controls.Add(this.tlbMain);
       this.Controls.Add(this.pHeader);
       this.Name = "frmThesaurusSelect";
       this.Text = "NDI HelpDesk Adminisztrátor";
       this.Load += new System.EventHandler(this.frmThesaurusSelect_Load);
       this.pnlFilter.ResumeLayout(false);
       this.pnlFilter.PerformLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgMain)).EndInit();
       this.ResumeLayout(false);
       this.PerformLayout();
 }
 /// <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(frmForumItemSelect));
       this.pHeader = new Ndi.HelpDesk.UI.Controls.InfoBarLite();
       this.imgToolbar = new System.Windows.Forms.ImageList(this.components);
       this.tlbMain = new System.Windows.Forms.ToolBar();
       this.tbbSeparator1 = new System.Windows.Forms.ToolBarButton();
       this.tbbModify = new System.Windows.Forms.ToolBarButton();
       this.tbbInactivate = new System.Windows.Forms.ToolBarButton();
       this.tbbSeparator2 = new System.Windows.Forms.ToolBarButton();
       this.tbbRefresh = new System.Windows.Forms.ToolBarButton();
       this.pnlFilter = new System.Windows.Forms.Panel();
       this.dtpSentTo = new System.Windows.Forms.DateTimePicker();
       this.label1 = new System.Windows.Forms.Label();
       this.dtpSentFrom = new System.Windows.Forms.DateTimePicker();
       this.cmbStatus = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.label4 = new System.Windows.Forms.Label();
       this.label3 = new System.Windows.Forms.Label();
       this.cmbForumGroup = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.dtgMain = new Ndi.HelpDesk.UI.Controls.GreptonDataGrid();
       this.customStylesCollection1 = new Ndi.HelpDesk.UI.Controls.CustomStylesCollection();
       this.colThread = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colItem = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colCreator = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colCreatedDate = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colModerated = new System.Windows.Forms.DataGridBoolColumn();
       this.pnlFilter.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgMain)).BeginInit();
       this.SuspendLayout();
       //
       // pHeader
       //
       this.pHeader.BackColor = System.Drawing.SystemColors.Window;
       this.pHeader.BackStyle = Ndi.HelpDesk.UI.Controls.BackStyle.Solid;
       this.pHeader.BorderSide = System.Windows.Forms.Border3DSide.Bottom;
       this.pHeader.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
       this.pHeader.Dock = System.Windows.Forms.DockStyle.Top;
       this.pHeader.GradientEndColor = System.Drawing.Color.White;
       this.pHeader.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
       this.pHeader.GradientStartColor = System.Drawing.Color.DeepSkyBlue;
       this.pHeader.Image = null;
       this.pHeader.ImageAlign = Ndi.HelpDesk.UI.Controls.ImageAlignment.TopLeft;
       this.pHeader.ImageOffsetX = 2;
       this.pHeader.ImageOffsetY = 0;
       this.pHeader.Location = new System.Drawing.Point(0, 0);
       this.pHeader.Name = "pHeader";
       this.pHeader.Size = new System.Drawing.Size(678, 46);
       this.pHeader.TabIndex = 0;
       this.pHeader.Text1 = "Fórum hozzászólások";
       this.pHeader.Text1Font = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Bold);
       this.pHeader.Text1ForeColor = System.Drawing.SystemColors.ControlText;
       this.pHeader.Text1OffsetX = 0;
       this.pHeader.Text1OffsetY = 0;
       this.pHeader.Text2 = "Hozzászólások megtekintése, moderálás";
       this.pHeader.Text2Font = new System.Drawing.Font("Segoe UI", 8F);
       this.pHeader.Text2ForeColor = System.Drawing.SystemColors.ControlText;
       this.pHeader.Text2OffsetX = 20;
       this.pHeader.Text2OffsetY = 0;
       //
       // imgToolbar
       //
       this.imgToolbar.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgToolbar.ImageStream")));
       this.imgToolbar.TransparentColor = System.Drawing.Color.Transparent;
       this.imgToolbar.Images.SetKeyName(0, "");
       this.imgToolbar.Images.SetKeyName(1, "");
       this.imgToolbar.Images.SetKeyName(2, "");
       this.imgToolbar.Images.SetKeyName(3, "");
       this.imgToolbar.Images.SetKeyName(4, "");
       //
       // tlbMain
       //
       this.tlbMain.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
       this.tlbMain.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
     this.tbbSeparator1,
     this.tbbModify,
     this.tbbInactivate,
     this.tbbSeparator2,
     this.tbbRefresh});
       this.tlbMain.DropDownArrows = true;
       this.tlbMain.ImageList = this.imgToolbar;
       this.tlbMain.Location = new System.Drawing.Point(0, 46);
       this.tlbMain.Name = "tlbMain";
       this.tlbMain.ShowToolTips = true;
       this.tlbMain.Size = new System.Drawing.Size(678, 28);
       this.tlbMain.TabIndex = 1;
       this.tlbMain.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.tlbMain_ButtonClick);
       //
       // tbbSeparator1
       //
       this.tbbSeparator1.Name = "tbbSeparator1";
       this.tbbSeparator1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // tbbModify
       //
       this.tbbModify.ImageIndex = 1;
       this.tbbModify.Name = "tbbModify";
       this.tbbModify.ToolTipText = "Hozzászólás módosítása";
       //
       // tbbInactivate
       //
       this.tbbInactivate.ImageIndex = 2;
       this.tbbInactivate.Name = "tbbInactivate";
       this.tbbInactivate.ToolTipText = "Hozzászólás moderálása";
       //
       // tbbSeparator2
       //
       this.tbbSeparator2.Name = "tbbSeparator2";
       this.tbbSeparator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // tbbRefresh
       //
       this.tbbRefresh.ImageIndex = 3;
       this.tbbRefresh.Name = "tbbRefresh";
       this.tbbRefresh.ToolTipText = "Lista frissítése/szûrés";
       //
       // pnlFilter
       //
       this.pnlFilter.Controls.Add(this.dtpSentTo);
       this.pnlFilter.Controls.Add(this.label1);
       this.pnlFilter.Controls.Add(this.dtpSentFrom);
       this.pnlFilter.Controls.Add(this.cmbStatus);
       this.pnlFilter.Controls.Add(this.label4);
       this.pnlFilter.Controls.Add(this.label3);
       this.pnlFilter.Controls.Add(this.cmbForumGroup);
       this.pnlFilter.Dock = System.Windows.Forms.DockStyle.Top;
       this.pnlFilter.Location = new System.Drawing.Point(0, 74);
       this.pnlFilter.Name = "pnlFilter";
       this.pnlFilter.Size = new System.Drawing.Size(678, 70);
       this.pnlFilter.TabIndex = 2;
       //
       // dtpSentTo
       //
       this.dtpSentTo.Checked = false;
       this.dtpSentTo.Format = System.Windows.Forms.DateTimePickerFormat.Short;
       this.dtpSentTo.Location = new System.Drawing.Point(530, 38);
       this.dtpSentTo.Name = "dtpSentTo";
       this.dtpSentTo.ShowCheckBox = true;
       this.dtpSentTo.Size = new System.Drawing.Size(130, 22);
       this.dtpSentTo.TabIndex = 3;
       //
       // label1
       //
       this.label1.AutoSize = true;
       this.label1.Location = new System.Drawing.Point(276, 42);
       this.label1.Name = "label1";
       this.label1.Size = new System.Drawing.Size(106, 17);
       this.label1.TabIndex = 6;
       this.label1.Text = "Küldés dátuma:";
       //
       // dtpSentFrom
       //
       this.dtpSentFrom.Checked = false;
       this.dtpSentFrom.Format = System.Windows.Forms.DateTimePickerFormat.Short;
       this.dtpSentFrom.Location = new System.Drawing.Point(386, 38);
       this.dtpSentFrom.Name = "dtpSentFrom";
       this.dtpSentFrom.ShowCheckBox = true;
       this.dtpSentFrom.Size = new System.Drawing.Size(130, 22);
       this.dtpSentFrom.TabIndex = 2;
       //
       // cmbStatus
       //
       this.cmbStatus.AllowNull = true;
       this.cmbStatus.BreakSort = false;
       this.cmbStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbStatus.Location = new System.Drawing.Point(139, 37);
       this.cmbStatus.Name = "cmbStatus";
       this.cmbStatus.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbStatus.Size = new System.Drawing.Size(120, 24);
       this.cmbStatus.TabIndex = 1;
       this.cmbStatus.ToolBarUse = false;
       this.cmbStatus.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // label4
       //
       this.label4.AutoSize = true;
       this.label4.Location = new System.Drawing.Point(10, 42);
       this.label4.Name = "label4";
       this.label4.Size = new System.Drawing.Size(132, 17);
       this.label4.TabIndex = 2;
       this.label4.Text = "Moderálás állapota:";
       //
       // label3
       //
       this.label3.AutoSize = true;
       this.label3.Location = new System.Drawing.Point(10, 14);
       this.label3.Name = "label3";
       this.label3.Size = new System.Drawing.Size(87, 17);
       this.label3.TabIndex = 0;
       this.label3.Text = "Fórum téma:";
       //
       // cmbForumGroup
       //
       this.cmbForumGroup.AllowNull = true;
       this.cmbForumGroup.BreakSort = false;
       this.cmbForumGroup.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbForumGroup.Location = new System.Drawing.Point(139, 9);
       this.cmbForumGroup.Name = "cmbForumGroup";
       this.cmbForumGroup.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbForumGroup.Size = new System.Drawing.Size(521, 24);
       this.cmbForumGroup.TabIndex = 0;
       this.cmbForumGroup.ToolBarUse = false;
       this.cmbForumGroup.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // dtgMain
       //
       this.dtgMain.BackgroundColor = System.Drawing.SystemColors.Window;
       this.dtgMain.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.dtgMain.CaptionBackColor = System.Drawing.SystemColors.Highlight;
       this.dtgMain.CaptionVisible = false;
       this.dtgMain.DataMember = "";
       this.dtgMain.Dock = System.Windows.Forms.DockStyle.Fill;
       this.dtgMain.GridLineColor = System.Drawing.SystemColors.ControlLight;
       this.dtgMain.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.dtgMain.Location = new System.Drawing.Point(0, 144);
       this.dtgMain.Name = "dtgMain";
       this.dtgMain.ReadOnly = true;
       this.dtgMain.RowHeaderWidth = 3;
       this.dtgMain.Size = new System.Drawing.Size(678, 122);
       this.dtgMain.TabIndex = 3;
       this.dtgMain.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.customStylesCollection1});
       this.dtgMain.DoubleClick += new System.EventHandler(this.dtgMain_DoubleClick);
       //
       // customStylesCollection1
       //
       this.customStylesCollection1.DataGrid = this.dtgMain;
       this.customStylesCollection1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.colThread,
     this.colItem,
     this.colCreator,
     this.colCreatedDate,
     this.colModerated});
       this.customStylesCollection1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.customStylesCollection1.RowHeaderWidth = 3;
       this.customStylesCollection1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
       //
       // colThread
       //
       this.colThread.Format = "";
       this.colThread.FormatInfo = null;
       this.colThread.HeaderText = "Fórum szál";
       this.colThread.MappingName = "ForumThreadName";
       this.colThread.Width = 75;
       //
       // colItem
       //
       this.colItem.Format = "";
       this.colItem.FormatInfo = null;
       this.colItem.HeaderText = "Hozzászólás";
       this.colItem.MappingName = "ItemText";
       this.colItem.Width = 300;
       //
       // colCreator
       //
       this.colCreator.Format = "";
       this.colCreator.FormatInfo = null;
       this.colCreator.HeaderText = "Felszólaló";
       this.colCreator.MappingName = "CreatedBy";
       this.colCreator.Width = 75;
       //
       // colCreatedDate
       //
       this.colCreatedDate.Format = "";
       this.colCreatedDate.FormatInfo = null;
       this.colCreatedDate.HeaderText = "Hozzászólás dátuma";
       this.colCreatedDate.MappingName = "CreatedDate";
       this.colCreatedDate.Width = 75;
       //
       // colModerated
       //
       this.colModerated.HeaderText = "Moderált";
       this.colModerated.MappingName = "IsModerated";
       this.colModerated.Width = 75;
       //
       // frmForumItemSelect
       //
       this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
       this.ClientSize = new System.Drawing.Size(678, 266);
       this.Controls.Add(this.dtgMain);
       this.Controls.Add(this.pnlFilter);
       this.Controls.Add(this.tlbMain);
       this.Controls.Add(this.pHeader);
       this.Name = "frmForumItemSelect";
       this.Text = "NDI HelpDesk Adminisztrátor";
       this.Load += new System.EventHandler(this.frmForumItemSelect_Load);
       this.pnlFilter.ResumeLayout(false);
       this.pnlFilter.PerformLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgMain)).EndInit();
       this.ResumeLayout(false);
       this.PerformLayout();
 }
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()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAutPolicy));
     this.grd = new System.Windows.Forms.DataGrid();
     this.dataGridTableStyle1    = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.colSelected            = new System.Windows.Forms.DataGridBoolColumn();
     this.grpButton   = new System.Windows.Forms.GroupBox();
     this.chkSelected = new System.Windows.Forms.CheckBox();
     this.btnCancel   = new DotNetSkin.SkinControls.SkinButton();
     this.btnSave     = new DotNetSkin.SkinControls.SkinButton();
     this.txtFormName = new System.Windows.Forms.TextBox();
     this.lblFormName = new System.Windows.Forms.Label();
     this.txtMenuName = new System.Windows.Forms.TextBox();
     this.lblMenuName = new System.Windows.Forms.Label();
     this.txtDesc     = new System.Windows.Forms.TextBox();
     this.lblDesc     = new System.Windows.Forms.Label();
     this.btnSearch   = new DotNetSkin.SkinControls.SkinButton();
     ((System.ComponentModel.ISupportInitialize)(this.grd)).BeginInit();
     this.grpButton.SuspendLayout();
     this.SuspendLayout();
     //
     // grd
     //
     this.grd.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.grd.BackgroundColor = System.Drawing.SystemColors.Control;
     this.grd.CaptionVisible  = false;
     this.grd.DataMember      = "";
     this.grd.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.grd.Location        = new System.Drawing.Point(6, 90);
     this.grd.Name            = "grd";
     this.grd.Size            = new System.Drawing.Size(746, 375);
     this.grd.TabIndex        = 0;
     this.grd.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.DataGrid = this.grd;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn4,
         this.dataGridTextBoxColumn5,
         this.dataGridTextBoxColumn6,
         this.dataGridTextBoxColumn9,
         this.colSelected
     });
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyle1.MappingName     = "SCM_AUT_POLICY";
     //
     // dataGridTextBoxColumn4
     //
     this.dataGridTextBoxColumn4.Format      = "";
     this.dataGridTextBoxColumn4.FormatInfo  = null;
     this.dataGridTextBoxColumn4.HeaderText  = "Form ID";
     this.dataGridTextBoxColumn4.MappingName = "FORM_ID";
     this.dataGridTextBoxColumn4.NullText    = "";
     this.dataGridTextBoxColumn4.Width       = 75;
     //
     // dataGridTextBoxColumn5
     //
     this.dataGridTextBoxColumn5.Format      = "";
     this.dataGridTextBoxColumn5.FormatInfo  = null;
     this.dataGridTextBoxColumn5.HeaderText  = "Form name";
     this.dataGridTextBoxColumn5.MappingName = "FORM_NAME";
     this.dataGridTextBoxColumn5.NullText    = "";
     this.dataGridTextBoxColumn5.Width       = 150;
     //
     // dataGridTextBoxColumn6
     //
     this.dataGridTextBoxColumn6.Format      = "";
     this.dataGridTextBoxColumn6.FormatInfo  = null;
     this.dataGridTextBoxColumn6.HeaderText  = "Menu name";
     this.dataGridTextBoxColumn6.MappingName = "MENU_NAME";
     this.dataGridTextBoxColumn6.NullText    = "";
     this.dataGridTextBoxColumn6.Width       = 150;
     //
     // dataGridTextBoxColumn9
     //
     this.dataGridTextBoxColumn9.Format      = "";
     this.dataGridTextBoxColumn9.FormatInfo  = null;
     this.dataGridTextBoxColumn9.HeaderText  = "Description";
     this.dataGridTextBoxColumn9.MappingName = "DESCRIPTION";
     this.dataGridTextBoxColumn9.NullText    = "";
     this.dataGridTextBoxColumn9.Width       = 150;
     //
     // colSelected
     //
     this.colSelected.FalseValue  = "0";
     this.colSelected.HeaderText  = "Selected";
     this.colSelected.MappingName = "Selected";
     this.colSelected.NullText    = "";
     this.colSelected.TrueValue   = "1";
     this.colSelected.Width       = 75;
     //
     // grpButton
     //
     this.grpButton.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.grpButton.Controls.Add(this.chkSelected);
     this.grpButton.Controls.Add(this.btnCancel);
     this.grpButton.Controls.Add(this.btnSave);
     this.grpButton.Location = new System.Drawing.Point(6, 32);
     this.grpButton.Name     = "grpButton";
     this.grpButton.Size     = new System.Drawing.Size(747, 52);
     this.grpButton.TabIndex = 9;
     this.grpButton.TabStop  = false;
     //
     // chkSelected
     //
     this.chkSelected.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.chkSelected.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.chkSelected.Location        = new System.Drawing.Point(488, 17);
     this.chkSelected.Name            = "chkSelected";
     this.chkSelected.Size            = new System.Drawing.Size(71, 24);
     this.chkSelected.TabIndex        = 8;
     this.chkSelected.Text            = "Check";
     this.chkSelected.CheckedChanged += new System.EventHandler(this.chkSelected_CheckedChanged);
     //
     // btnCancel
     //
     this.btnCancel.Anchor     = System.Windows.Forms.AnchorStyles.Right;
     this.btnCancel.Image      = ((System.Drawing.Image)(resources.GetObject("btnCancel.Image")));
     this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnCancel.Location   = new System.Drawing.Point(656, 17);
     this.btnCancel.Name       = "btnCancel";
     this.btnCancel.Size       = new System.Drawing.Size(78, 23);
     this.btnCancel.TabIndex   = 7;
     this.btnCancel.Text       = "Cancel";
     this.btnCancel.Click     += new System.EventHandler(this.btnCancel_Click);
     //
     // btnSave
     //
     this.btnSave.Anchor     = System.Windows.Forms.AnchorStyles.Right;
     this.btnSave.Image      = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
     this.btnSave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnSave.Location   = new System.Drawing.Point(568, 17);
     this.btnSave.Name       = "btnSave";
     this.btnSave.Size       = new System.Drawing.Size(78, 23);
     this.btnSave.TabIndex   = 6;
     this.btnSave.Text       = "Save";
     this.btnSave.Click     += new System.EventHandler(this.btnSave_Click);
     //
     // txtFormName
     //
     this.txtFormName.Location  = new System.Drawing.Point(90, 6);
     this.txtFormName.MaxLength = 12;
     this.txtFormName.Name      = "txtFormName";
     this.txtFormName.Size      = new System.Drawing.Size(96, 20);
     this.txtFormName.TabIndex  = 20;
     //
     // lblFormName
     //
     this.lblFormName.Location = new System.Drawing.Point(12, 9);
     this.lblFormName.Name     = "lblFormName";
     this.lblFormName.Size     = new System.Drawing.Size(72, 23);
     this.lblFormName.TabIndex = 13;
     this.lblFormName.Text     = "Form Name";
     //
     // txtMenuName
     //
     this.txtMenuName.Location  = new System.Drawing.Point(285, 6);
     this.txtMenuName.MaxLength = 20;
     this.txtMenuName.Name      = "txtMenuName";
     this.txtMenuName.Size      = new System.Drawing.Size(96, 20);
     this.txtMenuName.TabIndex  = 14;
     //
     // lblMenuName
     //
     this.lblMenuName.Location = new System.Drawing.Point(207, 9);
     this.lblMenuName.Name     = "lblMenuName";
     this.lblMenuName.Size     = new System.Drawing.Size(72, 23);
     this.lblMenuName.TabIndex = 15;
     this.lblMenuName.Text     = "Menu Name";
     //
     // txtDesc
     //
     this.txtDesc.Location  = new System.Drawing.Point(482, 6);
     this.txtDesc.MaxLength = 20;
     this.txtDesc.Name      = "txtDesc";
     this.txtDesc.Size      = new System.Drawing.Size(96, 20);
     this.txtDesc.TabIndex  = 16;
     //
     // lblDesc
     //
     this.lblDesc.Location = new System.Drawing.Point(404, 9);
     this.lblDesc.Name     = "lblDesc";
     this.lblDesc.Size     = new System.Drawing.Size(72, 23);
     this.lblDesc.TabIndex = 17;
     this.lblDesc.Text     = "Description";
     //
     // btnSearch
     //
     this.btnSearch.Image      = ((System.Drawing.Image)(resources.GetObject("btnSearch.Image")));
     this.btnSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnSearch.Location   = new System.Drawing.Point(602, 4);
     this.btnSearch.Name       = "btnSearch";
     this.btnSearch.Size       = new System.Drawing.Size(85, 23);
     this.btnSearch.TabIndex   = 18;
     this.btnSearch.Text       = "   Search";
     this.btnSearch.Click     += new System.EventHandler(this.btnSearch_Click);
     //
     // frmAutPolicy
     //
     this.AcceptButton      = this.btnSearch;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(760, 477);
     this.Controls.Add(this.btnSearch);
     this.Controls.Add(this.txtDesc);
     this.Controls.Add(this.lblDesc);
     this.Controls.Add(this.txtMenuName);
     this.Controls.Add(this.lblMenuName);
     this.Controls.Add(this.txtFormName);
     this.Controls.Add(this.lblFormName);
     this.Controls.Add(this.grpButton);
     this.Controls.Add(this.grd);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "frmAutPolicy";
     this.Text = "frmAutPolicy";
     ((System.ComponentModel.ISupportInitialize)(this.grd)).EndInit();
     this.grpButton.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #47
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(TableForm));
			this.lblCol = new System.Windows.Forms.Label();
			this.lblTable = new System.Windows.Forms.Label();
			this.label4 = new System.Windows.Forms.Label();
			this.label3 = new System.Windows.Forms.Label();
			this.txtTop = new System.Windows.Forms.TextBox();
			this.txtFilter = new System.Windows.Forms.TextBox();
			this.dtgTables = new SQLInsert.MatGrid();
			this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle();
			this.TableName = new System.Windows.Forms.DataGridTextBoxColumn();
			this.Script = new System.Windows.Forms.DataGridBoolColumn();
			this.chkCols = new System.Windows.Forms.CheckedListBox();
			this.btnCreate = new System.Windows.Forms.Button();
			this.btnAll = new System.Windows.Forms.Button();
			this.btnUnselect = new System.Windows.Forms.Button();
			this.grpTable = new System.Windows.Forms.GroupBox();
			this.btnOrder = new System.Windows.Forms.Button();
			this.grpFilter = new System.Windows.Forms.GroupBox();
			((System.ComponentModel.ISupportInitialize)(this.msgPanel)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.dtgTables)).BeginInit();
			this.grpTable.SuspendLayout();
			this.grpFilter.SuspendLayout();
			this.SuspendLayout();
			// 
			// testLabel
			// 
			this.testLabel.Name = "testLabel";
			// 
			// msgPanel
			// 
			this.msgPanel.Width = 1016;
			// 
			// statBar
			// 
			this.statBar.Location = new System.Drawing.Point(0, 622);
			this.statBar.Name = "statBar";
			this.statBar.Size = new System.Drawing.Size(1032, 22);
			// 
			// lblCol
			// 
			this.lblCol.Location = new System.Drawing.Point(328, 24);
			this.lblCol.Name = "lblCol";
			this.lblCol.Size = new System.Drawing.Size(72, 20);
			this.lblCol.TabIndex = 50;
			this.lblCol.Text = "Columns";
			// 
			// lblTable
			// 
			this.lblTable.Location = new System.Drawing.Point(16, 24);
			this.lblTable.Name = "lblTable";
			this.lblTable.Size = new System.Drawing.Size(40, 20);
			this.lblTable.TabIndex = 49;
			this.lblTable.Text = "Table";
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(24, 112);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(80, 24);
			this.label4.TabIndex = 46;
			this.label4.Text = "Top x (ie 10)";
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(16, 24);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(232, 16);
			this.label3.TabIndex = 45;
			this.label3.Text = "WHERE Clause (ie CategoryID = 1)";
			// 
			// txtTop
			// 
			this.txtTop.Location = new System.Drawing.Point(128, 112);
			this.txtTop.Name = "txtTop";
			this.txtTop.Size = new System.Drawing.Size(60, 20);
			this.txtTop.TabIndex = 44;
			this.txtTop.Text = "";
			this.txtTop.TextChanged += new System.EventHandler(this.txtTop_TextChanged);
			// 
			// txtFilter
			// 
			this.txtFilter.Location = new System.Drawing.Point(24, 48);
			this.txtFilter.Multiline = true;
			this.txtFilter.Name = "txtFilter";
			this.txtFilter.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
			this.txtFilter.Size = new System.Drawing.Size(760, 56);
			this.txtFilter.TabIndex = 43;
			this.txtFilter.Text = "";
			this.txtFilter.TextChanged += new System.EventHandler(this.txtFilter_TextChanged);
			// 
			// dtgTables
			// 
			this.dtgTables.AllowSorting = false;
			this.dtgTables.DataMember = "";
			this.dtgTables.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dtgTables.Location = new System.Drawing.Point(8, 48);
			this.dtgTables.Name = "dtgTables";
			this.dtgTables.Size = new System.Drawing.Size(208, 288);
			this.dtgTables.TabIndex = 39;
			this.dtgTables.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
																								  this.dataGridTableStyle1});
			this.dtgTables.ChangedOrderEvent += new SQLInsert.MatGrid.ChangedOrderHandler(this.ChangeOrder);
			this.dtgTables.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dtgTables_MouseUp);
			// 
			// dataGridTableStyle1
			// 
			this.dataGridTableStyle1.DataGrid = this.dtgTables;
			this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
																												  this.TableName,
																												  this.Script});
			this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGridTableStyle1.MappingName = "Tables";
			this.dataGridTableStyle1.PreferredColumnWidth = 300;
			// 
			// TableName
			// 
			this.TableName.Format = "";
			this.TableName.FormatInfo = null;
			this.TableName.HeaderText = "Table";
			this.TableName.MappingName = "TableName";
			this.TableName.ReadOnly = true;
			this.TableName.Width = 50;
			// 
			// Script
			// 
			this.Script.FalseValue = false;
			this.Script.HeaderText = "Script ? ";
			this.Script.MappingName = "Script";
			this.Script.NullValue = ((object)(resources.GetObject("Script.NullValue")));
			this.Script.TrueValue = true;
			this.Script.Width = 50;
			// 
			// chkCols
			// 
			this.chkCols.BackColor = System.Drawing.Color.WhiteSmoke;
			this.chkCols.CheckOnClick = true;
			this.chkCols.Location = new System.Drawing.Point(240, 48);
			this.chkCols.Name = "chkCols";
			this.chkCols.Size = new System.Drawing.Size(164, 289);
			this.chkCols.TabIndex = 42;
			this.chkCols.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.chkCols_ItemCheck);
			// 
			// btnCreate
			// 
			this.btnCreate.Location = new System.Drawing.Point(16, 8);
			this.btnCreate.Name = "btnCreate";
			this.btnCreate.Size = new System.Drawing.Size(156, 23);
			this.btnCreate.TabIndex = 61;
			this.btnCreate.Text = "Script";
			this.btnCreate.Click += new System.EventHandler(this.btnCreate_Click);
			// 
			// btnAll
			// 
			this.btnAll.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnAll.BackgroundImage")));
			this.btnAll.Location = new System.Drawing.Point(64, 24);
			this.btnAll.Name = "btnAll";
			this.btnAll.Size = new System.Drawing.Size(20, 20);
			this.btnAll.TabIndex = 64;
			this.btnAll.Click += new System.EventHandler(this.btnAll_Click);
			// 
			// btnUnselect
			// 
			this.btnUnselect.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnUnselect.BackgroundImage")));
			this.btnUnselect.Location = new System.Drawing.Point(88, 24);
			this.btnUnselect.Name = "btnUnselect";
			this.btnUnselect.Size = new System.Drawing.Size(20, 20);
			this.btnUnselect.TabIndex = 63;
			this.btnUnselect.Click += new System.EventHandler(this.btnUnselect_Click);
			// 
			// grpTable
			// 
			this.grpTable.Controls.Add(this.btnOrder);
			this.grpTable.Controls.Add(this.lblTable);
			this.grpTable.Controls.Add(this.dtgTables);
			this.grpTable.Controls.Add(this.chkCols);
			this.grpTable.Controls.Add(this.btnAll);
			this.grpTable.Controls.Add(this.btnUnselect);
			this.grpTable.Controls.Add(this.lblCol);
			this.grpTable.Location = new System.Drawing.Point(16, 192);
			this.grpTable.Name = "grpTable";
			this.grpTable.Size = new System.Drawing.Size(448, 360);
			this.grpTable.TabIndex = 65;
			this.grpTable.TabStop = false;
			this.grpTable.Text = "Table and Column to Script";
			// 
			// btnOrder
			// 
			this.btnOrder.Location = new System.Drawing.Point(120, 24);
			this.btnOrder.Name = "btnOrder";
			this.btnOrder.Size = new System.Drawing.Size(136, 23);
			this.btnOrder.TabIndex = 69;
			this.btnOrder.Text = "Order by Dependency";
			this.btnOrder.Click += new System.EventHandler(this.btnOrder_Click);
			// 
			// grpFilter
			// 
			this.grpFilter.Controls.Add(this.label4);
			this.grpFilter.Controls.Add(this.label3);
			this.grpFilter.Controls.Add(this.txtTop);
			this.grpFilter.Controls.Add(this.txtFilter);
			this.grpFilter.Location = new System.Drawing.Point(16, 32);
			this.grpFilter.Name = "grpFilter";
			this.grpFilter.Size = new System.Drawing.Size(928, 144);
			this.grpFilter.TabIndex = 67;
			this.grpFilter.TabStop = false;
			this.grpFilter.Text = "Optional: Limit scripted Data to Filter";
			// 
			// TableForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(1032, 646);
			this.Controls.Add(this.grpFilter);
			this.Controls.Add(this.grpTable);
			this.Controls.Add(this.btnCreate);
			this.DockableAreas = ((WeifenLuo.WinFormsUI.DockAreas)(((((WeifenLuo.WinFormsUI.DockAreas.Float | WeifenLuo.WinFormsUI.DockAreas.DockLeft) 
				| WeifenLuo.WinFormsUI.DockAreas.DockRight) 
				| WeifenLuo.WinFormsUI.DockAreas.DockTop) 
				| WeifenLuo.WinFormsUI.DockAreas.DockBottom)));
			this.DockPadding.Bottom = 2;
			this.DockPadding.Top = 2;
			this.HideOnClose = true;
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.Name = "TableForm";
			this.ShowHint = WeifenLuo.WinFormsUI.DockState.DockTopAutoHide;
			this.Text = "Table Form";
			this.ToolTipText = "Choose which Tables and Columns to script";
			this.Resize += new System.EventHandler(this.TableForm_Resize);
			this.Controls.SetChildIndex(this.btnCreate, 0);
			this.Controls.SetChildIndex(this.grpTable, 0);
			this.Controls.SetChildIndex(this.grpFilter, 0);
			this.Controls.SetChildIndex(this.statBar, 0);
			((System.ComponentModel.ISupportInitialize)(this.msgPanel)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.dtgTables)).EndInit();
			this.grpTable.ResumeLayout(false);
			this.grpFilter.ResumeLayout(false);
			this.ResumeLayout(false);

		}
Example #48
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     base.Load += new System.EventHandler(frmCustomer_Load);
     base.Closed += new System.EventHandler(frmCustomer_Closed);
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmCustomer));
     this.ToolBar1 = new System.Windows.Forms.ToolBar();
     this.ToolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.ToolBar1_ButtonClick);
     this.ToolBarButton1 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton2 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton3 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton9 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton5 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton4 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton6 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton12 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton10 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton11 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton7 = new System.Windows.Forms.ToolBarButton();
     this.ImageList1 = new System.Windows.Forms.ImageList(this.components);
     this.dgCust = new System.Windows.Forms.DataGrid();
     this.dgCust.DoubleClick += new System.EventHandler(this.dgCust_DoubleClick);
     this.DataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn1 = new System.Windows.Forms.DataGridBoolColumn();
     this.DataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn2 = new System.Windows.Forms.DataGridBoolColumn();
     this.DataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn3 = new System.Windows.Forms.DataGridBoolColumn();
     ((System.ComponentModel.ISupportInitialize) this.dgCust).BeginInit();
     this.SuspendLayout();
     //
     //ToolBar1
     //
     this.ToolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {this.ToolBarButton1, this.ToolBarButton2, this.ToolBarButton3, this.ToolBarButton9, this.ToolBarButton5, this.ToolBarButton4, this.ToolBarButton6, this.ToolBarButton12, this.ToolBarButton10, this.ToolBarButton11, this.ToolBarButton7});
     this.ToolBar1.ButtonSize = new System.Drawing.Size(50, 48);
     this.ToolBar1.DropDownArrows = true;
     this.ToolBar1.ImageList = this.ImageList1;
     this.ToolBar1.Location = new System.Drawing.Point(0, 0);
     this.ToolBar1.Name = "ToolBar1";
     this.ToolBar1.ShowToolTips = true;
     this.ToolBar1.Size = new System.Drawing.Size(579, 55);
     this.ToolBar1.TabIndex = 2;
     //
     //ToolBarButton1
     //
     this.ToolBarButton1.ImageIndex = 0;
     this.ToolBarButton1.Text = "添加";
     //
     //ToolBarButton2
     //
     this.ToolBarButton2.ImageIndex = 1;
     this.ToolBarButton2.Text = "修改";
     //
     //ToolBarButton3
     //
     this.ToolBarButton3.ImageIndex = 2;
     this.ToolBarButton3.Text = "删除";
     //
     //ToolBarButton9
     //
     this.ToolBarButton9.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton5
     //
     this.ToolBarButton5.ImageIndex = 3;
     this.ToolBarButton5.Text = "查询";
     //
     //ToolBarButton4
     //
     this.ToolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton6
     //
     this.ToolBarButton6.ImageIndex = 4;
     this.ToolBarButton6.Text = "打印";
     //
     //ToolBarButton12
     //
     this.ToolBarButton12.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     this.ToolBarButton12.Visible = false;
     //
     //ToolBarButton10
     //
     this.ToolBarButton10.ImageIndex = 5;
     this.ToolBarButton10.Text = "会员卡";
     this.ToolBarButton10.Visible = false;
     //
     //ToolBarButton11
     //
     this.ToolBarButton11.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton7
     //
     this.ToolBarButton7.ImageIndex = 6;
     this.ToolBarButton7.Text = "关闭";
     //
     //ImageList1
     //
     this.ImageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth16Bit;
     this.ImageList1.ImageSize = new System.Drawing.Size(28, 28);
     this.ImageList1.ImageStream = (System.Windows.Forms.ImageListStreamer) (resources.GetObject("ImageList1.ImageStream"));
     this.ImageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     //dgCust
     //
     this.dgCust.AlternatingBackColor = System.Drawing.Color.GhostWhite;
     this.dgCust.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.dgCust.BackColor = System.Drawing.Color.GhostWhite;
     this.dgCust.BackgroundColor = System.Drawing.Color.Lavender;
     this.dgCust.CaptionBackColor = System.Drawing.Color.Navy;
     this.dgCust.CaptionForeColor = System.Drawing.Color.White;
     this.dgCust.DataMember = "";
     this.dgCust.FlatMode = true;
     this.dgCust.Font = new System.Drawing.Font("Tahoma", 8.0F);
     this.dgCust.ForeColor = System.Drawing.Color.MidnightBlue;
     this.dgCust.GridLineColor = System.Drawing.Color.RoyalBlue;
     this.dgCust.HeaderBackColor = System.Drawing.Color.MidnightBlue;
     this.dgCust.HeaderFont = new System.Drawing.Font("Tahoma", 8.0F, System.Drawing.FontStyle.Bold);
     this.dgCust.HeaderForeColor = System.Drawing.Color.Lavender;
     this.dgCust.LinkColor = System.Drawing.Color.Teal;
     this.dgCust.Location = new System.Drawing.Point(0, 56);
     this.dgCust.Name = "dgCust";
     this.dgCust.ParentRowsBackColor = System.Drawing.Color.Lavender;
     this.dgCust.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dgCust.ReadOnly = true;
     this.dgCust.SelectionBackColor = System.Drawing.Color.Teal;
     this.dgCust.SelectionForeColor = System.Drawing.Color.PaleGreen;
     this.dgCust.Size = new System.Drawing.Size(579, 369);
     this.dgCust.TabIndex = 3;
     this.dgCust.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {this.DataGridTableStyle1});
     //
     //DataGridTableStyle1
     //
     this.DataGridTableStyle1.DataGrid = this.dgCust;
     this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {this.DataGridTextBoxColumn1, this.DataGridTextBoxColumn2, this.DataGridBoolColumn1, this.DataGridTextBoxColumn3, this.DataGridTextBoxColumn4, this.DataGridTextBoxColumn5, this.DataGridTextBoxColumn8, this.DataGridTextBoxColumn6, this.DataGridTextBoxColumn7, this.DataGridTextBoxColumn9, this.DataGridBoolColumn2, this.DataGridTextBoxColumn10, this.DataGridTextBoxColumn12, this.DataGridTextBoxColumn13, this.DataGridBoolColumn3});
     this.DataGridTableStyle1.HeaderFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0)));
     this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle1.MappingName = "customer";
     //
     //DataGridTextBoxColumn1
     //
     this.DataGridTextBoxColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn1.Format = "";
     this.DataGridTextBoxColumn1.FormatInfo = null;
     this.DataGridTextBoxColumn1.HeaderText = "客户编码";
     this.DataGridTextBoxColumn1.MappingName = "customercode";
     this.DataGridTextBoxColumn1.NullText = "";
     this.DataGridTextBoxColumn1.Width = 75;
     //
     //DataGridTextBoxColumn2
     //
     this.DataGridTextBoxColumn2.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn2.Format = "";
     this.DataGridTextBoxColumn2.FormatInfo = null;
     this.DataGridTextBoxColumn2.HeaderText = "客户名称";
     this.DataGridTextBoxColumn2.MappingName = "customername";
     this.DataGridTextBoxColumn2.NullText = "";
     this.DataGridTextBoxColumn2.Width = 75;
     //
     //DataGridBoolColumn1
     //
     this.DataGridBoolColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn1.FalseValue = "0";
     this.DataGridBoolColumn1.HeaderText = "会员";
     this.DataGridBoolColumn1.MappingName = "isclubmember";
     this.DataGridBoolColumn1.NullText = "";
     this.DataGridBoolColumn1.NullValue = resources.GetObject("DataGridBoolColumn1.NullValue");
     this.DataGridBoolColumn1.TrueValue = "1";
     this.DataGridBoolColumn1.Width = 75;
     //
     //DataGridTextBoxColumn3
     //
     this.DataGridTextBoxColumn3.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn3.Format = "";
     this.DataGridTextBoxColumn3.FormatInfo = null;
     this.DataGridTextBoxColumn3.HeaderText = "身份证号码";
     this.DataGridTextBoxColumn3.MappingName = "idcardno";
     this.DataGridTextBoxColumn3.NullText = "";
     this.DataGridTextBoxColumn3.Width = 75;
     //
     //DataGridTextBoxColumn4
     //
     this.DataGridTextBoxColumn4.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn4.Format = "";
     this.DataGridTextBoxColumn4.FormatInfo = null;
     this.DataGridTextBoxColumn4.HeaderText = "个人电话";
     this.DataGridTextBoxColumn4.MappingName = "phonenumber1";
     this.DataGridTextBoxColumn4.NullText = "";
     this.DataGridTextBoxColumn4.Width = 75;
     //
     //DataGridTextBoxColumn5
     //
     this.DataGridTextBoxColumn5.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn5.Format = "";
     this.DataGridTextBoxColumn5.FormatInfo = null;
     this.DataGridTextBoxColumn5.HeaderText = "单位名称";
     this.DataGridTextBoxColumn5.MappingName = "company";
     this.DataGridTextBoxColumn5.NullText = "";
     this.DataGridTextBoxColumn5.Width = 75;
     //
     //DataGridTextBoxColumn8
     //
     this.DataGridTextBoxColumn8.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn8.Format = "";
     this.DataGridTextBoxColumn8.FormatInfo = null;
     this.DataGridTextBoxColumn8.HeaderText = "单位地址";
     this.DataGridTextBoxColumn8.MappingName = "address1";
     this.DataGridTextBoxColumn8.NullText = "";
     this.DataGridTextBoxColumn8.Width = 75;
     //
     //DataGridTextBoxColumn6
     //
     this.DataGridTextBoxColumn6.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn6.Format = "";
     this.DataGridTextBoxColumn6.FormatInfo = null;
     this.DataGridTextBoxColumn6.HeaderText = "单位电话";
     this.DataGridTextBoxColumn6.MappingName = "phonenumber2";
     this.DataGridTextBoxColumn6.NullText = "";
     this.DataGridTextBoxColumn6.Width = 75;
     //
     //DataGridTextBoxColumn7
     //
     this.DataGridTextBoxColumn7.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn7.Format = "";
     this.DataGridTextBoxColumn7.FormatInfo = null;
     this.DataGridTextBoxColumn7.HeaderText = "联系人";
     this.DataGridTextBoxColumn7.MappingName = "contacter";
     this.DataGridTextBoxColumn7.NullText = "";
     this.DataGridTextBoxColumn7.Width = 75;
     //
     //DataGridTextBoxColumn9
     //
     this.DataGridTextBoxColumn9.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn9.Format = "";
     this.DataGridTextBoxColumn9.FormatInfo = null;
     this.DataGridTextBoxColumn9.HeaderText = "客户类别";
     this.DataGridTextBoxColumn9.MappingName = "typename";
     this.DataGridTextBoxColumn9.NullText = "";
     this.DataGridTextBoxColumn9.Width = 75;
     //
     //DataGridBoolColumn2
     //
     this.DataGridBoolColumn2.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn2.FalseValue = "0";
     this.DataGridBoolColumn2.HeaderText = "允许签单";
     this.DataGridBoolColumn2.MappingName = "signed";
     this.DataGridBoolColumn2.NullText = "";
     this.DataGridBoolColumn2.NullValue = resources.GetObject("DataGridBoolColumn2.NullValue");
     this.DataGridBoolColumn2.TrueValue = "1";
     this.DataGridBoolColumn2.Width = 75;
     //
     //DataGridTextBoxColumn10
     //
     this.DataGridTextBoxColumn10.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn10.Format = "";
     this.DataGridTextBoxColumn10.FormatInfo = null;
     this.DataGridTextBoxColumn10.HeaderText = "签单限额";
     this.DataGridTextBoxColumn10.MappingName = "signupcost";
     this.DataGridTextBoxColumn10.NullText = "";
     this.DataGridTextBoxColumn10.Width = 75;
     //
     //DataGridTextBoxColumn12
     //
     this.DataGridTextBoxColumn12.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn12.Format = "";
     this.DataGridTextBoxColumn12.FormatInfo = null;
     this.DataGridTextBoxColumn12.HeaderText = "累计消费";
     this.DataGridTextBoxColumn12.MappingName = "totalcost";
     this.DataGridTextBoxColumn12.NullText = "";
     this.DataGridTextBoxColumn12.Width = 75;
     //
     //DataGridTextBoxColumn13
     //
     this.DataGridTextBoxColumn13.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn13.Format = "";
     this.DataGridTextBoxColumn13.FormatInfo = null;
     this.DataGridTextBoxColumn13.HeaderText = "备注";
     this.DataGridTextBoxColumn13.MappingName = "note";
     this.DataGridTextBoxColumn13.NullText = "";
     this.DataGridTextBoxColumn13.Width = 75;
     //
     //DataGridBoolColumn3
     //
     this.DataGridBoolColumn3.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn3.FalseValue = "0";
     this.DataGridBoolColumn3.HeaderText = "暂停使用";
     this.DataGridBoolColumn3.MappingName = "disabled";
     this.DataGridBoolColumn3.NullText = "";
     this.DataGridBoolColumn3.NullValue = resources.GetObject("DataGridBoolColumn3.NullValue");
     this.DataGridBoolColumn3.TrueValue = "1";
     this.DataGridBoolColumn3.Width = 75;
     //
     //frmCustomer
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize = new System.Drawing.Size(579, 425);
     this.Controls.Add(this.dgCust);
     this.Controls.Add(this.ToolBar1);
     this.Icon = (System.Drawing.Icon) (resources.GetObject("$this.Icon"));
     this.Name = "frmCustomer";
     this.ShowInTaskbar = false;
     this.Text = "客户信息管理";
     ((System.ComponentModel.ISupportInitialize) this.dgCust).EndInit();
     this.ResumeLayout(false);
 }
Example #49
0
        public void UnSelectAllDefinitionFiles()
        {
            int tempCount = 0;
            DvtkApplicationLayer.Session theSession = GetSessionTreeViewManager().GetSession();
            DataGridBoolColumn dataBoolColumn = new DataGridBoolColumn();
            foreach (DefinitionFile theDefinitionFile in  _DefinitionFilesInfoForDataGrid)
            {
                string theFullFileName = System.IO.Path.Combine(theDefinitionFile.DefinitionRoot, theDefinitionFile.Filename);
                theSession.Implementation.DefinitionManagement.UnLoadDefinitionFile(theFullFileName);
                //_DataGridSopClasses[tempCount,0] = dataBoolColumn.FalseValue;
                // Get the column style for the "loaded" column.
                DataGridColumnStyle theColStyle = _DataGridSopClasses.TableStyles[0].GridColumnStyles[0];

                // Change the "loaded" stated in _DefinitionFilesInfoForDataGrid and the data grid itself.
                _DataGridSopClasses.BeginEdit(theColStyle, tempCount);
                theDefinitionFile.Loaded = false;
                _DataGridSopClasses.EndEdit (theColStyle, tempCount, false);

                tempCount++ ;
            }

            _DataGridSopClasses.SetDataBinding(_DefinitionFilesInfoForDataGrid , "");
            // Notify the rest of the world.
            SessionChange theSessionChange = new SessionChange(theSession, SessionChange.SessionChangeSubTypEnum.SOP_CLASSES_LOADED_STATE);
            Notify(theSessionChange);
        }
Example #50
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(frmInstruktori));
     this.gbPretraga              = new System.Windows.Forms.GroupBox();
     this.duPretraga              = new System.Windows.Forms.Button();
     this.cbPolje1                = new System.Windows.Forms.ComboBox();
     this.tbVrijednost1           = new System.Windows.Forms.TextBox();
     this.lbVrijednost2           = new System.Windows.Forms.Label();
     this.label2                  = new System.Windows.Forms.Label();
     this.pictureBox1             = new System.Windows.Forms.PictureBox();
     this.cbPolje                 = new System.Windows.Forms.ComboBox();
     this.tbVrijednost            = new System.Windows.Forms.TextBox();
     this.lbVrijednost1           = new System.Windows.Forms.Label();
     this.lbPolje                 = new System.Windows.Forms.Label();
     this.gbOpcije                = new System.Windows.Forms.GroupBox();
     this.duOdstampaj             = new System.Windows.Forms.Button();
     this.duOdaberiDnevnik        = new System.Windows.Forms.Button();
     this.duOdaberi               = new System.Windows.Forms.Button();
     this.duZatvori               = new System.Windows.Forms.Button();
     this.duIzbrisi               = new System.Windows.Forms.Button();
     this.duOsvjezi               = new System.Windows.Forms.Button();
     this.duIzmjeni               = new System.Windows.Forms.Button();
     this.duNovi                  = new System.Windows.Forms.Button();
     this.daInstruktori           = new System.Data.SqlClient.SqlDataAdapter();
     this.sqlSelectCommand1       = new System.Data.SqlClient.SqlCommand();
     this.connInstruktori         = new System.Data.SqlClient.SqlConnection();
     this.dsInstruktori1          = new AutoSkola.DSetovi.dsInstruktori();
     this.dgInstruktori           = new System.Windows.Forms.DataGrid();
     this.dgTableStyleInstruktori = new System.Windows.Forms.DataGridTableStyle();
     this.ID              = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Ime             = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Prezime         = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DatumRodjenja   = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Adresa          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Telefon         = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Email           = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DatumZaposlenja = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Testovi         = new System.Windows.Forms.DataGridBoolColumn();
     this.pictureBoxInst  = new System.Windows.Forms.PictureBox();
     this.gbPretraga.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.gbOpcije.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dsInstruktori1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgInstruktori)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBoxInst)).BeginInit();
     this.SuspendLayout();
     //
     // gbPretraga
     //
     this.gbPretraga.Controls.Add(this.duPretraga);
     this.gbPretraga.Controls.Add(this.cbPolje1);
     this.gbPretraga.Controls.Add(this.tbVrijednost1);
     this.gbPretraga.Controls.Add(this.lbVrijednost2);
     this.gbPretraga.Controls.Add(this.label2);
     this.gbPretraga.Controls.Add(this.pictureBox1);
     this.gbPretraga.Controls.Add(this.cbPolje);
     this.gbPretraga.Controls.Add(this.tbVrijednost);
     this.gbPretraga.Controls.Add(this.lbVrijednost1);
     this.gbPretraga.Controls.Add(this.lbPolje);
     this.gbPretraga.Location = new System.Drawing.Point(8, 360);
     this.gbPretraga.Name     = "gbPretraga";
     this.gbPretraga.Size     = new System.Drawing.Size(599, 112);
     this.gbPretraga.TabIndex = 3;
     this.gbPretraga.TabStop  = false;
     this.gbPretraga.Text     = "        Pretraga";
     //
     // duPretraga
     //
     this.duPretraga.BackColor = System.Drawing.Color.Beige;
     this.duPretraga.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.duPretraga.Image     = ((System.Drawing.Image)(resources.GetObject("duPretraga.Image")));
     this.duPretraga.Location  = new System.Drawing.Point(540, 40);
     this.duPretraga.Name      = "duPretraga";
     this.duPretraga.Size      = new System.Drawing.Size(44, 44);
     this.duPretraga.TabIndex  = 9;
     this.duPretraga.UseVisualStyleBackColor = false;
     this.duPretraga.Click += new System.EventHandler(this.duPretraga_Click);
     //
     // cbPolje1
     //
     this.cbPolje1.Items.AddRange(new object[] {
         "Ime",
         "Prezime",
         "Adresa",
         "Telefon",
         "Email"
     });
     this.cbPolje1.Location              = new System.Drawing.Point(124, 72);
     this.cbPolje1.Name                  = "cbPolje1";
     this.cbPolje1.Size                  = new System.Drawing.Size(136, 24);
     this.cbPolje1.TabIndex              = 6;
     this.cbPolje1.Text                  = "Prezime";
     this.cbPolje1.SelectedValueChanged += new System.EventHandler(this.cbPolje1_SelectedValueChanged);
     //
     // tbVrijednost1
     //
     this.tbVrijednost1.Location     = new System.Drawing.Point(399, 72);
     this.tbVrijednost1.Name         = "tbVrijednost1";
     this.tbVrijednost1.Size         = new System.Drawing.Size(128, 22);
     this.tbVrijednost1.TabIndex     = 8;
     this.tbVrijednost1.TextChanged += new System.EventHandler(this.tbVrijednost1_TextChanged);
     //
     // lbVrijednost2
     //
     this.lbVrijednost2.Location = new System.Drawing.Point(275, 75);
     this.lbVrijednost2.Name     = "lbVrijednost2";
     this.lbVrijednost2.Size     = new System.Drawing.Size(114, 24);
     this.lbVrijednost2.TabIndex = 7;
     this.lbVrijednost2.Text     = "Prezime:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 72);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(112, 32);
     this.label2.TabIndex = 5;
     this.label2.Text     = "Odaberite polje 2:";
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(8, -1);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(24, 22);
     this.pictureBox1.TabIndex = 4;
     this.pictureBox1.TabStop  = false;
     //
     // cbPolje
     //
     this.cbPolje.Items.AddRange(new object[] {
         "Ime",
         "Prezime",
         "Adresa",
         "Telefon",
         "Email"
     });
     this.cbPolje.Location              = new System.Drawing.Point(124, 32);
     this.cbPolje.Name                  = "cbPolje";
     this.cbPolje.Size                  = new System.Drawing.Size(136, 24);
     this.cbPolje.TabIndex              = 0;
     this.cbPolje.Text                  = "Ime";
     this.cbPolje.SelectedValueChanged += new System.EventHandler(this.cbPolje_SelectedValueChanged);
     //
     // tbVrijednost
     //
     this.tbVrijednost.Location     = new System.Drawing.Point(399, 32);
     this.tbVrijednost.Name         = "tbVrijednost";
     this.tbVrijednost.Size         = new System.Drawing.Size(128, 22);
     this.tbVrijednost.TabIndex     = 1;
     this.tbVrijednost.TextChanged += new System.EventHandler(this.tbVrijednost_TextChanged);
     //
     // lbVrijednost1
     //
     this.lbVrijednost1.Location = new System.Drawing.Point(275, 33);
     this.lbVrijednost1.Name     = "lbVrijednost1";
     this.lbVrijednost1.Size     = new System.Drawing.Size(114, 24);
     this.lbVrijednost1.TabIndex = 1;
     this.lbVrijednost1.Text     = "Ime:";
     //
     // lbPolje
     //
     this.lbPolje.Location = new System.Drawing.Point(8, 32);
     this.lbPolje.Name     = "lbPolje";
     this.lbPolje.Size     = new System.Drawing.Size(112, 32);
     this.lbPolje.TabIndex = 0;
     this.lbPolje.Text     = "Odaberite polje 1:";
     //
     // gbOpcije
     //
     this.gbOpcije.Controls.Add(this.duOdstampaj);
     this.gbOpcije.Controls.Add(this.duOdaberiDnevnik);
     this.gbOpcije.Controls.Add(this.duOdaberi);
     this.gbOpcije.Controls.Add(this.duZatvori);
     this.gbOpcije.Controls.Add(this.duIzbrisi);
     this.gbOpcije.Controls.Add(this.duOsvjezi);
     this.gbOpcije.Controls.Add(this.duIzmjeni);
     this.gbOpcije.Controls.Add(this.duNovi);
     this.gbOpcije.Location = new System.Drawing.Point(615, 40);
     this.gbOpcije.Name     = "gbOpcije";
     this.gbOpcije.Size     = new System.Drawing.Size(136, 280);
     this.gbOpcije.TabIndex = 2;
     this.gbOpcije.TabStop  = false;
     this.gbOpcije.Text     = "Opcije";
     //
     // duOdstampaj
     //
     this.duOdstampaj.BackColor  = System.Drawing.Color.Beige;
     this.duOdstampaj.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duOdstampaj.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duOdstampaj.Image      = ((System.Drawing.Image)(resources.GetObject("duOdstampaj.Image")));
     this.duOdstampaj.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duOdstampaj.Location   = new System.Drawing.Point(12, 192);
     this.duOdstampaj.Name       = "duOdstampaj";
     this.duOdstampaj.Size       = new System.Drawing.Size(112, 32);
     this.duOdstampaj.TabIndex   = 7;
     this.duOdstampaj.Text       = "         Odštampaj";
     this.duOdstampaj.UseVisualStyleBackColor = false;
     this.duOdstampaj.Click += new System.EventHandler(this.duOdstampaj_Click);
     //
     // duOdaberiDnevnik
     //
     this.duOdaberiDnevnik.BackColor  = System.Drawing.Color.Beige;
     this.duOdaberiDnevnik.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duOdaberiDnevnik.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duOdaberiDnevnik.Image      = ((System.Drawing.Image)(resources.GetObject("duOdaberiDnevnik.Image")));
     this.duOdaberiDnevnik.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duOdaberiDnevnik.Location   = new System.Drawing.Point(12, 192);
     this.duOdaberiDnevnik.Name       = "duOdaberiDnevnik";
     this.duOdaberiDnevnik.Size       = new System.Drawing.Size(112, 32);
     this.duOdaberiDnevnik.TabIndex   = 6;
     this.duOdaberiDnevnik.Text       = "   Odaberi";
     this.duOdaberiDnevnik.UseVisualStyleBackColor = false;
     this.duOdaberiDnevnik.Click += new System.EventHandler(this.duOdaberiDnevnik_Click);
     //
     // duOdaberi
     //
     this.duOdaberi.BackColor  = System.Drawing.Color.Beige;
     this.duOdaberi.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duOdaberi.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duOdaberi.Image      = ((System.Drawing.Image)(resources.GetObject("duOdaberi.Image")));
     this.duOdaberi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duOdaberi.Location   = new System.Drawing.Point(12, 192);
     this.duOdaberi.Name       = "duOdaberi";
     this.duOdaberi.Size       = new System.Drawing.Size(112, 32);
     this.duOdaberi.TabIndex   = 4;
     this.duOdaberi.Text       = "   Odaberi";
     this.duOdaberi.UseVisualStyleBackColor = false;
     this.duOdaberi.Click += new System.EventHandler(this.duOdaberi_Click);
     //
     // duZatvori
     //
     this.duZatvori.BackColor  = System.Drawing.Color.Beige;
     this.duZatvori.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duZatvori.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duZatvori.Image      = ((System.Drawing.Image)(resources.GetObject("duZatvori.Image")));
     this.duZatvori.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duZatvori.Location   = new System.Drawing.Point(12, 232);
     this.duZatvori.Name       = "duZatvori";
     this.duZatvori.Size       = new System.Drawing.Size(112, 32);
     this.duZatvori.TabIndex   = 5;
     this.duZatvori.Text       = " Zatvori";
     this.duZatvori.UseVisualStyleBackColor = false;
     this.duZatvori.Click += new System.EventHandler(this.duZatvori_Click);
     //
     // duIzbrisi
     //
     this.duIzbrisi.BackColor  = System.Drawing.Color.Beige;
     this.duIzbrisi.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duIzbrisi.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duIzbrisi.Image      = ((System.Drawing.Image)(resources.GetObject("duIzbrisi.Image")));
     this.duIzbrisi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duIzbrisi.Location   = new System.Drawing.Point(12, 152);
     this.duIzbrisi.Name       = "duIzbrisi";
     this.duIzbrisi.Size       = new System.Drawing.Size(112, 32);
     this.duIzbrisi.TabIndex   = 3;
     this.duIzbrisi.Text       = "Izbriši";
     this.duIzbrisi.UseVisualStyleBackColor = false;
     this.duIzbrisi.Click += new System.EventHandler(this.duIzbrisi_Click);
     //
     // duOsvjezi
     //
     this.duOsvjezi.BackColor  = System.Drawing.Color.Beige;
     this.duOsvjezi.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duOsvjezi.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duOsvjezi.Image      = ((System.Drawing.Image)(resources.GetObject("duOsvjezi.Image")));
     this.duOsvjezi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duOsvjezi.Location   = new System.Drawing.Point(12, 112);
     this.duOsvjezi.Name       = "duOsvjezi";
     this.duOsvjezi.Size       = new System.Drawing.Size(112, 32);
     this.duOsvjezi.TabIndex   = 2;
     this.duOsvjezi.Text       = " Osvježi";
     this.duOsvjezi.UseVisualStyleBackColor = false;
     this.duOsvjezi.Click += new System.EventHandler(this.duOsvjezi_Click);
     //
     // duIzmjeni
     //
     this.duIzmjeni.BackColor  = System.Drawing.Color.Beige;
     this.duIzmjeni.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duIzmjeni.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duIzmjeni.Image      = ((System.Drawing.Image)(resources.GetObject("duIzmjeni.Image")));
     this.duIzmjeni.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duIzmjeni.Location   = new System.Drawing.Point(12, 72);
     this.duIzmjeni.Name       = "duIzmjeni";
     this.duIzmjeni.Size       = new System.Drawing.Size(112, 32);
     this.duIzmjeni.TabIndex   = 1;
     this.duIzmjeni.Text       = " Izmjeni";
     this.duIzmjeni.UseVisualStyleBackColor = false;
     this.duIzmjeni.Click += new System.EventHandler(this.duIzmjeni_Click);
     //
     // duNovi
     //
     this.duNovi.BackColor  = System.Drawing.Color.Beige;
     this.duNovi.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duNovi.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duNovi.Image      = ((System.Drawing.Image)(resources.GetObject("duNovi.Image")));
     this.duNovi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duNovi.Location   = new System.Drawing.Point(12, 32);
     this.duNovi.Name       = "duNovi";
     this.duNovi.Size       = new System.Drawing.Size(112, 32);
     this.duNovi.TabIndex   = 0;
     this.duNovi.Text       = "       Dodaj novi";
     this.duNovi.UseVisualStyleBackColor = false;
     this.duNovi.Click += new System.EventHandler(this.duNovi_Click);
     //
     // daInstruktori
     //
     this.daInstruktori.SelectCommand = this.sqlSelectCommand1;
     this.daInstruktori.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "Instruktori", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("ID", "ID"),
             new System.Data.Common.DataColumnMapping("Ime", "Ime"),
             new System.Data.Common.DataColumnMapping("Prezime", "Prezime"),
             new System.Data.Common.DataColumnMapping("DatumRodjenja", "DatumRodjenja"),
             new System.Data.Common.DataColumnMapping("Adresa", "Adresa"),
             new System.Data.Common.DataColumnMapping("Telefon", "Telefon"),
             new System.Data.Common.DataColumnMapping("Email", "Email"),
             new System.Data.Common.DataColumnMapping("DatumZaposlenja", "DatumZaposlenja")
         })
     });
     //
     // sqlSelectCommand1
     //
     this.sqlSelectCommand1.CommandText = "SELECT InstruktorID AS ID, Ime, Prezime, DatumRodjenja, Adresa, Telefon, Email, D" +
                                          "atumZaposlenja FROM Instruktori ORDER BY InstruktorID";
     //
     // connInstruktori
     //
     this.connInstruktori.ConnectionString = "Data Source=(local);Initial Catalog=baza;integrated security=SSPI";
     this.connInstruktori.FireInfoMessageEventOnUserErrors = false;
     //
     // dsInstruktori1
     //
     this.dsInstruktori1.DataSetName             = "dsInstruktori";
     this.dsInstruktori1.Locale                  = new System.Globalization.CultureInfo("hr-HR");
     this.dsInstruktori1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // dgInstruktori
     //
     this.dgInstruktori.DataMember      = "";
     this.dgInstruktori.DataSource      = this.dsInstruktori1.Instruktori;
     this.dgInstruktori.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dgInstruktori.Location        = new System.Drawing.Point(8, 48);
     this.dgInstruktori.Name            = "dgInstruktori";
     this.dgInstruktori.ReadOnly        = true;
     this.dgInstruktori.Size            = new System.Drawing.Size(599, 304);
     this.dgInstruktori.TabIndex        = 4;
     this.dgInstruktori.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dgTableStyleInstruktori
     });
     this.dgInstruktori.DoubleClick += new System.EventHandler(this.dgInstruktori_DoubleClick);
     //
     // dgTableStyleInstruktori
     //
     this.dgTableStyleInstruktori.DataGrid = this.dgInstruktori;
     this.dgTableStyleInstruktori.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.ID,
         this.Ime,
         this.Prezime,
         this.DatumRodjenja,
         this.Adresa,
         this.Telefon,
         this.Email,
         this.DatumZaposlenja,
         this.Testovi
     });
     this.dgTableStyleInstruktori.HeaderForeColor    = System.Drawing.SystemColors.ControlText;
     this.dgTableStyleInstruktori.MappingName        = "Instruktori";
     this.dgTableStyleInstruktori.PreferredRowHeight = 22;
     //
     // ID
     //
     this.ID.Format      = "";
     this.ID.FormatInfo  = null;
     this.ID.HeaderText  = "ID";
     this.ID.MappingName = "ID";
     this.ID.Width       = 0;
     //
     // Ime
     //
     this.Ime.Format      = "";
     this.Ime.FormatInfo  = null;
     this.Ime.HeaderText  = "Ime";
     this.Ime.MappingName = "Ime";
     this.Ime.Width       = 75;
     //
     // Prezime
     //
     this.Prezime.Format      = "";
     this.Prezime.FormatInfo  = null;
     this.Prezime.HeaderText  = "Prezime";
     this.Prezime.MappingName = "Prezime";
     this.Prezime.Width       = 75;
     //
     // DatumRodjenja
     //
     this.DatumRodjenja.Format      = "";
     this.DatumRodjenja.FormatInfo  = null;
     this.DatumRodjenja.HeaderText  = "Datum Rodjenja";
     this.DatumRodjenja.MappingName = "DatumRodjenja";
     this.DatumRodjenja.Width       = 105;
     //
     // Adresa
     //
     this.Adresa.Format      = "";
     this.Adresa.FormatInfo  = null;
     this.Adresa.HeaderText  = "Adresa";
     this.Adresa.MappingName = "Adresa";
     this.Adresa.Width       = 95;
     //
     // Telefon
     //
     this.Telefon.Format      = "";
     this.Telefon.FormatInfo  = null;
     this.Telefon.HeaderText  = "Telefon";
     this.Telefon.MappingName = "Telefon";
     this.Telefon.Width       = 85;
     //
     // Email
     //
     this.Email.Format      = "";
     this.Email.FormatInfo  = null;
     this.Email.HeaderText  = "Email";
     this.Email.MappingName = "Email";
     this.Email.Width       = 105;
     //
     // DatumZaposlenja
     //
     this.DatumZaposlenja.Format      = "";
     this.DatumZaposlenja.FormatInfo  = null;
     this.DatumZaposlenja.HeaderText  = "Datum Zaposlenja";
     this.DatumZaposlenja.MappingName = "DatumZaposlenja";
     this.DatumZaposlenja.Width       = 115;
     //
     // Testovi
     //
     this.Testovi.HeaderText  = "Testovi";
     this.Testovi.MappingName = "Testovi";
     this.Testovi.Width       = 75;
     //
     // pictureBoxInst
     //
     this.pictureBoxInst.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBoxInst.Image")));
     this.pictureBoxInst.Location = new System.Drawing.Point(0, 0);
     this.pictureBoxInst.Name     = "pictureBoxInst";
     this.pictureBoxInst.Size     = new System.Drawing.Size(774, 32);
     this.pictureBoxInst.TabIndex = 5;
     this.pictureBoxInst.TabStop  = false;
     //
     // frmInstruktori
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.ClientSize        = new System.Drawing.Size(763, 480);
     this.Controls.Add(this.pictureBoxInst);
     this.Controls.Add(this.dgInstruktori);
     this.Controls.Add(this.gbPretraga);
     this.Controls.Add(this.gbOpcije);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MaximumSize   = new System.Drawing.Size(771, 520);
     this.Name          = "frmInstruktori";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Instruktori";
     this.Load         += new System.EventHandler(this.frmInstruktori_Load);
     this.gbPretraga.ResumeLayout(false);
     this.gbPretraga.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.gbOpcije.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dsInstruktori1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgInstruktori)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBoxInst)).EndInit();
     this.ResumeLayout(false);
 }
Example #51
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmVendor));
     this.ToolBar1 = new System.Windows.Forms.ToolBar();
     this.ToolBarButton1 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton2 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton3 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton4 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton5 = new System.Windows.Forms.ToolBarButton();
     this.ImageList1 = new System.Windows.Forms.ImageList(this.components);
     this.dgVendor = new System.Windows.Forms.DataGrid();
     this.DataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn1 = new System.Windows.Forms.DataGridBoolColumn();
     ((System.ComponentModel.ISupportInitialize)(this.dgVendor)).BeginInit();
     this.SuspendLayout();
     //
     // ToolBar1
     //
     this.ToolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
     this.ToolBarButton1,
     this.ToolBarButton2,
     this.ToolBarButton3,
     this.ToolBarButton4,
     this.ToolBarButton5});
     this.ToolBar1.ButtonSize = new System.Drawing.Size(50, 48);
     this.ToolBar1.DropDownArrows = true;
     this.ToolBar1.ImageList = this.ImageList1;
     this.ToolBar1.Location = new System.Drawing.Point(0, 0);
     this.ToolBar1.Name = "ToolBar1";
     this.ToolBar1.ShowToolTips = true;
     this.ToolBar1.Size = new System.Drawing.Size(528, 54);
     this.ToolBar1.TabIndex = 3;
     this.ToolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.ToolBar1_ButtonClick);
     //
     // ToolBarButton1
     //
     this.ToolBarButton1.ImageIndex = 0;
     this.ToolBarButton1.Name = "ToolBarButton1";
     this.ToolBarButton1.Text = "添加";
     //
     // ToolBarButton2
     //
     this.ToolBarButton2.ImageIndex = 1;
     this.ToolBarButton2.Name = "ToolBarButton2";
     this.ToolBarButton2.Text = "修改";
     //
     // ToolBarButton3
     //
     this.ToolBarButton3.ImageIndex = 2;
     this.ToolBarButton3.Name = "ToolBarButton3";
     this.ToolBarButton3.Text = "删除";
     //
     // ToolBarButton4
     //
     this.ToolBarButton4.Name = "ToolBarButton4";
     this.ToolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ToolBarButton5
     //
     this.ToolBarButton5.ImageIndex = 3;
     this.ToolBarButton5.Name = "ToolBarButton5";
     this.ToolBarButton5.Text = "关闭";
     //
     // ImageList1
     //
     this.ImageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageList1.ImageStream")));
     this.ImageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.ImageList1.Images.SetKeyName(0, "");
     this.ImageList1.Images.SetKeyName(1, "");
     this.ImageList1.Images.SetKeyName(2, "");
     this.ImageList1.Images.SetKeyName(3, "");
     //
     // dgVendor
     //
     this.dgVendor.AlternatingBackColor = System.Drawing.Color.GhostWhite;
     this.dgVendor.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.dgVendor.BackColor = System.Drawing.Color.GhostWhite;
     this.dgVendor.BackgroundColor = System.Drawing.Color.Lavender;
     this.dgVendor.CaptionBackColor = System.Drawing.Color.Navy;
     this.dgVendor.CaptionForeColor = System.Drawing.Color.White;
     this.dgVendor.DataMember = "";
     this.dgVendor.FlatMode = true;
     this.dgVendor.Font = new System.Drawing.Font("Tahoma", 8F);
     this.dgVendor.ForeColor = System.Drawing.Color.MidnightBlue;
     this.dgVendor.GridLineColor = System.Drawing.Color.RoyalBlue;
     this.dgVendor.HeaderBackColor = System.Drawing.Color.MidnightBlue;
     this.dgVendor.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dgVendor.HeaderForeColor = System.Drawing.Color.Lavender;
     this.dgVendor.LinkColor = System.Drawing.Color.Teal;
     this.dgVendor.Location = new System.Drawing.Point(0, 56);
     this.dgVendor.Name = "dgVendor";
     this.dgVendor.ParentRowsBackColor = System.Drawing.Color.Lavender;
     this.dgVendor.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dgVendor.ReadOnly = true;
     this.dgVendor.SelectionBackColor = System.Drawing.Color.Teal;
     this.dgVendor.SelectionForeColor = System.Drawing.Color.PaleGreen;
     this.dgVendor.Size = new System.Drawing.Size(528, 342);
     this.dgVendor.TabIndex = 4;
     this.dgVendor.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.DataGridTableStyle1});
     this.dgVendor.DoubleClick += new System.EventHandler(this.dgVendor_DoubleClick);
     //
     // DataGridTableStyle1
     //
     this.DataGridTableStyle1.DataGrid = this.dgVendor;
     this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.DataGridTextBoxColumn1,
     this.DataGridTextBoxColumn2,
     this.DataGridTextBoxColumn3,
     this.DataGridTextBoxColumn4,
     this.DataGridBoolColumn1});
     this.DataGridTableStyle1.HeaderFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle1.MappingName = "vendor";
     //
     // DataGridTextBoxColumn1
     //
     this.DataGridTextBoxColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn1.Format = "";
     this.DataGridTextBoxColumn1.FormatInfo = null;
     this.DataGridTextBoxColumn1.HeaderText = "供应商编码";
     this.DataGridTextBoxColumn1.MappingName = "vendorcode";
     this.DataGridTextBoxColumn1.Width = 90;
     //
     // DataGridTextBoxColumn2
     //
     this.DataGridTextBoxColumn2.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn2.Format = "";
     this.DataGridTextBoxColumn2.FormatInfo = null;
     this.DataGridTextBoxColumn2.HeaderText = "名称";
     this.DataGridTextBoxColumn2.MappingName = "vendorname";
     this.DataGridTextBoxColumn2.Width = 90;
     //
     // DataGridTextBoxColumn3
     //
     this.DataGridTextBoxColumn3.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn3.Format = "";
     this.DataGridTextBoxColumn3.FormatInfo = null;
     this.DataGridTextBoxColumn3.HeaderText = "联系人";
     this.DataGridTextBoxColumn3.MappingName = "AttachMan";
     this.DataGridTextBoxColumn3.Width = 90;
     //
     // DataGridTextBoxColumn4
     //
     this.DataGridTextBoxColumn4.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn4.Format = "";
     this.DataGridTextBoxColumn4.FormatInfo = null;
     this.DataGridTextBoxColumn4.HeaderText = "联系电话";
     this.DataGridTextBoxColumn4.MappingName = "Telephone";
     this.DataGridTextBoxColumn4.Width = 90;
     //
     // DataGridBoolColumn1
     //
     this.DataGridBoolColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn1.FalseValue = "0";
     this.DataGridBoolColumn1.HeaderText = "暂停使用";
     this.DataGridBoolColumn1.MappingName = "disabled";
     this.DataGridBoolColumn1.TrueValue = "1";
     this.DataGridBoolColumn1.Width = 75;
     //
     // frmVendor
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize = new System.Drawing.Size(528, 398);
     this.Controls.Add(this.dgVendor);
     this.Controls.Add(this.ToolBar1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "frmVendor";
     this.Text = "供应商";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load += new System.EventHandler(this.frmVendor_Load);
     this.Closed += new System.EventHandler(this.frmVendor_Closed);
     ((System.ComponentModel.ISupportInitialize)(this.dgVendor)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #52
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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ApplianceGrid));
     this.mainMenu1           = new System.Windows.Forms.MainMenu();
     this.menuItem1           = new System.Windows.Forms.MenuItem();
     this.addItem             = new System.Windows.Forms.MenuItem();
     this.optionsItem         = new System.Windows.Forms.MenuItem();
     this.menuItem7           = new System.Windows.Forms.MenuItem();
     this.recentMenu          = new System.Windows.Forms.MenuItem();
     this.menuItem8           = new System.Windows.Forms.MenuItem();
     this.menuItem4           = new System.Windows.Forms.MenuItem();
     this.exitItem            = new System.Windows.Forms.MenuItem();
     this.menuItem2           = new System.Windows.Forms.MenuItem();
     this.convertItem         = new System.Windows.Forms.MenuItem();
     this.convertMultipleItem = new System.Windows.Forms.MenuItem();
     this.eventTimerQueue     = new System.Windows.Forms.Timer(this.components);
     this.applianceList       = new System.Windows.Forms.DataGrid();
     this.applianceGridStyle  = new System.Windows.Forms.DataGridTableStyle();
     this.deviceColumn        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.statusColumn        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.portColumn          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.visibleColumn       = new System.Windows.Forms.DataGridBoolColumn();
     this.activeColumn        = new System.Windows.Forms.DataGridBoolColumn();
     this.menuItem3           = new System.Windows.Forms.MenuItem();
     this.menuItem5           = new System.Windows.Forms.MenuItem();
     ((System.ComponentModel.ISupportInitialize)(this.applianceList)).BeginInit();
     this.SuspendLayout();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem2
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.addItem,
         this.optionsItem,
         this.menuItem7,
         this.recentMenu,
         this.menuItem4,
         this.exitItem
     });
     this.menuItem1.Text = "File";
     //
     // addItem
     //
     this.addItem.Index  = 0;
     this.addItem.Text   = "Add Appliance...";
     this.addItem.Click += new System.EventHandler(this.addItem_Click);
     //
     // optionsItem
     //
     this.optionsItem.Index  = 1;
     this.optionsItem.Text   = "Options...";
     this.optionsItem.Click += new System.EventHandler(this.optionsItem_Click);
     //
     // menuItem7
     //
     this.menuItem7.Index = 2;
     this.menuItem7.Text  = "-";
     //
     // recentMenu
     //
     this.recentMenu.Index = 3;
     this.recentMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem8
     });
     this.recentMenu.Text = "Recent Appliances";
     //
     // menuItem8
     //
     this.menuItem8.Enabled = false;
     this.menuItem8.Index   = 0;
     this.menuItem8.Text    = "None";
     //
     // menuItem4
     //
     this.menuItem4.Index = 4;
     this.menuItem4.Text  = "-";
     //
     // exitItem
     //
     this.exitItem.Index = 5;
     this.exitItem.Text  = "Exit";
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.convertItem,
         this.convertMultipleItem,
         this.menuItem3,
         this.menuItem5
     });
     this.menuItem2.Text = "Convert";
     //
     // convertItem
     //
     this.convertItem.Index  = 0;
     this.convertItem.Text   = "2.0 to 2.1 - Single File...";
     this.convertItem.Click += new System.EventHandler(this.convertItem_Click);
     //
     // convertMultipleItem
     //
     this.convertMultipleItem.Index  = 1;
     this.convertMultipleItem.Text   = "2.0 to 2.1 - Multiple Files...";
     this.convertMultipleItem.Click += new System.EventHandler(this.convertMultipleItem_Click);
     //
     // eventTimerQueue
     //
     this.eventTimerQueue.Enabled = true;
     this.eventTimerQueue.Tick   += new System.EventHandler(this.eventTimerQueue_Tick);
     //
     // applianceList
     //
     this.applianceList.AccessibleName    = "DataGrid";
     this.applianceList.AccessibleRole    = System.Windows.Forms.AccessibleRole.Table;
     this.applianceList.AllowNavigation   = false;
     this.applianceList.AllowSorting      = false;
     this.applianceList.CaptionVisible    = false;
     this.applianceList.DataMember        = "";
     this.applianceList.HeaderForeColor   = System.Drawing.SystemColors.ControlText;
     this.applianceList.Location          = new System.Drawing.Point(0, 0);
     this.applianceList.Name              = "applianceList";
     this.applianceList.ParentRowsVisible = false;
     this.applianceList.RowHeadersVisible = false;
     this.applianceList.Size              = new System.Drawing.Size(384, 264);
     this.applianceList.TabIndex          = 0;
     this.applianceList.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.applianceGridStyle
     });
     this.applianceList.Click += new System.EventHandler(this.applianceList_Click);
     //
     // applianceGridStyle
     //
     this.applianceGridStyle.DataGrid = this.applianceList;
     this.applianceGridStyle.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.deviceColumn,
         this.statusColumn,
         this.portColumn,
         this.visibleColumn,
         this.activeColumn
     });
     this.applianceGridStyle.HeaderForeColor   = System.Drawing.SystemColors.ControlText;
     this.applianceGridStyle.MappingName       = "appliances";
     this.applianceGridStyle.RowHeadersVisible = false;
     //
     // deviceColumn
     //
     this.deviceColumn.Format      = "";
     this.deviceColumn.FormatInfo  = null;
     this.deviceColumn.HeaderText  = "Device";
     this.deviceColumn.MappingName = "Device";
     this.deviceColumn.ReadOnly    = true;
     this.deviceColumn.Width       = 200;
     //
     // statusColumn
     //
     this.statusColumn.Format      = "";
     this.statusColumn.FormatInfo  = null;
     this.statusColumn.HeaderText  = "Status";
     this.statusColumn.MappingName = "Status";
     this.statusColumn.ReadOnly    = true;
     this.statusColumn.Width       = 75;
     //
     // portColumn
     //
     this.portColumn.Format      = "";
     this.portColumn.FormatInfo  = null;
     this.portColumn.HeaderText  = "Port";
     this.portColumn.MappingName = "Port";
     this.portColumn.Width       = 60;
     //
     // visibleColumn
     //
     this.visibleColumn.AllowNull   = false;
     this.visibleColumn.FalseValue  = false;
     this.visibleColumn.HeaderText  = "Visible";
     this.visibleColumn.MappingName = "Visible";
     this.visibleColumn.NullValue   = ((object)(resources.GetObject("visibleColumn.NullValue")));
     this.visibleColumn.TrueValue   = true;
     this.visibleColumn.Width       = 60;
     //
     // activeColumn
     //
     this.activeColumn.AllowNull   = false;
     this.activeColumn.FalseValue  = false;
     this.activeColumn.HeaderText  = "Active";
     this.activeColumn.MappingName = "Active";
     this.activeColumn.NullValue   = ((object)(resources.GetObject("activeColumn.NullValue")));
     this.activeColumn.TrueValue   = true;
     this.activeColumn.Width       = 60;
     //
     // menuItem3
     //
     this.menuItem3.Index  = 2;
     this.menuItem3.Text   = "2.1 to 2.2 - Single File...";
     this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
     //
     // menuItem5
     //
     this.menuItem5.Index  = 3;
     this.menuItem5.Text   = "2.1 to 2.2 - Multiple Files...";
     this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click);
     //
     // ApplianceGrid
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(392, 271);
     this.Controls.Add(this.applianceList);
     this.Menu     = this.mainMenu1;
     this.Name     = "ApplianceGrid";
     this.Text     = "Debug Server";
     this.Resize  += new System.EventHandler(this.ApplianceGrid_Resize);
     this.Closing += new System.ComponentModel.CancelEventHandler(this.ApplianceGrid_Closing);
     ((System.ComponentModel.ISupportInitialize)(this.applianceList)).EndInit();
     this.ResumeLayout(false);
 }
Example #53
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.StatusBar1 = new System.Windows.Forms.StatusBar();
     this.StatusBarPanel1 = new System.Windows.Forms.StatusBarPanel();
     this.StatusBarPanel2 = new System.Windows.Forms.StatusBarPanel();
     this.StatusBarPanel3 = new System.Windows.Forms.StatusBarPanel();
     this.StatusBarPanel4 = new System.Windows.Forms.StatusBarPanel();
     this.StatusBarPanel5 = new System.Windows.Forms.StatusBarPanel();
     this.StatusBarPanel6 = new System.Windows.Forms.StatusBarPanel();
     this.Timer1 = new System.Timers.Timer();
     this.MainMenu1 = new System.Windows.Forms.MainMenu(this.components);
     this.MenuItem1 = new System.Windows.Forms.MenuItem();
     this.MenuItem5 = new System.Windows.Forms.MenuItem();
     this.MenuItem2 = new System.Windows.Forms.MenuItem();
     this.MenuItem3 = new System.Windows.Forms.MenuItem();
     this.MenuItem4 = new System.Windows.Forms.MenuItem();
     this.MenuItem44 = new System.Windows.Forms.MenuItem();
     this.MenuItem45 = new System.Windows.Forms.MenuItem();
     this.MenuItem46 = new System.Windows.Forms.MenuItem();
     this.mnuAbout = new System.Windows.Forms.MenuItem();
     this.TabControl1 = new System.Windows.Forms.TabControl();
     this.TabPage1 = new System.Windows.Forms.TabPage();
     this.TextBox1 = new System.Windows.Forms.TextBox();
     this.Label2 = new System.Windows.Forms.Label();
     this.DataGrid1 = new System.Windows.Forms.DataGrid();
     this.DataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Button1 = new System.Windows.Forms.Button();
     this.Label1 = new System.Windows.Forms.Label();
     this.ListBox1 = new System.Windows.Forms.ListBox();
     this.TabPage2 = new System.Windows.Forms.TabPage();
     this.NumericUpDown1 = new System.Windows.Forms.NumericUpDown();
     this.Button2 = new System.Windows.Forms.Button();
     this.Label4 = new System.Windows.Forms.Label();
     this.ComboBox1 = new System.Windows.Forms.ComboBox();
     this.Label3 = new System.Windows.Forms.Label();
     this.DataGrid2 = new System.Windows.Forms.DataGrid();
     this.DataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn17 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn18 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn19 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn20 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn21 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn22 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn23 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn24 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn25 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn26 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn27 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.TabPage3 = new System.Windows.Forms.TabPage();
     this.txtFoodCode = new System.Windows.Forms.TextBox();
     this.LinkLabel1 = new System.Windows.Forms.LinkLabel();
     this.DataGrid3 = new System.Windows.Forms.DataGrid();
     this.DataGridTableStyle3 = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridBoolColumn1 = new System.Windows.Forms.DataGridBoolColumn();
     this.DataGridTextBoxColumn28 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn29 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn30 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn31 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn32 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn33 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn34 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn35 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn36 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn37 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn38 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn39 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn40 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn41 = new System.Windows.Forms.DataGridTextBoxColumn();
     ((System.ComponentModel.ISupportInitialize)(this.StatusBarPanel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.StatusBarPanel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.StatusBarPanel3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.StatusBarPanel4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.StatusBarPanel5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.StatusBarPanel6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Timer1)).BeginInit();
     this.TabControl1.SuspendLayout();
     this.TabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DataGrid1)).BeginInit();
     this.TabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.NumericUpDown1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.DataGrid2)).BeginInit();
     this.TabPage3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DataGrid3)).BeginInit();
     this.SuspendLayout();
     //
     // StatusBar1
     //
     this.StatusBar1.Location = new System.Drawing.Point(0, 403);
     this.StatusBar1.Name = "StatusBar1";
     this.StatusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
     this.StatusBarPanel1,
     this.StatusBarPanel2,
     this.StatusBarPanel3,
     this.StatusBarPanel4,
     this.StatusBarPanel5,
     this.StatusBarPanel6});
     this.StatusBar1.ShowPanels = true;
     this.StatusBar1.Size = new System.Drawing.Size(648, 22);
     this.StatusBar1.SizingGrip = false;
     this.StatusBar1.TabIndex = 1;
     this.StatusBar1.Text = "StatusBar1";
     //
     // StatusBarPanel1
     //
     this.StatusBarPanel1.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
     this.StatusBarPanel1.Name = "StatusBarPanel1";
     this.StatusBarPanel1.Width = 10;
     //
     // StatusBarPanel2
     //
     this.StatusBarPanel2.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
     this.StatusBarPanel2.Name = "StatusBarPanel2";
     this.StatusBarPanel2.Text = "StatusBarPanel2";
     this.StatusBarPanel2.Width = 107;
     //
     // StatusBarPanel3
     //
     this.StatusBarPanel3.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
     this.StatusBarPanel3.Name = "StatusBarPanel3";
     this.StatusBarPanel3.Text = "StatusBarPanel3";
     this.StatusBarPanel3.Width = 107;
     //
     // StatusBarPanel4
     //
     this.StatusBarPanel4.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
     this.StatusBarPanel4.Name = "StatusBarPanel4";
     this.StatusBarPanel4.Text = "StatusBarPanel4";
     this.StatusBarPanel4.Width = 107;
     //
     // StatusBarPanel5
     //
     this.StatusBarPanel5.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
     this.StatusBarPanel5.BorderStyle = System.Windows.Forms.StatusBarPanelBorderStyle.None;
     this.StatusBarPanel5.Name = "StatusBarPanel5";
     this.StatusBarPanel5.Width = 210;
     //
     // StatusBarPanel6
     //
     this.StatusBarPanel6.Alignment = System.Windows.Forms.HorizontalAlignment.Right;
     this.StatusBarPanel6.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
     this.StatusBarPanel6.Name = "StatusBarPanel6";
     this.StatusBarPanel6.Text = "StatusBarPanel6";
     this.StatusBarPanel6.Width = 107;
     //
     // Timer1
     //
     this.Timer1.Enabled = true;
     this.Timer1.Interval = 480000;
     this.Timer1.SynchronizingObject = this;
     this.Timer1.Elapsed += new System.Timers.ElapsedEventHandler(this.Timer1_Elapsed);
     //
     // MainMenu1
     //
     this.MainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.MenuItem1,
     this.MenuItem44});
     //
     // MenuItem1
     //
     this.MenuItem1.Index = 0;
     this.MenuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.MenuItem5,
     this.MenuItem2,
     this.MenuItem3,
     this.MenuItem4});
     this.MenuItem1.Text = "系统(&S)";
     //
     // MenuItem5
     //
     this.MenuItem5.Index = 0;
     this.MenuItem5.Text = "更改个人密码 (&2)";
     this.MenuItem5.Click += new System.EventHandler(this.MenuItem5_Click);
     //
     // MenuItem2
     //
     this.MenuItem2.Index = 1;
     this.MenuItem2.Text = "注销/重新登录(&3)";
     this.MenuItem2.Click += new System.EventHandler(this.MenuItem2_Click);
     //
     // MenuItem3
     //
     this.MenuItem3.Index = 2;
     this.MenuItem3.Text = "-";
     //
     // MenuItem4
     //
     this.MenuItem4.Index = 3;
     this.MenuItem4.Text = "退出 (&4)";
     this.MenuItem4.Click += new System.EventHandler(this.MenuItem4_Click);
     //
     // MenuItem44
     //
     this.MenuItem44.Index = 1;
     this.MenuItem44.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.MenuItem45,
     this.MenuItem46,
     this.mnuAbout});
     this.MenuItem44.Text = "帮助(&H)";
     //
     // MenuItem45
     //
     this.MenuItem45.Index = 0;
     this.MenuItem45.Text = "帮助主题";
     this.MenuItem45.Click += new System.EventHandler(this.MenuItem45_Click);
     //
     // MenuItem46
     //
     this.MenuItem46.Index = 1;
     this.MenuItem46.Text = "-";
     //
     // mnuAbout
     //
     this.mnuAbout.Index = 2;
     this.mnuAbout.Text = "关于";
     this.mnuAbout.Click += new System.EventHandler(this.MenuItem48_Click);
     //
     // TabControl1
     //
     this.TabControl1.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.TabControl1.Controls.Add(this.TabPage1);
     this.TabControl1.Controls.Add(this.TabPage2);
     this.TabControl1.Controls.Add(this.TabPage3);
     this.TabControl1.ItemSize = new System.Drawing.Size(72, 20);
     this.TabControl1.Location = new System.Drawing.Point(8, 16);
     this.TabControl1.Name = "TabControl1";
     this.TabControl1.SelectedIndex = 0;
     this.TabControl1.Size = new System.Drawing.Size(632, 384);
     this.TabControl1.TabIndex = 0;
     this.TabControl1.SelectedIndexChanged += new System.EventHandler(this.TabControl1_SelectedIndexChanged);
     //
     // TabPage1
     //
     this.TabPage1.Controls.Add(this.TextBox1);
     this.TabPage1.Controls.Add(this.Label2);
     this.TabPage1.Controls.Add(this.DataGrid1);
     this.TabPage1.Controls.Add(this.Button1);
     this.TabPage1.Controls.Add(this.Label1);
     this.TabPage1.Controls.Add(this.ListBox1);
     this.TabPage1.Location = new System.Drawing.Point(4, 24);
     this.TabPage1.Name = "TabPage1";
     this.TabPage1.Size = new System.Drawing.Size(624, 356);
     this.TabPage1.TabIndex = 0;
     this.TabPage1.Text = " 条码上菜 ";
     //
     // TextBox1
     //
     this.TextBox1.Location = new System.Drawing.Point(80, 16);
     this.TextBox1.Name = "TextBox1";
     this.TextBox1.Size = new System.Drawing.Size(184, 21);
     this.TextBox1.TabIndex = 0;
     this.TextBox1.TextChanged += new System.EventHandler(this.TextBox1_TextChanged);
     this.TextBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TextBox1_KeyDown);
     //
     // Label2
     //
     this.Label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.Label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.Label2.Font = new System.Drawing.Font("黑体", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Label2.ForeColor = System.Drawing.Color.Teal;
     this.Label2.Location = new System.Drawing.Point(8, 48);
     this.Label2.Name = "Label2";
     this.Label2.Size = new System.Drawing.Size(608, 96);
     this.Label2.TabIndex = 5;
     this.Label2.Text = "扫描条码或在编辑框中输入条码数字,回车即可完成出菜";
     this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // DataGrid1
     //
     this.DataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.DataGrid1.CaptionVisible = false;
     this.DataGrid1.DataMember = "";
     this.DataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGrid1.Location = new System.Drawing.Point(8, 152);
     this.DataGrid1.Name = "DataGrid1";
     this.DataGrid1.ReadOnly = true;
     this.DataGrid1.Size = new System.Drawing.Size(608, 192);
     this.DataGrid1.TabIndex = 2;
     this.DataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.DataGridTableStyle1});
     //
     // DataGridTableStyle1
     //
     this.DataGridTableStyle1.DataGrid = this.DataGrid1;
     this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.DataGridTextBoxColumn1,
     this.DataGridTextBoxColumn2,
     this.DataGridTextBoxColumn3,
     this.DataGridTextBoxColumn4,
     this.DataGridTextBoxColumn5,
     this.DataGridTextBoxColumn6,
     this.DataGridTextBoxColumn7,
     this.DataGridTextBoxColumn8,
     this.DataGridTextBoxColumn9,
     this.DataGridTextBoxColumn10,
     this.DataGridTextBoxColumn14,
     this.DataGridTextBoxColumn11,
     this.DataGridTextBoxColumn12,
     this.DataGridTextBoxColumn13});
     this.DataGridTableStyle1.HeaderFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle1.MappingName = "barcodefoods";
     //
     // DataGridTextBoxColumn1
     //
     this.DataGridTextBoxColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn1.Format = "";
     this.DataGridTextBoxColumn1.FormatInfo = null;
     this.DataGridTextBoxColumn1.HeaderText = "单据号";
     this.DataGridTextBoxColumn1.MappingName = "billno";
     this.DataGridTextBoxColumn1.NullText = "";
     this.DataGridTextBoxColumn1.Width = 120;
     //
     // DataGridTextBoxColumn2
     //
     this.DataGridTextBoxColumn2.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn2.Format = "";
     this.DataGridTextBoxColumn2.FormatInfo = null;
     this.DataGridTextBoxColumn2.HeaderText = "单据类别";
     this.DataGridTextBoxColumn2.MappingName = "name";
     this.DataGridTextBoxColumn2.NullText = "";
     this.DataGridTextBoxColumn2.Width = 75;
     //
     // DataGridTextBoxColumn3
     //
     this.DataGridTextBoxColumn3.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn3.Format = "";
     this.DataGridTextBoxColumn3.FormatInfo = null;
     this.DataGridTextBoxColumn3.HeaderText = "桌台号";
     this.DataGridTextBoxColumn3.MappingName = "tableno";
     this.DataGridTextBoxColumn3.NullText = "";
     this.DataGridTextBoxColumn3.Width = 75;
     //
     // DataGridTextBoxColumn4
     //
     this.DataGridTextBoxColumn4.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn4.Format = "";
     this.DataGridTextBoxColumn4.FormatInfo = null;
     this.DataGridTextBoxColumn4.HeaderText = "桌台名称";
     this.DataGridTextBoxColumn4.MappingName = "foodcode";
     this.DataGridTextBoxColumn4.NullText = "";
     this.DataGridTextBoxColumn4.Width = 105;
     //
     // DataGridTextBoxColumn5
     //
     this.DataGridTextBoxColumn5.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn5.Format = "";
     this.DataGridTextBoxColumn5.FormatInfo = null;
     this.DataGridTextBoxColumn5.HeaderText = "菜品名称";
     this.DataGridTextBoxColumn5.MappingName = "foodname";
     this.DataGridTextBoxColumn5.NullText = "";
     this.DataGridTextBoxColumn5.Width = 150;
     //
     // DataGridTextBoxColumn6
     //
     this.DataGridTextBoxColumn6.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn6.Format = "";
     this.DataGridTextBoxColumn6.FormatInfo = null;
     this.DataGridTextBoxColumn6.HeaderText = "类别编码";
     this.DataGridTextBoxColumn6.MappingName = "foodtypecode";
     this.DataGridTextBoxColumn6.NullText = "";
     this.DataGridTextBoxColumn6.Width = 55;
     //
     // DataGridTextBoxColumn7
     //
     this.DataGridTextBoxColumn7.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn7.Format = "";
     this.DataGridTextBoxColumn7.FormatInfo = null;
     this.DataGridTextBoxColumn7.HeaderText = "拼音码";
     this.DataGridTextBoxColumn7.MappingName = "spell";
     this.DataGridTextBoxColumn7.NullText = "";
     this.DataGridTextBoxColumn7.Width = 55;
     //
     // DataGridTextBoxColumn8
     //
     this.DataGridTextBoxColumn8.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn8.Format = "";
     this.DataGridTextBoxColumn8.FormatInfo = null;
     this.DataGridTextBoxColumn8.HeaderText = "单位";
     this.DataGridTextBoxColumn8.MappingName = "unit";
     this.DataGridTextBoxColumn8.NullText = "";
     this.DataGridTextBoxColumn8.Width = 55;
     //
     // DataGridTextBoxColumn9
     //
     this.DataGridTextBoxColumn9.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn9.Format = "";
     this.DataGridTextBoxColumn9.FormatInfo = null;
     this.DataGridTextBoxColumn9.HeaderText = "数量";
     this.DataGridTextBoxColumn9.MappingName = "addquantity";
     this.DataGridTextBoxColumn9.NullText = "";
     this.DataGridTextBoxColumn9.Width = 55;
     //
     // DataGridTextBoxColumn10
     //
     this.DataGridTextBoxColumn10.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn10.Format = "";
     this.DataGridTextBoxColumn10.FormatInfo = null;
     this.DataGridTextBoxColumn10.HeaderText = "单价";
     this.DataGridTextBoxColumn10.MappingName = "price";
     this.DataGridTextBoxColumn10.NullText = "";
     this.DataGridTextBoxColumn10.Width = 75;
     //
     // DataGridTextBoxColumn14
     //
     this.DataGridTextBoxColumn14.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn14.Format = "";
     this.DataGridTextBoxColumn14.FormatInfo = null;
     this.DataGridTextBoxColumn14.HeaderText = "条码";
     this.DataGridTextBoxColumn14.MappingName = "barcode";
     this.DataGridTextBoxColumn14.NullText = "";
     this.DataGridTextBoxColumn14.Width = 75;
     //
     // DataGridTextBoxColumn11
     //
     this.DataGridTextBoxColumn11.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn11.Format = "";
     this.DataGridTextBoxColumn11.FormatInfo = null;
     this.DataGridTextBoxColumn11.HeaderText = "做法";
     this.DataGridTextBoxColumn11.MappingName = "operandi";
     this.DataGridTextBoxColumn11.NullText = "";
     this.DataGridTextBoxColumn11.Width = 140;
     //
     // DataGridTextBoxColumn12
     //
     this.DataGridTextBoxColumn12.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn12.Format = "";
     this.DataGridTextBoxColumn12.FormatInfo = null;
     this.DataGridTextBoxColumn12.HeaderText = "口味";
     this.DataGridTextBoxColumn12.MappingName = "taste";
     this.DataGridTextBoxColumn12.NullText = "";
     this.DataGridTextBoxColumn12.Width = 140;
     //
     // DataGridTextBoxColumn13
     //
     this.DataGridTextBoxColumn13.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn13.Format = "";
     this.DataGridTextBoxColumn13.FormatInfo = null;
     this.DataGridTextBoxColumn13.HeaderText = "点菜时间";
     this.DataGridTextBoxColumn13.MappingName = "begintime";
     this.DataGridTextBoxColumn13.NullText = "";
     this.DataGridTextBoxColumn13.Width = 120;
     //
     // Button1
     //
     this.Button1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Button1.Image = ((System.Drawing.Image)(resources.GetObject("Button1.Image")));
     this.Button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.Button1.Location = new System.Drawing.Point(270, 3);
     this.Button1.Name = "Button1";
     this.Button1.Size = new System.Drawing.Size(88, 38);
     this.Button1.TabIndex = 1;
     this.Button1.Text = "上菜(&S)";
     this.Button1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.Button1.Click += new System.EventHandler(this.Button1_Click);
     //
     // Label1
     //
     this.Label1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Label1.Location = new System.Drawing.Point(16, 16);
     this.Label1.Name = "Label1";
     this.Label1.Size = new System.Drawing.Size(72, 23);
     this.Label1.TabIndex = 4;
     this.Label1.Text = "菜品条码:";
     this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ListBox1
     //
     this.ListBox1.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.ListBox1.ItemHeight = 12;
     this.ListBox1.Location = new System.Drawing.Point(8, 352);
     this.ListBox1.Name = "ListBox1";
     this.ListBox1.Size = new System.Drawing.Size(608, 4);
     this.ListBox1.TabIndex = 3;
     //
     // TabPage2
     //
     this.TabPage2.Controls.Add(this.NumericUpDown1);
     this.TabPage2.Controls.Add(this.Button2);
     this.TabPage2.Controls.Add(this.Label4);
     this.TabPage2.Controls.Add(this.ComboBox1);
     this.TabPage2.Controls.Add(this.Label3);
     this.TabPage2.Controls.Add(this.DataGrid2);
     this.TabPage2.Location = new System.Drawing.Point(4, 24);
     this.TabPage2.Name = "TabPage2";
     this.TabPage2.Size = new System.Drawing.Size(624, 356);
     this.TabPage2.TabIndex = 1;
     this.TabPage2.Text = " 超时未上菜查询 ";
     //
     // NumericUpDown1
     //
     this.NumericUpDown1.Location = new System.Drawing.Point(48, 17);
     this.NumericUpDown1.Maximum = new decimal(new int[] {
     10000,
     0,
     0,
     0});
     this.NumericUpDown1.Name = "NumericUpDown1";
     this.NumericUpDown1.Size = new System.Drawing.Size(56, 21);
     this.NumericUpDown1.TabIndex = 0;
     this.NumericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.NumericUpDown1.Value = new decimal(new int[] {
     10,
     0,
     0,
     0});
     //
     // Button2
     //
     this.Button2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Button2.Location = new System.Drawing.Point(296, 16);
     this.Button2.Name = "Button2";
     this.Button2.Size = new System.Drawing.Size(75, 23);
     this.Button2.TabIndex = 2;
     this.Button2.Text = "查询(&F)";
     this.Button2.Click += new System.EventHandler(this.Button2_Click);
     //
     // Label4
     //
     this.Label4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Label4.Location = new System.Drawing.Point(184, 16);
     this.Label4.Name = "Label4";
     this.Label4.Size = new System.Drawing.Size(96, 23);
     this.Label4.TabIndex = 5;
     this.Label4.Text = "还未上菜的记录";
     this.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ComboBox1
     //
     this.ComboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ComboBox1.Items.AddRange(new object[] {
     "分钟",
     "小时"});
     this.ComboBox1.Location = new System.Drawing.Point(112, 17);
     this.ComboBox1.Name = "ComboBox1";
     this.ComboBox1.Size = new System.Drawing.Size(64, 20);
     this.ComboBox1.TabIndex = 1;
     //
     // Label3
     //
     this.Label3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Label3.Location = new System.Drawing.Point(16, 16);
     this.Label3.Name = "Label3";
     this.Label3.Size = new System.Drawing.Size(40, 23);
     this.Label3.TabIndex = 4;
     this.Label3.Text = "超过";
     this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // DataGrid2
     //
     this.DataGrid2.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.DataGrid2.DataMember = "";
     this.DataGrid2.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGrid2.Location = new System.Drawing.Point(8, 48);
     this.DataGrid2.Name = "DataGrid2";
     this.DataGrid2.ReadOnly = true;
     this.DataGrid2.Size = new System.Drawing.Size(608, 301);
     this.DataGrid2.TabIndex = 3;
     this.DataGrid2.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.DataGridTableStyle2});
     //
     // DataGridTableStyle2
     //
     this.DataGridTableStyle2.DataGrid = this.DataGrid2;
     this.DataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.DataGridTextBoxColumn15,
     this.DataGridTextBoxColumn16,
     this.DataGridTextBoxColumn17,
     this.DataGridTextBoxColumn18,
     this.DataGridTextBoxColumn19,
     this.DataGridTextBoxColumn20,
     this.DataGridTextBoxColumn21,
     this.DataGridTextBoxColumn22,
     this.DataGridTextBoxColumn23,
     this.DataGridTextBoxColumn24,
     this.DataGridTextBoxColumn25,
     this.DataGridTextBoxColumn26,
     this.DataGridTextBoxColumn27});
     this.DataGridTableStyle2.HeaderFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.DataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle2.MappingName = "overtimefoods";
     //
     // DataGridTextBoxColumn15
     //
     this.DataGridTextBoxColumn15.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn15.Format = "";
     this.DataGridTextBoxColumn15.FormatInfo = null;
     this.DataGridTextBoxColumn15.HeaderText = "单据号";
     this.DataGridTextBoxColumn15.MappingName = "billno";
     this.DataGridTextBoxColumn15.NullText = "";
     this.DataGridTextBoxColumn15.Width = 120;
     //
     // DataGridTextBoxColumn16
     //
     this.DataGridTextBoxColumn16.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn16.Format = "";
     this.DataGridTextBoxColumn16.FormatInfo = null;
     this.DataGridTextBoxColumn16.HeaderText = "单据类别";
     this.DataGridTextBoxColumn16.MappingName = "name";
     this.DataGridTextBoxColumn16.NullText = "";
     this.DataGridTextBoxColumn16.Width = 75;
     //
     // DataGridTextBoxColumn17
     //
     this.DataGridTextBoxColumn17.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn17.Format = "";
     this.DataGridTextBoxColumn17.FormatInfo = null;
     this.DataGridTextBoxColumn17.HeaderText = "桌台号";
     this.DataGridTextBoxColumn17.MappingName = "tableno";
     this.DataGridTextBoxColumn17.NullText = "";
     this.DataGridTextBoxColumn17.Width = 75;
     //
     // DataGridTextBoxColumn18
     //
     this.DataGridTextBoxColumn18.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn18.Format = "";
     this.DataGridTextBoxColumn18.FormatInfo = null;
     this.DataGridTextBoxColumn18.HeaderText = "桌台名称";
     this.DataGridTextBoxColumn18.MappingName = "foodcode";
     this.DataGridTextBoxColumn18.NullText = "";
     this.DataGridTextBoxColumn18.Width = 105;
     //
     // DataGridTextBoxColumn19
     //
     this.DataGridTextBoxColumn19.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn19.Format = "";
     this.DataGridTextBoxColumn19.FormatInfo = null;
     this.DataGridTextBoxColumn19.HeaderText = "菜品名称";
     this.DataGridTextBoxColumn19.MappingName = "foodname";
     this.DataGridTextBoxColumn19.NullText = "";
     this.DataGridTextBoxColumn19.Width = 150;
     //
     // DataGridTextBoxColumn20
     //
     this.DataGridTextBoxColumn20.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn20.Format = "";
     this.DataGridTextBoxColumn20.FormatInfo = null;
     this.DataGridTextBoxColumn20.HeaderText = "类别编码";
     this.DataGridTextBoxColumn20.MappingName = "foodtypecode";
     this.DataGridTextBoxColumn20.NullText = "";
     this.DataGridTextBoxColumn20.Width = 55;
     //
     // DataGridTextBoxColumn21
     //
     this.DataGridTextBoxColumn21.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn21.Format = "";
     this.DataGridTextBoxColumn21.FormatInfo = null;
     this.DataGridTextBoxColumn21.HeaderText = "拼音码";
     this.DataGridTextBoxColumn21.MappingName = "spell";
     this.DataGridTextBoxColumn21.NullText = "";
     this.DataGridTextBoxColumn21.Width = 55;
     //
     // DataGridTextBoxColumn22
     //
     this.DataGridTextBoxColumn22.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn22.Format = "";
     this.DataGridTextBoxColumn22.FormatInfo = null;
     this.DataGridTextBoxColumn22.HeaderText = "单位";
     this.DataGridTextBoxColumn22.MappingName = "unit";
     this.DataGridTextBoxColumn22.NullText = "";
     this.DataGridTextBoxColumn22.Width = 55;
     //
     // DataGridTextBoxColumn23
     //
     this.DataGridTextBoxColumn23.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn23.Format = "";
     this.DataGridTextBoxColumn23.FormatInfo = null;
     this.DataGridTextBoxColumn23.HeaderText = "数量";
     this.DataGridTextBoxColumn23.MappingName = "addquantity";
     this.DataGridTextBoxColumn23.NullText = "";
     this.DataGridTextBoxColumn23.Width = 55;
     //
     // DataGridTextBoxColumn24
     //
     this.DataGridTextBoxColumn24.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn24.Format = "";
     this.DataGridTextBoxColumn24.FormatInfo = null;
     this.DataGridTextBoxColumn24.HeaderText = "单价";
     this.DataGridTextBoxColumn24.MappingName = "price";
     this.DataGridTextBoxColumn24.NullText = "";
     this.DataGridTextBoxColumn24.Width = 75;
     //
     // DataGridTextBoxColumn25
     //
     this.DataGridTextBoxColumn25.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn25.Format = "";
     this.DataGridTextBoxColumn25.FormatInfo = null;
     this.DataGridTextBoxColumn25.HeaderText = "做法";
     this.DataGridTextBoxColumn25.MappingName = "operandi";
     this.DataGridTextBoxColumn25.NullText = "";
     this.DataGridTextBoxColumn25.Width = 140;
     //
     // DataGridTextBoxColumn26
     //
     this.DataGridTextBoxColumn26.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn26.Format = "";
     this.DataGridTextBoxColumn26.FormatInfo = null;
     this.DataGridTextBoxColumn26.HeaderText = "口味";
     this.DataGridTextBoxColumn26.MappingName = "taste";
     this.DataGridTextBoxColumn26.NullText = "";
     this.DataGridTextBoxColumn26.Width = 140;
     //
     // DataGridTextBoxColumn27
     //
     this.DataGridTextBoxColumn27.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn27.Format = "";
     this.DataGridTextBoxColumn27.FormatInfo = null;
     this.DataGridTextBoxColumn27.HeaderText = "点菜时间";
     this.DataGridTextBoxColumn27.MappingName = "begintime";
     this.DataGridTextBoxColumn27.NullText = "";
     this.DataGridTextBoxColumn27.Width = 120;
     //
     // TabPage3
     //
     this.TabPage3.Controls.Add(this.txtFoodCode);
     this.TabPage3.Controls.Add(this.LinkLabel1);
     this.TabPage3.Controls.Add(this.DataGrid3);
     this.TabPage3.Location = new System.Drawing.Point(4, 24);
     this.TabPage3.Name = "TabPage3";
     this.TabPage3.Size = new System.Drawing.Size(624, 356);
     this.TabPage3.TabIndex = 2;
     this.TabPage3.Text = " 菜品查询 ";
     //
     // txtFoodCode
     //
     this.txtFoodCode.Location = new System.Drawing.Point(80, 16);
     this.txtFoodCode.Name = "txtFoodCode";
     this.txtFoodCode.Size = new System.Drawing.Size(136, 21);
     this.txtFoodCode.TabIndex = 0;
     this.txtFoodCode.TextChanged += new System.EventHandler(this.txtFoodCode_TextChanged);
     //
     // LinkLabel1
     //
     this.LinkLabel1.Location = new System.Drawing.Point(16, 16);
     this.LinkLabel1.Name = "LinkLabel1";
     this.LinkLabel1.Size = new System.Drawing.Size(72, 23);
     this.LinkLabel1.TabIndex = 2;
     this.LinkLabel1.TabStop = true;
     this.LinkLabel1.Text = "菜品过滤:";
     this.LinkLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.LinkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LinkLabel1_LinkClicked);
     //
     // DataGrid3
     //
     this.DataGrid3.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.DataGrid3.DataMember = "";
     this.DataGrid3.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGrid3.Location = new System.Drawing.Point(8, 48);
     this.DataGrid3.Name = "DataGrid3";
     this.DataGrid3.ReadOnly = true;
     this.DataGrid3.Size = new System.Drawing.Size(608, 301);
     this.DataGrid3.TabIndex = 1;
     this.DataGrid3.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.DataGridTableStyle3});
     //
     // DataGridTableStyle3
     //
     this.DataGridTableStyle3.DataGrid = this.DataGrid3;
     this.DataGridTableStyle3.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.DataGridBoolColumn1,
     this.DataGridTextBoxColumn28,
     this.DataGridTextBoxColumn29,
     this.DataGridTextBoxColumn30,
     this.DataGridTextBoxColumn31,
     this.DataGridTextBoxColumn32,
     this.DataGridTextBoxColumn33,
     this.DataGridTextBoxColumn34,
     this.DataGridTextBoxColumn35,
     this.DataGridTextBoxColumn36,
     this.DataGridTextBoxColumn37,
     this.DataGridTextBoxColumn38,
     this.DataGridTextBoxColumn39,
     this.DataGridTextBoxColumn40,
     this.DataGridTextBoxColumn41});
     this.DataGridTableStyle3.HeaderFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.DataGridTableStyle3.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle3.MappingName = "saledfoods";
     //
     // DataGridBoolColumn1
     //
     this.DataGridBoolColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn1.FalseValue = "0";
     this.DataGridBoolColumn1.HeaderText = "已上菜";
     this.DataGridBoolColumn1.MappingName = "transfered";
     this.DataGridBoolColumn1.NullText = "";
     this.DataGridBoolColumn1.NullValue = "1";
     this.DataGridBoolColumn1.TrueValue = "2";
     this.DataGridBoolColumn1.Width = 55;
     //
     // DataGridTextBoxColumn28
     //
     this.DataGridTextBoxColumn28.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn28.Format = "";
     this.DataGridTextBoxColumn28.FormatInfo = null;
     this.DataGridTextBoxColumn28.HeaderText = "单据号";
     this.DataGridTextBoxColumn28.MappingName = "billno";
     this.DataGridTextBoxColumn28.NullText = "";
     this.DataGridTextBoxColumn28.Width = 120;
     //
     // DataGridTextBoxColumn29
     //
     this.DataGridTextBoxColumn29.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn29.Format = "";
     this.DataGridTextBoxColumn29.FormatInfo = null;
     this.DataGridTextBoxColumn29.HeaderText = "单据类别";
     this.DataGridTextBoxColumn29.MappingName = "name";
     this.DataGridTextBoxColumn29.NullText = "";
     this.DataGridTextBoxColumn29.Width = 75;
     //
     // DataGridTextBoxColumn30
     //
     this.DataGridTextBoxColumn30.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn30.Format = "";
     this.DataGridTextBoxColumn30.FormatInfo = null;
     this.DataGridTextBoxColumn30.HeaderText = "桌台号";
     this.DataGridTextBoxColumn30.MappingName = "tableno";
     this.DataGridTextBoxColumn30.NullText = "";
     this.DataGridTextBoxColumn30.Width = 75;
     //
     // DataGridTextBoxColumn31
     //
     this.DataGridTextBoxColumn31.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn31.Format = "";
     this.DataGridTextBoxColumn31.FormatInfo = null;
     this.DataGridTextBoxColumn31.HeaderText = "桌台名称";
     this.DataGridTextBoxColumn31.MappingName = "foodcode";
     this.DataGridTextBoxColumn31.NullText = "";
     this.DataGridTextBoxColumn31.Width = 105;
     //
     // DataGridTextBoxColumn32
     //
     this.DataGridTextBoxColumn32.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn32.Format = "";
     this.DataGridTextBoxColumn32.FormatInfo = null;
     this.DataGridTextBoxColumn32.HeaderText = "菜品名称";
     this.DataGridTextBoxColumn32.MappingName = "foodname";
     this.DataGridTextBoxColumn32.NullText = "";
     this.DataGridTextBoxColumn32.Width = 150;
     //
     // DataGridTextBoxColumn33
     //
     this.DataGridTextBoxColumn33.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn33.Format = "";
     this.DataGridTextBoxColumn33.FormatInfo = null;
     this.DataGridTextBoxColumn33.HeaderText = "类别编码";
     this.DataGridTextBoxColumn33.MappingName = "foodtypecode";
     this.DataGridTextBoxColumn33.NullText = "";
     this.DataGridTextBoxColumn33.Width = 55;
     //
     // DataGridTextBoxColumn34
     //
     this.DataGridTextBoxColumn34.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn34.Format = "";
     this.DataGridTextBoxColumn34.FormatInfo = null;
     this.DataGridTextBoxColumn34.HeaderText = "拼音码";
     this.DataGridTextBoxColumn34.MappingName = "spell";
     this.DataGridTextBoxColumn34.NullText = "";
     this.DataGridTextBoxColumn34.Width = 55;
     //
     // DataGridTextBoxColumn35
     //
     this.DataGridTextBoxColumn35.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn35.Format = "";
     this.DataGridTextBoxColumn35.FormatInfo = null;
     this.DataGridTextBoxColumn35.HeaderText = "单位";
     this.DataGridTextBoxColumn35.MappingName = "unit";
     this.DataGridTextBoxColumn35.NullText = "";
     this.DataGridTextBoxColumn35.Width = 55;
     //
     // DataGridTextBoxColumn36
     //
     this.DataGridTextBoxColumn36.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn36.Format = "";
     this.DataGridTextBoxColumn36.FormatInfo = null;
     this.DataGridTextBoxColumn36.HeaderText = "数量";
     this.DataGridTextBoxColumn36.MappingName = "addquantity";
     this.DataGridTextBoxColumn36.NullText = "";
     this.DataGridTextBoxColumn36.Width = 55;
     //
     // DataGridTextBoxColumn37
     //
     this.DataGridTextBoxColumn37.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn37.Format = "";
     this.DataGridTextBoxColumn37.FormatInfo = null;
     this.DataGridTextBoxColumn37.HeaderText = "单价";
     this.DataGridTextBoxColumn37.MappingName = "price";
     this.DataGridTextBoxColumn37.NullText = "";
     this.DataGridTextBoxColumn37.Width = 75;
     //
     // DataGridTextBoxColumn38
     //
     this.DataGridTextBoxColumn38.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn38.Format = "";
     this.DataGridTextBoxColumn38.FormatInfo = null;
     this.DataGridTextBoxColumn38.HeaderText = "条码";
     this.DataGridTextBoxColumn38.MappingName = "barcode";
     this.DataGridTextBoxColumn38.NullText = "";
     this.DataGridTextBoxColumn38.Width = 75;
     //
     // DataGridTextBoxColumn39
     //
     this.DataGridTextBoxColumn39.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn39.Format = "";
     this.DataGridTextBoxColumn39.FormatInfo = null;
     this.DataGridTextBoxColumn39.HeaderText = "做法";
     this.DataGridTextBoxColumn39.MappingName = "operandi";
     this.DataGridTextBoxColumn39.NullText = "";
     this.DataGridTextBoxColumn39.Width = 140;
     //
     // DataGridTextBoxColumn40
     //
     this.DataGridTextBoxColumn40.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn40.Format = "";
     this.DataGridTextBoxColumn40.FormatInfo = null;
     this.DataGridTextBoxColumn40.HeaderText = "口味";
     this.DataGridTextBoxColumn40.MappingName = "taste";
     this.DataGridTextBoxColumn40.NullText = "";
     this.DataGridTextBoxColumn40.Width = 140;
     //
     // DataGridTextBoxColumn41
     //
     this.DataGridTextBoxColumn41.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn41.Format = "";
     this.DataGridTextBoxColumn41.FormatInfo = null;
     this.DataGridTextBoxColumn41.HeaderText = "点菜时间";
     this.DataGridTextBoxColumn41.MappingName = "begintime";
     this.DataGridTextBoxColumn41.NullText = "";
     this.DataGridTextBoxColumn41.Width = 120;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize = new System.Drawing.Size(648, 425);
     this.Controls.Add(this.TabControl1);
     this.Controls.Add(this.StatusBar1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview = true;
     this.Menu = this.MainMenu1;
     this.Name = "Form1";
     this.Text = " - 后厨上菜";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.StatusBarPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.StatusBarPanel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.StatusBarPanel3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.StatusBarPanel4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.StatusBarPanel5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.StatusBarPanel6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Timer1)).EndInit();
     this.TabControl1.ResumeLayout(false);
     this.TabPage1.ResumeLayout(false);
     this.TabPage1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DataGrid1)).EndInit();
     this.TabPage2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.NumericUpDown1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.DataGrid2)).EndInit();
     this.TabPage3.ResumeLayout(false);
     this.TabPage3.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DataGrid3)).EndInit();
     this.ResumeLayout(false);
 }
Example #54
0
 [System.Diagnostics.DebuggerStepThrough()] private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmTableList));
     this.ToolBar1                = new System.Windows.Forms.ToolBar();
     this.ToolBarButton1          = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton2          = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton3          = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton9          = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton5          = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton4          = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton6          = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton11         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton7          = new System.Windows.Forms.ToolBarButton();
     this.ImageList1              = new System.Windows.Forms.ImageList(this.components);
     this.dgTableList             = new System.Windows.Forms.DataGrid();
     this.DataGridTableStyle1     = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn1  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn2  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn3  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn4  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn5  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn6  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn1     = new System.Windows.Forms.DataGridBoolColumn();
     this.DataGridTextBoxColumn7  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn8  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn4     = new System.Windows.Forms.DataGridBoolColumn();
     this.DataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn5     = new System.Windows.Forms.DataGridBoolColumn();
     ((System.ComponentModel.ISupportInitialize)(this.dgTableList)).BeginInit();
     this.SuspendLayout();
     //
     // ToolBar1
     //
     this.ToolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.ToolBarButton1,
         this.ToolBarButton2,
         this.ToolBarButton3,
         this.ToolBarButton9,
         this.ToolBarButton5,
         this.ToolBarButton4,
         this.ToolBarButton6,
         this.ToolBarButton11,
         this.ToolBarButton7
     });
     this.ToolBar1.ButtonSize     = new System.Drawing.Size(50, 48);
     this.ToolBar1.DropDownArrows = true;
     this.ToolBar1.ImageList      = this.ImageList1;
     this.ToolBar1.Location       = new System.Drawing.Point(0, 0);
     this.ToolBar1.Name           = "ToolBar1";
     this.ToolBar1.ShowToolTips   = true;
     this.ToolBar1.Size           = new System.Drawing.Size(604, 54);
     this.ToolBar1.TabIndex       = 3;
     this.ToolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.ToolBar1_ButtonClick);
     //
     // ToolBarButton1
     //
     this.ToolBarButton1.ImageIndex = 0;
     this.ToolBarButton1.Name       = "ToolBarButton1";
     this.ToolBarButton1.Text       = "添加";
     //
     // ToolBarButton2
     //
     this.ToolBarButton2.ImageIndex = 1;
     this.ToolBarButton2.Name       = "ToolBarButton2";
     this.ToolBarButton2.Text       = "修改";
     //
     // ToolBarButton3
     //
     this.ToolBarButton3.ImageIndex = 2;
     this.ToolBarButton3.Name       = "ToolBarButton3";
     this.ToolBarButton3.Text       = "删除";
     //
     // ToolBarButton9
     //
     this.ToolBarButton9.Name  = "ToolBarButton9";
     this.ToolBarButton9.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ToolBarButton5
     //
     this.ToolBarButton5.ImageIndex = 3;
     this.ToolBarButton5.Name       = "ToolBarButton5";
     this.ToolBarButton5.Text       = "查询";
     //
     // ToolBarButton4
     //
     this.ToolBarButton4.Name  = "ToolBarButton4";
     this.ToolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ToolBarButton6
     //
     this.ToolBarButton6.ImageIndex = 4;
     this.ToolBarButton6.Name       = "ToolBarButton6";
     this.ToolBarButton6.Text       = "打印";
     //
     // ToolBarButton11
     //
     this.ToolBarButton11.Name  = "ToolBarButton11";
     this.ToolBarButton11.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ToolBarButton7
     //
     this.ToolBarButton7.ImageIndex = 5;
     this.ToolBarButton7.Name       = "ToolBarButton7";
     this.ToolBarButton7.Text       = "关闭";
     //
     // ImageList1
     //
     this.ImageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageList1.ImageStream")));
     this.ImageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.ImageList1.Images.SetKeyName(0, "");
     this.ImageList1.Images.SetKeyName(1, "");
     this.ImageList1.Images.SetKeyName(2, "");
     this.ImageList1.Images.SetKeyName(3, "");
     this.ImageList1.Images.SetKeyName(4, "");
     this.ImageList1.Images.SetKeyName(5, "");
     //
     // dgTableList
     //
     this.dgTableList.AlternatingBackColor = System.Drawing.Color.GhostWhite;
     this.dgTableList.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.dgTableList.BackColor           = System.Drawing.Color.GhostWhite;
     this.dgTableList.BackgroundColor     = System.Drawing.Color.Lavender;
     this.dgTableList.CaptionBackColor    = System.Drawing.Color.Navy;
     this.dgTableList.CaptionForeColor    = System.Drawing.Color.White;
     this.dgTableList.DataMember          = "";
     this.dgTableList.FlatMode            = true;
     this.dgTableList.Font                = new System.Drawing.Font("Tahoma", 8F);
     this.dgTableList.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dgTableList.GridLineColor       = System.Drawing.Color.RoyalBlue;
     this.dgTableList.HeaderBackColor     = System.Drawing.Color.MidnightBlue;
     this.dgTableList.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dgTableList.HeaderForeColor     = System.Drawing.Color.Lavender;
     this.dgTableList.LinkColor           = System.Drawing.Color.Teal;
     this.dgTableList.Location            = new System.Drawing.Point(0, 56);
     this.dgTableList.Name                = "dgTableList";
     this.dgTableList.ParentRowsBackColor = System.Drawing.Color.Lavender;
     this.dgTableList.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dgTableList.ReadOnly            = true;
     this.dgTableList.SelectionBackColor  = System.Drawing.Color.Teal;
     this.dgTableList.SelectionForeColor  = System.Drawing.Color.PaleGreen;
     this.dgTableList.Size                = new System.Drawing.Size(604, 410);
     this.dgTableList.TabIndex            = 4;
     this.dgTableList.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.DataGridTableStyle1
     });
     this.dgTableList.DoubleClick += new System.EventHandler(this.dgTableList_DoubleClick);
     //
     // DataGridTableStyle1
     //
     this.DataGridTableStyle1.DataGrid = this.dgTableList;
     this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.DataGridTextBoxColumn1,
         this.DataGridTextBoxColumn2,
         this.DataGridTextBoxColumn3,
         this.DataGridTextBoxColumn4,
         this.DataGridTextBoxColumn5,
         this.DataGridTextBoxColumn6,
         this.DataGridBoolColumn1,
         this.DataGridTextBoxColumn7,
         this.DataGridTextBoxColumn8,
         this.DataGridBoolColumn4,
         this.DataGridTextBoxColumn10,
         this.DataGridTextBoxColumn11,
         this.DataGridTextBoxColumn12,
         this.DataGridTextBoxColumn13,
         this.DataGridTextBoxColumn14,
         this.DataGridBoolColumn5
     });
     this.DataGridTableStyle1.HeaderFont      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle1.MappingName     = "tablelist";
     //
     // DataGridTextBoxColumn1
     //
     this.DataGridTextBoxColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn1.Format      = "";
     this.DataGridTextBoxColumn1.FormatInfo  = null;
     this.DataGridTextBoxColumn1.HeaderText  = "桌台类别/位置";
     this.DataGridTextBoxColumn1.MappingName = "name";
     this.DataGridTextBoxColumn1.Width       = 90;
     //
     // DataGridTextBoxColumn2
     //
     this.DataGridTextBoxColumn2.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn2.Format      = "";
     this.DataGridTextBoxColumn2.FormatInfo  = null;
     this.DataGridTextBoxColumn2.HeaderText  = "桌台号";
     this.DataGridTextBoxColumn2.MappingName = "tableno";
     this.DataGridTextBoxColumn2.Width       = 90;
     //
     // DataGridTextBoxColumn3
     //
     this.DataGridTextBoxColumn3.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn3.Format      = "";
     this.DataGridTextBoxColumn3.FormatInfo  = null;
     this.DataGridTextBoxColumn3.HeaderText  = "桌台名称";
     this.DataGridTextBoxColumn3.MappingName = "tablename";
     this.DataGridTextBoxColumn3.Width       = 110;
     //
     // DataGridTextBoxColumn4
     //
     this.DataGridTextBoxColumn4.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn4.Format      = "";
     this.DataGridTextBoxColumn4.FormatInfo  = null;
     this.DataGridTextBoxColumn4.HeaderText  = "最大载客数";
     this.DataGridTextBoxColumn4.MappingName = "peoplenumber";
     this.DataGridTextBoxColumn4.NullText    = "0";
     this.DataGridTextBoxColumn4.Width       = 90;
     //
     // DataGridTextBoxColumn5
     //
     this.DataGridTextBoxColumn5.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn5.Format      = "";
     this.DataGridTextBoxColumn5.FormatInfo  = null;
     this.DataGridTextBoxColumn5.HeaderText  = "最低消费额";
     this.DataGridTextBoxColumn5.MappingName = "lower_pay";
     this.DataGridTextBoxColumn5.Width       = 90;
     //
     // DataGridTextBoxColumn6
     //
     this.DataGridTextBoxColumn6.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn6.Format      = "";
     this.DataGridTextBoxColumn6.FormatInfo  = null;
     this.DataGridTextBoxColumn6.HeaderText  = "附加费";
     this.DataGridTextBoxColumn6.MappingName = "addprice";
     this.DataGridTextBoxColumn6.Width       = 90;
     //
     // DataGridBoolColumn1
     //
     this.DataGridBoolColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn1.FalseValue  = "0";
     this.DataGridBoolColumn1.HeaderText  = "收取服务费";
     this.DataGridBoolColumn1.MappingName = "server";
     this.DataGridBoolColumn1.NullText    = "0";
     this.DataGridBoolColumn1.TrueValue   = "1";
     this.DataGridBoolColumn1.Width       = 85;
     //
     // DataGridTextBoxColumn7
     //
     this.DataGridTextBoxColumn7.Format      = "";
     this.DataGridTextBoxColumn7.FormatInfo  = null;
     this.DataGridTextBoxColumn7.MappingName = "serverstate";
     this.DataGridTextBoxColumn7.Width       = 0;
     //
     // DataGridTextBoxColumn8
     //
     this.DataGridTextBoxColumn8.Format      = "";
     this.DataGridTextBoxColumn8.FormatInfo  = null;
     this.DataGridTextBoxColumn8.MappingName = "server_pay";
     this.DataGridTextBoxColumn8.Width       = 0;
     //
     // DataGridBoolColumn4
     //
     this.DataGridBoolColumn4.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn4.FalseValue  = "0";
     this.DataGridBoolColumn4.HeaderText  = "收取超时费";
     this.DataGridBoolColumn4.MappingName = "overtime";
     this.DataGridBoolColumn4.NullText    = "0";
     this.DataGridBoolColumn4.TrueValue   = "1";
     this.DataGridBoolColumn4.Width       = 85;
     //
     // DataGridTextBoxColumn10
     //
     this.DataGridTextBoxColumn10.Format      = "";
     this.DataGridTextBoxColumn10.FormatInfo  = null;
     this.DataGridTextBoxColumn10.MappingName = "overtimenum";
     this.DataGridTextBoxColumn10.Width       = 0;
     //
     // DataGridTextBoxColumn11
     //
     this.DataGridTextBoxColumn11.Format      = "";
     this.DataGridTextBoxColumn11.FormatInfo  = null;
     this.DataGridTextBoxColumn11.MappingName = "overtimetype";
     this.DataGridTextBoxColumn11.Width       = 0;
     //
     // DataGridTextBoxColumn12
     //
     this.DataGridTextBoxColumn12.Format      = "";
     this.DataGridTextBoxColumn12.FormatInfo  = null;
     this.DataGridTextBoxColumn12.MappingName = "overtimestate";
     this.DataGridTextBoxColumn12.Width       = 0;
     //
     // DataGridTextBoxColumn13
     //
     this.DataGridTextBoxColumn13.Format      = "";
     this.DataGridTextBoxColumn13.FormatInfo  = null;
     this.DataGridTextBoxColumn13.MappingName = "pertype";
     this.DataGridTextBoxColumn13.Width       = 0;
     //
     // DataGridTextBoxColumn14
     //
     this.DataGridTextBoxColumn14.Format      = "";
     this.DataGridTextBoxColumn14.FormatInfo  = null;
     this.DataGridTextBoxColumn14.MappingName = "pertypeprice";
     this.DataGridTextBoxColumn14.Width       = 0;
     //
     // DataGridBoolColumn5
     //
     this.DataGridBoolColumn5.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn5.FalseValue  = "0";
     this.DataGridBoolColumn5.HeaderText  = "使用状态";
     this.DataGridBoolColumn5.MappingName = "status";
     this.DataGridBoolColumn5.TrueValue   = "1";
     this.DataGridBoolColumn5.Width       = 85;
     //
     // frmTableList
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(604, 466);
     this.Controls.Add(this.dgTableList);
     this.Controls.Add(this.ToolBar1);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name        = "frmTableList";
     this.Text        = "桌台管理";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.frmTableList_Load);
     this.Closed     += new System.EventHandler(this.frmTableList_Closed);
     ((System.ComponentModel.ISupportInitialize)(this.dgTableList)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #55
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(Form1));
            this.btnComboBoxFill     = new System.Windows.Forms.Button();
            this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle();
            this.DataGrid1           = new System.Windows.Forms.DataGrid();
            this.tcbEmpID            = new System.Windows.Forms.DataGridTextBoxColumn();
            this.tbcFirstName        = new System.Windows.Forms.DataGridTextBoxColumn();
            this.tcbLastName         = new System.Windows.Forms.DataGridTextBoxColumn();
            this.tcbTitle            = new System.Windows.Forms.DataGridTextBoxColumn();
            this.tcbHomePhone        = new System.Windows.Forms.DataGridTextBoxColumn();
            this.btnSaveTransaction  = new System.Windows.Forms.Button();
            this.btnEmployeesSave    = new System.Windows.Forms.Button();
            this.btnEmployeesEditRow = new System.Windows.Forms.Button();
            this.panel1              = new System.Windows.Forms.Panel();
            this.btnAbout            = new System.Windows.Forms.Button();
            this.DataGrid2           = new System.Windows.Forms.DataGrid();
            this.DataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle();
            this.tbcProductName      = new System.Windows.Forms.DataGridTextBoxColumn();
            this.tcbUnitPrice        = new System.Windows.Forms.DataGridTextBoxColumn();
            this.tcbUnitsInStock     = new System.Windows.Forms.DataGridTextBoxColumn();
            this.tcbDiscontinued     = new System.Windows.Forms.DataGridBoolColumn();
            this.GroupBox1           = new System.Windows.Forms.GroupBox();
            this.Label4              = new System.Windows.Forms.Label();
            this.btnEmployeeSearch   = new System.Windows.Forms.Button();
            this.Label1              = new System.Windows.Forms.Label();
            this.txtLastName         = new System.Windows.Forms.TextBox();
            this.Label2              = new System.Windows.Forms.Label();
            this.txtTitle            = new System.Windows.Forms.TextBox();
            this.grpDiscontinued     = new System.Windows.Forms.GroupBox();
            this.cmbOperator         = new System.Windows.Forms.ComboBox();
            this.chkDiscontinued     = new System.Windows.Forms.CheckBox();
            this.txtUnitPrice        = new System.Windows.Forms.TextBox();
            this.Label3              = new System.Windows.Forms.Label();
            this.btnProductSearch    = new System.Windows.Forms.Button();
            this.btnProductsSave     = new System.Windows.Forms.Button();
            ((System.ComponentModel.ISupportInitialize)(this.DataGrid1)).BeginInit();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.DataGrid2)).BeginInit();
            this.GroupBox1.SuspendLayout();
            this.grpDiscontinued.SuspendLayout();
            this.SuspendLayout();
            //
            // btnComboBoxFill
            //
            this.btnComboBoxFill.Location = new System.Drawing.Point(624, 512);
            this.btnComboBoxFill.Name     = "btnComboBoxFill";
            this.btnComboBoxFill.Size     = new System.Drawing.Size(144, 23);
            this.btnComboBoxFill.TabIndex = 27;
            this.btnComboBoxFill.Text     = "Fill a ComboBox";
            this.btnComboBoxFill.Click   += new System.EventHandler(this.btnComboBoxFill_Click);
            //
            // dataGridTableStyle1
            //
            this.dataGridTableStyle1.AlternatingBackColor = System.Drawing.Color.SkyBlue;
            this.dataGridTableStyle1.BackColor            = System.Drawing.Color.LightSteelBlue;
            this.dataGridTableStyle1.DataGrid             = this.DataGrid1;
            this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
                this.tcbEmpID,
                this.tbcFirstName,
                this.tcbLastName,
                this.tcbTitle,
                this.tcbHomePhone
            });
            this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
            this.dataGridTableStyle1.MappingName     = "Employees";
            //
            // DataGrid1
            //
            this.DataGrid1.AlternatingBackColor = System.Drawing.Color.LightSteelBlue;
            this.DataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                          | System.Windows.Forms.AnchorStyles.Left)));
            this.DataGrid1.BackColor       = System.Drawing.Color.SteelBlue;
            this.DataGrid1.CaptionText     = "Northwind.Employees";
            this.DataGrid1.DataMember      = "";
            this.DataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
            this.DataGrid1.Location        = new System.Drawing.Point(8, 208);
            this.DataGrid1.Name            = "DataGrid1";
            this.DataGrid1.Size            = new System.Drawing.Size(472, 299);
            this.DataGrid1.TabIndex        = 19;
            this.DataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
                this.dataGridTableStyle1
            });
            //
            // tcbEmpID
            //
            this.tcbEmpID.Format      = "";
            this.tcbEmpID.FormatInfo  = null;
            this.tcbEmpID.HeaderText  = "ID";
            this.tcbEmpID.MappingName = "EmployeeID";
            this.tcbEmpID.Width       = 50;
            //
            // tbcFirstName
            //
            this.tbcFirstName.Format      = "";
            this.tbcFirstName.FormatInfo  = null;
            this.tbcFirstName.HeaderText  = "FirstName";
            this.tbcFirstName.MappingName = "FirstName";
            this.tbcFirstName.Width       = 75;
            //
            // tcbLastName
            //
            this.tcbLastName.Format      = "";
            this.tcbLastName.FormatInfo  = null;
            this.tcbLastName.HeaderText  = "LastName";
            this.tcbLastName.MappingName = "LastName";
            this.tcbLastName.Width       = 80;
            //
            // tcbTitle
            //
            this.tcbTitle.Format      = "";
            this.tcbTitle.FormatInfo  = null;
            this.tcbTitle.HeaderText  = "Title";
            this.tcbTitle.MappingName = "Title";
            this.tcbTitle.Width       = 140;
            //
            // tcbHomePhone
            //
            this.tcbHomePhone.Format      = "";
            this.tcbHomePhone.FormatInfo  = null;
            this.tcbHomePhone.HeaderText  = "HomePhone";
            this.tcbHomePhone.MappingName = "HomePhone";
            this.tcbHomePhone.Width       = 75;
            //
            // btnSaveTransaction
            //
            this.btnSaveTransaction.Location = new System.Drawing.Point(8, 544);
            this.btnSaveTransaction.Name     = "btnSaveTransaction";
            this.btnSaveTransaction.Size     = new System.Drawing.Size(928, 23);
            this.btnSaveTransaction.TabIndex = 26;
            this.btnSaveTransaction.Text     = "Save All Changes in a Transaction";
            this.btnSaveTransaction.Click   += new System.EventHandler(this.btnSaveTransaction_Click);
            //
            // btnEmployeesSave
            //
            this.btnEmployeesSave.Location = new System.Drawing.Point(8, 512);
            this.btnEmployeesSave.Name     = "btnEmployeesSave";
            this.btnEmployeesSave.Size     = new System.Drawing.Size(120, 23);
            this.btnEmployeesSave.TabIndex = 25;
            this.btnEmployeesSave.Text     = "Save Employees";
            this.btnEmployeesSave.Click   += new System.EventHandler(this.btnEmployeesSave_Click);
            //
            // btnEmployeesEditRow
            //
            this.btnEmployeesEditRow.Location = new System.Drawing.Point(144, 512);
            this.btnEmployeesEditRow.Name     = "btnEmployeesEditRow";
            this.btnEmployeesEditRow.Size     = new System.Drawing.Size(152, 23);
            this.btnEmployeesEditRow.TabIndex = 23;
            this.btnEmployeesEditRow.Text     = "Edit Selected Row";
            this.btnEmployeesEditRow.Click   += new System.EventHandler(this.btnEmployeesEditRow_Click);
            //
            // panel1
            //
            this.panel1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel1.BackgroundImage")));
            this.panel1.Controls.Add(this.btnAbout);
            this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(0, 0);
            this.panel1.Name     = "panel1";
            this.panel1.Size     = new System.Drawing.Size(944, 64);
            this.panel1.TabIndex = 18;
            //
            // btnAbout
            //
            this.btnAbout.BackColor = System.Drawing.Color.DodgerBlue;
            this.btnAbout.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.btnAbout.ForeColor = System.Drawing.Color.White;
            this.btnAbout.Location  = new System.Drawing.Point(32, 24);
            this.btnAbout.Name      = "btnAbout";
            this.btnAbout.Size      = new System.Drawing.Size(136, 23);
            this.btnAbout.TabIndex  = 1;
            this.btnAbout.Text      = "About dOOdads";
            this.btnAbout.Click    += new System.EventHandler(this.btnAbout_Click);
            //
            // DataGrid2
            //
            this.DataGrid2.CaptionText     = "Northwind.Products";
            this.DataGrid2.DataMember      = "";
            this.DataGrid2.HeaderForeColor = System.Drawing.SystemColors.ControlText;
            this.DataGrid2.Location        = new System.Drawing.Point(488, 208);
            this.DataGrid2.Name            = "DataGrid2";
            this.DataGrid2.Size            = new System.Drawing.Size(448, 296);
            this.DataGrid2.TabIndex        = 21;
            this.DataGrid2.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
                this.DataGridTableStyle2
            });
            //
            // DataGridTableStyle2
            //
            this.DataGridTableStyle2.AlternatingBackColor = System.Drawing.Color.Khaki;
            this.DataGridTableStyle2.BackColor            = System.Drawing.Color.Wheat;
            this.DataGridTableStyle2.DataGrid             = this.DataGrid2;
            this.DataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
                this.tbcProductName,
                this.tcbUnitPrice,
                this.tcbUnitsInStock,
                this.tcbDiscontinued
            });
            this.DataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText;
            this.DataGridTableStyle2.MappingName     = "Products";
            //
            // tbcProductName
            //
            this.tbcProductName.Format      = "";
            this.tbcProductName.FormatInfo  = null;
            this.tbcProductName.HeaderText  = "ProductName";
            this.tbcProductName.MappingName = "ProductName";
            this.tbcProductName.Width       = 170;
            //
            // tcbUnitPrice
            //
            this.tcbUnitPrice.Format      = "";
            this.tcbUnitPrice.FormatInfo  = null;
            this.tcbUnitPrice.HeaderText  = "UnitPrice";
            this.tcbUnitPrice.MappingName = "UnitPrice";
            this.tcbUnitPrice.Width       = 75;
            //
            // tcbUnitsInStock
            //
            this.tcbUnitsInStock.Format      = "";
            this.tcbUnitsInStock.FormatInfo  = null;
            this.tcbUnitsInStock.HeaderText  = "UnitsInStock";
            this.tcbUnitsInStock.MappingName = "UnitsInStock";
            this.tcbUnitsInStock.Width       = 75;
            //
            // tcbDiscontinued
            //
            this.tcbDiscontinued.FalseValue  = false;
            this.tcbDiscontinued.HeaderText  = "Discontinued";
            this.tcbDiscontinued.MappingName = "Discontinued";
            this.tcbDiscontinued.NullValue   = ((object)(resources.GetObject("tcbDiscontinued.NullValue")));
            this.tcbDiscontinued.TrueValue   = true;
            this.tcbDiscontinued.Width       = 75;
            //
            // GroupBox1
            //
            this.GroupBox1.Controls.Add(this.Label4);
            this.GroupBox1.Controls.Add(this.btnEmployeeSearch);
            this.GroupBox1.Controls.Add(this.Label1);
            this.GroupBox1.Controls.Add(this.txtLastName);
            this.GroupBox1.Controls.Add(this.Label2);
            this.GroupBox1.Controls.Add(this.txtTitle);
            this.GroupBox1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.GroupBox1.Location = new System.Drawing.Point(0, 80);
            this.GroupBox1.Name     = "GroupBox1";
            this.GroupBox1.Size     = new System.Drawing.Size(480, 112);
            this.GroupBox1.TabIndex = 20;
            this.GroupBox1.TabStop  = false;
            this.GroupBox1.Text     = "Employees Query ";
            //
            // Label4
            //
            this.Label4.Location = new System.Drawing.Point(296, 24);
            this.Label4.Name     = "Label4";
            this.Label4.Size     = new System.Drawing.Size(144, 40);
            this.Label4.TabIndex = 12;
            this.Label4.Text     = "Use Wild Card % as This Query Uses LIKE";
            //
            // btnEmployeeSearch
            //
            this.btnEmployeeSearch.Location = new System.Drawing.Point(384, 80);
            this.btnEmployeeSearch.Name     = "btnEmployeeSearch";
            this.btnEmployeeSearch.TabIndex = 11;
            this.btnEmployeeSearch.Text     = "Search";
            this.btnEmployeeSearch.Click   += new System.EventHandler(this.btnEmployeeSearch_Click);
            //
            // 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, 30);
            this.Label1.Name     = "Label1";
            this.Label1.Size     = new System.Drawing.Size(72, 24);
            this.Label1.TabIndex = 7;
            this.Label1.Text     = "LastName:";
            //
            // txtLastName
            //
            this.txtLastName.Location = new System.Drawing.Point(80, 32);
            this.txtLastName.Name     = "txtLastName";
            this.txtLastName.Size     = new System.Drawing.Size(168, 20);
            this.txtLastName.TabIndex = 8;
            this.txtLastName.Text     = "";
            //
            // Label2
            //
            this.Label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.Label2.Location = new System.Drawing.Point(8, 71);
            this.Label2.Name     = "Label2";
            this.Label2.Size     = new System.Drawing.Size(56, 23);
            this.Label2.TabIndex = 9;
            this.Label2.Text     = "Title:";
            //
            // txtTitle
            //
            this.txtTitle.Location = new System.Drawing.Point(80, 72);
            this.txtTitle.Name     = "txtTitle";
            this.txtTitle.Size     = new System.Drawing.Size(168, 20);
            this.txtTitle.TabIndex = 10;
            this.txtTitle.Text     = "";
            //
            // grpDiscontinued
            //
            this.grpDiscontinued.Controls.Add(this.cmbOperator);
            this.grpDiscontinued.Controls.Add(this.chkDiscontinued);
            this.grpDiscontinued.Controls.Add(this.txtUnitPrice);
            this.grpDiscontinued.Controls.Add(this.Label3);
            this.grpDiscontinued.Controls.Add(this.btnProductSearch);
            this.grpDiscontinued.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.grpDiscontinued.Location = new System.Drawing.Point(488, 80);
            this.grpDiscontinued.Name     = "grpDiscontinued";
            this.grpDiscontinued.Size     = new System.Drawing.Size(448, 112);
            this.grpDiscontinued.TabIndex = 22;
            this.grpDiscontinued.TabStop  = false;
            this.grpDiscontinued.Text     = "Products Query ";
            //
            // cmbOperator
            //
            this.cmbOperator.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.cmbOperator.Items.AddRange(new object[] {
                "Equal",
                "Not Equal",
                "Greater Than",
                "Greater Than Or Equal",
                "Less Than",
                "Less Than Or Equal"
            });
            this.cmbOperator.Location = new System.Drawing.Point(256, 24);
            this.cmbOperator.Name     = "cmbOperator";
            this.cmbOperator.Size     = new System.Drawing.Size(168, 21);
            this.cmbOperator.TabIndex = 12;
            //
            // chkDiscontinued
            //
            this.chkDiscontinued.Location = new System.Drawing.Point(16, 64);
            this.chkDiscontinued.Name     = "chkDiscontinued";
            this.chkDiscontinued.Size     = new System.Drawing.Size(136, 24);
            this.chkDiscontinued.TabIndex = 3;
            this.chkDiscontinued.Text     = "Discontinued Only";
            //
            // txtUnitPrice
            //
            this.txtUnitPrice.Location = new System.Drawing.Point(128, 24);
            this.txtUnitPrice.Name     = "txtUnitPrice";
            this.txtUnitPrice.Size     = new System.Drawing.Size(104, 20);
            this.txtUnitPrice.TabIndex = 1;
            this.txtUnitPrice.Text     = "";
            //
            // Label3
            //
            this.Label3.Location = new System.Drawing.Point(16, 24);
            this.Label3.Name     = "Label3";
            this.Label3.Size     = new System.Drawing.Size(72, 23);
            this.Label3.TabIndex = 0;
            this.Label3.Text     = "UnitPrice:";
            //
            // btnProductSearch
            //
            this.btnProductSearch.Location = new System.Drawing.Point(352, 80);
            this.btnProductSearch.Name     = "btnProductSearch";
            this.btnProductSearch.TabIndex = 11;
            this.btnProductSearch.Text     = "Search";
            this.btnProductSearch.Click   += new System.EventHandler(this.btnProductSearch_Click);
            //
            // btnProductsSave
            //
            this.btnProductsSave.Location = new System.Drawing.Point(488, 512);
            this.btnProductsSave.Name     = "btnProductsSave";
            this.btnProductsSave.Size     = new System.Drawing.Size(120, 23);
            this.btnProductsSave.TabIndex = 24;
            this.btnProductsSave.Text     = "Save Products";
            this.btnProductsSave.Click   += new System.EventHandler(this.btnProductsSave_Click);
            //
            // Form1
            //
#if (VS2005)
            this.AutoScaleDimensions = new System.Drawing.Size(5, 13);
#else
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
#endif
            this.ClientSize = new System.Drawing.Size(944, 584);
            this.Controls.Add(this.btnComboBoxFill);
            this.Controls.Add(this.DataGrid1);
            this.Controls.Add(this.btnSaveTransaction);
            this.Controls.Add(this.btnEmployeesSave);
            this.Controls.Add(this.btnEmployeesEditRow);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.DataGrid2);
            this.Controls.Add(this.GroupBox1);
            this.Controls.Add(this.grpDiscontinued);
            this.Controls.Add(this.btnProductsSave);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.MaximizeBox     = false;
            this.MinimizeBox     = false;
            this.Name            = "Form1";
            this.Text            = "MyGeneration Software\'s C# dOOdad Demo";
            this.Load           += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.DataGrid1)).EndInit();
            this.panel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.DataGrid2)).EndInit();
            this.GroupBox1.ResumeLayout(false);
            this.grpDiscontinued.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Example #56
0
 [System.Diagnostics.DebuggerStepThrough()] private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmVendor));
     this.ToolBar1               = new System.Windows.Forms.ToolBar();
     this.ToolBarButton1         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton2         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton3         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton4         = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton5         = new System.Windows.Forms.ToolBarButton();
     this.ImageList1             = new System.Windows.Forms.ImageList(this.components);
     this.dgVendor               = new System.Windows.Forms.DataGrid();
     this.DataGridTableStyle1    = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn1    = new System.Windows.Forms.DataGridBoolColumn();
     ((System.ComponentModel.ISupportInitialize)(this.dgVendor)).BeginInit();
     this.SuspendLayout();
     //
     // ToolBar1
     //
     this.ToolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.ToolBarButton1,
         this.ToolBarButton2,
         this.ToolBarButton3,
         this.ToolBarButton4,
         this.ToolBarButton5
     });
     this.ToolBar1.ButtonSize     = new System.Drawing.Size(50, 48);
     this.ToolBar1.DropDownArrows = true;
     this.ToolBar1.ImageList      = this.ImageList1;
     this.ToolBar1.Location       = new System.Drawing.Point(0, 0);
     this.ToolBar1.Name           = "ToolBar1";
     this.ToolBar1.ShowToolTips   = true;
     this.ToolBar1.Size           = new System.Drawing.Size(528, 54);
     this.ToolBar1.TabIndex       = 3;
     this.ToolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.ToolBar1_ButtonClick);
     //
     // ToolBarButton1
     //
     this.ToolBarButton1.ImageIndex = 0;
     this.ToolBarButton1.Name       = "ToolBarButton1";
     this.ToolBarButton1.Text       = "添加";
     //
     // ToolBarButton2
     //
     this.ToolBarButton2.ImageIndex = 1;
     this.ToolBarButton2.Name       = "ToolBarButton2";
     this.ToolBarButton2.Text       = "修改";
     //
     // ToolBarButton3
     //
     this.ToolBarButton3.ImageIndex = 2;
     this.ToolBarButton3.Name       = "ToolBarButton3";
     this.ToolBarButton3.Text       = "删除";
     //
     // ToolBarButton4
     //
     this.ToolBarButton4.Name  = "ToolBarButton4";
     this.ToolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ToolBarButton5
     //
     this.ToolBarButton5.ImageIndex = 3;
     this.ToolBarButton5.Name       = "ToolBarButton5";
     this.ToolBarButton5.Text       = "关闭";
     //
     // ImageList1
     //
     this.ImageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageList1.ImageStream")));
     this.ImageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.ImageList1.Images.SetKeyName(0, "");
     this.ImageList1.Images.SetKeyName(1, "");
     this.ImageList1.Images.SetKeyName(2, "");
     this.ImageList1.Images.SetKeyName(3, "");
     //
     // dgVendor
     //
     this.dgVendor.AlternatingBackColor = System.Drawing.Color.GhostWhite;
     this.dgVendor.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.dgVendor.BackColor           = System.Drawing.Color.GhostWhite;
     this.dgVendor.BackgroundColor     = System.Drawing.Color.Lavender;
     this.dgVendor.CaptionBackColor    = System.Drawing.Color.Navy;
     this.dgVendor.CaptionForeColor    = System.Drawing.Color.White;
     this.dgVendor.DataMember          = "";
     this.dgVendor.FlatMode            = true;
     this.dgVendor.Font                = new System.Drawing.Font("Tahoma", 8F);
     this.dgVendor.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dgVendor.GridLineColor       = System.Drawing.Color.RoyalBlue;
     this.dgVendor.HeaderBackColor     = System.Drawing.Color.MidnightBlue;
     this.dgVendor.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dgVendor.HeaderForeColor     = System.Drawing.Color.Lavender;
     this.dgVendor.LinkColor           = System.Drawing.Color.Teal;
     this.dgVendor.Location            = new System.Drawing.Point(0, 56);
     this.dgVendor.Name                = "dgVendor";
     this.dgVendor.ParentRowsBackColor = System.Drawing.Color.Lavender;
     this.dgVendor.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dgVendor.ReadOnly            = true;
     this.dgVendor.SelectionBackColor  = System.Drawing.Color.Teal;
     this.dgVendor.SelectionForeColor  = System.Drawing.Color.PaleGreen;
     this.dgVendor.Size                = new System.Drawing.Size(528, 342);
     this.dgVendor.TabIndex            = 4;
     this.dgVendor.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.DataGridTableStyle1
     });
     this.dgVendor.DoubleClick += new System.EventHandler(this.dgVendor_DoubleClick);
     //
     // DataGridTableStyle1
     //
     this.DataGridTableStyle1.DataGrid = this.dgVendor;
     this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.DataGridTextBoxColumn1,
         this.DataGridTextBoxColumn2,
         this.DataGridTextBoxColumn3,
         this.DataGridTextBoxColumn4,
         this.DataGridBoolColumn1
     });
     this.DataGridTableStyle1.HeaderFont      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle1.MappingName     = "vendor";
     //
     // DataGridTextBoxColumn1
     //
     this.DataGridTextBoxColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn1.Format      = "";
     this.DataGridTextBoxColumn1.FormatInfo  = null;
     this.DataGridTextBoxColumn1.HeaderText  = "供应商编码";
     this.DataGridTextBoxColumn1.MappingName = "vendorcode";
     this.DataGridTextBoxColumn1.Width       = 90;
     //
     // DataGridTextBoxColumn2
     //
     this.DataGridTextBoxColumn2.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn2.Format      = "";
     this.DataGridTextBoxColumn2.FormatInfo  = null;
     this.DataGridTextBoxColumn2.HeaderText  = "名称";
     this.DataGridTextBoxColumn2.MappingName = "vendorname";
     this.DataGridTextBoxColumn2.Width       = 90;
     //
     // DataGridTextBoxColumn3
     //
     this.DataGridTextBoxColumn3.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn3.Format      = "";
     this.DataGridTextBoxColumn3.FormatInfo  = null;
     this.DataGridTextBoxColumn3.HeaderText  = "联系人";
     this.DataGridTextBoxColumn3.MappingName = "AttachMan";
     this.DataGridTextBoxColumn3.Width       = 90;
     //
     // DataGridTextBoxColumn4
     //
     this.DataGridTextBoxColumn4.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn4.Format      = "";
     this.DataGridTextBoxColumn4.FormatInfo  = null;
     this.DataGridTextBoxColumn4.HeaderText  = "联系电话";
     this.DataGridTextBoxColumn4.MappingName = "Telephone";
     this.DataGridTextBoxColumn4.Width       = 90;
     //
     // DataGridBoolColumn1
     //
     this.DataGridBoolColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn1.FalseValue  = "0";
     this.DataGridBoolColumn1.HeaderText  = "暂停使用";
     this.DataGridBoolColumn1.MappingName = "disabled";
     this.DataGridBoolColumn1.TrueValue   = "1";
     this.DataGridBoolColumn1.Width       = 75;
     //
     // frmVendor
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(528, 398);
     this.Controls.Add(this.dgVendor);
     this.Controls.Add(this.ToolBar1);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name        = "frmVendor";
     this.Text        = "供应商";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.frmVendor_Load);
     this.Closed     += new System.EventHandler(this.frmVendor_Closed);
     ((System.ComponentModel.ISupportInitialize)(this.dgVendor)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #57
0
        void Initialize()
        {
            DataGridBoolColumn theBoolColumn = null;
            DataGridTextBoxColumn theTextColumn = null;

            DataGridTableStyle theStyle = new DataGridTableStyle();

            theStyle.AllowSorting = true;
            theStyle.RowHeadersVisible = false;
            theStyle.MappingName = "ArrayList";

            // We set the column to readonly and handle the mouse events ourselves
            // in the MouseUp event handler. We want to circumvent the select cell
            // first before you can enable/disable a checkbox.

            theBoolColumn = new DataGridBoolColumn();
            theBoolColumn.MappingName = "Loaded";
            theBoolColumn.HeaderText = "Loaded";
            theBoolColumn.Width = 50;
            theBoolColumn.AllowNull = false;
            theBoolColumn.ReadOnly = false;
            theStyle.GridColumnStyles.Add (theBoolColumn);

            _theDefinitionFileTextColumn.MappingName = "Filename";
            _theDefinitionFileTextColumn.HeaderText = "Definition filename";
            _theDefinitionFileTextColumn.Width = 250;
            _theDefinitionFileTextColumn.ReadOnly = true;
            _theDefinitionFileTextColumn.TextBox.DoubleClick += new System.EventHandler(this.DefinitionFile_DoubleClick);
            theStyle.GridColumnStyles.Add(_theDefinitionFileTextColumn);

            theTextColumn = new DataGridTextBoxColumn();
            theTextColumn.MappingName = "SOPClassName";
            theTextColumn.HeaderText = "SOP class name";
            theTextColumn.Width = 125;
            theTextColumn.ReadOnly = true;
            theStyle.GridColumnStyles.Add(theTextColumn);

            theTextColumn = new DataGridTextBoxColumn();
            theTextColumn.MappingName = "SOPClassUID";
            theTextColumn.HeaderText = "SOP class UID";
            theTextColumn.Width = 125;
            theTextColumn.ReadOnly = true;
            theStyle.GridColumnStyles.Add(theTextColumn);

            theTextColumn = new DataGridTextBoxColumn();
            theTextColumn.MappingName = "AETitle";
            theTextColumn.HeaderText = "AE title";
            theTextColumn.Width = 100;
            theTextColumn.ReadOnly = true;
            theStyle.GridColumnStyles.Add(theTextColumn);

            theTextColumn = new DataGridTextBoxColumn();
            theTextColumn.MappingName = "AEVersion";
            theTextColumn.HeaderText = "AE version";
            theTextColumn.Width = 50;
            theTextColumn.ReadOnly = true;
            theStyle.GridColumnStyles.Add(theTextColumn);

            theTextColumn = new DataGridTextBoxColumn();
            theTextColumn.MappingName = "DefinitionRoot";
            theTextColumn.HeaderText = "Definition root";
            theTextColumn.Width = 200;
            theTextColumn.ReadOnly = true;
            theStyle.GridColumnStyles.Add(theTextColumn);

            _DataGridSopClasses.TableStyles.Add(theStyle);
        }
Example #58
0
 [System.Diagnostics.DebuggerStepThrough()] private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     base.Load      += new System.EventHandler(frmCustomer_Load);
     base.Closed    += new System.EventHandler(frmCustomer_Closed);
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmCustomer));
     this.ToolBar1              = new System.Windows.Forms.ToolBar();
     this.ToolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.ToolBar1_ButtonClick);
     this.ToolBarButton1        = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton2        = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton3        = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton9        = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton5        = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton4        = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton6        = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton12       = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton10       = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton11       = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton7        = new System.Windows.Forms.ToolBarButton();
     this.ImageList1            = new System.Windows.Forms.ImageList(this.components);
     this.dgCust                  = new System.Windows.Forms.DataGrid();
     this.dgCust.DoubleClick     += new System.EventHandler(this.dgCust_DoubleClick);
     this.DataGridTableStyle1     = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn1  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn2  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn1     = new System.Windows.Forms.DataGridBoolColumn();
     this.DataGridTextBoxColumn3  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn4  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn5  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn8  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn6  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn7  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn9  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn2     = new System.Windows.Forms.DataGridBoolColumn();
     this.DataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn3     = new System.Windows.Forms.DataGridBoolColumn();
     ((System.ComponentModel.ISupportInitialize) this.dgCust).BeginInit();
     this.SuspendLayout();
     //
     //ToolBar1
     //
     this.ToolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.ToolBarButton1, this.ToolBarButton2, this.ToolBarButton3, this.ToolBarButton9, this.ToolBarButton5, this.ToolBarButton4, this.ToolBarButton6, this.ToolBarButton12, this.ToolBarButton10, this.ToolBarButton11, this.ToolBarButton7 });
     this.ToolBar1.ButtonSize     = new System.Drawing.Size(50, 48);
     this.ToolBar1.DropDownArrows = true;
     this.ToolBar1.ImageList      = this.ImageList1;
     this.ToolBar1.Location       = new System.Drawing.Point(0, 0);
     this.ToolBar1.Name           = "ToolBar1";
     this.ToolBar1.ShowToolTips   = true;
     this.ToolBar1.Size           = new System.Drawing.Size(579, 55);
     this.ToolBar1.TabIndex       = 2;
     //
     //ToolBarButton1
     //
     this.ToolBarButton1.ImageIndex = 0;
     this.ToolBarButton1.Text       = "添加";
     //
     //ToolBarButton2
     //
     this.ToolBarButton2.ImageIndex = 1;
     this.ToolBarButton2.Text       = "修改";
     //
     //ToolBarButton3
     //
     this.ToolBarButton3.ImageIndex = 2;
     this.ToolBarButton3.Text       = "删除";
     //
     //ToolBarButton9
     //
     this.ToolBarButton9.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton5
     //
     this.ToolBarButton5.ImageIndex = 3;
     this.ToolBarButton5.Text       = "查询";
     //
     //ToolBarButton4
     //
     this.ToolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton6
     //
     this.ToolBarButton6.ImageIndex = 4;
     this.ToolBarButton6.Text       = "打印";
     //
     //ToolBarButton12
     //
     this.ToolBarButton12.Style   = System.Windows.Forms.ToolBarButtonStyle.Separator;
     this.ToolBarButton12.Visible = false;
     //
     //ToolBarButton10
     //
     this.ToolBarButton10.ImageIndex = 5;
     this.ToolBarButton10.Text       = "会员卡";
     this.ToolBarButton10.Visible    = false;
     //
     //ToolBarButton11
     //
     this.ToolBarButton11.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton7
     //
     this.ToolBarButton7.ImageIndex = 6;
     this.ToolBarButton7.Text       = "关闭";
     //
     //ImageList1
     //
     this.ImageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth16Bit;
     this.ImageList1.ImageSize        = new System.Drawing.Size(28, 28);
     this.ImageList1.ImageStream      = (System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageList1.ImageStream"));
     this.ImageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     //dgCust
     //
     this.dgCust.AlternatingBackColor = System.Drawing.Color.GhostWhite;
     this.dgCust.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.dgCust.BackColor           = System.Drawing.Color.GhostWhite;
     this.dgCust.BackgroundColor     = System.Drawing.Color.Lavender;
     this.dgCust.CaptionBackColor    = System.Drawing.Color.Navy;
     this.dgCust.CaptionForeColor    = System.Drawing.Color.White;
     this.dgCust.DataMember          = "";
     this.dgCust.FlatMode            = true;
     this.dgCust.Font                = new System.Drawing.Font("Tahoma", 8.0F);
     this.dgCust.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dgCust.GridLineColor       = System.Drawing.Color.RoyalBlue;
     this.dgCust.HeaderBackColor     = System.Drawing.Color.MidnightBlue;
     this.dgCust.HeaderFont          = new System.Drawing.Font("Tahoma", 8.0F, System.Drawing.FontStyle.Bold);
     this.dgCust.HeaderForeColor     = System.Drawing.Color.Lavender;
     this.dgCust.LinkColor           = System.Drawing.Color.Teal;
     this.dgCust.Location            = new System.Drawing.Point(0, 56);
     this.dgCust.Name                = "dgCust";
     this.dgCust.ParentRowsBackColor = System.Drawing.Color.Lavender;
     this.dgCust.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dgCust.ReadOnly            = true;
     this.dgCust.SelectionBackColor  = System.Drawing.Color.Teal;
     this.dgCust.SelectionForeColor  = System.Drawing.Color.PaleGreen;
     this.dgCust.Size                = new System.Drawing.Size(579, 369);
     this.dgCust.TabIndex            = 3;
     this.dgCust.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.DataGridTableStyle1 });
     //
     //DataGridTableStyle1
     //
     this.DataGridTableStyle1.DataGrid = this.dgCust;
     this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.DataGridTextBoxColumn1, this.DataGridTextBoxColumn2, this.DataGridBoolColumn1, this.DataGridTextBoxColumn3, this.DataGridTextBoxColumn4, this.DataGridTextBoxColumn5, this.DataGridTextBoxColumn8, this.DataGridTextBoxColumn6, this.DataGridTextBoxColumn7, this.DataGridTextBoxColumn9, this.DataGridBoolColumn2, this.DataGridTextBoxColumn10, this.DataGridTextBoxColumn12, this.DataGridTextBoxColumn13, this.DataGridBoolColumn3 });
     this.DataGridTableStyle1.HeaderFont      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle1.MappingName     = "customer";
     //
     //DataGridTextBoxColumn1
     //
     this.DataGridTextBoxColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn1.Format      = "";
     this.DataGridTextBoxColumn1.FormatInfo  = null;
     this.DataGridTextBoxColumn1.HeaderText  = "客户编码";
     this.DataGridTextBoxColumn1.MappingName = "customercode";
     this.DataGridTextBoxColumn1.NullText    = "";
     this.DataGridTextBoxColumn1.Width       = 75;
     //
     //DataGridTextBoxColumn2
     //
     this.DataGridTextBoxColumn2.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn2.Format      = "";
     this.DataGridTextBoxColumn2.FormatInfo  = null;
     this.DataGridTextBoxColumn2.HeaderText  = "客户名称";
     this.DataGridTextBoxColumn2.MappingName = "customername";
     this.DataGridTextBoxColumn2.NullText    = "";
     this.DataGridTextBoxColumn2.Width       = 75;
     //
     //DataGridBoolColumn1
     //
     this.DataGridBoolColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn1.FalseValue  = "0";
     this.DataGridBoolColumn1.HeaderText  = "会员";
     this.DataGridBoolColumn1.MappingName = "isclubmember";
     this.DataGridBoolColumn1.NullText    = "";
     this.DataGridBoolColumn1.NullValue   = resources.GetObject("DataGridBoolColumn1.NullValue");
     this.DataGridBoolColumn1.TrueValue   = "1";
     this.DataGridBoolColumn1.Width       = 75;
     //
     //DataGridTextBoxColumn3
     //
     this.DataGridTextBoxColumn3.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn3.Format      = "";
     this.DataGridTextBoxColumn3.FormatInfo  = null;
     this.DataGridTextBoxColumn3.HeaderText  = "身份证号码";
     this.DataGridTextBoxColumn3.MappingName = "idcardno";
     this.DataGridTextBoxColumn3.NullText    = "";
     this.DataGridTextBoxColumn3.Width       = 75;
     //
     //DataGridTextBoxColumn4
     //
     this.DataGridTextBoxColumn4.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn4.Format      = "";
     this.DataGridTextBoxColumn4.FormatInfo  = null;
     this.DataGridTextBoxColumn4.HeaderText  = "个人电话";
     this.DataGridTextBoxColumn4.MappingName = "phonenumber1";
     this.DataGridTextBoxColumn4.NullText    = "";
     this.DataGridTextBoxColumn4.Width       = 75;
     //
     //DataGridTextBoxColumn5
     //
     this.DataGridTextBoxColumn5.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn5.Format      = "";
     this.DataGridTextBoxColumn5.FormatInfo  = null;
     this.DataGridTextBoxColumn5.HeaderText  = "单位名称";
     this.DataGridTextBoxColumn5.MappingName = "company";
     this.DataGridTextBoxColumn5.NullText    = "";
     this.DataGridTextBoxColumn5.Width       = 75;
     //
     //DataGridTextBoxColumn8
     //
     this.DataGridTextBoxColumn8.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn8.Format      = "";
     this.DataGridTextBoxColumn8.FormatInfo  = null;
     this.DataGridTextBoxColumn8.HeaderText  = "单位地址";
     this.DataGridTextBoxColumn8.MappingName = "address1";
     this.DataGridTextBoxColumn8.NullText    = "";
     this.DataGridTextBoxColumn8.Width       = 75;
     //
     //DataGridTextBoxColumn6
     //
     this.DataGridTextBoxColumn6.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn6.Format      = "";
     this.DataGridTextBoxColumn6.FormatInfo  = null;
     this.DataGridTextBoxColumn6.HeaderText  = "单位电话";
     this.DataGridTextBoxColumn6.MappingName = "phonenumber2";
     this.DataGridTextBoxColumn6.NullText    = "";
     this.DataGridTextBoxColumn6.Width       = 75;
     //
     //DataGridTextBoxColumn7
     //
     this.DataGridTextBoxColumn7.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn7.Format      = "";
     this.DataGridTextBoxColumn7.FormatInfo  = null;
     this.DataGridTextBoxColumn7.HeaderText  = "联系人";
     this.DataGridTextBoxColumn7.MappingName = "contacter";
     this.DataGridTextBoxColumn7.NullText    = "";
     this.DataGridTextBoxColumn7.Width       = 75;
     //
     //DataGridTextBoxColumn9
     //
     this.DataGridTextBoxColumn9.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn9.Format      = "";
     this.DataGridTextBoxColumn9.FormatInfo  = null;
     this.DataGridTextBoxColumn9.HeaderText  = "客户类别";
     this.DataGridTextBoxColumn9.MappingName = "typename";
     this.DataGridTextBoxColumn9.NullText    = "";
     this.DataGridTextBoxColumn9.Width       = 75;
     //
     //DataGridBoolColumn2
     //
     this.DataGridBoolColumn2.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn2.FalseValue  = "0";
     this.DataGridBoolColumn2.HeaderText  = "允许签单";
     this.DataGridBoolColumn2.MappingName = "signed";
     this.DataGridBoolColumn2.NullText    = "";
     this.DataGridBoolColumn2.NullValue   = resources.GetObject("DataGridBoolColumn2.NullValue");
     this.DataGridBoolColumn2.TrueValue   = "1";
     this.DataGridBoolColumn2.Width       = 75;
     //
     //DataGridTextBoxColumn10
     //
     this.DataGridTextBoxColumn10.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn10.Format      = "";
     this.DataGridTextBoxColumn10.FormatInfo  = null;
     this.DataGridTextBoxColumn10.HeaderText  = "签单限额";
     this.DataGridTextBoxColumn10.MappingName = "signupcost";
     this.DataGridTextBoxColumn10.NullText    = "";
     this.DataGridTextBoxColumn10.Width       = 75;
     //
     //DataGridTextBoxColumn12
     //
     this.DataGridTextBoxColumn12.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn12.Format      = "";
     this.DataGridTextBoxColumn12.FormatInfo  = null;
     this.DataGridTextBoxColumn12.HeaderText  = "累计消费";
     this.DataGridTextBoxColumn12.MappingName = "totalcost";
     this.DataGridTextBoxColumn12.NullText    = "";
     this.DataGridTextBoxColumn12.Width       = 75;
     //
     //DataGridTextBoxColumn13
     //
     this.DataGridTextBoxColumn13.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn13.Format      = "";
     this.DataGridTextBoxColumn13.FormatInfo  = null;
     this.DataGridTextBoxColumn13.HeaderText  = "备注";
     this.DataGridTextBoxColumn13.MappingName = "note";
     this.DataGridTextBoxColumn13.NullText    = "";
     this.DataGridTextBoxColumn13.Width       = 75;
     //
     //DataGridBoolColumn3
     //
     this.DataGridBoolColumn3.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn3.FalseValue  = "0";
     this.DataGridBoolColumn3.HeaderText  = "暂停使用";
     this.DataGridBoolColumn3.MappingName = "disabled";
     this.DataGridBoolColumn3.NullText    = "";
     this.DataGridBoolColumn3.NullValue   = resources.GetObject("DataGridBoolColumn3.NullValue");
     this.DataGridBoolColumn3.TrueValue   = "1";
     this.DataGridBoolColumn3.Width       = 75;
     //
     //frmCustomer
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(579, 425);
     this.Controls.Add(this.dgCust);
     this.Controls.Add(this.ToolBar1);
     this.Icon          = (System.Drawing.Icon)(resources.GetObject("$this.Icon"));
     this.Name          = "frmCustomer";
     this.ShowInTaskbar = false;
     this.Text          = "客户信息管理";
     ((System.ComponentModel.ISupportInitialize) this.dgCust).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()
 {
     this.components = new System.ComponentModel.Container();
       System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmTemplateEdit));
       this.pHeader = new Ndi.HelpDesk.UI.Controls.InfoBarLite();
       this.tabControl1 = new System.Windows.Forms.TabControl();
       this.tabPage1 = new System.Windows.Forms.TabPage();
       this.grpCategory = new System.Windows.Forms.GroupBox();
       this.cbxCategoryOther = new System.Windows.Forms.CheckBox();
       this.cbxCategoryTreatment = new System.Windows.Forms.CheckBox();
       this.cbxCategoryResearch = new System.Windows.Forms.CheckBox();
       this.cbxCategoryPrevention = new System.Windows.Forms.CheckBox();
       this.rbtCategoryProgram = new System.Windows.Forms.RadioButton();
       this.rbtCategoryOrganisation = new System.Windows.Forms.RadioButton();
       this.cbxActivate = new System.Windows.Forms.CheckBox();
       this.cmbPublicityLevel = new Ndi.HelpDesk.UI.Controls.TextComboBox();
       this.label2 = new System.Windows.Forms.Label();
       this.label1 = new System.Windows.Forms.Label();
       this.txtName = new Ndi.HelpDesk.UI.Controls.GreptonTextBox();
       this.tabPage3 = new System.Windows.Forms.TabPage();
       this.btnMoveDown = new System.Windows.Forms.Button();
       this.btnMoveUp = new System.Windows.Forms.Button();
       this.btnPageDelete = new System.Windows.Forms.Button();
       this.btnPageModify = new System.Windows.Forms.Button();
       this.btnPageNew = new System.Windows.Forms.Button();
       this.dtgPages = new Ndi.HelpDesk.UI.Controls.GreptonDataGrid();
       this.customStylesCollection1 = new Ndi.HelpDesk.UI.Controls.CustomStylesCollection();
       this.colPageName = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colPagePageIndex = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colIsActive = new System.Windows.Forms.DataGridBoolColumn();
       this.tabPage2 = new System.Windows.Forms.TabPage();
       this.btnModifyDetail = new System.Windows.Forms.Button();
       this.btnNewDetail = new System.Windows.Forms.Button();
       this.dtgDetails = new Ndi.HelpDesk.UI.Controls.GreptonDataGrid();
       this.customStylesCollection2 = new Ndi.HelpDesk.UI.Controls.CustomStylesCollection();
       this.colDetailID = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colDeteilQuestion = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colDetailPageIndex = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colDetailOrder = new System.Windows.Forms.DataGridTextBoxColumn();
       this.colDetailActive = new System.Windows.Forms.DataGridBoolColumn();
       this.pnlBottom = new System.Windows.Forms.Panel();
       this.btnPreview = new System.Windows.Forms.Button();
       this.btnCancel = new System.Windows.Forms.Button();
       this.btnOk = new System.Windows.Forms.Button();
       this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
       this.tabControl1.SuspendLayout();
       this.tabPage1.SuspendLayout();
       this.grpCategory.SuspendLayout();
       this.tabPage3.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgPages)).BeginInit();
       this.tabPage2.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.dtgDetails)).BeginInit();
       this.pnlBottom.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
       this.SuspendLayout();
       //
       // pHeader
       //
       this.pHeader.BackColor = System.Drawing.SystemColors.Window;
       this.pHeader.BackStyle = Ndi.HelpDesk.UI.Controls.BackStyle.Solid;
       this.pHeader.BorderSide = System.Windows.Forms.Border3DSide.Bottom;
       this.pHeader.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
       this.pHeader.Dock = System.Windows.Forms.DockStyle.Top;
       this.pHeader.GradientEndColor = System.Drawing.Color.White;
       this.pHeader.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
       this.pHeader.GradientStartColor = System.Drawing.Color.DeepSkyBlue;
       this.pHeader.Image = null;
       this.pHeader.ImageAlign = Ndi.HelpDesk.UI.Controls.ImageAlignment.TopLeft;
       this.pHeader.ImageOffsetX = 2;
       this.pHeader.ImageOffsetY = 0;
       this.pHeader.Location = new System.Drawing.Point(0, 0);
       this.pHeader.Name = "pHeader";
       this.pHeader.Size = new System.Drawing.Size(771, 46);
       this.pHeader.TabIndex = 0;
       this.pHeader.Text1 = "Kérdõív sablonok";
       this.pHeader.Text1Font = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Bold);
       this.pHeader.Text1ForeColor = System.Drawing.SystemColors.ControlText;
       this.pHeader.Text1OffsetX = 0;
       this.pHeader.Text1OffsetY = 0;
       this.pHeader.Text2 = "Kérdõív sablon szerkesztése";
       this.pHeader.Text2Font = new System.Drawing.Font("Segoe UI", 8F);
       this.pHeader.Text2ForeColor = System.Drawing.SystemColors.ControlText;
       this.pHeader.Text2OffsetX = 20;
       this.pHeader.Text2OffsetY = 0;
       //
       // tabControl1
       //
       this.tabControl1.Controls.Add(this.tabPage1);
       this.tabControl1.Controls.Add(this.tabPage3);
       this.tabControl1.Controls.Add(this.tabPage2);
       this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
       this.tabControl1.Location = new System.Drawing.Point(0, 46);
       this.tabControl1.Name = "tabControl1";
       this.tabControl1.SelectedIndex = 0;
       this.tabControl1.Size = new System.Drawing.Size(771, 490);
       this.tabControl1.TabIndex = 1;
       //
       // tabPage1
       //
       this.tabPage1.Controls.Add(this.grpCategory);
       this.tabPage1.Controls.Add(this.cbxActivate);
       this.tabPage1.Controls.Add(this.cmbPublicityLevel);
       this.tabPage1.Controls.Add(this.label2);
       this.tabPage1.Controls.Add(this.label1);
       this.tabPage1.Controls.Add(this.txtName);
       this.tabPage1.Location = new System.Drawing.Point(4, 25);
       this.tabPage1.Name = "tabPage1";
       this.tabPage1.Size = new System.Drawing.Size(763, 461);
       this.tabPage1.TabIndex = 0;
       this.tabPage1.Text = "Alapadatok";
       //
       // grpCategory
       //
       this.grpCategory.Controls.Add(this.cbxCategoryOther);
       this.grpCategory.Controls.Add(this.cbxCategoryTreatment);
       this.grpCategory.Controls.Add(this.cbxCategoryResearch);
       this.grpCategory.Controls.Add(this.cbxCategoryPrevention);
       this.grpCategory.Controls.Add(this.rbtCategoryProgram);
       this.grpCategory.Controls.Add(this.rbtCategoryOrganisation);
       this.grpCategory.Location = new System.Drawing.Point(10, 102);
       this.grpCategory.Name = "grpCategory";
       this.grpCategory.Size = new System.Drawing.Size(403, 184);
       this.grpCategory.TabIndex = 5;
       this.grpCategory.TabStop = false;
       this.grpCategory.Text = "A sablon az alábbi kategóriákhoz tartozhat";
       this.grpCategory.Validating += new System.ComponentModel.CancelEventHandler(this.grpCategory_Validating);
       this.grpCategory.Validated += new System.EventHandler(this.grpCategory_Validated);
       //
       // cbxCategoryOther
       //
       this.cbxCategoryOther.Location = new System.Drawing.Point(202, 138);
       this.cbxCategoryOther.Name = "cbxCategoryOther";
       this.cbxCategoryOther.Size = new System.Drawing.Size(163, 28);
       this.cbxCategoryOther.TabIndex = 5;
       this.cbxCategoryOther.Text = "Egyéb program";
       //
       // cbxCategoryTreatment
       //
       this.cbxCategoryTreatment.Location = new System.Drawing.Point(202, 111);
       this.cbxCategoryTreatment.Name = "cbxCategoryTreatment";
       this.cbxCategoryTreatment.Size = new System.Drawing.Size(163, 27);
       this.cbxCategoryTreatment.TabIndex = 4;
       this.cbxCategoryTreatment.Text = "Ellátási program";
       //
       // cbxCategoryResearch
       //
       this.cbxCategoryResearch.Location = new System.Drawing.Point(202, 83);
       this.cbxCategoryResearch.Name = "cbxCategoryResearch";
       this.cbxCategoryResearch.Size = new System.Drawing.Size(163, 28);
       this.cbxCategoryResearch.TabIndex = 3;
       this.cbxCategoryResearch.Text = "Kutatási program";
       //
       // cbxCategoryPrevention
       //
       this.cbxCategoryPrevention.Location = new System.Drawing.Point(202, 55);
       this.cbxCategoryPrevention.Name = "cbxCategoryPrevention";
       this.cbxCategoryPrevention.Size = new System.Drawing.Size(163, 28);
       this.cbxCategoryPrevention.TabIndex = 2;
       this.cbxCategoryPrevention.Text = "Prevenciós program";
       //
       // rbtCategoryProgram
       //
       this.rbtCategoryProgram.Location = new System.Drawing.Point(202, 28);
       this.rbtCategoryProgram.Name = "rbtCategoryProgram";
       this.rbtCategoryProgram.Size = new System.Drawing.Size(124, 27);
       this.rbtCategoryProgram.TabIndex = 1;
       this.rbtCategoryProgram.Text = "Program";
       this.rbtCategoryProgram.CheckedChanged += new System.EventHandler(this.rbtCategory_CheckedChanged);
       //
       // rbtCategoryOrganisation
       //
       this.rbtCategoryOrganisation.Location = new System.Drawing.Point(29, 28);
       this.rbtCategoryOrganisation.Name = "rbtCategoryOrganisation";
       this.rbtCategoryOrganisation.Size = new System.Drawing.Size(125, 27);
       this.rbtCategoryOrganisation.TabIndex = 0;
       this.rbtCategoryOrganisation.Text = "Szervezet";
       this.rbtCategoryOrganisation.CheckedChanged += new System.EventHandler(this.rbtCategory_CheckedChanged);
       //
       // cbxActivate
       //
       this.cbxActivate.Location = new System.Drawing.Point(144, 65);
       this.cbxActivate.Name = "cbxActivate";
       this.cbxActivate.Size = new System.Drawing.Size(125, 27);
       this.cbxActivate.TabIndex = 4;
       this.cbxActivate.Text = "Aktív";
       //
       // cmbPublicityLevel
       //
       this.cmbPublicityLevel.AllowNull = false;
       this.cmbPublicityLevel.BreakSort = false;
       this.cmbPublicityLevel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.cmbPublicityLevel.Location = new System.Drawing.Point(144, 37);
       this.cmbPublicityLevel.Name = "cmbPublicityLevel";
       this.cmbPublicityLevel.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.cmbPublicityLevel.Size = new System.Drawing.Size(264, 24);
       this.cmbPublicityLevel.TabIndex = 3;
       this.cmbPublicityLevel.ToolBarUse = false;
       this.cmbPublicityLevel.ValidationErrorMessage = "Érvénytelen karakter!";
       //
       // label2
       //
       this.label2.Location = new System.Drawing.Point(10, 12);
       this.label2.Name = "label2";
       this.label2.Size = new System.Drawing.Size(124, 17);
       this.label2.TabIndex = 0;
       this.label2.Text = "Sablon neve:";
       //
       // label1
       //
       this.label1.Location = new System.Drawing.Point(10, 39);
       this.label1.Name = "label1";
       this.label1.Size = new System.Drawing.Size(124, 19);
       this.label1.TabIndex = 2;
       this.label1.Text = "Láthatósági szint:";
       //
       // txtName
       //
       this.txtName.AllowNull = false;
       this.txtName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
       this.txtName.InvalidCharSet = "";
       this.txtName.Location = new System.Drawing.Point(144, 9);
       this.txtName.MaxLength = 250;
       this.txtName.Name = "txtName";
       this.txtName.NullErrorMessage = "Kötelezõen kitöltendõ mezõ!";
       this.txtName.Size = new System.Drawing.Size(523, 22);
       this.txtName.TabIndex = 1;
       this.txtName.Validation = Ndi.HelpDesk.UI.ValidationType.Nothing;
       this.txtName.ValidationErrorMessage = "Érvényesítési hiba!";
       this.txtName.ValidationMask = "";
       this.txtName.ValidCharSet = "";
       //
       // tabPage3
       //
       this.tabPage3.Controls.Add(this.btnMoveDown);
       this.tabPage3.Controls.Add(this.btnMoveUp);
       this.tabPage3.Controls.Add(this.btnPageDelete);
       this.tabPage3.Controls.Add(this.btnPageModify);
       this.tabPage3.Controls.Add(this.btnPageNew);
       this.tabPage3.Controls.Add(this.dtgPages);
       this.tabPage3.Location = new System.Drawing.Point(4, 25);
       this.tabPage3.Name = "tabPage3";
       this.tabPage3.Size = new System.Drawing.Size(763, 461);
       this.tabPage3.TabIndex = 2;
       this.tabPage3.Text = "Lapok";
       //
       // btnMoveDown
       //
       this.btnMoveDown.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnMoveDown.Image = ((System.Drawing.Image)(resources.GetObject("btnMoveDown.Image")));
       this.btnMoveDown.ImageAlign = System.Drawing.ContentAlignment.TopLeft;
       this.btnMoveDown.Location = new System.Drawing.Point(144, 321);
       this.btnMoveDown.Name = "btnMoveDown";
       this.btnMoveDown.Size = new System.Drawing.Size(46, 47);
       this.btnMoveDown.TabIndex = 5;
       this.btnMoveDown.Click += new System.EventHandler(this.btnMoveDown_Click);
       //
       // btnMoveUp
       //
       this.btnMoveUp.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnMoveUp.Image = ((System.Drawing.Image)(resources.GetObject("btnMoveUp.Image")));
       this.btnMoveUp.ImageAlign = System.Drawing.ContentAlignment.TopLeft;
       this.btnMoveUp.Location = new System.Drawing.Point(86, 321);
       this.btnMoveUp.Name = "btnMoveUp";
       this.btnMoveUp.Size = new System.Drawing.Size(46, 47);
       this.btnMoveUp.TabIndex = 4;
       this.btnMoveUp.Click += new System.EventHandler(this.btnMoveUp_Click);
       //
       // btnPageDelete
       //
       this.btnPageDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnPageDelete.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnPageDelete.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnPageDelete.Location = new System.Drawing.Point(615, 376);
       this.btnPageDelete.Name = "btnPageDelete";
       this.btnPageDelete.Size = new System.Drawing.Size(134, 23);
       this.btnPageDelete.TabIndex = 3;
       this.btnPageDelete.Text = "Aktív / Inaktív";
       this.btnPageDelete.Click += new System.EventHandler(this.btnPageDelete_Click);
       //
       // btnPageModify
       //
       this.btnPageModify.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnPageModify.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnPageModify.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnPageModify.Location = new System.Drawing.Point(471, 376);
       this.btnPageModify.Name = "btnPageModify";
       this.btnPageModify.Size = new System.Drawing.Size(134, 23);
       this.btnPageModify.TabIndex = 2;
       this.btnPageModify.Text = "Lap módosítása";
       this.btnPageModify.Click += new System.EventHandler(this.btnPageModify_Click);
       //
       // btnPageNew
       //
       this.btnPageNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnPageNew.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnPageNew.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnPageNew.Location = new System.Drawing.Point(327, 376);
       this.btnPageNew.Name = "btnPageNew";
       this.btnPageNew.Size = new System.Drawing.Size(134, 23);
       this.btnPageNew.TabIndex = 1;
       this.btnPageNew.Text = "Új lap";
       this.btnPageNew.Click += new System.EventHandler(this.btnPageNew_Click);
       //
       // dtgPages
       //
       this.dtgPages.BackgroundColor = System.Drawing.SystemColors.Window;
       this.dtgPages.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.dtgPages.CaptionBackColor = System.Drawing.SystemColors.Highlight;
       this.dtgPages.CaptionVisible = false;
       this.dtgPages.DataMember = "";
       this.dtgPages.GridLineColor = System.Drawing.SystemColors.ControlLight;
       this.dtgPages.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.dtgPages.Location = new System.Drawing.Point(11, 9);
       this.dtgPages.Name = "dtgPages";
       this.dtgPages.ReadOnly = true;
       this.dtgPages.RowHeaderWidth = 3;
       this.dtgPages.Size = new System.Drawing.Size(873, 305);
       this.dtgPages.TabIndex = 0;
       this.dtgPages.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.customStylesCollection1});
       this.dtgPages.CurrentCellChanged += new System.EventHandler(this.dtgPages_CurrentCellChanged);
       this.dtgPages.DoubleClick += new System.EventHandler(this.dtgPages_DoubleClick);
       //
       // customStylesCollection1
       //
       this.customStylesCollection1.DataGrid = this.dtgPages;
       this.customStylesCollection1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.colPageName,
     this.colPagePageIndex,
     this.colIsActive});
       this.customStylesCollection1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       //
       // colPageName
       //
       this.colPageName.Format = "";
       this.colPageName.FormatInfo = null;
       this.colPageName.HeaderText = "Lap neve";
       this.colPageName.MappingName = "Name";
       this.colPageName.Width = 200;
       //
       // colPagePageIndex
       //
       this.colPagePageIndex.Format = "";
       this.colPagePageIndex.FormatInfo = null;
       this.colPagePageIndex.HeaderText = "Lap sorszáma";
       this.colPagePageIndex.MappingName = "PageIndex";
       this.colPagePageIndex.Width = 75;
       //
       // colIsActive
       //
       this.colIsActive.HeaderText = "Aktív";
       this.colIsActive.MappingName = "IsActive";
       this.colIsActive.Width = 60;
       //
       // tabPage2
       //
       this.tabPage2.Controls.Add(this.btnModifyDetail);
       this.tabPage2.Controls.Add(this.btnNewDetail);
       this.tabPage2.Controls.Add(this.dtgDetails);
       this.tabPage2.Location = new System.Drawing.Point(4, 25);
       this.tabPage2.Name = "tabPage2";
       this.tabPage2.Size = new System.Drawing.Size(763, 461);
       this.tabPage2.TabIndex = 1;
       this.tabPage2.Text = "Kérdések";
       //
       // btnModifyDetail
       //
       this.btnModifyDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnModifyDetail.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnModifyDetail.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnModifyDetail.Location = new System.Drawing.Point(615, 376);
       this.btnModifyDetail.Name = "btnModifyDetail";
       this.btnModifyDetail.Size = new System.Drawing.Size(134, 23);
       this.btnModifyDetail.TabIndex = 2;
       this.btnModifyDetail.Text = "Kérdés módosítása";
       this.btnModifyDetail.Click += new System.EventHandler(this.btnModifyDetail_Click);
       //
       // btnNewDetail
       //
       this.btnNewDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnNewDetail.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnNewDetail.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnNewDetail.Location = new System.Drawing.Point(471, 376);
       this.btnNewDetail.Name = "btnNewDetail";
       this.btnNewDetail.Size = new System.Drawing.Size(134, 23);
       this.btnNewDetail.TabIndex = 1;
       this.btnNewDetail.Text = "Új kérdés";
       this.btnNewDetail.Click += new System.EventHandler(this.btnNewDetail_Click);
       //
       // dtgDetails
       //
       this.dtgDetails.BackgroundColor = System.Drawing.SystemColors.Window;
       this.dtgDetails.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.dtgDetails.CaptionBackColor = System.Drawing.SystemColors.Highlight;
       this.dtgDetails.CaptionVisible = false;
       this.dtgDetails.DataMember = "";
       this.dtgDetails.GridLineColor = System.Drawing.SystemColors.ControlLight;
       this.dtgDetails.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.dtgDetails.Location = new System.Drawing.Point(10, 9);
       this.dtgDetails.Name = "dtgDetails";
       this.dtgDetails.ReadOnly = true;
       this.dtgDetails.RowHeaderWidth = 3;
       this.dtgDetails.Size = new System.Drawing.Size(873, 305);
       this.dtgDetails.TabIndex = 0;
       this.dtgDetails.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.customStylesCollection2});
       this.dtgDetails.DoubleClick += new System.EventHandler(this.dtgDetails_DoubleClick);
       //
       // customStylesCollection2
       //
       this.customStylesCollection2.DataGrid = this.dtgDetails;
       this.customStylesCollection2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.colDetailID,
     this.colDeteilQuestion,
     this.colDetailPageIndex,
     this.colDetailOrder,
     this.colDetailActive});
       this.customStylesCollection2.HeaderForeColor = System.Drawing.SystemColors.ControlText;
       this.customStylesCollection2.RowHeaderWidth = 3;
       //
       // colDetailID
       //
       this.colDetailID.Format = "";
       this.colDetailID.FormatInfo = null;
       this.colDetailID.HeaderText = "Azonosító";
       this.colDetailID.MappingName = "ID";
       this.colDetailID.Width = 75;
       //
       // colDeteilQuestion
       //
       this.colDeteilQuestion.Format = "";
       this.colDeteilQuestion.FormatInfo = null;
       this.colDeteilQuestion.HeaderText = "Kérdés szövege";
       this.colDeteilQuestion.MappingName = "Question";
       this.colDeteilQuestion.Width = 300;
       //
       // colDetailPageIndex
       //
       this.colDetailPageIndex.Format = "";
       this.colDetailPageIndex.FormatInfo = null;
       this.colDetailPageIndex.HeaderText = "Lap sorszáma";
       this.colDetailPageIndex.MappingName = "PageIndex";
       this.colDetailPageIndex.Width = 75;
       //
       // colDetailOrder
       //
       this.colDetailOrder.Format = "";
       this.colDetailOrder.FormatInfo = null;
       this.colDetailOrder.HeaderText = "Sorszám";
       this.colDetailOrder.MappingName = "Order";
       this.colDetailOrder.Width = 75;
       //
       // colDetailActive
       //
       this.colDetailActive.HeaderText = "Aktív";
       this.colDetailActive.MappingName = "IsActive";
       this.colDetailActive.Width = 75;
       //
       // pnlBottom
       //
       this.pnlBottom.Controls.Add(this.btnPreview);
       this.pnlBottom.Controls.Add(this.btnCancel);
       this.pnlBottom.Controls.Add(this.btnOk);
       this.pnlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
       this.pnlBottom.Location = new System.Drawing.Point(0, 490);
       this.pnlBottom.Name = "pnlBottom";
       this.pnlBottom.Size = new System.Drawing.Size(771, 46);
       this.pnlBottom.TabIndex = 2;
       //
       // btnPreview
       //
       this.btnPreview.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnPreview.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnPreview.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnPreview.Location = new System.Drawing.Point(480, 14);
       this.btnPreview.Name = "btnPreview";
       this.btnPreview.Size = new System.Drawing.Size(84, 23);
       this.btnPreview.TabIndex = 0;
       this.btnPreview.Text = "Megtekint";
       this.btnPreview.Click += new System.EventHandler(this.btnPreview_Click);
       //
       // btnCancel
       //
       this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
       this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnCancel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnCancel.Location = new System.Drawing.Point(672, 14);
       this.btnCancel.Name = "btnCancel";
       this.btnCancel.Size = new System.Drawing.Size(84, 23);
       this.btnCancel.TabIndex = 2;
       this.btnCancel.Text = "Mégse";
       //
       // btnOk
       //
       this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.btnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
       this.btnOk.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
       this.btnOk.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.btnOk.Location = new System.Drawing.Point(576, 14);
       this.btnOk.Name = "btnOk";
       this.btnOk.Size = new System.Drawing.Size(84, 23);
       this.btnOk.TabIndex = 1;
       this.btnOk.Text = "Rendben";
       this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
       //
       // errorProvider1
       //
       this.errorProvider1.ContainerControl = this;
       //
       // frmTemplateEdit
       //
       this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
       this.ClientSize = new System.Drawing.Size(771, 536);
       this.Controls.Add(this.pnlBottom);
       this.Controls.Add(this.tabControl1);
       this.Controls.Add(this.pHeader);
       this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
       this.MaximizeBox = false;
       this.MinimizeBox = false;
       this.Name = "frmTemplateEdit";
       this.ShowInTaskbar = false;
       this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
       this.Text = "NDI HelpDesk Adminisztrátor";
       this.Load += new System.EventHandler(this.frmTemplateEdit_Load);
       this.tabControl1.ResumeLayout(false);
       this.tabPage1.ResumeLayout(false);
       this.tabPage1.PerformLayout();
       this.grpCategory.ResumeLayout(false);
       this.tabPage3.ResumeLayout(false);
       ((System.ComponentModel.ISupportInitialize)(this.dtgPages)).EndInit();
       this.tabPage2.ResumeLayout(false);
       ((System.ComponentModel.ISupportInitialize)(this.dtgDetails)).EndInit();
       this.pnlBottom.ResumeLayout(false);
       ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
       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.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FPatrol));
     this.datasetPatrol                 = new Allberg.Shooter.Windows.DatasetPatrol();
     this.dataGridAssigned              = new System.Windows.Forms.DataGrid();
     this.dataGridTableStyleAssigned    = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridAssignedMove          = new System.Windows.Forms.DataGridBoolColumn();
     this.dataGridAssignedLane          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridAssignedName          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridAssignedClub          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridAssignedWeaponClass   = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridAssignedWeapon        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridUnassigned            = new System.Windows.Forms.DataGrid();
     this.dataGridTableStyleUnassigned  = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridUnassignedLane        = new System.Windows.Forms.DataGridBoolColumn();
     this.dataGridUnassignedName        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridUnassignedClub        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridUnassignedWeaponClass = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridUnassignedWeapon      = new System.Windows.Forms.DataGridTextBoxColumn();
     this.toolTip1                       = new System.Windows.Forms.ToolTip(this.components);
     this.timePatrol                     = new Allberg.Shooter.Windows.Forms.SafeDateTimePicker();
     this.btnMoveDown                    = new SafeButton();
     this.btnMoveUp                      = new SafeButton();
     this.btnRemoveFromPatrol            = new SafeButton();
     this.btnAddToPatrol                 = new SafeButton();
     this.chkUseAutomaticTime            = new Allberg.Shooter.Windows.Forms.SafeCheckBox();
     this.safeLabel1                     = new SafeLabel();
     this.lblPatrolClass                 = new SafeLabel();
     this.SafeLabel2                     = new SafeLabel();
     this.lblPatrol                      = new SafeLabel();
     this.lblPatrolnumber                = new SafeLabel();
     this.chkBlockThisPatrolForAutomatic = new System.Windows.Forms.CheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.datasetPatrol)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridAssigned)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridUnassigned)).BeginInit();
     this.SuspendLayout();
     //
     // datasetPatrol
     //
     this.datasetPatrol.DataSetName             = "DatasetPatrol";
     this.datasetPatrol.Locale                  = new System.Globalization.CultureInfo("en-US");
     this.datasetPatrol.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // dataGridAssigned
     //
     this.dataGridAssigned.AllowNavigation = false;
     this.dataGridAssigned.Anchor          = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                   | System.Windows.Forms.AnchorStyles.Left)));
     this.dataGridAssigned.CaptionText     = "Skyttar i patrullen";
     this.dataGridAssigned.DataMember      = "shooters";
     this.dataGridAssigned.DataSource      = this.datasetPatrol;
     this.dataGridAssigned.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridAssigned.Location        = new System.Drawing.Point(8, 47);
     this.dataGridAssigned.Name            = "dataGridAssigned";
     this.dataGridAssigned.Size            = new System.Drawing.Size(272, 244);
     this.dataGridAssigned.TabIndex        = 6;
     this.dataGridAssigned.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyleAssigned
     });
     this.toolTip1.SetToolTip(this.dataGridAssigned, "Skyttar som redan finns i patrullen");
     //
     // dataGridTableStyleAssigned
     //
     this.dataGridTableStyleAssigned.DataGrid = this.dataGridAssigned;
     this.dataGridTableStyleAssigned.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridAssignedMove,
         this.dataGridAssignedLane,
         this.dataGridAssignedName,
         this.dataGridAssignedClub,
         this.dataGridAssignedWeaponClass,
         this.dataGridAssignedWeapon
     });
     this.dataGridTableStyleAssigned.HeaderForeColor   = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyleAssigned.MappingName       = "shooters";
     this.dataGridTableStyleAssigned.RowHeadersVisible = false;
     //
     // dataGridAssignedMove
     //
     this.dataGridAssignedMove.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.dataGridAssignedMove.AllowNull   = false;
     this.dataGridAssignedMove.MappingName = "Move";
     this.dataGridAssignedMove.Width       = 20;
     //
     // dataGridAssignedLane
     //
     this.dataGridAssignedLane.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.dataGridAssignedLane.Format      = "";
     this.dataGridAssignedLane.FormatInfo  = null;
     this.dataGridAssignedLane.HeaderText  = "Bana";
     this.dataGridAssignedLane.MappingName = "Lane";
     this.dataGridAssignedLane.ReadOnly    = true;
     this.dataGridAssignedLane.Width       = 40;
     //
     // dataGridAssignedName
     //
     this.dataGridAssignedName.Format      = "";
     this.dataGridAssignedName.FormatInfo  = null;
     this.dataGridAssignedName.HeaderText  = "Namn";
     this.dataGridAssignedName.MappingName = "Name";
     this.dataGridAssignedName.ReadOnly    = true;
     this.dataGridAssignedName.Width       = 75;
     //
     // dataGridAssignedClub
     //
     this.dataGridAssignedClub.Format      = "";
     this.dataGridAssignedClub.FormatInfo  = null;
     this.dataGridAssignedClub.HeaderText  = "Klubb";
     this.dataGridAssignedClub.MappingName = "Club";
     this.dataGridAssignedClub.ReadOnly    = true;
     this.dataGridAssignedClub.Width       = 75;
     //
     // dataGridAssignedWeaponClass
     //
     this.dataGridAssignedWeaponClass.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.dataGridAssignedWeaponClass.Format      = "";
     this.dataGridAssignedWeaponClass.FormatInfo  = null;
     this.dataGridAssignedWeaponClass.HeaderText  = "Klass";
     this.dataGridAssignedWeaponClass.MappingName = "WeaponClass";
     this.dataGridAssignedWeaponClass.NullText    = "";
     this.dataGridAssignedWeaponClass.ReadOnly    = true;
     this.dataGridAssignedWeaponClass.Width       = 40;
     //
     // dataGridAssignedWeapon
     //
     this.dataGridAssignedWeapon.Format      = "";
     this.dataGridAssignedWeapon.FormatInfo  = null;
     this.dataGridAssignedWeapon.HeaderText  = "Vapen";
     this.dataGridAssignedWeapon.MappingName = "Weapon";
     this.dataGridAssignedWeapon.ReadOnly    = true;
     this.dataGridAssignedWeapon.Width       = 75;
     //
     // dataGridUnassigned
     //
     this.dataGridUnassigned.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.dataGridUnassigned.CaptionText     = "Skyttar utan patrull";
     this.dataGridUnassigned.DataMember      = "unassigned";
     this.dataGridUnassigned.DataSource      = this.datasetPatrol;
     this.dataGridUnassigned.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridUnassigned.Location        = new System.Drawing.Point(318, 47);
     this.dataGridUnassigned.Name            = "dataGridUnassigned";
     this.dataGridUnassigned.Size            = new System.Drawing.Size(272, 244);
     this.dataGridUnassigned.TabIndex        = 9;
     this.dataGridUnassigned.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyleUnassigned
     });
     this.toolTip1.SetToolTip(this.dataGridUnassigned, "Skyttar som inte blivit tilldelad någon patrull");
     //
     // dataGridTableStyleUnassigned
     //
     this.dataGridTableStyleUnassigned.DataGrid = this.dataGridUnassigned;
     this.dataGridTableStyleUnassigned.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridUnassignedLane,
         this.dataGridUnassignedName,
         this.dataGridUnassignedClub,
         this.dataGridUnassignedWeaponClass,
         this.dataGridUnassignedWeapon
     });
     this.dataGridTableStyleUnassigned.HeaderForeColor   = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyleUnassigned.MappingName       = "unassigned";
     this.dataGridTableStyleUnassigned.RowHeadersVisible = false;
     //
     // dataGridUnassignedLane
     //
     this.dataGridUnassignedLane.AllowNull   = false;
     this.dataGridUnassignedLane.MappingName = "Move";
     this.dataGridUnassignedLane.Width       = 20;
     //
     // dataGridUnassignedName
     //
     this.dataGridUnassignedName.Format      = "";
     this.dataGridUnassignedName.FormatInfo  = null;
     this.dataGridUnassignedName.HeaderText  = "Namn";
     this.dataGridUnassignedName.MappingName = "Name";
     this.dataGridUnassignedName.ReadOnly    = true;
     this.dataGridUnassignedName.Width       = 75;
     //
     // dataGridUnassignedClub
     //
     this.dataGridUnassignedClub.Format      = "";
     this.dataGridUnassignedClub.FormatInfo  = null;
     this.dataGridUnassignedClub.HeaderText  = "Klubb";
     this.dataGridUnassignedClub.MappingName = "Club";
     this.dataGridUnassignedClub.ReadOnly    = true;
     this.dataGridUnassignedClub.Width       = 75;
     //
     // dataGridUnassignedWeaponClass
     //
     this.dataGridUnassignedWeaponClass.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.dataGridUnassignedWeaponClass.Format      = "";
     this.dataGridUnassignedWeaponClass.FormatInfo  = null;
     this.dataGridUnassignedWeaponClass.HeaderText  = "Klass";
     this.dataGridUnassignedWeaponClass.MappingName = "WeaponClass";
     this.dataGridUnassignedWeaponClass.NullText    = "";
     this.dataGridUnassignedWeaponClass.ReadOnly    = true;
     this.dataGridUnassignedWeaponClass.Width       = 40;
     //
     // dataGridUnassignedWeapon
     //
     this.dataGridUnassignedWeapon.Format      = "";
     this.dataGridUnassignedWeapon.FormatInfo  = null;
     this.dataGridUnassignedWeapon.HeaderText  = "Vapen";
     this.dataGridUnassignedWeapon.MappingName = "Weapon";
     this.dataGridUnassignedWeapon.ReadOnly    = true;
     this.dataGridUnassignedWeapon.Width       = 75;
     //
     // timePatrol
     //
     this.timePatrol.CustomFormat = "hh:mm";
     this.timePatrol.Enabled      = false;
     this.timePatrol.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.timePatrol.Location     = new System.Drawing.Point(276, 6);
     this.timePatrol.Name         = "timePatrol";
     this.timePatrol.ShowUpDown   = true;
     this.timePatrol.Size         = new System.Drawing.Size(73, 20);
     this.timePatrol.TabIndex     = 14;
     this.toolTip1.SetToolTip(this.timePatrol, "Patrullens starttid kan sättas till annan tid än den som automatiskt sätts");
     this.timePatrol.Value         = new System.DateTime(2006, 6, 13, 19, 2, 18, 562);
     this.timePatrol.ValueChanged += new System.EventHandler(this.timePatrol_ValueChanged);
     //
     // btnMoveDown
     //
     this.btnMoveDown.Font     = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnMoveDown.Location = new System.Drawing.Point(280, 128);
     this.btnMoveDown.Name     = "btnMoveDown";
     this.btnMoveDown.Size     = new System.Drawing.Size(32, 23);
     this.btnMoveDown.TabIndex = 11;
     this.btnMoveDown.Text     = "ß";
     this.toolTip1.SetToolTip(this.btnMoveDown, "Flytta skyttar till en senare bana");
     this.btnMoveDown.Click += new System.EventHandler(this.btnMoveDown_Click);
     //
     // btnMoveUp
     //
     this.btnMoveUp.Font     = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnMoveUp.Location = new System.Drawing.Point(280, 104);
     this.btnMoveUp.Name     = "btnMoveUp";
     this.btnMoveUp.Size     = new System.Drawing.Size(32, 23);
     this.btnMoveUp.TabIndex = 10;
     this.btnMoveUp.Text     = "Ý";
     this.toolTip1.SetToolTip(this.btnMoveUp, "Flytta skyttar till en tidigare bana");
     this.btnMoveUp.Click += new System.EventHandler(this.btnMoveUp_Click);
     //
     // btnRemoveFromPatrol
     //
     this.btnRemoveFromPatrol.Font     = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnRemoveFromPatrol.Location = new System.Drawing.Point(280, 56);
     this.btnRemoveFromPatrol.Name     = "btnRemoveFromPatrol";
     this.btnRemoveFromPatrol.Size     = new System.Drawing.Size(32, 23);
     this.btnRemoveFromPatrol.TabIndex = 8;
     this.btnRemoveFromPatrol.Text     = "Þ";
     this.toolTip1.SetToolTip(this.btnRemoveFromPatrol, "Ta bort skyttar ur patrullen");
     this.btnRemoveFromPatrol.Click += new System.EventHandler(this.btnRemoveFromPatrol_Click);
     //
     // btnAddToPatrol
     //
     this.btnAddToPatrol.Font     = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnAddToPatrol.Location = new System.Drawing.Point(280, 80);
     this.btnAddToPatrol.Name     = "btnAddToPatrol";
     this.btnAddToPatrol.Size     = new System.Drawing.Size(32, 23);
     this.btnAddToPatrol.TabIndex = 7;
     this.btnAddToPatrol.Text     = "Ü";
     this.toolTip1.SetToolTip(this.btnAddToPatrol, "Lägg till skyttar i patrullen");
     this.btnAddToPatrol.Click += new System.EventHandler(this.btnAddToPatrol_Click);
     //
     // chkUseAutomaticTime
     //
     this.chkUseAutomaticTime.AutoSize = true;
     this.chkUseAutomaticTime.Location = new System.Drawing.Point(355, 8);
     this.chkUseAutomaticTime.Name     = "chkUseAutomaticTime";
     this.chkUseAutomaticTime.Size     = new System.Drawing.Size(131, 17);
     this.chkUseAutomaticTime.TabIndex = 15;
     this.chkUseAutomaticTime.Text     = "Använd automatisk tid";
     this.chkUseAutomaticTime.UseVisualStyleBackColor = true;
     this.chkUseAutomaticTime.CheckedChanged         += new System.EventHandler(this.chkUseAutomaticTime_CheckedChanged);
     //
     // safeLabel1
     //
     this.safeLabel1.AutoSize = true;
     this.safeLabel1.Location = new System.Drawing.Point(230, 8);
     this.safeLabel1.Name     = "safeLabel1";
     this.safeLabel1.Size     = new System.Drawing.Size(40, 13);
     this.safeLabel1.TabIndex = 13;
     this.safeLabel1.Text     = "Starttid";
     //
     // lblPatrolClass
     //
     this.lblPatrolClass.Location = new System.Drawing.Point(184, 8);
     this.lblPatrolClass.Name     = "lblPatrolClass";
     this.lblPatrolClass.Size     = new System.Drawing.Size(40, 23);
     this.lblPatrolClass.TabIndex = 5;
     this.lblPatrolClass.Text     = "Klass1";
     //
     // SafeLabel2
     //
     this.SafeLabel2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SafeLabel2.Location = new System.Drawing.Point(136, 8);
     this.SafeLabel2.Name     = "SafeLabel2";
     this.SafeLabel2.Size     = new System.Drawing.Size(40, 23);
     this.SafeLabel2.TabIndex = 4;
     this.SafeLabel2.Text     = "Klass";
     //
     // lblPatrol
     //
     this.lblPatrol.Location  = new System.Drawing.Point(96, 8);
     this.lblPatrol.Name      = "lblPatrol";
     this.lblPatrol.Size      = new System.Drawing.Size(32, 23);
     this.lblPatrol.TabIndex  = 3;
     this.lblPatrol.Text      = "0";
     this.lblPatrol.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // lblPatrolnumber
     //
     this.lblPatrolnumber.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblPatrolnumber.Location = new System.Drawing.Point(8, 8);
     this.lblPatrolnumber.Name     = "lblPatrolnumber";
     this.lblPatrolnumber.Size     = new System.Drawing.Size(88, 23);
     this.lblPatrolnumber.TabIndex = 2;
     this.lblPatrolnumber.Text     = "Patrullnummer";
     //
     // chkBlockThisPatrolForAutomatic
     //
     this.chkBlockThisPatrolForAutomatic.AutoSize = true;
     this.chkBlockThisPatrolForAutomatic.Location = new System.Drawing.Point(12, 24);
     this.chkBlockThisPatrolForAutomatic.Name     = "chkBlockThisPatrolForAutomatic";
     this.chkBlockThisPatrolForAutomatic.Size     = new System.Drawing.Size(233, 17);
     this.chkBlockThisPatrolForAutomatic.TabIndex = 16;
     this.chkBlockThisPatrolForAutomatic.Text     = "Stäng denna patrull för automatisk placering";
     this.chkBlockThisPatrolForAutomatic.UseVisualStyleBackColor = true;
     this.chkBlockThisPatrolForAutomatic.CheckedChanged         += new System.EventHandler(this.chkBlockThisPatrolForAutomatic_CheckedChanged);
     //
     // FPatrol
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(598, 297);
     this.Controls.Add(this.chkBlockThisPatrolForAutomatic);
     this.Controls.Add(this.chkUseAutomaticTime);
     this.Controls.Add(this.timePatrol);
     this.Controls.Add(this.safeLabel1);
     this.Controls.Add(this.btnMoveDown);
     this.Controls.Add(this.btnMoveUp);
     this.Controls.Add(this.dataGridUnassigned);
     this.Controls.Add(this.btnRemoveFromPatrol);
     this.Controls.Add(this.btnAddToPatrol);
     this.Controls.Add(this.dataGridAssigned);
     this.Controls.Add(this.lblPatrolClass);
     this.Controls.Add(this.SafeLabel2);
     this.Controls.Add(this.lblPatrol);
     this.Controls.Add(this.lblPatrolnumber);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "FPatrol";
     this.Text = "Patrull";
     ((System.ComponentModel.ISupportInitialize)(this.datasetPatrol)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridAssigned)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridUnassigned)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }