private void setupColumns() { DataGridTextBoxColumn tCol; tCol = new DataGridTextBoxColumn(); tCol.HeaderText = "Name"; tCol.MappingName = "Name"; tCol.Width = 100; this.rateDataGrid.TableStyles[0].GridColumnStyles.Add(tCol); tCol = new DataGridTextBoxColumn(); tCol.HeaderText = "Codes"; tCol.MappingName = "Codes"; tCol.Width = 100; this.rateDataGrid.TableStyles[0].GridColumnStyles.Add(tCol); tCol = new DataGridTextBoxColumn(); tCol.HeaderText = "Rate"; tCol.MappingName = "Rate"; tCol.Width = 100; this.rateDataGrid.TableStyles[0].GridColumnStyles.Add(tCol); tCol = new DataGridTextBoxColumn(); tCol.HeaderText = "PassThrus"; tCol.MappingName = "PassThrus"; tCol.Width = 100; this.rateDataGrid.TableStyles[0].GridColumnStyles.Add(tCol); }
private void setupColumns() { DataGridTextBoxColumn tCol; tCol = new DataGridTextBoxColumn(); tCol.HeaderText = "Name"; tCol.MappingName = "Name"; tCol.Width = Convert.ToInt16(rateDataGrid.Width * .35); this.rateDataGrid.TableStyles[0].GridColumnStyles.Add(tCol); tCol = new DataGridTextBoxColumn(); tCol.HeaderText = "Codes"; tCol.MappingName = "Codes"; tCol.Width = Convert.ToInt16(rateDataGrid.Width * .35); this.rateDataGrid.TableStyles[0].GridColumnStyles.Add(tCol); tCol = new DataGridTextBoxColumn(); tCol.HeaderText = "Rate"; tCol.MappingName = "Rate"; tCol.Format = "C0"; tCol.Alignment = System.Windows.Forms.HorizontalAlignment.Right; tCol.Width = Convert.ToInt16(rateDataGrid.Width * .3); this.rateDataGrid.TableStyles[0].GridColumnStyles.Add(tCol); }
/// <summary> /// 初始化表格控件 /// </summary> private void InitGrid() { var dgts = new DataGridTableStyle { MappingName = prods.ProDelivery.TableName }; DataGridColumnStyle dgRowNo = new DataGridTextBoxColumn(); dgRowNo.Width = 40; dgRowNo.MappingName = prods.ProDelivery.RowNoColumn.ColumnName; dgRowNo.HeaderText = "序号"; dgts.GridColumnStyles.Add(dgRowNo); //DataGridColumnStyle dgAutoID = new DataGridTextBoxColumn(); //dgAutoID.Width = 40; //dgAutoID.MappingName = "AutoID"; //dgAutoID.HeaderText = ""; //dgts.GridColumnStyles.Add(dgAutoID); DataGridColumnStyle dgccOrderNumber = new DataGridTextBoxColumn(); dgccOrderNumber.Width = 120; dgccOrderNumber.MappingName = "cCode"; dgccOrderNumber.HeaderText = "单号"; dgts.GridColumnStyles.Add(dgccOrderNumber); DataGridColumnStyle dgccCusName = new DataGridTextBoxColumn(); dgccCusName.Width = 70; dgccCusName.MappingName = "cCusName"; dgccCusName.HeaderText = "客户"; dgts.GridColumnStyles.Add(dgccCusName); DataGridColumnStyle dgccMaker = new DataGridTextBoxColumn(); dgccMaker.Width = 70; dgccMaker.MappingName = "cMaker"; dgccMaker.HeaderText = "制单人"; dgts.GridColumnStyles.Add(dgccMaker); DataGridColumnStyle dgccDepName = new DataGridTextBoxColumn(); dgccDepName.Width = 70; dgccDepName.MappingName = "cDepName"; dgccDepName.HeaderText = "部门"; dgts.GridColumnStyles.Add(dgccDepName); DataGridColumnStyle dgcMemo = new DataGridTextBoxColumn(); dgcMemo.Width = 70; dgcMemo.MappingName = "cMemo"; dgcMemo.HeaderText = "备注"; dgts.GridColumnStyles.Add(dgcMemo); DataGridColumnStyle dgccVerifyState = new DataGridTextBoxColumn(); dgccVerifyState.Width = 70; dgccVerifyState.MappingName = "cVerifyState"; dgccVerifyState.HeaderText = "状态"; dgts.GridColumnStyles.Add(dgccVerifyState); dGridMain.TableStyles.Clear(); dGridMain.TableStyles.Add(dgts); dGridMain.DataSource = prods.ProDelivery; }
private void InitValues() { // Initialize the DataGrid columns dgtbName = new DataGridTextBoxColumn(); dgtbValue = new DataGridTextBoxColumn(); this.dgTableStyle.GridColumnStyles.AddRange(new DataGridColumnStyle[] { this.dgtbName, this.dgtbValue}); // // dgtbFE // dgtbName.HeaderText = "Parameter Name"; dgtbName.MappingName = "Name"; dgtbName.Width = 75; // // dgtbValue // this.dgtbValue.HeaderText = "Value"; this.dgtbValue.MappingName = "Value"; this.dgtbValue.Width = 75; // string[] parms = _Draw.GetReportParameters(true); // if (parms != null) // dgtbFV.CB.Items.AddRange(parms); // Initialize the DataGrid this.dgParms.DataSource = _dsv.QueryParameters; DataGridTableStyle ts = dgParms.TableStyles[0]; ts.GridColumnStyles[0].Width = 140; ts.GridColumnStyles[1].Width = 140; }
public void TestAdd () { DataGridTableStyle ts = new DataGridTableStyle (); GridColumnStylesCollection sc = ts.GridColumnStyles; sc.CollectionChanged += new CollectionChangeEventHandler (OnCollectionEventHandler); // Add single ResetEventData (); DataGridTextBoxColumn col1 = new DataGridTextBoxColumn (); col1.MappingName = "Column1"; sc.Add (col1); Assert.AreEqual (true, eventhandled); Assert.AreEqual (col1, Element); Assert.AreEqual (CollectionChangeAction.Add, Action); // Add multiple ResetEventData (); DataGridTextBoxColumn elem1 = new DataGridTextBoxColumn (); DataGridTextBoxColumn elem2 = new DataGridTextBoxColumn (); sc.AddRange (new DataGridTextBoxColumn [] {elem1, elem2}); Assert.AreEqual (true, eventhandled, "A1"); Assert.AreEqual (CollectionChangeAction.Add, Action, "A2"); Assert.AreEqual (elem2, Element, "A3"); }
public static DataGridTableStyle frmStock_Items() { DataGridTableStyle dtStyle = new DataGridTableStyle(); dtStyle.MappingName = "table"; DataGridTextBoxColumn id = new DataGridTextBoxColumn(); id.MappingName = "id"; id.HeaderText = "ID"; id.Width = 30; dtStyle.GridColumnStyles.Add(id); DataGridTextBoxColumn lotno = new DataGridTextBoxColumn(); lotno.MappingName = "lot_no"; lotno.HeaderText = "Lot#"; lotno.Width = 80; dtStyle.GridColumnStyles.Add(lotno); DataGridTextBoxColumn qty = new DataGridTextBoxColumn(); qty.MappingName = "qty"; qty.HeaderText = "Qty"; qty.Width = 96; dtStyle.GridColumnStyles.Add(qty); return dtStyle; }
public static DataGridTableStyle CreateDataGridTableStyle(string tableMappingName,string[] dbColName, string[] dgShowName,int[] boolColumnIndex) { 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(); dgcs.MappingName=dbColName[i]; dgcs.HeaderText=dgShowName[i]; dgts.GridColumnStyles.Add(dgcs); } return dgts; }
public DataGridTableStyle getTableStyle() { DataGridTableStyle style = new DataGridTableStyle(); style.MappingName = "ArrayList"; DataGridTextBoxColumn column = new DataGridTextBoxColumn(); column.MappingName = "Name"; column.HeaderText = "Name"; column.Format = "f4"; column.Width = 150; style.GridColumnStyles.Add(column); column = new DataGridTextBoxColumn(); column.MappingName = "Status"; column.HeaderText = "Completed"; column.Format = "f4"; column.Width = 85; style.GridColumnStyles.Add(column); column = new DataGridTextBoxColumn(); column.MappingName = "SupportID"; column.HeaderText = "SupportID"; column.Format = "d"; column.Width = 25; style.GridColumnStyles.Add(column); column = new DataGridTextBoxColumn(); column.MappingName = "StatusID"; column.HeaderText = "StatusID"; column.Format = "d"; column.Width = 25; style.GridColumnStyles.Add(column); return style; }
public void generatedatagrid() { DataGridTableStyle tableStyle = new DataGridTableStyle(); tableStyle.MappingName = arr1.GetType().Name; DataGridTextBoxColumn tbcName = new DataGridTextBoxColumn(); tbcName.Width = dataGrid1.Width * 50 / 100; tbcName.MappingName = "EPC"; tbcName.HeaderText = "EPC"; tableStyle.GridColumnStyles.Add(tbcName); tbcName = new DataGridTextBoxColumn(); tbcName.Width = dataGrid1.Width * 20 / 100; tbcName.MappingName = "Timestamp"; tbcName.HeaderText = "Timestamp"; tableStyle.GridColumnStyles.Add(tbcName); tbcName = new DataGridTextBoxColumn(); tbcName.Width = dataGrid1.Width * 15 / 100; tbcName.MappingName = "ReadCount"; tbcName.HeaderText = "ReadCount"; tableStyle.GridColumnStyles.Add(tbcName); tbcName = new DataGridTextBoxColumn(); tbcName.Width = dataGrid1.Width * 12 / 100; tbcName.MappingName = "Rssi"; tbcName.HeaderText = "Rssi"; tableStyle.GridColumnStyles.Add(tbcName); dataGrid1.TableStyles.Clear(); dataGrid1.TableStyles.Add(tableStyle); }
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 void TestMappingNameChangedEvent () { DataGridTextBoxColumn col = new DataGridTextBoxColumn (); eventhandled = false; col.MappingNameChanged += new EventHandler (OnEventHandler); col.MappingName = "name1"; Assert.AreEqual (true, eventhandled, "A1"); }
public void TestAlignmentChangedEvent () { DataGridTextBoxColumn col = new DataGridTextBoxColumn (); eventhandled = false; col.AlignmentChanged += new EventHandler (OnEventHandler); col.Alignment = HorizontalAlignment.Center; Assert.AreEqual (true, eventhandled, "A1"); }
public static void AddColumn(this DataGrid dataGrid, string caption, string columnName, int width) { DataGridTextBoxColumn ColumnStyle = new DataGridTextBoxColumn(); ColumnStyle.HeaderText = caption; ColumnStyle.MappingName = columnName; ColumnStyle.Width = width; dataGrid.TableStyles["Mobile"].GridColumnStyles.Add(ColumnStyle); }
/// <summary> /// Constructor /// </summary> public SopClassesUserControl() { InitializeComponent(); _theDefinitionFileTextColumn = new DataGridTextBoxColumn(); Initialize(); //UpdateDataGrid(); }
private void FormSTO_Load(object sender, EventArgs e) { buttonConvert.Hide(); try { SqlDataReader dr; string sqls = "SELECT COUNT(TagID),COUNT([TagDuplicate]),COUNT(*) FROM MasterKanban"; SqlCommand cmd = new SqlCommand(sqls, Connect.con2); if (Connect.con2.State == ConnectionState.Closed) { Connect.con2.Open(); } dr = cmd.ExecuteReader(); if (dr.Read()) { labelUniq.Text = "Uniq Item : " + dr[0].ToString(); labelDuplicate.Text = "Duplicate Item : " + dr[1].ToString(); labelTotal.Text = "Total Scan Item : " + dr[2].ToString(); } dr.Close(); cmd.Dispose(); if (Connect.con2.State == ConnectionState.Open) { Connect.con2.Close(); } DataSet ds = new DataSet(); string strSQL = " select distinct(TagDuplicate), count(TagDuplicate) as Jumlah from MasterKanban where TagDuplicate is not null group by TagDuplicate"; SqlDataAdapter da = new SqlDataAdapter(strSQL, Connect.con2); da.Fill(ds, "LogDuplicat"); dataGridListDuplicat.DataSource = ds.Tables[0]; DataGridTableStyle ts = new DataGridTableStyle(); dataGridListDuplicat.TableStyles.Clear(); ts.MappingName = "LogDuplicat"; DataGridTextBoxColumn col1 = new DataGridTextBoxColumn(); col1.HeaderText = "TagDuplicate"; col1.MappingName = "TagDuplicate"; col1.Width = 190; ts.GridColumnStyles.Add(col1); DataGridTextBoxColumn col2 = new DataGridTextBoxColumn(); col2.HeaderText = "Jumlah"; col2.MappingName = "Jumlah"; col2.Width = 40; ts.GridColumnStyles.Add(col2); dataGridListDuplicat.TableStyles.Add(ts); dataGridListDuplicat.Refresh(); ds.Tables.Clear(); da.Dispose(); ds.Dispose(); dataGridListDuplicat.Enabled = true; } catch (SqlException ex) { MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand, MessageBoxDefaultButton.Button1); this.Close(); } }
/// <summary> /// 初始化表格控件 /// </summary> private void InitGrid() { var dgts = new DataGridTableStyle { MappingName = rds.RmProduce.TableName}; DataGridColumnStyle dgAutoID = new DataGridTextBoxColumn(); dgAutoID.Width = 40; dgAutoID.MappingName = "RowNo"; dgAutoID.HeaderText = "序号"; dgts.GridColumnStyles.Add(dgAutoID); DataGridColumnStyle dgccCode = new DataGridTextBoxColumn(); dgccCode.Width = 120; dgccCode.MappingName = "cCode"; dgccCode.HeaderText = "班次单号"; dgts.GridColumnStyles.Add(dgccCode); DataGridColumnStyle dgccInvCode = new DataGridTextBoxColumn(); dgccInvCode.Width = 60; dgccInvCode.MappingName = "cInvCode"; dgccInvCode.HeaderText = "原料编码"; dgts.GridColumnStyles.Add(dgccInvCode); DataGridColumnStyle dgccInvName = new DataGridTextBoxColumn(); dgccInvName.Width = 80; dgccInvName.MappingName = "cInvName"; dgccInvName.HeaderText = "原料名称"; dgts.GridColumnStyles.Add(dgccInvName); //DataGridColumnStyle dgccUnit = new DataGridTextBoxColumn(); //dgccUnit.Width = 60; //dgccUnit.MappingName = "cUnit"; //dgccUnit.HeaderText = "单位"; //dgts.GridColumnStyles.Add(dgccUnit); DataGridColumnStyle dgciQuantity = new DataGridTextBoxColumn(); dgciQuantity.Width = 70; dgciQuantity.MappingName = "iQuantity"; dgciQuantity.HeaderText = "数量"; dgts.GridColumnStyles.Add(dgciQuantity); DataGridColumnStyle dgcMemo = new DataGridTextBoxColumn(); dgcMemo.Width = 70; dgcMemo.MappingName = "cMemo"; dgcMemo.HeaderText = "备注"; dgts.GridColumnStyles.Add(dgcMemo); dGridMain.TableStyles.Clear(); dGridMain.TableStyles.Add(dgts); dGridMain.DataSource = rds.RmProduce; }
/// <summary> /// 初始化表格控件 /// </summary> private void InitGrid() { var dgts = new DataGridTableStyle { MappingName = prods.StockDetail.TableName }; DataGridColumnStyle dgRowNo = new DataGridTextBoxColumn(); dgRowNo.Width = 40; dgRowNo.MappingName = "RowNo"; dgRowNo.HeaderText = "序号"; dgts.GridColumnStyles.Add(dgRowNo); DataGridColumnStyle dgAutoID = new DataGridTextBoxColumn(); dgAutoID.Width = 90; dgAutoID.MappingName = "FBatchNo"; dgAutoID.HeaderText = "批号"; dgts.GridColumnStyles.Add(dgAutoID); DataGridColumnStyle dgccOrderNumber = new DataGridTextBoxColumn(); dgccOrderNumber.Width = 90; dgccOrderNumber.MappingName = "FQty"; dgccOrderNumber.HeaderText = "数量"; dgts.GridColumnStyles.Add(dgccOrderNumber); DataGridColumnStyle dgccInvCode = new DataGridTextBoxColumn(); dgccInvCode.Width = 60; dgccInvCode.MappingName = "FStockName"; dgccInvCode.HeaderText = "仓库"; dgts.GridColumnStyles.Add(dgccInvCode); DataGridColumnStyle dgccInvName = new DataGridTextBoxColumn(); dgccInvName.Width = 80; dgccInvName.MappingName = "FStockPlaceNumber"; dgccInvName.HeaderText = "仓位编码"; dgts.GridColumnStyles.Add(dgccInvName); //DataGridColumnStyle dgccUnit = new DataGridTextBoxColumn(); //dgccUnit.Width = 60; //dgccUnit.MappingName = "cUnit"; //dgccUnit.HeaderText = "单位"; //dgts.GridColumnStyles.Add(dgccUnit); DataGridColumnStyle dgciQuantity = new DataGridTextBoxColumn(); dgciQuantity.Width = 70; dgciQuantity.MappingName = "FStockPlaceName"; dgciQuantity.HeaderText = "仓位"; dgts.GridColumnStyles.Add(dgciQuantity); dGridMain.TableStyles.Clear(); dGridMain.TableStyles.Add(dgts); dGridMain.DataSource = prods.StockDetail; }
public DataGridTextBoxColumn newGridColumn(string header, string mappingName, bool visible) { DataGridTextBoxColumn tCol = new DataGridTextBoxColumn(); tCol.HeaderText = header; tCol.TextBox.Visible = visible; tCol.MappingName = mappingName; return tCol; }
/// <summary> /// 初始化表格控件 /// </summary> private void InitGrid() { var dgts = new DataGridTableStyle { MappingName = rds.RmPo.TableName }; DataGridColumnStyle dgAutoID = new DataGridTextBoxColumn(); dgAutoID.Width = 40; dgAutoID.MappingName = "RowNo"; dgAutoID.HeaderText = "序号"; dgts.GridColumnStyles.Add(dgAutoID); DataGridColumnStyle dgccOrderNumber = new DataGridTextBoxColumn(); dgccOrderNumber.Width = 120; dgccOrderNumber.MappingName = "cOrderNumber"; dgccOrderNumber.HeaderText = "采购单号"; dgts.GridColumnStyles.Add(dgccOrderNumber); DataGridColumnStyle dgccVendor = new DataGridTextBoxColumn(); dgccVendor.Width = 120; dgccVendor.MappingName = "cVendor"; dgccVendor.HeaderText = "供应商"; dgts.GridColumnStyles.Add(dgccVendor); DataGridColumnStyle dgcMemo = new DataGridTextBoxColumn(); dgcMemo.Width = 70; dgcMemo.MappingName = "cMemo"; dgcMemo.HeaderText = "备注"; dgts.GridColumnStyles.Add(dgcMemo); DataGridColumnStyle dgcdLoadDate = new DataGridTextBoxColumn(); dgcdLoadDate.Width = 100; dgcdLoadDate.MappingName = "dLoadDate"; dgcdLoadDate.HeaderText = "下载时间"; dgts.GridColumnStyles.Add(dgcdLoadDate); //dgccUnit.Width = 60; //dgccUnit.MappingName = "cUnit"; //dgccUnit.HeaderText = "单位"; //dgts.GridColumnStyles.Add(dgccUnit); DataGridColumnStyle dgciQuantity = new DataGridTextBoxColumn(); dgciQuantity.Width = 70; dgciQuantity.MappingName = "iQuantity"; dgciQuantity.HeaderText = "总数"; dgts.GridColumnStyles.Add(dgciQuantity); dGridMain.TableStyles.Clear(); dGridMain.TableStyles.Add(dgts); dGridMain.DataSource = rds.RmPo; }
/// <summary> /// 初始化表格控件 /// </summary> private void InitGrid() { var dgts = new DataGridTableStyle { MappingName = rds.RmProduceDetail.TableName }; DataGridColumnStyle dgAutoID = new DataGridTextBoxColumn(); dgAutoID.Width = 40; dgAutoID.MappingName = "RowNo"; dgAutoID.HeaderText = "序号"; dgts.GridColumnStyles.Add(dgAutoID); DataGridColumnStyle dgccCode = new DataGridTextBoxColumn(); dgccCode.Width = 120; dgccCode.MappingName = "cLotNo"; dgccCode.HeaderText = "批号"; dgts.GridColumnStyles.Add(dgccCode); DataGridColumnStyle dgccInvCode = new DataGridTextBoxColumn(); dgccInvCode.Width = 60; dgccInvCode.MappingName = "cInvCode"; dgccInvCode.HeaderText = "产品编码"; dgts.GridColumnStyles.Add(dgccInvCode); DataGridColumnStyle dgccInvName = new DataGridTextBoxColumn(); dgccInvName.Width = 80; dgccInvName.MappingName = "cInvName"; dgccInvName.HeaderText = "产品名称"; dgts.GridColumnStyles.Add(dgccInvName); //DataGridColumnStyle dgccUnit = new DataGridTextBoxColumn(); //dgccUnit.Width = 60; //dgccUnit.MappingName = "cUnit"; //dgccUnit.HeaderText = "单位"; //dgts.GridColumnStyles.Add(dgccUnit); DataGridColumnStyle dgciQuantity = new DataGridTextBoxColumn(); dgciQuantity.Width = 70; dgciQuantity.MappingName = "iQuantity"; dgciQuantity.HeaderText = "数量"; dgts.GridColumnStyles.Add(dgciQuantity); DataGridColumnStyle dgcCode = new DataGridTextBoxColumn(); dgcCode.Width = 60; dgcCode.MappingName = "FSPNumber"; dgcCode.HeaderText = "库位"; dgts.GridColumnStyles.Add(dgcCode); dGridMain.TableStyles.Clear(); dGridMain.TableStyles.Add(dgts); dGridMain.DataSource = rds.RmProduceDetail; }
/// <summary> /// Atualiza o grid a partir de uma List que refência a classe ItemProposta. /// </summary> private void atualizaDataGridItensProposta(List<ProdutoProposta> listItemProposta) { //buscaItensBaseMobile(); DataGridTableStyle tbStyle = new DataGridTableStyle(); tbStyle.MappingName = "ItemProposta"; DataGridTextBoxColumn codigoItem = new DataGridTextBoxColumn(); codigoItem.MappingName = "codigoITEMPROPOSTA"; codigoItem.HeaderText = "Código"; codigoItem.Width = 42; tbStyle.GridColumnStyles.Add(codigoItem); DataGridTextBoxColumn itemProposta = new DataGridTextBoxColumn(); itemProposta.MappingName = "propostaITEMPROPOSTA"; itemProposta.HeaderText = "Item"; itemProposta.Width = 42; tbStyle.GridColumnStyles.Add(itemProposta); DataGridTextBoxColumn nomeItemProposta = new DataGridTextBoxColumn(); nomeItemProposta.MappingName = "nomePRODUTO"; nomeItemProposta.HeaderText = "Nome"; nomeItemProposta.Width = 42; tbStyle.GridColumnStyles.Add(nomeItemProposta); DataGridTextBoxColumn partnumberItem = new DataGridTextBoxColumn(); partnumberItem.MappingName = "partnumberPRODUTO"; partnumberItem.HeaderText = "partnumber"; partnumberItem.Width = 42; tbStyle.GridColumnStyles.Add(partnumberItem); DataGridTextBoxColumn ean13Item = new DataGridTextBoxColumn(); ean13Item.MappingName = "ean13PRODUTO"; ean13Item.HeaderText = "Ean13"; ean13Item.Width = 42; tbStyle.GridColumnStyles.Add(ean13Item); DataGridTextBoxColumn produtoseparadoItem = new DataGridTextBoxColumn(); produtoseparadoItem.MappingName = "PRODUTO"; produtoseparadoItem.HeaderText = "ProdutoSeparado"; produtoseparadoItem.Width = 42; tbStyle.GridColumnStyles.Add(produtoseparadoItem); DataGridTextBoxColumn quantidade = new DataGridTextBoxColumn(); quantidade.MappingName = "QTD"; quantidade.HeaderText = "Quantidade"; quantidade.Width = 42; tbStyle.GridColumnStyles.Add(quantidade); dgProposta.TableStyles.Clear(); dgProposta.TableStyles.Add(tbStyle); //dgProposta.DataSource = dt; }
public void TestDefaultValues () { DataGridTextBoxColumn col = new DataGridTextBoxColumn (); Assert.AreEqual (HorizontalAlignment.Left, col.Alignment, "HorizontalAlignment property"); Assert.AreEqual ("", col.HeaderText, "HeaderText property"); Assert.AreEqual ("", col.MappingName, "MappingName property"); Assert.AreEqual ("(null)", col.NullText, "NullText property"); Assert.AreEqual (false, col.ReadOnly, "ReadOnly property"); Assert.AreEqual (-1, col.Width, "Width property"); Assert.AreEqual ("", col.Format, "Format property"); Assert.AreEqual (null, col.FormatInfo, "FormatInfo property"); }
private void BindDataGrid() { myConnection = default(SqlCeConnection); DataTable dt = new DataTable(); Adapter = default(SqlCeDataAdapter); myConnection = new SqlCeConnection(storagePath.getDatabasePath()); myConnection.Open(); myCommand = myConnection.CreateCommand(); myCommand.CommandText = "SELECT [id], [item], [qty],[unit] FROM [" + tableName + "]"; myCommand.CommandType = CommandType.Text; Adapter = new SqlCeDataAdapter(myCommand); Adapter.Fill(dt); myConnection.Close(); DataGridTableStyle tableStyle = new DataGridTableStyle(); tableStyle.MappingName = dt.TableName; DataGridTextBoxColumn column = new DataGridTextBoxColumn(); column.MappingName = "id"; column.HeaderText = "ID"; column.Width = 30; tableStyle.GridColumnStyles.Add(column); column = new DataGridTextBoxColumn(); column.MappingName = "item"; column.HeaderText = "item"; column.Width = 40; tableStyle.GridColumnStyles.Add(column); column = new DataGridTextBoxColumn(); column.Width = 70; column.MappingName = "qty"; column.HeaderText = "qty"; tableStyle.GridColumnStyles.Add(column); column = new DataGridTextBoxColumn(); column.Width = 70; column.MappingName = "unit"; column.HeaderText = "unit"; tableStyle.GridColumnStyles.Add(column); this.dgvData.DataSource = dt; this.dgvData.TableStyles.Clear(); this.dgvData.TableStyles.Add(tableStyle); dt = null; }
public void BindSchemesGrid() { // Filter the OrderDetails data based on the currently selected OrderID. dvSchemes.RowFilter = "manSchemeNo = " + PricingScheme; grdScheme.CaptionText = System.Convert.ToInt32("Scheme No. " + PricingScheme) - System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(System.Convert.ToInt32(1.ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString()).ToString(); grdScheme.DataSource = dvSchemes; // You must clear out the TableStyles collection before grdScheme.TableStyles.Clear(); DataGridTableStyle grdTableStyle1 = new DataGridTableStyle(); // You must always set the MappingName, even with a DataView that has // only one Table. If not, you will get no errors but the formatting // will not appear. To avoid mistakes, instead of typing the name of // the table used when creating the DataSet, you can access the // TableName property. grdTableStyle1.MappingName = dvSchemes.Table.TableName; // The use of column styles overrides the automatic generation of columns // for every column in the DataTable. When column style objects are used, // every column you want to display has to have an associate column style // object. DataGridTextBoxColumn grdColStyle1 = new DataGridTextBoxColumn(); grdColStyle1.MappingName = "AssemSize"; grdColStyle1.HeaderText = "Size"; grdColStyle1.Width = 65; DataGridTextBoxColumn grdColStyle2 = new DataGridTextBoxColumn(); grdColStyle2.MappingName = "price"; grdColStyle2.HeaderText = "Price"; grdColStyle2.Width = 70; grdColStyle2.Format = "c"; // Add the column style objects to the table style's collection of // column styles. Without this the styles do not take effect. grdTableStyle1.GridColumnStyles.AddRange(new DataGridColumnStyle[] { grdColStyle1, grdColStyle2 }); grdScheme.TableStyles.Add(grdTableStyle1); Binding bn; foreach (Binding tempLoopVar_bn in grdScheme.DataBindings) { bn = tempLoopVar_bn; Trace.Write(bn.Control.ToString() + ", " + bn.PropertyName); Trace.Write("\r\n"); } }
private void InitValues(List<ParameterValueItem> list) { // Initialize the DataGrid columns dgtbLabel = new DataGridTextBoxColumn(); dgtbValue = new DataGridTextBoxColumn(); this.dgTableStyle.GridColumnStyles.AddRange(new DataGridColumnStyle[] { this.dgtbValue, this.dgtbLabel}); // // dgtbFE // dgtbValue.HeaderText = "Value"; dgtbValue.MappingName = "Value"; dgtbValue.Width = 75; // // dgtbValue // this.dgtbLabel.HeaderText = "Label"; this.dgtbLabel.MappingName = "Label"; this.dgtbLabel.Width = 75; // Initialize the DataGrid //this.dgParms.DataSource = _dsv.QueryParameters; _DataTable = new DataTable(); _DataTable.Columns.Add(new DataColumn("Value", typeof(string))); _DataTable.Columns.Add(new DataColumn("Label", typeof(string))); string[] rowValues = new string[2]; if (list != null) foreach (ParameterValueItem pvi in list) { rowValues[0] = pvi.Value; rowValues[1] = pvi.Label; _DataTable.Rows.Add(rowValues); } this.dgParms.DataSource = _DataTable; //// DataGridTableStyle ts = dgParms.TableStyles[0]; ts.GridColumnStyles[0].Width = 140; ts.GridColumnStyles[1].Width = 140; }
/// <summary> /// Called when the DataSource property of the parent DataGrid /// changes. When the new source is a DataTable, rebuild the /// DataGridColumnStyles and resize. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void OnDataSourceChanged(object sender, EventArgs e) { GridColumnStyles.Clear(); if(DataGrid != null && DataGrid.DataSource != null && DataGrid.DataSource is DataTable) { DataTable currentTable = (DataTable)DataGrid.DataSource; foreach(DataColumn column in currentTable.Columns) { DataGridColumnStyle style = new DataGridTextBoxColumn(); style.HeaderText = column.ColumnName; style.MappingName = column.ColumnName; GridColumnStyles.Add(style); } } // Call the eventhandler for resize events OnDataGridResize(this,new EventArgs()); }
private void InitializeDataGrid() { this.columnHu = new DataGridTextBoxColumn(); this.columnHu.Format = ""; this.columnHu.FormatInfo = null; this.columnHu.HeaderText = "待发货条码"; this.columnHu.MappingName = "A"; this.columnHu.Width = 200; this.ts = new DataGridTableStyle(); this.ts.MappingName = new TempObject[] {}.GetType().Name; this.ts.GridColumnStyles.Add(this.columnHu); this.dgList.TableStyles.Clear(); this.dgList.TableStyles.Add(this.ts); this.dgList.DataSource = this.hus.ToArray<TempObject>(); this.ResumeLayout(); }
private void setupColumns() { DataGridTextBoxColumn tCol; // NAME tCol = new DataGridTextBoxColumn(); tCol.HeaderText = "Name"; tCol.MappingName = "Name"; tCol.Width = Convert.ToInt16(rateDataGrid.Width * .25); this.rateDataGrid.TableStyles[0].GridColumnStyles.Add(tCol); // CODES tCol = new DataGridTextBoxColumn(); tCol.HeaderText = "Codes"; tCol.MappingName = "Codes"; tCol.Width = Convert.ToInt16(rateDataGrid.Width * .25); this.rateDataGrid.TableStyles[0].GridColumnStyles.Add(tCol); // TABLE tCol = new DataGridTextBoxColumn(); tCol.HeaderText = "Weight Table"; tCol.MappingName = "Table"; tCol.Width = Convert.ToInt16(rateDataGrid.Width * .2); this.rateDataGrid.TableStyles[0].GridColumnStyles.Add(tCol); // RATE tCol = new DataGridTextBoxColumn(); tCol.HeaderText = "Rate"; tCol.MappingName = "Rate"; tCol.Format = "C0"; tCol.Alignment = System.Windows.Forms.HorizontalAlignment.Right; tCol.Width = Convert.ToInt16(rateDataGrid.Width * .15); this.rateDataGrid.TableStyles[0].GridColumnStyles.Add(tCol); // PASSTHRU tCol = new DataGridTextBoxColumn(); tCol.HeaderText = "PassThrus"; tCol.MappingName = "PassThrus"; tCol.Width = Convert.ToInt16(rateDataGrid.Width * .15); this.rateDataGrid.TableStyles[0].GridColumnStyles.Add(tCol); }
public static void FormatGrid(DataGrid grid,string primaryTableMappingName) { try { DataGridTextBoxColumn colDescription = new DataGridTextBoxColumn(); DataGridTextBoxColumn colRegex = new DataGridTextBoxColumn(); DataGridTextBoxColumn colWillMatch= new DataGridTextBoxColumn(); //DataGridTextBoxColumn colWontMatch= new DataGridTextBoxColumn(); FormatColumn(colDescription,"description","Notes",Color.Black); FormatColumn(colRegex,"regular_expression","Regex",Color.Black); FormatColumn(colWillMatch,"matches","Example",Color.Green); //FormatColumn(colWontMatch,"not_matches","not ok",Color.Red); DataGridTableStyle newStyle = null; if (grid.TableStyles.Count==0) { newStyle = new DataGridTableStyle(); } else { newStyle = grid.TableStyles[0]; } newStyle.PreferredRowHeight=40; newStyle.PreferredColumnWidth=60; newStyle.MappingName=primaryTableMappingName; newStyle.GridColumnStyles.Add(colDescription); newStyle.GridColumnStyles.Add(colRegex); newStyle.GridColumnStyles.Add(colWillMatch); //newStyle.GridColumnStyles.Add(colWontMatch); if (grid.TableStyles.Count==0) { grid.TableStyles.Add(newStyle); } } catch(Exception ) { } }
public void Llenar_detalles() { DataGridTableStyle dgts = new DataGridTableStyle(); dgts.MappingName = listaInventarioDet.GetType().Name; DataGridTextBoxColumn DataGridTextBoxColumn1 = new DataGridTextBoxColumn(); DataGridTextBoxColumn1.MappingName = "Item_Codigo"; DataGridTextBoxColumn1.HeaderText = "Código"; DataGridTextBoxColumn1.Width = 70; dgts.GridColumnStyles.Add(DataGridTextBoxColumn1); if (esEquipo) { DataGridTextBoxColumn DataGridTextBoxColumn2 = new DataGridTextBoxColumn(); DataGridTextBoxColumn2.MappingName = "Invdet_Serie"; DataGridTextBoxColumn2.HeaderText = "Serie"; DataGridTextBoxColumn2.Width = 90; dgts.GridColumnStyles.Add(DataGridTextBoxColumn2); } if (esPerecible) { DataGridTextBoxColumn DataGridTextBoxColumn5 = new DataGridTextBoxColumn(); DataGridTextBoxColumn5.MappingName = "Invdet_NoLote"; DataGridTextBoxColumn5.HeaderText = "No. Lote"; DataGridTextBoxColumn5.Width = 90; dgts.GridColumnStyles.Add(DataGridTextBoxColumn5); DataGridTextBoxColumn DataGridTextBoxColumn6 = new DataGridTextBoxColumn(); DataGridTextBoxColumn6.MappingName = "Invdet_FechaCaducidad"; DataGridTextBoxColumn6.HeaderText = "Fecha Venc."; DataGridTextBoxColumn6.Width = 90; dgts.GridColumnStyles.Add(DataGridTextBoxColumn6); } DataGridTextBoxColumn DataGridTextBoxColumn3 = new DataGridTextBoxColumn(); DataGridTextBoxColumn3.MappingName = "Invdet_Cantidad"; DataGridTextBoxColumn3.HeaderText = "Cantidad"; DataGridTextBoxColumn3.Width = 90; dgts.GridColumnStyles.Add(DataGridTextBoxColumn3); this.dgInventarioDet.TableStyles.Clear(); this.dgInventarioDet.TableStyles.Add(dgts); }
/// <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(LanguageMappings)); this.cboxLanguage = new System.Windows.Forms.ComboBox(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.XmlEditor = new System.Windows.Forms.DataGrid(); this.MyXmlStyle = new System.Windows.Forms.DataGridTableStyle(); this.col_From = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_To = new System.Windows.Forms.DataGridTextBoxColumn(); this.toolBar1 = new System.Windows.Forms.ToolBar(); this.toolBarButton_Save = new System.Windows.Forms.ToolBarButton(); this.toolBarButton_New = new System.Windows.Forms.ToolBarButton(); this.toolBarButton1 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton_Delete = new System.Windows.Forms.ToolBarButton(); ((System.ComponentModel.ISupportInitialize)(this.XmlEditor)).BeginInit(); this.SuspendLayout(); // // cboxLanguage // this.cboxLanguage.Dock = System.Windows.Forms.DockStyle.Top; this.cboxLanguage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cboxLanguage.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cboxLanguage.Location = new System.Drawing.Point(2, 2); this.cboxLanguage.Name = "cboxLanguage"; this.cboxLanguage.Size = new System.Drawing.Size(494, 21); this.cboxLanguage.TabIndex = 11; this.cboxLanguage.SelectionChangeCommitted += new System.EventHandler(this.cboxLanguage_SelectionChangeCommitted); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Magenta; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); this.imageList1.Images.SetKeyName(2, ""); // // XmlEditor // this.XmlEditor.AlternatingBackColor = System.Drawing.Color.Moccasin; this.XmlEditor.BackColor = System.Drawing.Color.LightGray; this.XmlEditor.BackgroundColor = System.Drawing.Color.LightGray; this.XmlEditor.CaptionVisible = false; this.XmlEditor.DataMember = ""; this.XmlEditor.Dock = System.Windows.Forms.DockStyle.Fill; this.XmlEditor.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold); this.XmlEditor.GridLineColor = System.Drawing.Color.BurlyWood; this.XmlEditor.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.XmlEditor.Location = new System.Drawing.Point(2, 49); this.XmlEditor.Name = "XmlEditor"; this.XmlEditor.Size = new System.Drawing.Size(494, 951); this.XmlEditor.TabIndex = 7; this.XmlEditor.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.MyXmlStyle }); // // MyXmlStyle // this.MyXmlStyle.AlternatingBackColor = System.Drawing.Color.LightGray; this.MyXmlStyle.BackColor = System.Drawing.Color.LightSteelBlue; this.MyXmlStyle.DataGrid = this.XmlEditor; this.MyXmlStyle.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.col_From, this.col_To }); this.MyXmlStyle.GridLineColor = System.Drawing.Color.DarkGray; this.MyXmlStyle.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.MyXmlStyle.MappingName = "Language"; // // col_From // this.col_From.Format = ""; this.col_From.FormatInfo = null; this.col_From.HeaderText = "From"; this.col_From.MappingName = "From"; this.col_From.NullText = ""; this.col_From.Width = 75; // // col_To // this.col_To.Format = ""; this.col_To.FormatInfo = null; this.col_To.HeaderText = "To"; this.col_To.MappingName = "To"; this.col_To.NullText = ""; this.col_To.Width = 75; // // toolBar1 // this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.toolBarButton_Save, this.toolBarButton_New, this.toolBarButton1, this.toolBarButton_Delete }); this.toolBar1.Divider = false; this.toolBar1.DropDownArrows = true; this.toolBar1.ImageList = this.imageList1; this.toolBar1.Location = new System.Drawing.Point(2, 23); this.toolBar1.Name = "toolBar1"; this.toolBar1.ShowToolTips = true; this.toolBar1.Size = new System.Drawing.Size(494, 26); this.toolBar1.TabIndex = 13; this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick); // // toolBarButton_Save // this.toolBarButton_Save.ImageIndex = 0; this.toolBarButton_Save.Name = "toolBarButton_Save"; this.toolBarButton_Save.Tag = "save"; this.toolBarButton_Save.ToolTipText = "Save Language Mappings"; // // toolBarButton_New // this.toolBarButton_New.ImageIndex = 2; this.toolBarButton_New.Name = "toolBarButton_New"; this.toolBarButton_New.Tag = "new"; this.toolBarButton_New.ToolTipText = "Create New Language Mapping"; // // toolBarButton1 // this.toolBarButton1.Name = "toolBarButton1"; this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarButton_Delete // this.toolBarButton_Delete.ImageIndex = 1; this.toolBarButton_Delete.Name = "toolBarButton_Delete"; this.toolBarButton_Delete.Tag = "delete"; this.toolBarButton_Delete.ToolTipText = "Delete Language Mappings"; // // LanguageMappings // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.AutoScroll = true; this.ClientSize = new System.Drawing.Size(498, 1002); this.Controls.Add(this.XmlEditor); this.Controls.Add(this.toolBar1); this.Controls.Add(this.cboxLanguage); this.HideOnClose = true; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "LanguageMappings"; this.Padding = new System.Windows.Forms.Padding(2); this.TabText = "Language Mappings"; this.Text = "Language Mappings"; this.Load += new System.EventHandler(this.LanguageMappings_Load); ((System.ComponentModel.ISupportInitialize)(this.XmlEditor)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.label3 = new System.Windows.Forms.Label(); this.txtypmc = new System.Windows.Forms.TextBox(); this.cmbyplx = new System.Windows.Forms.ComboBox(); this.butprint = new System.Windows.Forms.Button(); this.butquit = new System.Windows.Forms.Button(); this.butcx = new System.Windows.Forms.Button(); this.chkyplx = new System.Windows.Forms.CheckBox(); this.chkypmc = new System.Windows.Forms.CheckBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.商品名 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); 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.groupBox2 = new System.Windows.Forms.GroupBox(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.txtypmc); this.groupBox1.Controls.Add(this.cmbyplx); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butcx); this.groupBox1.Controls.Add(this.chkyplx); this.groupBox1.Controls.Add(this.chkypmc); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(864, 72); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // dtp2 // this.dtp2.Location = new System.Drawing.Point(448, 16); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(112, 21); this.dtp2.TabIndex = 37; // // label2 // this.label2.Location = new System.Drawing.Point(428, 20); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(16, 16); this.label2.TabIndex = 36; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(312, 16); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(110, 21); this.dtp1.TabIndex = 35; // // label3 // this.label3.Location = new System.Drawing.Point(272, 20); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(48, 16); this.label3.TabIndex = 34; this.label3.Text = "日期从"; // // txtypmc // this.txtypmc.Enabled = false; this.txtypmc.Location = new System.Drawing.Point(113, 40); this.txtypmc.Name = "txtypmc"; this.txtypmc.Size = new System.Drawing.Size(144, 21); this.txtypmc.TabIndex = 33; this.txtypmc.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TextKeyUp); // // cmbyplx // this.cmbyplx.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyplx.Enabled = false; this.cmbyplx.Location = new System.Drawing.Point(113, 17); this.cmbyplx.Name = "cmbyplx"; this.cmbyplx.Size = new System.Drawing.Size(144, 20); this.cmbyplx.TabIndex = 31; // // butprint // this.butprint.Location = new System.Drawing.Point(672, 16); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(72, 32); this.butprint.TabIndex = 30; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // butquit // this.butquit.Location = new System.Drawing.Point(752, 16); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(72, 32); this.butquit.TabIndex = 29; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butcx // this.butcx.Location = new System.Drawing.Point(592, 16); this.butcx.Name = "butcx"; this.butcx.Size = new System.Drawing.Size(72, 32); this.butcx.TabIndex = 28; this.butcx.Text = "查询(&V)"; this.butcx.Click += new System.EventHandler(this.butcx_Click); // // chkyplx // this.chkyplx.Location = new System.Drawing.Point(32, 16); this.chkyplx.Name = "chkyplx"; this.chkyplx.Size = new System.Drawing.Size(95, 24); this.chkyplx.TabIndex = 20; this.chkyplx.Text = "药品类型"; this.chkyplx.CheckedChanged += new System.EventHandler(this.chkyplx_CheckedChanged); // // chkypmc // this.chkypmc.Location = new System.Drawing.Point(32, 40); this.chkypmc.Name = "chkypmc"; this.chkypmc.Size = new System.Drawing.Size(95, 24); this.chkypmc.TabIndex = 38; this.chkypmc.Text = "药品名称"; this.chkypmc.CheckedChanged += new System.EventHandler(this.chkyplx_CheckedChanged); // // 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, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(858, 417); 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.dataGridTextBoxColumn15, this.dataGridTextBoxColumn16, this.dataGridTextBoxColumn2, this.商品名, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn13, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn14, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn5 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.Width = 35; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "调价文号"; this.dataGridTextBoxColumn15.Width = 60; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "调价日期"; this.dataGridTextBoxColumn16.Width = 75; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "品名"; this.dataGridTextBoxColumn2.Width = 120; // // 商品名 // this.商品名.Format = ""; this.商品名.FormatInfo = null; this.商品名.HeaderText = "商品名"; this.商品名.Width = 120; // // 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; // // 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 = 60; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "原零售价"; this.dataGridTextBoxColumn12.Width = 60; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "调零售价"; this.dataGridTextBoxColumn13.Width = 60; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "调价数量"; this.dataGridTextBoxColumn8.Width = 60; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "单位"; this.dataGridTextBoxColumn9.Width = 40; // // dataGridTextBoxColumn14 // this.dataGridTextBoxColumn14.Format = ""; this.dataGridTextBoxColumn14.FormatInfo = null; this.dataGridTextBoxColumn14.HeaderText = "单位差价"; this.dataGridTextBoxColumn14.Width = 60; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "调批发金额"; this.dataGridTextBoxColumn10.Width = 75; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "调零售金额"; this.dataGridTextBoxColumn11.Width = 75; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "货号"; this.dataGridTextBoxColumn5.Width = 60; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 509); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(864, 24); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 150; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 72); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(864, 437); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "调价明细"; // // Frmtjmx // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(864, 533); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmtjmx"; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Text = "调价查询"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmkccx_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.butexcel = new System.Windows.Forms.Button(); this.cmbyjks = new System.Windows.Forms.ComboBox(); this.label6 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.cmbmonth = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.cmbyear = new System.Windows.Forms.ComboBox(); this.rdo2 = new System.Windows.Forms.RadioButton(); this.butquit = new System.Windows.Forms.Button(); this.butprint = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.rdo1 = new System.Windows.Forms.RadioButton(); 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.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn4 = 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.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn17 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel4)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.butexcel); this.groupBox1.Controls.Add(this.cmbyjks); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.cmbmonth); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.cmbyear); this.groupBox1.Controls.Add(this.rdo2); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.rdo1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 93); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // butexcel // this.butexcel.Location = new System.Drawing.Point(742, 46); this.butexcel.Name = "butexcel"; this.butexcel.Size = new System.Drawing.Size(72, 33); this.butexcel.TabIndex = 43; this.butexcel.Text = "导出(&E)"; this.butexcel.Click += new System.EventHandler(this.butexcel_Click); // // cmbyjks // this.cmbyjks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyjks.Location = new System.Drawing.Point(92, 19); this.cmbyjks.Name = "cmbyjks"; this.cmbyjks.Size = new System.Drawing.Size(177, 20); this.cmbyjks.TabIndex = 30; this.cmbyjks.SelectionChangeCommitted += new System.EventHandler(this.cmbyjks_SelectionChangeCommitted); // // label6 // this.label6.Location = new System.Drawing.Point(29, 23); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(67, 16); this.label6.TabIndex = 29; this.label6.Text = "药剂科室"; // // label1 // this.label1.ForeColor = System.Drawing.Color.Black; this.label1.Location = new System.Drawing.Point(572, 62); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(32, 17); this.label1.TabIndex = 22; this.label1.Text = "月"; // // cmbmonth // this.cmbmonth.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbmonth.Items.AddRange(new object[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" }); this.cmbmonth.Location = new System.Drawing.Point(508, 54); this.cmbmonth.Name = "cmbmonth"; this.cmbmonth.Size = new System.Drawing.Size(56, 20); this.cmbmonth.TabIndex = 21; this.cmbmonth.SelectedIndexChanged += new System.EventHandler(this.cmbmonth_SelectedIndexChanged); // // label3 // this.label3.ForeColor = System.Drawing.Color.Black; this.label3.Location = new System.Drawing.Point(484, 62); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(32, 17); this.label3.TabIndex = 20; this.label3.Text = "年"; // // cmbyear // this.cmbyear.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyear.Items.AddRange(new object[] { "2005", "2006", "2007", "2008", "2009", "2010" }); this.cmbyear.Location = new System.Drawing.Point(420, 54); this.cmbyear.Name = "cmbyear"; this.cmbyear.Size = new System.Drawing.Size(64, 20); this.cmbyear.TabIndex = 19; this.cmbyear.SelectedIndexChanged += new System.EventHandler(this.cmbyear_SelectedIndexChanged); // // rdo2 // this.rdo2.Checked = true; this.rdo2.Location = new System.Drawing.Point(340, 54); this.rdo2.Name = "rdo2"; this.rdo2.Size = new System.Drawing.Size(96, 25); this.rdo2.TabIndex = 13; this.rdo2.TabStop = true; this.rdo2.Text = "按月份查询"; this.rdo2.CheckedChanged += new System.EventHandler(this.rdo1_CheckedChanged); // // butquit // this.butquit.Location = new System.Drawing.Point(816, 46); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(64, 34); this.butquit.TabIndex = 11; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butprint // this.butprint.Location = new System.Drawing.Point(676, 46); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(64, 33); this.butprint.TabIndex = 10; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(612, 46); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(64, 33); this.buttj.TabIndex = 9; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // dtp2 // this.dtp2.Location = new System.Drawing.Point(220, 54); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(112, 21); this.dtp2.TabIndex = 5; // // label2 // this.label2.Location = new System.Drawing.Point(204, 62); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(16, 17); this.label2.TabIndex = 4; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(92, 54); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(110, 21); this.dtp1.TabIndex = 3; // // rdo1 // this.rdo1.Location = new System.Drawing.Point(28, 52); this.rdo1.Name = "rdo1"; this.rdo1.Size = new System.Drawing.Size(96, 24); this.rdo1.TabIndex = 12; this.rdo1.Text = "按日期从"; this.rdo1.CheckedChanged += new System.EventHandler(this.rdo1_CheckedChanged); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3, this.statusBarPanel4 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 150; // // statusBarPanel4 // this.statusBarPanel4.Name = "statusBarPanel4"; this.statusBarPanel4.Width = 1000; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 93); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 409); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.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, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 389); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); // // dataGridTableStyle2 // this.dataGridTableStyle2.AllowSorting = false; this.dataGridTableStyle2.DataGrid = this.myDataGrid1; this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn15, this.dataGridTextBoxColumn17, this.dataGridTextBoxColumn16, this.dataGridTextBoxColumn1 }); this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.ReadOnly = true; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "序号"; this.dataGridTextBoxColumn4.Width = 40; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "往来单位"; this.dataGridTextBoxColumn9.Width = 200; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "进货金额"; this.dataGridTextBoxColumn10.Width = 80; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "批发金额"; this.dataGridTextBoxColumn11.Width = 80; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "零售金额"; this.dataGridTextBoxColumn15.Width = 80; // // dataGridTextBoxColumn17 // this.dataGridTextBoxColumn17.Format = ""; this.dataGridTextBoxColumn17.FormatInfo = null; this.dataGridTextBoxColumn17.HeaderText = "批零差额"; this.dataGridTextBoxColumn17.Width = 80; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "进零差额"; this.dataGridTextBoxColumn16.Width = 80; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "单据张数"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.Width = 75; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "入库方式"; this.dataGridTextBoxColumn2.NullText = ""; this.dataGridTextBoxColumn2.Width = 150; // // Frmrkhztj // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmrkhztj"; this.Text = "入库汇总统计"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxspm_Load); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel4)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(BorrowReturn)); this.dg = 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.textReaderID = new System.Windows.Forms.TextBox(); this.btnLoad = new System.Windows.Forms.Button(); this.btnBorrow = new System.Windows.Forms.Button(); this.textBookID = new System.Windows.Forms.TextBox(); this.btnReturn = new System.Windows.Forms.Button(); this.conn = new System.Data.SqlClient.SqlConnection(); this.da = new System.Data.SqlClient.SqlDataAdapter(); this.delComm = new System.Data.SqlClient.SqlCommand(); this.insertComm = new System.Data.SqlClient.SqlCommand(); this.selectComm = new System.Data.SqlClient.SqlCommand(); this.updateComm = new System.Data.SqlClient.SqlCommand(); this.lblReaderID = new System.Windows.Forms.Label(); this.lblBookID = new System.Windows.Forms.Label(); this.objDataSetBorrowReturn = new Library.UserInterface.DataSetBorrowReturn(); this.groupBox1 = new System.Windows.Forms.GroupBox(); ((System.ComponentModel.ISupportInitialize)(this.dg)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.objDataSetBorrowReturn)).BeginInit(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // dg // this.dg.AlternatingBackColor = System.Drawing.Color.White; this.dg.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.dg.BackColor = System.Drawing.Color.White; this.dg.BackgroundColor = System.Drawing.Color.Gainsboro; this.dg.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.dg.CaptionBackColor = System.Drawing.Color.Silver; this.dg.CaptionFont = new System.Drawing.Font("Courier New", 10F, System.Drawing.FontStyle.Bold); this.dg.CaptionForeColor = System.Drawing.Color.Black; this.dg.DataMember = ""; this.dg.Enabled = false; this.dg.FlatMode = true; this.dg.Font = new System.Drawing.Font("Courier New", 9F); this.dg.ForeColor = System.Drawing.Color.DarkSlateGray; this.dg.GridLineColor = System.Drawing.Color.DarkGray; this.dg.HeaderBackColor = System.Drawing.Color.DarkGreen; this.dg.HeaderFont = new System.Drawing.Font("Courier New", 10F, System.Drawing.FontStyle.Bold); this.dg.HeaderForeColor = System.Drawing.Color.White; this.dg.LinkColor = System.Drawing.Color.DarkGreen; this.dg.Location = new System.Drawing.Point(16, 104); this.dg.Name = "dg"; this.dg.ParentRowsBackColor = System.Drawing.Color.Gainsboro; this.dg.ParentRowsForeColor = System.Drawing.Color.Black; this.dg.ReadOnly = true; this.dg.SelectionBackColor = System.Drawing.Color.DarkSeaGreen; this.dg.SelectionForeColor = System.Drawing.Color.Black; this.dg.Size = new System.Drawing.Size(456, 224); this.dg.TabIndex = 0; this.dg.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.dg.CurrentCellChanged += new System.EventHandler(this.dg_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.dg; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = "BorrowBook"; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "读者"; this.dataGridTextBoxColumn1.MappingName = "ReaderID"; this.dataGridTextBoxColumn1.Width = 50; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "书号"; this.dataGridTextBoxColumn2.MappingName = "BookID"; this.dataGridTextBoxColumn2.Width = 50; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "借书日期"; this.dataGridTextBoxColumn3.MappingName = "BorrowDate"; this.dataGridTextBoxColumn3.Width = 75; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "应还书日期"; this.dataGridTextBoxColumn4.MappingName = "ReturnDate"; this.dataGridTextBoxColumn4.Width = 75; // // textReaderID // this.textReaderID.Location = new System.Drawing.Point(80, 16); this.textReaderID.Name = "textReaderID"; this.textReaderID.Size = new System.Drawing.Size(96, 21); this.textReaderID.TabIndex = 2; this.textReaderID.Text = ""; // // btnLoad // this.btnLoad.Location = new System.Drawing.Point(8, 24); this.btnLoad.Name = "btnLoad"; this.btnLoad.Size = new System.Drawing.Size(75, 24); this.btnLoad.TabIndex = 3; this.btnLoad.Text = "借阅记录"; this.btnLoad.Click += new System.EventHandler(this.btnLoad_Click); // // btnBorrow // this.btnBorrow.Location = new System.Drawing.Point(100, 24); this.btnBorrow.Name = "btnBorrow"; this.btnBorrow.Size = new System.Drawing.Size(75, 24); this.btnBorrow.TabIndex = 4; this.btnBorrow.Text = "借阅图书"; this.btnBorrow.Click += new System.EventHandler(this.btnBorrow_Click); // // textBookID // this.textBookID.Location = new System.Drawing.Point(80, 56); this.textBookID.Name = "textBookID"; this.textBookID.Size = new System.Drawing.Size(96, 21); this.textBookID.TabIndex = 5; this.textBookID.Text = ""; // // btnReturn // this.btnReturn.Location = new System.Drawing.Point(189, 24); this.btnReturn.Name = "btnReturn"; this.btnReturn.Size = new System.Drawing.Size(75, 24); this.btnReturn.TabIndex = 6; this.btnReturn.Text = "归还图书"; this.btnReturn.Click += new System.EventHandler(this.btnReturn_Click); // // conn // this.conn.ConnectionString = "workstation id=MICHAEL;packet size=4096;integrated security=SSPI;data source=MICH" + "AEL;persist security info=False;initial catalog=BookManager"; // // da // this.da.DeleteCommand = this.delComm; this.da.InsertCommand = this.insertComm; this.da.SelectCommand = this.selectComm; this.da.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "BorrowBook", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("ReaderID", "ReaderID"), new System.Data.Common.DataColumnMapping("BookID", "BookID"), new System.Data.Common.DataColumnMapping("BorrowDate", "BorrowDate"), new System.Data.Common.DataColumnMapping("ReturnDate", "ReturnDate"), new System.Data.Common.DataColumnMapping("FactReturnDate", "FactReturnDate") }) }); this.da.UpdateCommand = this.updateComm; // // delComm // this.delComm.CommandText = @"DELETE FROM BorrowBook WHERE (BookID = @Original_BookID) AND (ReaderID = @Original_ReaderID) AND (BorrowDate = @Original_BorrowDate OR @Original_BorrowDate IS NULL AND BorrowDate IS NULL) AND (FactReturnDate = @Original_FactReturnDate OR @Original_FactReturnDate IS NULL AND FactReturnDate IS NULL) AND (ReturnDate = @Original_ReturnDate OR @Original_ReturnDate IS NULL AND ReturnDate IS NULL)"; this.delComm.Connection = this.conn; this.delComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_BookID", System.Data.SqlDbType.VarChar, 10, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "BookID", System.Data.DataRowVersion.Original, null)); this.delComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ReaderID", System.Data.SqlDbType.VarChar, 6, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ReaderID", System.Data.DataRowVersion.Original, null)); this.delComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_BorrowDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "BorrowDate", System.Data.DataRowVersion.Original, null)); this.delComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_FactReturnDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "FactReturnDate", System.Data.DataRowVersion.Original, null)); this.delComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ReturnDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ReturnDate", System.Data.DataRowVersion.Original, null)); // // insertComm // this.insertComm.CommandText = @"INSERT INTO BorrowBook(ReaderID, BookID, BorrowDate, ReturnDate, FactReturnDate) VALUES (@ReaderID, @BookID, @BorrowDate, @ReturnDate, @FactReturnDate); SELECT ReaderID, BookID, BorrowDate, ReturnDate, FactReturnDate FROM BorrowBook WHERE (BookID = @BookID) AND (ReaderID = @ReaderID)"; this.insertComm.Connection = this.conn; this.insertComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ReaderID", System.Data.SqlDbType.VarChar, 6, "ReaderID")); this.insertComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@BookID", System.Data.SqlDbType.VarChar, 10, "BookID")); this.insertComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@BorrowDate", System.Data.SqlDbType.DateTime, 8, "BorrowDate")); this.insertComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ReturnDate", System.Data.SqlDbType.DateTime, 8, "ReturnDate")); this.insertComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@FactReturnDate", System.Data.SqlDbType.DateTime, 8, "FactReturnDate")); // // selectComm // this.selectComm.CommandText = "SELECT ReaderID, BookID, BorrowDate, ReturnDate, FactReturnDate FROM BorrowBook"; this.selectComm.Connection = this.conn; // // updateComm // this.updateComm.CommandText = @"UPDATE BorrowBook SET ReaderID = @ReaderID, BookID = @BookID, BorrowDate = @BorrowDate, ReturnDate = @ReturnDate, FactReturnDate = @FactReturnDate WHERE (BookID = @Original_BookID) AND (ReaderID = @Original_ReaderID) AND (BorrowDate = @Original_BorrowDate OR @Original_BorrowDate IS NULL AND BorrowDate IS NULL) AND (FactReturnDate = @Original_FactReturnDate OR @Original_FactReturnDate IS NULL AND FactReturnDate IS NULL) AND (ReturnDate = @Original_ReturnDate OR @Original_ReturnDate IS NULL AND ReturnDate IS NULL); SELECT ReaderID, BookID, BorrowDate, ReturnDate, FactReturnDate FROM BorrowBook WHERE (BookID = @BookID) AND (ReaderID = @ReaderID)"; this.updateComm.Connection = this.conn; this.updateComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ReaderID", System.Data.SqlDbType.VarChar, 6, "ReaderID")); this.updateComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@BookID", System.Data.SqlDbType.VarChar, 10, "BookID")); this.updateComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@BorrowDate", System.Data.SqlDbType.DateTime, 8, "BorrowDate")); this.updateComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ReturnDate", System.Data.SqlDbType.DateTime, 8, "ReturnDate")); this.updateComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@FactReturnDate", System.Data.SqlDbType.DateTime, 8, "FactReturnDate")); this.updateComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_BookID", System.Data.SqlDbType.VarChar, 10, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "BookID", System.Data.DataRowVersion.Original, null)); this.updateComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ReaderID", System.Data.SqlDbType.VarChar, 6, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ReaderID", System.Data.DataRowVersion.Original, null)); this.updateComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_BorrowDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "BorrowDate", System.Data.DataRowVersion.Original, null)); this.updateComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_FactReturnDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "FactReturnDate", System.Data.DataRowVersion.Original, null)); this.updateComm.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ReturnDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ReturnDate", System.Data.DataRowVersion.Original, null)); // // lblReaderID // this.lblReaderID.Location = new System.Drawing.Point(8, 24); this.lblReaderID.Name = "lblReaderID"; this.lblReaderID.Size = new System.Drawing.Size(56, 16); this.lblReaderID.TabIndex = 8; this.lblReaderID.Text = "读者号码"; // // lblBookID // this.lblBookID.Location = new System.Drawing.Point(8, 56); this.lblBookID.Name = "lblBookID"; this.lblBookID.Size = new System.Drawing.Size(56, 16); this.lblBookID.TabIndex = 9; this.lblBookID.Text = "图书号码"; // // objDataSetBorrowReturn // this.objDataSetBorrowReturn.DataSetName = "DataSetBorrowReturn"; this.objDataSetBorrowReturn.Locale = new System.Globalization.CultureInfo("zh-CN"); // // groupBox1 // this.groupBox1.Controls.Add(this.btnLoad); this.groupBox1.Controls.Add(this.btnBorrow); this.groupBox1.Controls.Add(this.btnReturn); this.groupBox1.Location = new System.Drawing.Point(192, 16); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(272, 56); this.groupBox1.TabIndex = 10; this.groupBox1.TabStop = false; this.groupBox1.Text = "借还书操作"; // // BorrowReturn // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.BackColor = System.Drawing.Color.LightBlue; this.ClientSize = new System.Drawing.Size(488, 325); this.Controls.Add(this.groupBox1); this.Controls.Add(this.lblBookID); this.Controls.Add(this.lblReaderID); this.Controls.Add(this.textBookID); this.Controls.Add(this.textReaderID); this.Controls.Add(this.dg); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "BorrowReturn"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "借还书窗体"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.dg)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.objDataSetBorrowReturn)).EndInit(); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required thisthod for Designer support - do not modify /// the contents of this thisthod with the code editor. /// </summary> private void InitializeComponent() { this.gpSearch = new System.Windows.Forms.GroupBox(); this.txtSearch = new System.Windows.Forms.TextBox(); this.btnSearch = new System.Windows.Forms.Button(); this.rdName = new System.Windows.Forms.RadioButton(); this.rdID = new System.Windows.Forms.RadioButton(); this.CustomerID = new System.Windows.Forms.DataGridTextBoxColumn(); this.CompanyName = new System.Windows.Forms.DataGridTextBoxColumn(); this.dgCustomers = new System.Windows.Forms.DataGrid(); this.DataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.CustomerCity = new System.Windows.Forms.DataGridTextBoxColumn(); this.gpSearch.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgCustomers)).BeginInit(); this.SuspendLayout(); // // gpSearch // this.gpSearch.Controls.AddRange(new System.Windows.Forms.Control[] { this.txtSearch, this.btnSearch, this.rdName, this.rdID }); this.gpSearch.FlatStyle = System.Windows.Forms.FlatStyle.System; this.gpSearch.Location = new System.Drawing.Point(8, 8); this.gpSearch.Name = "gpSearch"; this.gpSearch.Size = new System.Drawing.Size(256, 80); this.gpSearch.TabIndex = 5; this.gpSearch.TabStop = false; this.gpSearch.Text = "Search By"; // // txtSearch // this.txtSearch.Location = new System.Drawing.Point(16, 48); this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(160, 20); this.txtSearch.TabIndex = 3; this.txtSearch.Text = ""; // // btnSearch // this.btnSearch.Location = new System.Drawing.Point(192, 48); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(56, 24); this.btnSearch.TabIndex = 2; this.btnSearch.Text = "Search"; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // rdName // this.rdName.Checked = true; this.rdName.FlatStyle = System.Windows.Forms.FlatStyle.System; this.rdName.Location = new System.Drawing.Point(16, 24); this.rdName.Name = "rdName"; this.rdName.Size = new System.Drawing.Size(64, 16); this.rdName.TabIndex = 1; this.rdName.TabStop = true; this.rdName.Text = "Name"; // // rdID // this.rdID.FlatStyle = System.Windows.Forms.FlatStyle.System; this.rdID.Location = new System.Drawing.Point(104, 24); this.rdID.Name = "rdID"; this.rdID.Size = new System.Drawing.Size(40, 16); this.rdID.TabIndex = 0; this.rdID.Text = "ID"; // // CustomerID // this.CustomerID.Format = ""; this.CustomerID.FormatInfo = null; this.CustomerID.HeaderText = "ID"; this.CustomerID.MappingName = "CustomerID"; this.CustomerID.ReadOnly = true; this.CustomerID.Width = 75; // // CompanyName // this.CompanyName.Format = ""; this.CompanyName.FormatInfo = null; this.CompanyName.HeaderText = "Name"; this.CompanyName.MappingName = "CompanyName"; this.CompanyName.ReadOnly = true; this.CompanyName.Width = 150; // // dgCustomers // this.dgCustomers.AlternatingBackColor = System.Drawing.Color.OldLace; this.dgCustomers.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.dgCustomers.BackColor = System.Drawing.Color.OldLace; this.dgCustomers.BackgroundColor = System.Drawing.Color.Tan; this.dgCustomers.BorderStyle = System.Windows.Forms.BorderStyle.None; this.dgCustomers.CaptionBackColor = System.Drawing.Color.SaddleBrown; this.dgCustomers.CaptionForeColor = System.Drawing.Color.OldLace; this.dgCustomers.CaptionText = "Customers"; this.dgCustomers.CausesValidation = false; this.dgCustomers.DataMember = "Customers"; this.dgCustomers.FlatMode = true; this.dgCustomers.Font = new System.Drawing.Font("Tahoma", 8F); this.dgCustomers.ForeColor = System.Drawing.Color.DarkSlateGray; this.dgCustomers.GridLineColor = System.Drawing.Color.Tan; this.dgCustomers.HeaderBackColor = System.Drawing.Color.Wheat; this.dgCustomers.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.dgCustomers.HeaderForeColor = System.Drawing.Color.SaddleBrown; this.dgCustomers.LinkColor = System.Drawing.Color.DarkSlateBlue; this.dgCustomers.Location = new System.Drawing.Point(8, 104); this.dgCustomers.Name = "dgCustomers"; this.dgCustomers.ParentRowsBackColor = System.Drawing.Color.OldLace; this.dgCustomers.ParentRowsForeColor = System.Drawing.Color.DarkSlateGray; this.dgCustomers.ReadOnly = true; this.dgCustomers.SelectionBackColor = System.Drawing.Color.SlateGray; this.dgCustomers.SelectionForeColor = System.Drawing.Color.White; this.dgCustomers.Size = new System.Drawing.Size(424, 352); this.dgCustomers.TabIndex = 4; this.dgCustomers.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.DataGridTableStyle1 }); this.dgCustomers.Click += new System.EventHandler(this.dgCustomers_Click); // // DataGridTableStyle1 // this.DataGridTableStyle1.AlternatingBackColor = System.Drawing.Color.OldLace; this.DataGridTableStyle1.BackColor = System.Drawing.Color.OldLace; this.DataGridTableStyle1.DataGrid = this.dgCustomers; this.DataGridTableStyle1.ForeColor = System.Drawing.Color.DarkSlateGray; this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.CustomerID, this.CompanyName, this.CustomerCity }); this.DataGridTableStyle1.GridLineColor = System.Drawing.Color.Tan; this.DataGridTableStyle1.HeaderBackColor = System.Drawing.Color.Wheat; this.DataGridTableStyle1.HeaderForeColor = System.Drawing.Color.SaddleBrown; this.DataGridTableStyle1.LinkColor = System.Drawing.Color.DarkSlateBlue; this.DataGridTableStyle1.MappingName = "Customers"; this.DataGridTableStyle1.ReadOnly = true; this.DataGridTableStyle1.SelectionBackColor = System.Drawing.Color.SlateGray; this.DataGridTableStyle1.SelectionForeColor = System.Drawing.Color.White; // // CustomerCity // this.CustomerCity.Format = ""; this.CustomerCity.FormatInfo = null; this.CustomerCity.HeaderText = "City"; this.CustomerCity.MappingName = "City"; this.CustomerCity.ReadOnly = true; this.CustomerCity.Width = 75; // // frmMain // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.Color.OldLace; this.ClientSize = new System.Drawing.Size(440, 467); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.gpSearch, this.dgCustomers }); this.Name = "frmMain"; this.Text = "View Custothisr Orders"; this.gpSearch.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgCustomers)).EndInit(); this.ResumeLayout(false); }
/// <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.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.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.chkall = new System.Windows.Forms.CheckBox(); this.button1 = new System.Windows.Forms.Button(); this.butquit = 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(); this.cmbyjks = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); ((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, 462); 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(827, 23); this.statusBar1.TabIndex = 0; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 300; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Text = "查找药品时,请输入内容后回车"; 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, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(821, 378); 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.dataGridTextBoxColumn4, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn13, this.dataGridTextBoxColumn14, this.dataGridTextBoxColumn15 }); 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; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "品名"; this.dataGridTextBoxColumn2.ReadOnly = true; this.dataGridTextBoxColumn2.Width = 120; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "规格"; this.dataGridTextBoxColumn3.ReadOnly = true; this.dataGridTextBoxColumn3.Width = 80; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "厂家"; this.dataGridTextBoxColumn4.ReadOnly = true; this.dataGridTextBoxColumn4.Width = 80; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "批发价"; this.dataGridTextBoxColumn5.ReadOnly = true; this.dataGridTextBoxColumn5.Width = 60; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "零售价"; this.dataGridTextBoxColumn6.ReadOnly = true; this.dataGridTextBoxColumn6.Width = 60; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "库存量"; this.dataGridTextBoxColumn7.ReadOnly = true; this.dataGridTextBoxColumn7.Width = 70; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "单位"; this.dataGridTextBoxColumn8.NullText = ""; this.dataGridTextBoxColumn8.ReadOnly = true; this.dataGridTextBoxColumn8.Width = 40; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "上限"; this.dataGridTextBoxColumn9.Width = 60; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "下限"; this.dataGridTextBoxColumn10.Width = 60; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "货号"; this.dataGridTextBoxColumn11.ReadOnly = true; this.dataGridTextBoxColumn11.Width = 60; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "cjid"; this.dataGridTextBoxColumn12.ReadOnly = true; this.dataGridTextBoxColumn12.Width = 0; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "kcsxxid"; this.dataGridTextBoxColumn13.Width = 0; // // dataGridTextBoxColumn14 // this.dataGridTextBoxColumn14.Format = ""; this.dataGridTextBoxColumn14.FormatInfo = null; this.dataGridTextBoxColumn14.HeaderText = "nypdw"; this.dataGridTextBoxColumn14.Width = 0; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "dwbl"; this.dataGridTextBoxColumn15.Width = 0; // // groupBox1 // this.groupBox1.Controls.Add(this.cmbyjks); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.button1); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butsave); this.groupBox1.Controls.Add(this.txtdm); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.chkall); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Bottom; this.groupBox1.Location = new System.Drawing.Point(0, 398); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(827, 64); this.groupBox1.TabIndex = 4; this.groupBox1.TabStop = false; this.groupBox1.Text = "操作"; // // chkall // this.chkall.Location = new System.Drawing.Point(348, 22); this.chkall.Name = "chkall"; this.chkall.Size = new System.Drawing.Size(96, 24); this.chkall.TabIndex = 6; this.chkall.Text = "所有药品"; // // button1 // this.button1.Location = new System.Drawing.Point(450, 16); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(156, 32); this.button1.TabIndex = 5; this.button1.Text = "根据销售量更新上下限(&V)"; this.button1.Click += new System.EventHandler(this.button1_Click); // // butquit // this.butquit.Location = new System.Drawing.Point(718, 16); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(96, 32); 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(614, 16); this.butsave.Name = "butsave"; this.butsave.Size = new System.Drawing.Size(96, 32); 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(230, 24); this.txtdm.Name = "txtdm"; this.txtdm.Size = new System.Drawing.Size(112, 21); this.txtdm.TabIndex = 1; this.txtdm.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtdm_KeyUp); // // label1 // this.label1.Location = new System.Drawing.Point(199, 28); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(48, 16); 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(827, 398); this.groupBox2.TabIndex = 5; this.groupBox2.TabStop = false; this.groupBox2.Text = "库存上下限设置"; // // cmbyjks // this.cmbyjks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyjks.Location = new System.Drawing.Point(60, 22); this.cmbyjks.Name = "cmbyjks"; this.cmbyjks.Size = new System.Drawing.Size(117, 20); this.cmbyjks.TabIndex = 11; this.cmbyjks.SelectedIndexChanged += new System.EventHandler(this.cmbyjks_SelectedIndexChanged); // // label2 // this.label2.Location = new System.Drawing.Point(4, 26); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(66, 16); this.label2.TabIndex = 10; this.label2.Text = "药剂科室"; // // Frmkcsxx // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(827, 485); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.statusBar1); this.Name = "Frmkcsxx"; 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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmParameter)); this.grdParam = 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.groupBox1 = new System.Windows.Forms.GroupBox(); this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.panel3 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel(); this.lnkBrowse = new System.Windows.Forms.LinkLabel(); this.btnUpdate = new DotNetSkin.SkinControls.SkinButton(); this.txtParamValue = new System.Windows.Forms.TextBox(); this.txtDescription = new System.Windows.Forms.TextBox(); this.txtParamName = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.btnClose = new DotNetSkin.SkinControls.SkinButton(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.lblParameter = new System.Windows.Forms.Label(); this.txtParameter = new System.Windows.Forms.TextBox(); this.btnView = new DotNetSkin.SkinControls.SkinButton(); this.cboParamGroup = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.grdParam)).BeginInit(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.SuspendLayout(); // // grdParam // this.grdParam.AllowSorting = false; this.grdParam.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.grdParam.CaptionVisible = false; this.grdParam.DataMember = ""; this.grdParam.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.grdParam.Location = new System.Drawing.Point(5, 237); this.grdParam.Name = "grdParam"; this.grdParam.ReadOnly = true; this.grdParam.Size = new System.Drawing.Size(839, 250); this.grdParam.TabIndex = 3; this.grdParam.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.grdParam.CurrentCellChanged += new System.EventHandler(this.grdParam_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.AllowSorting = false; this.dataGridTableStyle1.AlternatingBackColor = System.Drawing.Color.AliceBlue; this.dataGridTableStyle1.DataGrid = this.grdParam; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "Parameter Name"; this.dataGridTextBoxColumn1.MappingName = "Param_Name"; this.dataGridTextBoxColumn1.Width = 190; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "Parameter Value"; this.dataGridTextBoxColumn2.MappingName = "Param_Value"; this.dataGridTextBoxColumn2.Width = 135; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "Description"; this.dataGridTextBoxColumn3.MappingName = "Description"; this.dataGridTextBoxColumn3.Width = 400; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.label9); this.groupBox1.Controls.Add(this.label8); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.label7); this.groupBox1.Controls.Add(this.panel3); this.groupBox1.Controls.Add(this.panel2); this.groupBox1.Controls.Add(this.panel1); this.groupBox1.Controls.Add(this.panel4); this.groupBox1.Location = new System.Drawing.Point(8, 60); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(839, 64); this.groupBox1.TabIndex = 9; this.groupBox1.TabStop = false; // // label9 // this.label9.Location = new System.Drawing.Point(32, 39); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(328, 16); this.label9.TabIndex = 21; this.label9.Tag = ""; this.label9.Text = "WS: Parameters relate to Windows Service"; // // label8 // this.label8.Location = new System.Drawing.Point(400, 16); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(301, 16); this.label8.TabIndex = 16; this.label8.Tag = ""; this.label8.Text = "SP: Parameters relate to Stock Policy"; // // label5 // this.label5.Location = new System.Drawing.Point(32, 16); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(328, 23); this.label5.TabIndex = 14; this.label5.Text = "PPO: Parameters relate to Proposal purchase Order"; // // label7 // this.label7.Location = new System.Drawing.Point(400, 39); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(311, 23); this.label7.TabIndex = 14; this.label7.Text = "OTHER: Other parameters"; // // panel3 // this.panel3.BackColor = System.Drawing.Color.MediumBlue; this.panel3.Location = new System.Drawing.Point(385, 20); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(8, 8); this.panel3.TabIndex = 16; // // panel2 // this.panel2.BackColor = System.Drawing.Color.MediumBlue; this.panel2.Location = new System.Drawing.Point(385, 43); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(8, 8); this.panel2.TabIndex = 15; // // panel1 // this.panel1.BackColor = System.Drawing.Color.MediumBlue; this.panel1.ForeColor = System.Drawing.SystemColors.Desktop; this.panel1.Location = new System.Drawing.Point(16, 20); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(8, 8); this.panel1.TabIndex = 14; // // panel4 // this.panel4.BackColor = System.Drawing.Color.MediumBlue; this.panel4.Location = new System.Drawing.Point(16, 43); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(8, 8); this.panel4.TabIndex = 17; // // lnkBrowse // this.lnkBrowse.Location = new System.Drawing.Point(418, 79); this.lnkBrowse.Name = "lnkBrowse"; this.lnkBrowse.Size = new System.Drawing.Size(24, 16); this.lnkBrowse.TabIndex = 7; this.lnkBrowse.TabStop = true; this.lnkBrowse.Text = "[...]"; this.lnkBrowse.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkBrowse_LinkClicked); // // btnUpdate // this.btnUpdate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnUpdate.Image = ((System.Drawing.Image)(resources.GetObject("btnUpdate.Image"))); this.btnUpdate.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnUpdate.Location = new System.Drawing.Point(681, 70); this.btnUpdate.Name = "btnUpdate"; this.btnUpdate.Size = new System.Drawing.Size(69, 23); this.btnUpdate.TabIndex = 8; this.btnUpdate.Text = " Save"; this.btnUpdate.Click += new System.EventHandler(this.cmdUpdate_Click); // // txtParamValue // this.txtParamValue.Location = new System.Drawing.Point(157, 80); this.txtParamValue.Name = "txtParamValue"; this.txtParamValue.Size = new System.Drawing.Size(256, 20); this.txtParamValue.TabIndex = 6; this.txtParamValue.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtParamValue_KeyPress); // // txtDescription // this.txtDescription.Enabled = false; this.txtDescription.Location = new System.Drawing.Point(157, 48); this.txtDescription.Name = "txtDescription"; this.txtDescription.Size = new System.Drawing.Size(256, 20); this.txtDescription.TabIndex = 5; // // txtParamName // this.txtParamName.Enabled = false; this.txtParamName.Location = new System.Drawing.Point(157, 16); this.txtParamName.Name = "txtParamName"; this.txtParamName.Size = new System.Drawing.Size(256, 20); this.txtParamName.TabIndex = 4; // // label4 // this.label4.Location = new System.Drawing.Point(24, 48); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(127, 23); this.label4.TabIndex = 6; this.label4.Text = "Description"; // // label3 // this.label3.Location = new System.Drawing.Point(24, 80); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(127, 23); this.label3.TabIndex = 5; this.label3.Text = "ParameterValue"; // // label2 // this.label2.Location = new System.Drawing.Point(24, 16); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(127, 23); this.label2.TabIndex = 4; this.label2.Text = "Parameter Name"; // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox2.Controls.Add(this.btnClose); this.groupBox2.Controls.Add(this.txtParamName); this.groupBox2.Controls.Add(this.label2); this.groupBox2.Controls.Add(this.txtParamValue); this.groupBox2.Controls.Add(this.lnkBrowse); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Controls.Add(this.label3); this.groupBox2.Controls.Add(this.txtDescription); this.groupBox2.Controls.Add(this.btnUpdate); this.groupBox2.Location = new System.Drawing.Point(8, 125); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(839, 105); this.groupBox2.TabIndex = 12; this.groupBox2.TabStop = false; // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.Image = ((System.Drawing.Image)(resources.GetObject("btnClose.Image"))); this.btnClose.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnClose.Location = new System.Drawing.Point(759, 69); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(69, 23); this.btnClose.TabIndex = 9; this.btnClose.Text = " Close"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // groupBox3 // this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox3.Controls.Add(this.lblParameter); this.groupBox3.Controls.Add(this.txtParameter); this.groupBox3.Controls.Add(this.btnView); this.groupBox3.Controls.Add(this.cboParamGroup); this.groupBox3.Controls.Add(this.label1); this.groupBox3.Location = new System.Drawing.Point(8, 8); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(841, 50); this.groupBox3.TabIndex = 13; this.groupBox3.TabStop = false; // // lblParameter // this.lblParameter.Location = new System.Drawing.Point(471, 17); this.lblParameter.Name = "lblParameter"; this.lblParameter.Size = new System.Drawing.Size(57, 17); this.lblParameter.TabIndex = 14; this.lblParameter.Text = "Param"; this.lblParameter.TextAlign = System.Drawing.ContentAlignment.TopRight; // // txtParameter // this.txtParameter.Location = new System.Drawing.Point(547, 14); this.txtParameter.MaxLength = 20; this.txtParameter.Name = "txtParameter"; this.txtParameter.Size = new System.Drawing.Size(113, 20); this.txtParameter.TabIndex = 15; // // btnView // this.btnView.Image = ((System.Drawing.Image)(resources.GetObject("btnView.Image"))); this.btnView.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnView.Location = new System.Drawing.Point(681, 12); this.btnView.Name = "btnView"; this.btnView.Size = new System.Drawing.Size(76, 23); this.btnView.TabIndex = 6; this.btnView.Text = " Search"; this.btnView.Click += new System.EventHandler(this.btnView_Click); // // cboParamGroup // this.cboParamGroup.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cboParamGroup.Location = new System.Drawing.Point(140, 14); this.cboParamGroup.Name = "cboParamGroup"; this.cboParamGroup.Size = new System.Drawing.Size(326, 21); this.cboParamGroup.TabIndex = 4; // // label1 // this.label1.Location = new System.Drawing.Point(13, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(121, 23); this.label1.TabIndex = 3; this.label1.Text = "Parameter Group"; // // frmParameter // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(856, 494); this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.grdParam); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(632, 432); this.Name = "frmParameter"; this.Text = "SCM - Parameter Management"; ((System.ComponentModel.ISupportInitialize)(this.grdParam)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.ResumeLayout(false); }
[System.Diagnostics.DebuggerStepThrough()] private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmCancelRsn)); this.dgCancelReason = new System.Windows.Forms.DataGrid(); base.Load += new System.EventHandler(frmCancelRsn_Load); this.dgCancelReason.Navigate += new System.Windows.Forms.NavigateEventHandler(this.dgCancelReason_Navigate); this.DataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.DataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.DataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.Button1 = new System.Windows.Forms.Button(); this.Button2 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize) this.dgCancelReason).BeginInit(); this.SuspendLayout(); // //dgCancelReason // this.dgCancelReason.AlternatingBackColor = System.Drawing.Color.Gainsboro; this.dgCancelReason.Anchor = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.dgCancelReason.BackColor = System.Drawing.Color.Silver; this.dgCancelReason.BackgroundColor = System.Drawing.Color.Lavender; this.dgCancelReason.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.dgCancelReason.CaptionBackColor = System.Drawing.Color.DarkSlateBlue; this.dgCancelReason.CaptionFont = new System.Drawing.Font("Tahoma", 8.0F); this.dgCancelReason.CaptionForeColor = System.Drawing.Color.White; this.dgCancelReason.DataMember = ""; this.dgCancelReason.FlatMode = true; this.dgCancelReason.ForeColor = System.Drawing.Color.Black; this.dgCancelReason.GridLineColor = System.Drawing.Color.White; this.dgCancelReason.HeaderBackColor = System.Drawing.Color.DarkGray; this.dgCancelReason.HeaderForeColor = System.Drawing.Color.Black; this.dgCancelReason.LinkColor = System.Drawing.Color.DarkSlateBlue; this.dgCancelReason.Location = new System.Drawing.Point(8, 8); this.dgCancelReason.Name = "dgCancelReason"; this.dgCancelReason.ParentRowsBackColor = System.Drawing.Color.Black; this.dgCancelReason.ParentRowsForeColor = System.Drawing.Color.White; this.dgCancelReason.ReadOnly = true; this.dgCancelReason.SelectionBackColor = System.Drawing.Color.DarkSlateBlue; this.dgCancelReason.SelectionForeColor = System.Drawing.Color.White; this.dgCancelReason.Size = new System.Drawing.Size(320, 184); this.dgCancelReason.TabIndex = 4; this.dgCancelReason.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.DataGridTableStyle1 }); // //DataGridTableStyle1 // this.DataGridTableStyle1.DataGrid = this.dgCancelReason; this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.DataGridTextBoxColumn1, this.DataGridTextBoxColumn2 }); 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 = "CancelReason"; // //DataGridTextBoxColumn1 // this.DataGridTextBoxColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.DataGridTextBoxColumn1.Format = ""; this.DataGridTextBoxColumn1.FormatInfo = null; this.DataGridTextBoxColumn1.HeaderText = "取消编码"; this.DataGridTextBoxColumn1.MappingName = "cancelcode"; this.DataGridTextBoxColumn1.Width = 55; // //DataGridTextBoxColumn2 // this.DataGridTextBoxColumn2.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.DataGridTextBoxColumn2.Format = ""; this.DataGridTextBoxColumn2.FormatInfo = null; this.DataGridTextBoxColumn2.HeaderText = "取消原因"; this.DataGridTextBoxColumn2.MappingName = "reason"; this.DataGridTextBoxColumn2.Width = 200; // //Button1 // this.Button1.DialogResult = System.Windows.Forms.DialogResult.OK; this.Button1.Location = new System.Drawing.Point(160, 200); this.Button1.Name = "Button1"; this.Button1.TabIndex = 5; this.Button1.Text = "确定(&O)"; // //Button2 // this.Button2.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.Button2.Location = new System.Drawing.Point(240, 200); this.Button2.Name = "Button2"; this.Button2.TabIndex = 6; this.Button2.Text = "取消(&C)"; // //frmCancelRsn // this.AcceptButton = this.Button1; this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.CancelButton = this.Button2; this.ClientSize = new System.Drawing.Size(336, 238); this.Controls.Add(this.Button2); this.Controls.Add(this.Button1); this.Controls.Add(this.dgCancelReason); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = (System.Drawing.Icon)(resources.GetObject("$this.Icon")); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmCancelRsn"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "选择取消原因"; ((System.ComponentModel.ISupportInitialize) this.dgCancelReason).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cmbks = new System.Windows.Forms.ComboBox(); this.label5 = new System.Windows.Forms.Label(); this.butquit = new System.Windows.Forms.Button(); this.butprint = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); 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.groupBox2 = 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.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = 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.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.cmbks); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 64); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // cmbks // this.cmbks.Location = new System.Drawing.Point(72, 24); this.cmbks.Name = "cmbks"; this.cmbks.Size = new System.Drawing.Size(112, 20); this.cmbks.TabIndex = 13; // // label5 // this.label5.Location = new System.Drawing.Point(32, 27); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(41, 16); this.label5.TabIndex = 12; this.label5.Text = "药房"; // // butquit // this.butquit.Location = new System.Drawing.Point(680, 18); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(72, 32); this.butquit.TabIndex = 11; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butprint // this.butprint.Location = new System.Drawing.Point(608, 18); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(72, 32); this.butprint.TabIndex = 10; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(528, 18); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(78, 32); this.buttj.TabIndex = 9; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // dtp2 // this.dtp2.Location = new System.Drawing.Point(365, 24); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(111, 21); this.dtp2.TabIndex = 5; // // label2 // this.label2.Location = new System.Drawing.Point(349, 28); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(16, 16); this.label2.TabIndex = 4; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(236, 24); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(111, 21); this.dtp1.TabIndex = 3; // // label1 // this.label1.Location = new System.Drawing.Point(188, 27); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(72, 16); this.label1.TabIndex = 2; this.label1.Text = "日期从"; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 1000; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 64); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 438); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.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, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 418); 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.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn13, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "领药药房"; this.dataGridTextBoxColumn1.Width = 70; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "单据号"; this.dataGridTextBoxColumn2.Width = 60; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "药品名称"; this.dataGridTextBoxColumn3.Width = 120; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "商品名"; this.dataGridTextBoxColumn5.Width = 120; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "规格"; this.dataGridTextBoxColumn12.NullText = ""; this.dataGridTextBoxColumn12.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 = 40; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "进价"; this.dataGridTextBoxColumn8.Width = 60; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "进货金额"; this.dataGridTextBoxColumn4.Width = 75; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "零售价"; this.dataGridTextBoxColumn13.NullText = ""; this.dataGridTextBoxColumn13.Width = 60; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "零售金额"; this.dataGridTextBoxColumn11.Width = 75; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "进零差额"; this.dataGridTextBoxColumn9.Width = 65; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "货号"; this.dataGridTextBoxColumn10.Width = 55; // // Frmyktkd // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmyktkd"; this.Text = "药库调库单"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxspm_Load); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cmbypsx = new System.Windows.Forms.ComboBox(); this.label4 = new System.Windows.Forms.Label(); this.cmbyjks = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.cmbyplx = new System.Windows.Forms.ComboBox(); this.butquit = new System.Windows.Forms.Button(); this.butprint = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.rdo1 = new System.Windows.Forms.RadioButton(); this.label1 = new System.Windows.Forms.Label(); 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.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn4 = 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.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn17 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.butexcel = new System.Windows.Forms.Button(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.butexcel); this.groupBox1.Controls.Add(this.cmbypsx); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.cmbyjks); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.cmbyplx); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.rdo1); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 92); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // cmbypsx // this.cmbypsx.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbypsx.Items.AddRange(new object[] { "贵重药品", "麻醉药品", "毒剧药品", "皮试药品", "精神药品", "外用药品", "处方药品", "妊娠药品", "基本药物", "抗生素", "全部" }); this.cmbypsx.Location = new System.Drawing.Point(311, 19); this.cmbypsx.Name = "cmbypsx"; this.cmbypsx.Size = new System.Drawing.Size(153, 20); this.cmbypsx.TabIndex = 36; this.cmbypsx.SelectedIndexChanged += new System.EventHandler(this.cmbypsx_SelectedIndexChanged); // // label4 // this.label4.Location = new System.Drawing.Point(246, 24); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(66, 16); this.label4.TabIndex = 35; this.label4.Text = "药品属性"; // // cmbyjks // this.cmbyjks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyjks.Location = new System.Drawing.Point(76, 20); this.cmbyjks.Name = "cmbyjks"; this.cmbyjks.Size = new System.Drawing.Size(153, 20); this.cmbyjks.TabIndex = 9; this.cmbyjks.SelectionChangeCommitted += new System.EventHandler(this.cmbyjks_SelectionChangeCommitted); // // label3 // this.label3.Location = new System.Drawing.Point(11, 25); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(66, 16); this.label3.TabIndex = 8; this.label3.Text = "药剂科室"; // // cmbyplx // this.cmbyplx.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyplx.Items.AddRange(new object[] { "2005", "2006", "2007", "2008", "2009", "2010" }); this.cmbyplx.Location = new System.Drawing.Point(390, 58); this.cmbyplx.Name = "cmbyplx"; this.cmbyplx.Size = new System.Drawing.Size(119, 20); this.cmbyplx.TabIndex = 19; // // butquit // this.butquit.Location = new System.Drawing.Point(759, 53); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(65, 32); this.butquit.TabIndex = 11; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butprint // this.butprint.Location = new System.Drawing.Point(622, 53); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(63, 32); this.butprint.TabIndex = 10; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(558, 53); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(64, 32); this.buttj.TabIndex = 9; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // dtp2 // this.dtp2.Location = new System.Drawing.Point(202, 58); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(112, 21); this.dtp2.TabIndex = 5; // // label2 // this.label2.Location = new System.Drawing.Point(186, 64); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(16, 16); this.label2.TabIndex = 4; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(74, 58); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(110, 21); this.dtp1.TabIndex = 3; // // rdo1 // this.rdo1.Checked = true; this.rdo1.Location = new System.Drawing.Point(10, 57); this.rdo1.Name = "rdo1"; this.rdo1.Size = new System.Drawing.Size(96, 24); this.rdo1.TabIndex = 12; this.rdo1.TabStop = true; this.rdo1.Text = "按日期从"; // // label1 // this.label1.Location = new System.Drawing.Point(320, 64); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(84, 16); this.label1.TabIndex = 20; this.label1.Text = "药品类型"; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 1000; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 92); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 410); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.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, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 390); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); // // dataGridTableStyle2 // this.dataGridTableStyle2.AllowSorting = false; this.dataGridTableStyle2.DataGrid = this.myDataGrid1; this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn15, this.dataGridTextBoxColumn16, this.dataGridTextBoxColumn17, this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3 }); this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.ReadOnly = true; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "序号"; this.dataGridTextBoxColumn4.Width = 40; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "品名"; this.dataGridTextBoxColumn9.Width = 75; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "商品名"; this.dataGridTextBoxColumn10.Width = 75; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "规格"; this.dataGridTextBoxColumn11.Width = 90; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "厂家"; this.dataGridTextBoxColumn15.Width = 90; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "零售价"; this.dataGridTextBoxColumn16.Width = 60; // // dataGridTextBoxColumn17 // this.dataGridTextBoxColumn17.Format = ""; this.dataGridTextBoxColumn17.FormatInfo = null; this.dataGridTextBoxColumn17.HeaderText = "单位"; this.dataGridTextBoxColumn17.Width = 40; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "入库数"; this.dataGridTextBoxColumn1.Width = 65; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "出库数"; this.dataGridTextBoxColumn2.Width = 65; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "库存数"; this.dataGridTextBoxColumn3.Width = 65; // // butexcel // this.butexcel.Location = new System.Drawing.Point(686, 53); this.butexcel.Name = "butexcel"; this.butexcel.Size = new System.Drawing.Size(72, 32); this.butexcel.TabIndex = 43; this.butexcel.Text = "导出(&E)"; this.butexcel.Click += new System.EventHandler(this.butexcel_Click); // // Frmgzyptj // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmgzyptj"; this.Text = "贵重药品统计"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxspm_Load); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).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() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ProductsForm)); this.dataGrid = new System.Windows.Forms.DataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.colProductCode = new System.Windows.Forms.DataGridTextBoxColumn(); this.colArticul = new System.Windows.Forms.DataGridTextBoxColumn(); this.colProductName = new System.Windows.Forms.DataGridTextBoxColumn(); this.btnCancel = new System.Windows.Forms.Button(); this.btnOk = new System.Windows.Forms.Button(); this.imageList = new System.Windows.Forms.ImageList(); this.toolBar = new System.Windows.Forms.ToolBar(); this.tbbCode = new System.Windows.Forms.ToolBarButton(); this.tbbName = new System.Windows.Forms.ToolBarButton(); this.tbbSep = new System.Windows.Forms.ToolBarButton(); this.tbbArticul = new System.Windows.Forms.ToolBarButton(); this.tbbName2 = new System.Windows.Forms.ToolBarButton(); this.tbbSep2 = new System.Windows.Forms.ToolBarButton(); this.tbbGroup = new System.Windows.Forms.ToolBarButton(); this.tbbAntiGroup = new System.Windows.Forms.ToolBarButton(); this.lblRec = new System.Windows.Forms.Label(); this.lblSearch = new System.Windows.Forms.Label(); this.lblGroup = new System.Windows.Forms.Label(); // // dataGrid // this.dataGrid.Location = new System.Drawing.Point(0, 24); this.dataGrid.Size = new System.Drawing.Size(238, 162); this.dataGrid.TableStyles.Add(this.dataGridTableStyle1); this.dataGrid.CurrentCellChanged += new System.EventHandler(this.dgProducts_CurrentCellChanged); this.dataGrid.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.dataGrid_KeyPress); this.dataGrid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGrid_KeyDown); // // dataGridTableStyle1 // this.dataGridTableStyle1.GridColumnStyles.Add(this.colProductCode); this.dataGridTableStyle1.GridColumnStyles.Add(this.colArticul); this.dataGridTableStyle1.GridColumnStyles.Add(this.colProductName); this.dataGridTableStyle1.MappingName = "Products"; // // colProductCode // this.colProductCode.HeaderText = "Code"; this.colProductCode.MappingName = "ProductCode"; this.colProductCode.NullText = "(null)"; // // colArticul // this.colArticul.HeaderText = "Articul"; this.colArticul.MappingName = "Articul"; this.colArticul.NullText = "(null)"; // // colProductName // this.colProductName.HeaderText = "Product"; this.colProductName.MappingName = "ProductName"; this.colProductName.NullText = "(null)"; this.colProductName.Width = 140; // // btnCancel // this.btnCancel.Location = new System.Drawing.Point(162, 242); this.btnCancel.Text = "Cancel"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnOk // this.btnOk.Location = new System.Drawing.Point(86, 242); this.btnOk.Text = "OK"; this.btnOk.Click += new System.EventHandler(this.btnOk_Click); // // imageList // this.imageList.Images.Add(((System.Drawing.Image)(resources.GetObject("resource")))); this.imageList.Images.Add(((System.Drawing.Image)(resources.GetObject("resource1")))); this.imageList.Images.Add(((System.Drawing.Image)(resources.GetObject("resource2")))); this.imageList.Images.Add(((System.Drawing.Image)(resources.GetObject("resource3")))); this.imageList.Images.Add(((System.Drawing.Image)(resources.GetObject("resource4")))); this.imageList.ImageSize = new System.Drawing.Size(20, 20); // // toolBar // this.toolBar.Buttons.Add(this.tbbCode); this.toolBar.Buttons.Add(this.tbbName); this.toolBar.Buttons.Add(this.tbbSep); this.toolBar.Buttons.Add(this.tbbArticul); this.toolBar.Buttons.Add(this.tbbName2); this.toolBar.Buttons.Add(this.tbbSep2); this.toolBar.Buttons.Add(this.tbbGroup); this.toolBar.Buttons.Add(this.tbbAntiGroup); this.toolBar.ImageList = this.imageList; this.toolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar_ButtonClick); // // tbbCode // this.tbbCode.ImageIndex = 1; // // tbbName // this.tbbName.ImageIndex = 2; // // tbbSep // this.tbbSep.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // tbbArticul // this.tbbArticul.ImageIndex = 0; // // tbbName2 // this.tbbName2.ImageIndex = 2; // // tbbSep2 // this.tbbSep2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // tbbGroup // this.tbbGroup.ImageIndex = 3; // // tbbAntiGroup // this.tbbAntiGroup.Enabled = false; this.tbbAntiGroup.ImageIndex = 4; // // lblRec // this.lblRec.Location = new System.Drawing.Point(2, 208); this.lblRec.Size = new System.Drawing.Size(234, 32); // // lblSearch // this.lblSearch.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold); this.lblSearch.Location = new System.Drawing.Point(2, 242); this.lblSearch.Size = new System.Drawing.Size(80, 20); // // lblGroup // this.lblGroup.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold); this.lblGroup.ForeColor = System.Drawing.Color.Blue; this.lblGroup.Location = new System.Drawing.Point(2, 190); this.lblGroup.Size = new System.Drawing.Size(234, 15); this.lblGroup.Text = "Product not found in group"; this.lblGroup.Visible = false; // // ProductsForm // this.ClientSize = new System.Drawing.Size(238, 308); this.Controls.Add(this.lblGroup); this.Controls.Add(this.lblSearch); this.Controls.Add(this.lblRec); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOk); this.Controls.Add(this.dataGrid); this.Controls.Add(this.toolBar); this.MaximizeBox = false; this.MinimizeBox = false; this.Text = "Product selection"; this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ProductsForm_KeyDown); this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.ProductsForm_KeyPress); this.Load += new System.EventHandler(this.ProductsForm_Load); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.panel5 = 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.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.panel4 = new System.Windows.Forms.Panel(); this.butclose = new System.Windows.Forms.Button(); this.butsh = new System.Windows.Forms.Button(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.butnew = new System.Windows.Forms.Button(); this.panel3 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.chktjrq = new System.Windows.Forms.CheckBox(); this.txtdjh = new System.Windows.Forms.TextBox(); this.chkdjh = new System.Windows.Forms.CheckBox(); this.txttjwh = new System.Windows.Forms.TextBox(); this.chktjwh = new System.Windows.Forms.CheckBox(); this.rdo2 = new System.Windows.Forms.RadioButton(); this.rdo1 = new System.Windows.Forms.RadioButton(); this.butref = new System.Windows.Forms.Button(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.panel1.SuspendLayout(); this.panel5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); this.panel3.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.panel5); this.panel1.Controls.Add(this.panel4); this.panel1.Controls.Add(this.panel3); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(832, 485); this.panel1.TabIndex = 0; // // panel5 // this.panel5.Controls.Add(this.myDataGrid1); this.panel5.Dock = System.Windows.Forms.DockStyle.Fill; this.panel5.Location = new System.Drawing.Point(0, 80); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(832, 349); this.panel5.TabIndex = 3; // // 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(832, 349); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.DoubleClick += new System.EventHandler(this.myDataGrid1_DoubleClick); this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.AllowSorting = false; this.dataGridTableStyle1.AlternatingBackColor = System.Drawing.Color.WhiteSmoke; this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.ReadOnly = true; this.dataGridTextBoxColumn1.Width = 50; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "单据号"; this.dataGridTextBoxColumn2.NullText = ""; this.dataGridTextBoxColumn2.ReadOnly = true; this.dataGridTextBoxColumn2.Width = 80; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "执行日期"; this.dataGridTextBoxColumn3.NullText = ""; this.dataGridTextBoxColumn3.ReadOnly = true; this.dataGridTextBoxColumn3.Width = 120; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "调价文号"; this.dataGridTextBoxColumn4.NullText = ""; this.dataGridTextBoxColumn4.ReadOnly = true; this.dataGridTextBoxColumn4.Width = 120; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "登记时间"; this.dataGridTextBoxColumn5.NullText = ""; this.dataGridTextBoxColumn5.ReadOnly = true; this.dataGridTextBoxColumn5.Width = 75; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "登记员"; this.dataGridTextBoxColumn6.NullText = ""; this.dataGridTextBoxColumn6.ReadOnly = true; this.dataGridTextBoxColumn6.Width = 80; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "备注"; this.dataGridTextBoxColumn7.NullText = ""; this.dataGridTextBoxColumn7.ReadOnly = true; this.dataGridTextBoxColumn7.Width = 120; // // panel4 // this.panel4.Controls.Add(this.butclose); this.panel4.Controls.Add(this.butsh); this.panel4.Controls.Add(this.statusBar1); this.panel4.Controls.Add(this.butnew); this.panel4.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel4.Location = new System.Drawing.Point(0, 429); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(832, 56); this.panel4.TabIndex = 2; // // butclose // this.butclose.Location = new System.Drawing.Point(528, 6); this.butclose.Name = "butclose"; this.butclose.Size = new System.Drawing.Size(88, 24); this.butclose.TabIndex = 3; this.butclose.Text = "关闭(&Q)"; this.butclose.Click += new System.EventHandler(this.butclose_Click); // // butsh // this.butsh.Location = new System.Drawing.Point(424, 6); this.butsh.Name = "butsh"; this.butsh.Size = new System.Drawing.Size(88, 24); this.butsh.TabIndex = 2; this.butsh.Text = "查看(&H)"; this.butsh.Click += new System.EventHandler(this.butsh_Click); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 32); 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(832, 24); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 200; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 1000; // // butnew // this.butnew.Location = new System.Drawing.Point(328, 6); this.butnew.Name = "butnew"; this.butnew.Size = new System.Drawing.Size(88, 24); this.butnew.TabIndex = 0; this.butnew.Text = "新单据(&N)"; this.butnew.Click += new System.EventHandler(this.butnew_Click); // // panel3 // this.panel3.Controls.Add(this.panel2); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(832, 80); this.panel3.TabIndex = 1; // // panel2 // this.panel2.Controls.Add(this.dtp2); this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.dtp1); this.panel2.Controls.Add(this.chktjrq); this.panel2.Controls.Add(this.txtdjh); this.panel2.Controls.Add(this.chkdjh); this.panel2.Controls.Add(this.txttjwh); this.panel2.Controls.Add(this.chktjwh); this.panel2.Controls.Add(this.rdo2); this.panel2.Controls.Add(this.rdo1); this.panel2.Controls.Add(this.butref); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(832, 80); this.panel2.TabIndex = 3; // // dtp2 // this.dtp2.Enabled = false; this.dtp2.Location = new System.Drawing.Point(394, 49); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(110, 21); this.dtp2.TabIndex = 11; // // label1 // this.label1.Location = new System.Drawing.Point(371, 53); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(24, 16); this.label1.TabIndex = 10; this.label1.Text = "到"; // // dtp1 // this.dtp1.Enabled = false; this.dtp1.Location = new System.Drawing.Point(257, 49); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(111, 21); this.dtp1.TabIndex = 9; // // chktjrq // this.chktjrq.Location = new System.Drawing.Point(184, 48); this.chktjrq.Name = "chktjrq"; this.chktjrq.Size = new System.Drawing.Size(80, 22); this.chktjrq.TabIndex = 8; this.chktjrq.Text = "调价日期"; this.chktjrq.CheckedChanged += new System.EventHandler(this.chkshdh_CheckedChanged); // // txtdjh // this.txtdjh.Enabled = false; this.txtdjh.Location = new System.Drawing.Point(497, 18); this.txtdjh.Name = "txtdjh"; this.txtdjh.Size = new System.Drawing.Size(88, 21); this.txtdjh.TabIndex = 7; // // chkdjh // this.chkdjh.Location = new System.Drawing.Point(427, 18); this.chkdjh.Name = "chkdjh"; this.chkdjh.Size = new System.Drawing.Size(73, 22); this.chkdjh.TabIndex = 6; this.chkdjh.Text = "单据号"; this.chkdjh.CheckedChanged += new System.EventHandler(this.chkshdh_CheckedChanged); // // txttjwh // this.txttjwh.Enabled = false; this.txttjwh.Location = new System.Drawing.Point(256, 18); this.txttjwh.Name = "txttjwh"; this.txttjwh.Size = new System.Drawing.Size(160, 21); this.txttjwh.TabIndex = 3; // // chktjwh // this.chktjwh.Location = new System.Drawing.Point(184, 18); this.chktjwh.Name = "chktjwh"; this.chktjwh.Size = new System.Drawing.Size(80, 22); this.chktjwh.TabIndex = 2; this.chktjwh.Text = "调价文号"; this.chktjwh.CheckedChanged += new System.EventHandler(this.chkshdh_CheckedChanged); // // rdo2 // this.rdo2.Location = new System.Drawing.Point(24, 38); this.rdo2.Name = "rdo2"; this.rdo2.Size = new System.Drawing.Size(112, 22); this.rdo2.TabIndex = 1; this.rdo2.Text = "已执行的调价单"; this.rdo2.CheckedChanged += new System.EventHandler(this.rdo2_CheckedChanged); // // rdo1 // this.rdo1.Checked = true; this.rdo1.Location = new System.Drawing.Point(24, 16); this.rdo1.Name = "rdo1"; this.rdo1.Size = new System.Drawing.Size(128, 22); this.rdo1.TabIndex = 0; this.rdo1.TabStop = true; this.rdo1.Text = "待执行的调价单"; this.rdo1.CheckedChanged += new System.EventHandler(this.rdo2_CheckedChanged); // // butref // this.butref.Location = new System.Drawing.Point(528, 47); this.butref.Name = "butref"; this.butref.Size = new System.Drawing.Size(88, 24); this.butref.TabIndex = 4; this.butref.Text = "刷新(&R)"; this.butref.Click += new System.EventHandler(this.butref_Click); // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "打印"; this.dataGridTextBoxColumn8.NullText = ""; this.dataGridTextBoxColumn8.ReadOnly = true; this.dataGridTextBoxColumn8.Width = 75; // // Frmtitle // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(832, 485); this.Controls.Add(this.panel1); this.Name = "Frmtitle"; this.Text = "药品调价"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Activated += new System.EventHandler(this.Frmtitle_Activated); this.Load += new System.EventHandler(this.Frmtitle_Load); this.panel1.ResumeLayout(false); this.panel5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.panel4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); this.panel3.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.ResumeLayout(false); }
[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); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cmbyjks = new System.Windows.Forms.ComboBox(); this.label6 = new System.Windows.Forms.Label(); this.cmbyplx = new System.Windows.Forms.ComboBox(); this.label5 = new System.Windows.Forms.Label(); this.butquit = new System.Windows.Forms.Button(); this.butprint = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.label4 = new System.Windows.Forms.Label(); this.txtnum = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.rdoje = new System.Windows.Forms.RadioButton(); this.rdosl = new System.Windows.Forms.RadioButton(); 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.groupBox2 = 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.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.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.butexcel = new System.Windows.Forms.Button(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.butexcel); this.groupBox1.Controls.Add(this.cmbyjks); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.cmbyplx); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.txtnum); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.rdoje); this.groupBox1.Controls.Add(this.rdosl); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 90); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // cmbyjks // this.cmbyjks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyjks.Location = new System.Drawing.Point(85, 19); this.cmbyjks.Name = "cmbyjks"; this.cmbyjks.Size = new System.Drawing.Size(154, 20); this.cmbyjks.TabIndex = 15; this.cmbyjks.SelectionChangeCommitted += new System.EventHandler(this.cmbyjks_SelectionChangeCommitted); // // label6 // this.label6.Location = new System.Drawing.Point(20, 24); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(66, 16); this.label6.TabIndex = 14; this.label6.Text = "药剂科室"; // // cmbyplx // this.cmbyplx.Location = new System.Drawing.Point(85, 54); this.cmbyplx.Name = "cmbyplx"; this.cmbyplx.Size = new System.Drawing.Size(154, 20); this.cmbyplx.TabIndex = 13; // // label5 // this.label5.Location = new System.Drawing.Point(22, 58); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(78, 20); this.label5.TabIndex = 12; this.label5.Text = "药品类型"; // // butquit // this.butquit.Location = new System.Drawing.Point(796, 47); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(72, 33); this.butquit.TabIndex = 11; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butprint // this.butprint.Location = new System.Drawing.Point(724, 47); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(72, 33); this.butprint.TabIndex = 10; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(643, 47); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(78, 33); this.buttj.TabIndex = 9; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // label4 // this.label4.Location = new System.Drawing.Point(581, 59); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(56, 16); this.label4.TabIndex = 8; this.label4.Text = "名的药品"; // // txtnum // this.txtnum.ForeColor = System.Drawing.Color.Blue; this.txtnum.Location = new System.Drawing.Point(542, 55); this.txtnum.Name = "txtnum"; this.txtnum.Size = new System.Drawing.Size(42, 21); this.txtnum.TabIndex = 7; this.txtnum.Text = "10"; this.txtnum.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtnum_KeyUp); // // label3 // this.label3.Location = new System.Drawing.Point(522, 58); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(19, 16); this.label3.TabIndex = 6; this.label3.Text = "前"; // // dtp2 // this.dtp2.Location = new System.Drawing.Point(410, 55); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(113, 21); this.dtp2.TabIndex = 5; // // label2 // this.label2.Location = new System.Drawing.Point(394, 59); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(15, 16); this.label2.TabIndex = 4; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(288, 55); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(110, 21); this.dtp1.TabIndex = 3; // // label1 // this.label1.Location = new System.Drawing.Point(236, 59); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(72, 16); this.label1.TabIndex = 2; this.label1.Text = "日期从"; // // rdoje // this.rdoje.Location = new System.Drawing.Point(377, 17); this.rdoje.Name = "rdoje"; this.rdoje.Size = new System.Drawing.Size(87, 24); this.rdoje.TabIndex = 1; this.rdoje.Text = "按金额排名"; // // rdosl // this.rdosl.Checked = true; this.rdosl.Location = new System.Drawing.Point(260, 20); this.rdosl.Name = "rdosl"; this.rdosl.Size = new System.Drawing.Size(88, 24); this.rdosl.TabIndex = 0; this.rdosl.TabStop = true; this.rdosl.Text = "按数量排名"; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 1000; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 90); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 412); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.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, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 392); 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.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // 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 = 120; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "规格"; this.dataGridTextBoxColumn3.Width = 80; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "厂家"; this.dataGridTextBoxColumn5.Width = 80; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "批发价"; this.dataGridTextBoxColumn6.Width = 0; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "零售价"; this.dataGridTextBoxColumn7.Width = 70; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "数量"; this.dataGridTextBoxColumn8.Width = 70; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "单位"; this.dataGridTextBoxColumn4.Width = 40; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "批发金额"; this.dataGridTextBoxColumn11.Width = 0; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "零售金额"; this.dataGridTextBoxColumn9.Width = 90; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "货号"; this.dataGridTextBoxColumn10.Width = 60; // // butexcel // this.butexcel.Location = new System.Drawing.Point(724, 12); this.butexcel.Name = "butexcel"; this.butexcel.Size = new System.Drawing.Size(72, 32); this.butexcel.TabIndex = 43; this.butexcel.Text = "导出(&E)"; this.butexcel.Click += new System.EventHandler(this.butexcel_Click); // // Frmjhpm // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmjhpm"; this.Text = "入库排名统计"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxspm_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).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.txtSearch = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.dgItems = new System.Windows.Forms.DataGrid(); this.dgStyle = new System.Windows.Forms.DataGridTableStyle(); this.TransactionItemsID = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductID = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductCode = new System.Windows.Forms.DataGridTextBoxColumn(); this.BarCode = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductDesc = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductUnitID = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductUnitCode = new System.Windows.Forms.DataGridTextBoxColumn(); this.Quantity = new System.Windows.Forms.DataGridTextBoxColumn(); this.Price = new System.Windows.Forms.DataGridTextBoxColumn(); this.Discount = new System.Windows.Forms.DataGridTextBoxColumn(); this.ItemDiscount = new System.Windows.Forms.DataGridTextBoxColumn(); this.ItemDiscountType = new System.Windows.Forms.DataGridTextBoxColumn(); this.Amount = new System.Windows.Forms.DataGridTextBoxColumn(); this.VAT = new System.Windows.Forms.DataGridTextBoxColumn(); this.EVAT = new System.Windows.Forms.DataGridTextBoxColumn(); this.LocalTax = new System.Windows.Forms.DataGridTextBoxColumn(); this.VariationsMatrixID = new System.Windows.Forms.DataGridTextBoxColumn(); this.MatrixDescription = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductGroup = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductSubGroup = new System.Windows.Forms.DataGridTextBoxColumn(); this.TransactionItemStatus = new System.Windows.Forms.DataGridTextBoxColumn(); this.DiscountCode = new System.Windows.Forms.DataGridTextBoxColumn(); this.DiscountRemarks = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductPackageID = new System.Windows.Forms.DataGridTextBoxColumn(); this.MatrixPackageID = new System.Windows.Forms.DataGridTextBoxColumn(); this.PackageQuantity = new System.Windows.Forms.DataGridTextBoxColumn(); this.PromoQuantity = new System.Windows.Forms.DataGridTextBoxColumn(); this.PromoValue = new System.Windows.Forms.DataGridTextBoxColumn(); this.PromoInPercent = new System.Windows.Forms.DataGridTextBoxColumn(); this.PromoType = new System.Windows.Forms.DataGridTextBoxColumn(); this.PromoApplied = new System.Windows.Forms.DataGridTextBoxColumn(); this.PurchasePrice = new System.Windows.Forms.DataGridTextBoxColumn(); this.PurchaseAmount = new System.Windows.Forms.DataGridTextBoxColumn(); this.imgIcon = new System.Windows.Forms.PictureBox(); this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl(); ((System.ComponentModel.ISupportInitialize)(this.dgItems)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit(); this.SuspendLayout(); // // txtSearch // this.txtSearch.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtSearch.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSearch.Location = new System.Drawing.Point(67, 27); this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(298, 23); this.txtSearch.TabIndex = 0; this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged); // // label1 // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(67, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(125, 13); this.label1.TabIndex = 4; this.label1.Text = "Enter search criteria."; // // dgItems // this.dgItems.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.dgItems.BackColor = System.Drawing.Color.White; this.dgItems.BackgroundColor = System.Drawing.Color.White; this.dgItems.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.dgItems.CaptionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.dgItems.CaptionForeColor = System.Drawing.Color.Blue; this.dgItems.CaptionVisible = false; this.dgItems.DataMember = ""; this.dgItems.Dock = System.Windows.Forms.DockStyle.Bottom; this.dgItems.FlatMode = true; this.dgItems.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgItems.HeaderBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(81)))), ((int)(((byte)(153))))); this.dgItems.HeaderFont = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgItems.HeaderForeColor = System.Drawing.Color.White; this.dgItems.Location = new System.Drawing.Point(0, 196); this.dgItems.Name = "dgItems"; this.dgItems.PreferredRowHeight = 50; this.dgItems.ReadOnly = true; this.dgItems.RowHeadersVisible = false; this.dgItems.RowHeaderWidth = 7; this.dgItems.SelectionBackColor = System.Drawing.Color.RoyalBlue; this.dgItems.SelectionForeColor = System.Drawing.Color.White; this.dgItems.Size = new System.Drawing.Size(1022, 570); this.dgItems.TabIndex = 5; this.dgItems.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dgStyle }); this.dgItems.TabStop = false; this.dgItems.MouseDown += new System.Windows.Forms.MouseEventHandler(this.dgItems_MouseDown); // // dgStyle // this.dgStyle.AlternatingBackColor = System.Drawing.Color.White; this.dgStyle.BackColor = System.Drawing.Color.White; this.dgStyle.DataGrid = this.dgItems; this.dgStyle.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.TransactionItemsID, this.ProductID, this.ProductCode, this.BarCode, this.ProductDesc, this.ProductUnitID, this.ProductUnitCode, this.Quantity, this.Price, this.Discount, this.ItemDiscount, this.ItemDiscountType, this.Amount, this.VAT, this.EVAT, this.LocalTax, this.VariationsMatrixID, this.MatrixDescription, this.ProductGroup, this.ProductSubGroup, this.TransactionItemStatus, this.DiscountCode, this.DiscountRemarks, this.ProductPackageID, this.MatrixPackageID, this.PackageQuantity, this.PromoQuantity, this.PromoValue, this.PromoInPercent, this.PromoType, this.PromoApplied, this.PurchasePrice, this.PurchaseAmount }); this.dgStyle.HeaderBackColor = System.Drawing.Color.DarkOrange; this.dgStyle.HeaderFont = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgStyle.HeaderForeColor = System.Drawing.Color.White; this.dgStyle.MappingName = "tblproducts"; this.dgStyle.PreferredColumnWidth = 180; this.dgStyle.PreferredRowHeight = 40; this.dgStyle.ReadOnly = true; this.dgStyle.RowHeadersVisible = false; this.dgStyle.RowHeaderWidth = 7; this.dgStyle.SelectionBackColor = System.Drawing.Color.Green; this.dgStyle.SelectionForeColor = System.Drawing.Color.White; // // TransactionItemsID // this.TransactionItemsID.Format = ""; this.TransactionItemsID.FormatInfo = null; this.TransactionItemsID.MappingName = "TransactionItemsID"; this.TransactionItemsID.NullText = ""; this.TransactionItemsID.ReadOnly = true; this.TransactionItemsID.Width = 0; // // ProductID // this.ProductID.Format = ""; this.ProductID.FormatInfo = null; this.ProductID.HeaderText = "ID"; this.ProductID.MappingName = "ProductID"; this.ProductID.NullText = ""; this.ProductID.ReadOnly = true; this.ProductID.Width = 0; // // ProductCode // this.ProductCode.Format = ""; this.ProductCode.FormatInfo = null; this.ProductCode.HeaderText = "Product Code"; this.ProductCode.MappingName = "ProductCode"; this.ProductCode.NullText = ""; this.ProductCode.ReadOnly = true; this.ProductCode.Width = 180; // // BarCode // this.BarCode.Format = ""; this.BarCode.FormatInfo = null; this.BarCode.HeaderText = "Bar Code"; this.BarCode.MappingName = "BarCode"; this.BarCode.NullText = ""; this.BarCode.ReadOnly = true; this.BarCode.Width = 180; // // ProductDesc // this.ProductDesc.Format = ""; this.ProductDesc.FormatInfo = null; this.ProductDesc.HeaderText = "Description"; this.ProductDesc.MappingName = "ProductDesc"; this.ProductDesc.NullText = ""; this.ProductDesc.ReadOnly = true; this.ProductDesc.Width = 276; // // ProductUnitID // this.ProductUnitID.Format = ""; this.ProductUnitID.FormatInfo = null; this.ProductUnitID.MappingName = "ProductUnitID"; this.ProductUnitID.NullText = "0"; this.ProductUnitID.ReadOnly = true; this.ProductUnitID.Width = 0; // // ProductUnitCode // this.ProductUnitCode.Format = ""; this.ProductUnitCode.FormatInfo = null; this.ProductUnitCode.MappingName = "ProductUnitCode"; this.ProductUnitCode.NullText = "0"; this.ProductUnitCode.ReadOnly = true; this.ProductUnitCode.Width = 0; // // Quantity // this.Quantity.Format = ""; this.Quantity.FormatInfo = null; this.Quantity.MappingName = "Quantity"; this.Quantity.NullText = "0"; this.Quantity.ReadOnly = true; this.Quantity.Width = 0; // // Price // this.Price.Format = ""; this.Price.FormatInfo = null; this.Price.MappingName = "Price"; this.Price.NullText = "0"; this.Price.ReadOnly = true; this.Price.Width = 0; // // Discount // this.Discount.Format = ""; this.Discount.FormatInfo = null; this.Discount.MappingName = "Discount"; this.Discount.NullText = "0"; this.Discount.ReadOnly = true; this.Discount.Width = 0; // // ItemDiscount // this.ItemDiscount.Format = ""; this.ItemDiscount.FormatInfo = null; this.ItemDiscount.MappingName = "ItemDiscount"; this.ItemDiscount.NullText = "0"; this.ItemDiscount.ReadOnly = true; this.ItemDiscount.Width = 0; // // ItemDiscountType // this.ItemDiscountType.Format = ""; this.ItemDiscountType.FormatInfo = null; this.ItemDiscountType.MappingName = "ItemDiscountType"; this.ItemDiscountType.NullText = "0"; this.ItemDiscountType.ReadOnly = true; this.ItemDiscountType.Width = 0; // // Amount // this.Amount.Format = ""; this.Amount.FormatInfo = null; this.Amount.MappingName = "Amount"; this.Amount.NullText = "0"; this.Amount.ReadOnly = true; this.Amount.Width = 0; // // VAT // this.VAT.Format = ""; this.VAT.FormatInfo = null; this.VAT.MappingName = "VAT"; this.VAT.NullText = "0"; this.VAT.ReadOnly = true; this.VAT.Width = 0; // // EVAT // this.EVAT.Format = ""; this.EVAT.FormatInfo = null; this.EVAT.MappingName = "EVAT"; this.EVAT.NullText = "0"; this.EVAT.ReadOnly = true; this.EVAT.Width = 0; // // LocalTax // this.LocalTax.Format = ""; this.LocalTax.FormatInfo = null; this.LocalTax.MappingName = "LocalTax"; this.LocalTax.NullText = "0"; this.LocalTax.ReadOnly = true; this.LocalTax.Width = 0; // // VariationsMatrixID // this.VariationsMatrixID.Format = ""; this.VariationsMatrixID.FormatInfo = null; this.VariationsMatrixID.MappingName = "VariationsMatrixID"; this.VariationsMatrixID.NullText = "0"; this.VariationsMatrixID.ReadOnly = true; this.VariationsMatrixID.Width = 0; // // MatrixDescription // this.MatrixDescription.Format = ""; this.MatrixDescription.FormatInfo = null; this.MatrixDescription.MappingName = "MatrixDescription"; this.MatrixDescription.ReadOnly = true; this.MatrixDescription.Width = 0; // // ProductGroup // this.ProductGroup.Format = ""; this.ProductGroup.FormatInfo = null; this.ProductGroup.MappingName = "ProductGroup"; this.ProductGroup.NullText = ""; this.ProductGroup.ReadOnly = true; this.ProductGroup.Width = 0; // // ProductSubGroup // this.ProductSubGroup.Format = ""; this.ProductSubGroup.FormatInfo = null; this.ProductSubGroup.MappingName = "ProductSubGroup"; this.ProductSubGroup.NullText = "0"; this.ProductSubGroup.ReadOnly = true; this.ProductSubGroup.Width = 0; // // TransactionItemStatus // this.TransactionItemStatus.Format = ""; this.TransactionItemStatus.FormatInfo = null; this.TransactionItemStatus.MappingName = "TransactionItemStatus"; this.TransactionItemStatus.NullText = "0"; this.TransactionItemStatus.ReadOnly = true; this.TransactionItemStatus.Width = 0; // // DiscountCode // this.DiscountCode.Format = ""; this.DiscountCode.FormatInfo = null; this.DiscountCode.MappingName = "DiscountCode"; this.DiscountCode.NullText = "0"; this.DiscountCode.ReadOnly = true; this.DiscountCode.Width = 0; // // DiscountRemarks // this.DiscountRemarks.Format = ""; this.DiscountRemarks.FormatInfo = null; this.DiscountRemarks.MappingName = "DiscountRemarks"; this.DiscountRemarks.ReadOnly = true; this.DiscountRemarks.Width = 0; // // ProductPackageID // this.ProductPackageID.Format = ""; this.ProductPackageID.FormatInfo = null; this.ProductPackageID.MappingName = "ProductPackageID"; this.ProductPackageID.NullText = "0"; this.ProductPackageID.ReadOnly = true; this.ProductPackageID.Width = 0; // // MatrixPackageID // this.MatrixPackageID.Format = ""; this.MatrixPackageID.FormatInfo = null; this.MatrixPackageID.MappingName = "MatrixPackageID"; this.MatrixPackageID.NullText = "0"; this.MatrixPackageID.ReadOnly = true; this.MatrixPackageID.Width = 0; // // PackageQuantity // this.PackageQuantity.Format = ""; this.PackageQuantity.FormatInfo = null; this.PackageQuantity.MappingName = "PackageQuantity"; this.PackageQuantity.NullText = "0"; this.PackageQuantity.ReadOnly = true; this.PackageQuantity.Width = 0; // // PromoQuantity // this.PromoQuantity.Format = ""; this.PromoQuantity.FormatInfo = null; this.PromoQuantity.MappingName = "PromoQuantity"; this.PromoQuantity.NullText = "0"; this.PromoQuantity.ReadOnly = true; this.PromoQuantity.Width = 0; // // PromoValue // this.PromoValue.Format = ""; this.PromoValue.FormatInfo = null; this.PromoValue.MappingName = "PromoValue"; this.PromoValue.NullText = "0"; this.PromoValue.ReadOnly = true; this.PromoValue.Width = 75; // // PromoInPercent // this.PromoInPercent.Format = ""; this.PromoInPercent.FormatInfo = null; this.PromoInPercent.MappingName = "PromoInPercent"; this.PromoInPercent.NullText = "0"; this.PromoInPercent.ReadOnly = true; this.PromoInPercent.Width = 75; // // PromoType // this.PromoType.Format = ""; this.PromoType.FormatInfo = null; this.PromoType.MappingName = "PromoType"; this.PromoType.NullText = "0"; this.PromoType.ReadOnly = true; this.PromoType.Width = 75; // // PromoApplied // this.PromoApplied.Format = ""; this.PromoApplied.FormatInfo = null; this.PromoApplied.MappingName = "PromoApplied"; this.PromoApplied.NullText = "0"; this.PromoApplied.ReadOnly = true; this.PromoApplied.Width = 0; // // PurchasePrice // this.PurchasePrice.Format = ""; this.PurchasePrice.FormatInfo = null; this.PurchasePrice.MappingName = "PurchasePrice"; this.PurchasePrice.NullText = "0"; this.PurchasePrice.ReadOnly = true; this.PurchasePrice.Width = 0; // // PurchaseAmount // this.PurchaseAmount.Format = ""; this.PurchaseAmount.FormatInfo = null; this.PurchaseAmount.MappingName = "PurchaseAmount"; this.PurchaseAmount.NullText = "0"; this.PurchaseAmount.ReadOnly = true; this.PurchaseAmount.Width = 0; // // imgIcon // this.imgIcon.BackColor = System.Drawing.Color.Blue; this.imgIcon.Location = new System.Drawing.Point(9, 5); this.imgIcon.Name = "imgIcon"; this.imgIcon.Size = new System.Drawing.Size(49, 49); this.imgIcon.TabIndex = 50; this.imgIcon.TabStop = false; this.imgIcon.Click += new System.EventHandler(this.imgIcon_Click); // // keyboardSearchControl1 // this.keyboardSearchControl1.BackColor = System.Drawing.Color.White; this.keyboardSearchControl1.Dock = System.Windows.Forms.DockStyle.Bottom; this.keyboardSearchControl1.Location = new System.Drawing.Point(0, 62); this.keyboardSearchControl1.Name = "keyboardSearchControl1"; this.keyboardSearchControl1.Size = new System.Drawing.Size(1022, 134); this.keyboardSearchControl1.TabIndex = 51; this.keyboardSearchControl1.TabStop = false; this.keyboardSearchControl1.Tag = ""; // // TransactionReturnItemSelectWnd // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(1022, 766); this.ControlBox = false; this.Controls.Add(this.keyboardSearchControl1); this.Controls.Add(this.dgItems); this.Controls.Add(this.label1); this.Controls.Add(this.txtSearch); this.Controls.Add(this.imgIcon); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.KeyPreview = true; this.MaximizeBox = false; this.Name = "TransactionReturnItemSelectWnd"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Load += new System.EventHandler(this.TransactionReturnItemSelectWnd_Load); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TransactionReturnItemSelectWnd_KeyDown); this.Resize += new System.EventHandler(this.TransactionReturnItemSelectWnd_Resize); ((System.ComponentModel.ISupportInitialize)(this.dgItems)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).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(ucRuntimeView)); this.JobGrid = new Imi.SupplyChain.Server.UI.Controls.WhDataGrid(); this.jobContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); this.startJobMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.stopJobMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); this.startAllMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.stopAllMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); this.logLevelMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.dbLogLevelMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.LogNoneMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.LogNormalMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.LogDebugMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.JobLogLevelMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.LogJobOffMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.LogJobErrorMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.LogJobWarningMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.LogJobInfoMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.LogJobVerboseMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); this.RefreshListMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.JobRuntimeDataView = new System.Data.DataView(); this.JobRuntimeType = 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.dataColumn5 = new System.Data.DataColumn(); this.dataColumn6 = new System.Data.DataColumn(); this.dataColumn7 = new System.Data.DataColumn(); this.JobGridTableStyle = new System.Windows.Forms.DataGridTableStyle(); this.NameColumn = new System.Windows.Forms.DataGridTextBoxColumn(); this.StatusColumn = new System.Windows.Forms.DataGridTextBoxColumn(); this.NumberOfRunsColumn = new System.Windows.Forms.DataGridTextBoxColumn(); this.LastRunColumn = new System.Windows.Forms.DataGridTextBoxColumn(); this.RealTimeColumn = new System.Windows.Forms.DataGridTextBoxColumn(); this.JobRuntimeDS = new System.Data.DataSet(); this.RefreshTimer = new System.Windows.Forms.Timer(this.components); ((System.ComponentModel.ISupportInitialize)(this.JobGrid)).BeginInit(); this.jobContextMenuStrip.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.JobRuntimeDataView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.JobRuntimeType)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.JobRuntimeDS)).BeginInit(); this.SuspendLayout(); // // JobGrid // this.JobGrid.BackgroundColor = System.Drawing.SystemColors.Window; this.JobGrid.CaptionBackColor = System.Drawing.SystemColors.ControlDark; this.JobGrid.CaptionCountText = "(%s Items)"; this.JobGrid.CaptionCountVisible = true; this.JobGrid.CaptionForeColor = System.Drawing.SystemColors.ControlText; this.JobGrid.CaptionText = "Jobs"; this.JobGrid.ContextMenuStrip = this.jobContextMenuStrip; this.JobGrid.DataMember = ""; this.JobGrid.DataSource = this.JobRuntimeDataView; this.JobGrid.Dock = System.Windows.Forms.DockStyle.Fill; this.JobGrid.FullRowKeyField = "Name"; this.JobGrid.FullRowSelect = true; this.JobGrid.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.JobGrid.LinkColor = System.Drawing.SystemColors.MenuHighlight; this.JobGrid.Location = new System.Drawing.Point(0, 0); this.JobGrid.Name = "JobGrid"; this.JobGrid.ReadOnly = true; this.JobGrid.RowHeaderWidth = 75; this.JobGrid.SelectionBackColor = System.Drawing.SystemColors.MenuHighlight; this.JobGrid.SelectionForeColor = System.Drawing.SystemColors.MenuText; this.JobGrid.Size = new System.Drawing.Size(724, 479); this.JobGrid.TabIndex = 0; this.JobGrid.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.JobGridTableStyle }); // // jobContextMenuStrip // this.jobContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.startJobMenuItem, this.stopJobMenuItem, this.toolStripMenuItem1, this.startAllMenuItem, this.stopAllMenuItem, this.toolStripMenuItem2, this.logLevelMenuItem, this.toolStripMenuItem3, this.RefreshListMenuItem }); this.jobContextMenuStrip.Name = "jobContextMenuStrip"; this.jobContextMenuStrip.Size = new System.Drawing.Size(143, 154); // // startJobMenuItem // this.startJobMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("startJobMenuItem.Image"))); this.startJobMenuItem.ImageTransparentColor = System.Drawing.Color.White; this.startJobMenuItem.Name = "startJobMenuItem"; this.startJobMenuItem.Size = new System.Drawing.Size(142, 22); this.startJobMenuItem.Text = "&Start Job"; this.startJobMenuItem.Click += new System.EventHandler(this.StartJobMenuItem_Click); // // stopJobMenuItem // this.stopJobMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("stopJobMenuItem.Image"))); this.stopJobMenuItem.ImageTransparentColor = System.Drawing.Color.Transparent; this.stopJobMenuItem.Name = "stopJobMenuItem"; this.stopJobMenuItem.Size = new System.Drawing.Size(142, 22); this.stopJobMenuItem.Text = "Sto&p Job"; this.stopJobMenuItem.Click += new System.EventHandler(this.StopJobMenuItem_Click); // // toolStripMenuItem1 // this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(139, 6); // // startAllMenuItem // this.startAllMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("startAllMenuItem.Image"))); this.startAllMenuItem.ImageTransparentColor = System.Drawing.Color.Transparent; this.startAllMenuItem.Name = "startAllMenuItem"; this.startAllMenuItem.Size = new System.Drawing.Size(142, 22); this.startAllMenuItem.Text = "Start &All"; this.startAllMenuItem.Click += new System.EventHandler(this.StartAllMenuItem_Click); // // stopAllMenuItem // this.stopAllMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("stopAllMenuItem.Image"))); this.stopAllMenuItem.ImageTransparentColor = System.Drawing.Color.Transparent; this.stopAllMenuItem.Name = "stopAllMenuItem"; this.stopAllMenuItem.Size = new System.Drawing.Size(142, 22); this.stopAllMenuItem.Text = "St&op All"; this.stopAllMenuItem.Click += new System.EventHandler(this.StopAllMenuItem_Click); // // toolStripMenuItem2 // this.toolStripMenuItem2.Name = "toolStripMenuItem2"; this.toolStripMenuItem2.Size = new System.Drawing.Size(139, 6); // // logLevelMenuItem // this.logLevelMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.dbLogLevelMenuItem, this.JobLogLevelMenuItem }); this.logLevelMenuItem.Name = "logLevelMenuItem"; this.logLevelMenuItem.Size = new System.Drawing.Size(142, 22); this.logLevelMenuItem.Text = "Log Level"; // // dbLogLevelMenuItem // this.dbLogLevelMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.LogNoneMenuItem, this.LogNormalMenuItem, this.LogDebugMenuItem }); this.dbLogLevelMenuItem.Name = "dbLogLevelMenuItem"; this.dbLogLevelMenuItem.Size = new System.Drawing.Size(152, 22); this.dbLogLevelMenuItem.Text = "Database"; this.dbLogLevelMenuItem.DropDownOpening += new System.EventHandler(this.LogLevelMenuItem_Popup); // // LogNoneMenuItem // this.LogNoneMenuItem.Name = "LogNoneMenuItem"; this.LogNoneMenuItem.Size = new System.Drawing.Size(152, 22); this.LogNoneMenuItem.Text = "Off"; this.LogNoneMenuItem.Click += new System.EventHandler(this.LogMenuItem_Click); // // LogNormalMenuItem // this.LogNormalMenuItem.Name = "LogNormalMenuItem"; this.LogNormalMenuItem.Size = new System.Drawing.Size(152, 22); this.LogNormalMenuItem.Text = "Info"; this.LogNormalMenuItem.Click += new System.EventHandler(this.LogMenuItem_Click); // // LogDebugMenuItem // this.LogDebugMenuItem.Name = "LogDebugMenuItem"; this.LogDebugMenuItem.Size = new System.Drawing.Size(152, 22); this.LogDebugMenuItem.Text = "Verbose"; this.LogDebugMenuItem.Click += new System.EventHandler(this.LogMenuItem_Click); // // JobLogLevelMenuItem // this.JobLogLevelMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.LogJobOffMenuItem, this.LogJobErrorMenuItem, this.LogJobWarningMenuItem, this.LogJobInfoMenuItem, this.LogJobVerboseMenuItem }); this.JobLogLevelMenuItem.Name = "JobLogLevelMenuItem"; this.JobLogLevelMenuItem.Size = new System.Drawing.Size(152, 22); this.JobLogLevelMenuItem.Text = "Job"; this.JobLogLevelMenuItem.DropDownOpening += new System.EventHandler(this.JobLogLevelMenuItem_Popup); // // LogJobOffMenuItem // this.LogJobOffMenuItem.Name = "LogJobOffMenuItem"; this.LogJobOffMenuItem.Size = new System.Drawing.Size(152, 22); this.LogJobOffMenuItem.Text = "Off"; this.LogJobOffMenuItem.Click += new System.EventHandler(this.LogJobMenuItem_Click); // // LogJobErrorMenuItem // this.LogJobErrorMenuItem.Name = "LogJobErrorMenuItem"; this.LogJobErrorMenuItem.Size = new System.Drawing.Size(152, 22); this.LogJobErrorMenuItem.Text = "Error"; this.LogJobErrorMenuItem.Click += new System.EventHandler(this.LogJobMenuItem_Click); // // LogJobWarningMenuItem // this.LogJobWarningMenuItem.Name = "LogJobWarningMenuItem"; this.LogJobWarningMenuItem.Size = new System.Drawing.Size(152, 22); this.LogJobWarningMenuItem.Text = "Warning"; this.LogJobWarningMenuItem.Click += new System.EventHandler(this.LogJobMenuItem_Click); // // LogJobInfoMenuItem // this.LogJobInfoMenuItem.Name = "LogJobInfoMenuItem"; this.LogJobInfoMenuItem.Size = new System.Drawing.Size(152, 22); this.LogJobInfoMenuItem.Text = "Info"; this.LogJobInfoMenuItem.Click += new System.EventHandler(this.LogJobMenuItem_Click); // // LogJobVerboseMenuItem // this.LogJobVerboseMenuItem.Name = "LogJobVerboseMenuItem"; this.LogJobVerboseMenuItem.Size = new System.Drawing.Size(152, 22); this.LogJobVerboseMenuItem.Text = "Verbose"; this.LogJobVerboseMenuItem.Click += new System.EventHandler(this.LogJobMenuItem_Click); // // toolStripMenuItem3 // this.toolStripMenuItem3.Name = "toolStripMenuItem3"; this.toolStripMenuItem3.Size = new System.Drawing.Size(139, 6); // // RefreshListMenuItem // this.RefreshListMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("RefreshListMenuItem.Image"))); this.RefreshListMenuItem.ImageTransparentColor = System.Drawing.Color.Transparent; this.RefreshListMenuItem.Name = "RefreshListMenuItem"; this.RefreshListMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F5; this.RefreshListMenuItem.Size = new System.Drawing.Size(142, 22); this.RefreshListMenuItem.Text = "&Refresh"; this.RefreshListMenuItem.Click += new System.EventHandler(this.RefreshListMenuItem_Click); // // JobRuntimeDataView // this.JobRuntimeDataView.AllowDelete = false; this.JobRuntimeDataView.AllowEdit = false; this.JobRuntimeDataView.AllowNew = false; this.JobRuntimeDataView.Sort = "Name"; this.JobRuntimeDataView.Table = this.JobRuntimeType; // // JobRuntimeType // this.JobRuntimeType.Columns.AddRange(new System.Data.DataColumn[] { this.dataColumn1, this.dataColumn2, this.dataColumn3, this.dataColumn4, this.dataColumn5, this.dataColumn6, this.dataColumn7 }); this.JobRuntimeType.Constraints.AddRange(new System.Data.Constraint[] { new System.Data.UniqueConstraint("Constraint1", new string[] { "Name" }, true) }); this.JobRuntimeType.PrimaryKey = new System.Data.DataColumn[] { this.dataColumn1 }; this.JobRuntimeType.TableName = "JobRuntimeType"; // // dataColumn1 // this.dataColumn1.AllowDBNull = false; this.dataColumn1.ColumnMapping = System.Data.MappingType.Attribute; this.dataColumn1.ColumnName = "Name"; // // dataColumn2 // this.dataColumn2.ColumnMapping = System.Data.MappingType.Attribute; this.dataColumn2.ColumnName = "Status"; // // dataColumn3 // this.dataColumn3.ColumnMapping = System.Data.MappingType.Attribute; this.dataColumn3.ColumnName = "RunCount"; this.dataColumn3.DataType = typeof(long); // // dataColumn4 // this.dataColumn4.ColumnMapping = System.Data.MappingType.Attribute; this.dataColumn4.ColumnName = "RunStarted"; this.dataColumn4.DataType = typeof(System.DateTime); // // dataColumn5 // this.dataColumn5.ColumnMapping = System.Data.MappingType.Attribute; this.dataColumn5.ColumnName = "TotalProcessorTime"; // // dataColumn6 // this.dataColumn6.ColumnMapping = System.Data.MappingType.Attribute; this.dataColumn6.ColumnName = "TotalRealTime"; // // dataColumn7 // this.dataColumn7.AllowDBNull = false; this.dataColumn7.Caption = "Thread Id"; this.dataColumn7.ColumnMapping = System.Data.MappingType.Attribute; this.dataColumn7.ColumnName = "ThreadId"; // // JobGridTableStyle // this.JobGridTableStyle.DataGrid = this.JobGrid; this.JobGridTableStyle.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.NameColumn, this.StatusColumn, this.NumberOfRunsColumn, this.LastRunColumn, this.RealTimeColumn }); this.JobGridTableStyle.GridLineStyle = System.Windows.Forms.DataGridLineStyle.None; this.JobGridTableStyle.HeaderForeColor = System.Drawing.SystemColors.WindowText; this.JobGridTableStyle.MappingName = "JobRuntimeType"; this.JobGridTableStyle.ReadOnly = true; this.JobGridTableStyle.RowHeadersVisible = false; this.JobGridTableStyle.RowHeaderWidth = 75; this.JobGridTableStyle.SelectionBackColor = System.Drawing.SystemColors.Highlight; this.JobGridTableStyle.SelectionForeColor = System.Drawing.SystemColors.HighlightText; // // NameColumn // this.NameColumn.Format = ""; this.NameColumn.FormatInfo = null; this.NameColumn.HeaderText = "Name"; this.NameColumn.MappingName = "Name"; this.NameColumn.ReadOnly = true; this.NameColumn.Width = 140; // // StatusColumn // this.StatusColumn.Format = ""; this.StatusColumn.FormatInfo = null; this.StatusColumn.HeaderText = "Status"; this.StatusColumn.MappingName = "Status"; this.StatusColumn.ReadOnly = true; this.StatusColumn.Width = 70; // // NumberOfRunsColumn // this.NumberOfRunsColumn.Format = ""; this.NumberOfRunsColumn.FormatInfo = null; this.NumberOfRunsColumn.HeaderText = "Run #"; this.NumberOfRunsColumn.MappingName = "RunCount"; this.NumberOfRunsColumn.ReadOnly = true; this.NumberOfRunsColumn.Width = 50; // // LastRunColumn // this.LastRunColumn.Format = "G"; this.LastRunColumn.FormatInfo = null; this.LastRunColumn.HeaderText = "Last Start"; this.LastRunColumn.MappingName = "RunStarted"; this.LastRunColumn.ReadOnly = true; this.LastRunColumn.Width = 140; // // RealTimeColumn // this.RealTimeColumn.Format = ""; this.RealTimeColumn.FormatInfo = null; this.RealTimeColumn.HeaderText = "Execution Time"; this.RealTimeColumn.MappingName = "TotalRealTime"; this.RealTimeColumn.Width = 110; // // JobRuntimeDS // this.JobRuntimeDS.DataSetName = "JobRuntimeDataSet"; this.JobRuntimeDS.Locale = new System.Globalization.CultureInfo("sv-SE"); this.JobRuntimeDS.Tables.AddRange(new System.Data.DataTable[] { this.JobRuntimeType }); // // RefreshTimer // this.RefreshTimer.Interval = 1500; this.RefreshTimer.Tick += new System.EventHandler(this.RefreshTimer_Tick); // // ucRuntimeView // this.Controls.Add(this.JobGrid); this.Name = "ucRuntimeView"; this.Size = new System.Drawing.Size(724, 479); ((System.ComponentModel.ISupportInitialize)(this.JobGrid)).EndInit(); this.jobContextMenuStrip.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.JobRuntimeDataView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.JobRuntimeType)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.JobRuntimeDS)).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(); this.timerAutoRefresh = new System.Windows.Forms.Timer(this.components); this.closeButton = new Terrarium.Glass.GlassButton(); this.refreshButton = new Terrarium.Glass.GlassButton(); this.dataGrid1 = new System.Windows.Forms.DataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); 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.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.resizeBar1 = new Terrarium.Forms.ResizeBar(); this.bottomPanel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); this.SuspendLayout(); // // titleBar // this.titleBar.Size = new System.Drawing.Size(434, 32); this.titleBar.Title = "Local Statistics"; this.titleBar.CloseClicked += new System.EventHandler(this.CloseForm_Click); // // bottomPanel // this.bottomPanel.Controls.Add(this.resizeBar1); this.bottomPanel.Controls.Add(this.closeButton); this.bottomPanel.Controls.Add(this.refreshButton); this.bottomPanel.Gradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.bottomPanel.Gradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96))))); this.bottomPanel.Location = new System.Drawing.Point(0, 328); this.bottomPanel.Size = new System.Drawing.Size(434, 40); // // timerAutoRefresh // this.timerAutoRefresh.Enabled = true; this.timerAutoRefresh.Interval = 10000; this.timerAutoRefresh.Tick += new System.EventHandler(this.timerAutoRefresh_Tick); // // closeButton // this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.closeButton.BackColor = System.Drawing.Color.Transparent; this.closeButton.BorderColor = System.Drawing.Color.Black; this.closeButton.Depth = 4; this.closeButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.closeButton.DisabledGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.closeButton.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.closeButton.ForeColor = System.Drawing.Color.White; this.closeButton.Highlight = false; this.closeButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96))))); this.closeButton.HighlightGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); this.closeButton.HoverGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0))))); this.closeButton.HoverGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0))))); this.closeButton.IsGlass = true; this.closeButton.Location = new System.Drawing.Point(338, 2); this.closeButton.Name = "closeButton"; this.closeButton.NormalGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.closeButton.NormalGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96))))); this.closeButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0))))); this.closeButton.PressedGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0))))); this.closeButton.Size = new System.Drawing.Size(75, 36); this.closeButton.TabIndex = 11; this.closeButton.TabStop = false; this.closeButton.Text = "Close"; this.closeButton.UseStyles = true; this.closeButton.UseVisualStyleBackColor = false; this.closeButton.Click += new System.EventHandler(this.CloseForm_Click); // // refreshButton // this.refreshButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.refreshButton.BackColor = System.Drawing.Color.Transparent; this.refreshButton.BorderColor = System.Drawing.Color.Black; this.refreshButton.Depth = 4; this.refreshButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.refreshButton.DisabledGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.refreshButton.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.refreshButton.ForeColor = System.Drawing.Color.White; this.refreshButton.Highlight = false; this.refreshButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96))))); this.refreshButton.HighlightGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); this.refreshButton.HoverGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0))))); this.refreshButton.HoverGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0))))); this.refreshButton.IsGlass = true; this.refreshButton.Location = new System.Drawing.Point(257, 2); this.refreshButton.Name = "refreshButton"; this.refreshButton.NormalGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.refreshButton.NormalGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96))))); this.refreshButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0))))); this.refreshButton.PressedGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0))))); this.refreshButton.Size = new System.Drawing.Size(75, 36); this.refreshButton.TabIndex = 10; this.refreshButton.TabStop = false; this.refreshButton.Text = "Refresh"; this.refreshButton.UseStyles = true; this.refreshButton.UseVisualStyleBackColor = false; this.refreshButton.Click += new System.EventHandler(this.Refresh_Click); // // dataGrid1 // this.dataGrid1.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.dataGrid1.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.dataGrid1.BackgroundColor = System.Drawing.Color.Gray; this.dataGrid1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.dataGrid1.CaptionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.dataGrid1.CaptionForeColor = System.Drawing.Color.White; this.dataGrid1.CaptionVisible = false; this.dataGrid1.DataMember = ""; this.dataGrid1.FlatMode = true; this.dataGrid1.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dataGrid1.ForeColor = System.Drawing.Color.Black; this.dataGrid1.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.dataGrid1.HeaderBackColor = System.Drawing.Color.Gray; this.dataGrid1.HeaderForeColor = System.Drawing.Color.White; this.dataGrid1.Location = new System.Drawing.Point(12, 81); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.dataGrid1.Size = new System.Drawing.Size(410, 232); this.dataGrid1.TabIndex = 8; this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); // // dataGridTableStyle1 // this.dataGridTableStyle1.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(216)))), ((int)(((byte)(216)))), ((int)(((byte)(216))))); this.dataGridTableStyle1.BackColor = System.Drawing.Color.White; this.dataGridTableStyle1.DataGrid = this.dataGrid1; this.dataGridTableStyle1.ForeColor = System.Drawing.Color.Black; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn11 }); this.dataGridTableStyle1.HeaderBackColor = System.Drawing.Color.Gray; this.dataGridTableStyle1.HeaderForeColor = System.Drawing.Color.White; this.dataGridTableStyle1.MappingName = "History"; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "Species"; this.dataGridTextBoxColumn2.MappingName = "SpeciesName"; this.dataGridTextBoxColumn2.ReadOnly = true; this.dataGridTextBoxColumn2.Width = 125; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = "d"; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "Population"; this.dataGridTextBoxColumn3.MappingName = "Population"; this.dataGridTextBoxColumn3.ReadOnly = true; this.dataGridTextBoxColumn3.Width = 75; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = "d"; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "Births"; this.dataGridTextBoxColumn4.MappingName = "BirthCount"; this.dataGridTextBoxColumn4.ReadOnly = true; this.dataGridTextBoxColumn4.Width = 50; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = "d"; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "Starved"; this.dataGridTextBoxColumn5.MappingName = "StarvedCount"; this.dataGridTextBoxColumn5.ReadOnly = true; this.dataGridTextBoxColumn5.Width = 75; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = "d"; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "Old Age"; this.dataGridTextBoxColumn10.MappingName = "OldAgeCount"; this.dataGridTextBoxColumn10.ReadOnly = true; this.dataGridTextBoxColumn10.Width = 75; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = "d"; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "Killed"; this.dataGridTextBoxColumn6.MappingName = "KilledCount"; this.dataGridTextBoxColumn6.ReadOnly = true; this.dataGridTextBoxColumn6.Width = 50; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = "d"; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "Sick"; this.dataGridTextBoxColumn9.MappingName = "SickCount"; this.dataGridTextBoxColumn9.ReadOnly = true; this.dataGridTextBoxColumn9.Width = 50; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = "d"; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "Errors"; this.dataGridTextBoxColumn7.MappingName = "ErrorCount"; this.dataGridTextBoxColumn7.ReadOnly = true; this.dataGridTextBoxColumn7.Width = 50; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = "d"; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "Timeouts"; this.dataGridTextBoxColumn8.MappingName = "TimeoutCount"; this.dataGridTextBoxColumn8.ReadOnly = true; this.dataGridTextBoxColumn8.Width = 50; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = "d"; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "Security Violations"; this.dataGridTextBoxColumn1.MappingName = "SecurityViolationCount"; this.dataGridTextBoxColumn1.ReadOnly = true; this.dataGridTextBoxColumn1.Width = 75; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = "d"; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "Teleported Here"; this.dataGridTextBoxColumn12.MappingName = "TeleportedToCount"; this.dataGridTextBoxColumn12.ReadOnly = true; this.dataGridTextBoxColumn12.Width = 75; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = "d"; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "Teleported Away"; this.dataGridTextBoxColumn11.MappingName = "TeleportedFromCount"; this.dataGridTextBoxColumn11.ReadOnly = true; this.dataGridTextBoxColumn11.Width = 75; // // resizeBar1 // this.resizeBar1.BackColor = System.Drawing.Color.Black; this.resizeBar1.Dock = System.Windows.Forms.DockStyle.Right; this.resizeBar1.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.resizeBar1.ForeColor = System.Drawing.Color.White; this.resizeBar1.Location = new System.Drawing.Point(414, 0); this.resizeBar1.Name = "resizeBar1"; this.resizeBar1.Size = new System.Drawing.Size(20, 40); this.resizeBar1.TabIndex = 12; // // ReportStats // this.BackColor = System.Drawing.Color.Black; this.ClientSize = new System.Drawing.Size(434, 368); this.Controls.Add(this.dataGrid1); this.Description = "Every statistic except population is only counted from the start of this terrariu" + "m session. Population carries over between sessions."; this.Name = "ReportStats"; this.Title = "Population Statistics"; this.Controls.SetChildIndex(this.dataGrid1, 0); this.Controls.SetChildIndex(this.titleBar, 0); this.Controls.SetChildIndex(this.bottomPanel, 0); this.bottomPanel.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).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.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.dataGridTableStyle2 = 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.dataGridTableStyle3 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); 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.comboBoxRaporTipi = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.textBoxStokKodu = new System.Windows.Forms.TextBox(); this.textBoxDepoKodu = new System.Windows.Forms.TextBox(); this.buttonStokKoduSec = new System.Windows.Forms.Button(); this.buttonDepoKoduSec = new System.Windows.Forms.Button(); this.radioButtonDetayBazinda = new System.Windows.Forms.RadioButton(); this.radioButtonStokBazinda = new System.Windows.Forms.RadioButton(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem_Bilgi = new System.Windows.Forms.MenuItem(); this.checkBox_Barkod = new System.Windows.Forms.CheckBox(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.SuspendLayout(); // // dataGrid1 // this.dataGrid1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.dataGrid1.Location = new System.Drawing.Point(0, 24); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.Size = new System.Drawing.Size(232, 160); this.dataGrid1.TabIndex = 9; this.dataGrid1.TableStyles.Add(this.dataGridTableStyle1); this.dataGrid1.TableStyles.Add(this.dataGridTableStyle2); this.dataGrid1.TableStyles.Add(this.dataGridTableStyle3); // // dataGridTableStyle1 // this.dataGridTableStyle1.GridColumnStyles.Add(this.dataGridTextBoxColumn1); this.dataGridTableStyle1.GridColumnStyles.Add(this.dataGridTextBoxColumn2); this.dataGridTableStyle1.GridColumnStyles.Add(this.dataGridTextBoxColumn3); this.dataGridTableStyle1.GridColumnStyles.Add(this.dataGridTextBoxColumn4); this.dataGridTableStyle1.GridColumnStyles.Add(this.dataGridTextBoxColumn5); this.dataGridTableStyle1.GridColumnStyles.Add(this.dataGridTextBoxColumn6); this.dataGridTableStyle1.MappingName = "SeriliDepoMevcut"; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "Stok Kodu"; this.dataGridTextBoxColumn1.MappingName = "StokKodu"; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "Stok Adi"; this.dataGridTextBoxColumn2.MappingName = "StokAdi"; this.dataGridTextBoxColumn2.Width = 100; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "Birim"; this.dataGridTextBoxColumn3.MappingName = "Birim"; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "Miktar"; this.dataGridTextBoxColumn4.MappingName = "Miktar"; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "Seri No"; this.dataGridTextBoxColumn5.MappingName = "SeriliBarkod"; this.dataGridTextBoxColumn5.Width = 70; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "Depo Kodu"; this.dataGridTextBoxColumn6.MappingName = "DepoKodu"; this.dataGridTextBoxColumn6.Width = 70; // // dataGridTableStyle2 // this.dataGridTableStyle2.GridColumnStyles.Add(this.dataGridTextBoxColumn7); this.dataGridTableStyle2.GridColumnStyles.Add(this.dataGridTextBoxColumn8); this.dataGridTableStyle2.GridColumnStyles.Add(this.dataGridTextBoxColumn9); this.dataGridTableStyle2.GridColumnStyles.Add(this.dataGridTextBoxColumn10); this.dataGridTableStyle2.GridColumnStyles.Add(this.dataGridTextBoxColumn11); this.dataGridTableStyle2.MappingName = "SerisizDepoMevcut"; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "Stok Kodu"; this.dataGridTextBoxColumn7.MappingName = "StokKodu"; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "Stok Adi"; this.dataGridTextBoxColumn8.MappingName = "StokAdi"; this.dataGridTextBoxColumn8.Width = 100; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "Birim"; this.dataGridTextBoxColumn9.MappingName = "Birim"; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "Miktar"; this.dataGridTextBoxColumn10.MappingName = "Miktar"; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "Depo Kodu"; this.dataGridTextBoxColumn11.MappingName = "DepoKodu"; this.dataGridTextBoxColumn11.Width = 80; // // dataGridTableStyle3 // this.dataGridTableStyle3.GridColumnStyles.Add(this.dataGridTextBoxColumn12); this.dataGridTableStyle3.GridColumnStyles.Add(this.dataGridTextBoxColumn13); this.dataGridTableStyle3.GridColumnStyles.Add(this.dataGridTextBoxColumn14); this.dataGridTableStyle3.GridColumnStyles.Add(this.dataGridTextBoxColumn15); this.dataGridTableStyle3.GridColumnStyles.Add(this.dataGridTextBoxColumn16); this.dataGridTableStyle3.GridColumnStyles.Add(this.dataGridTextBoxColumn17); this.dataGridTableStyle3.MappingName = "DepoMevcut"; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "Stok Kodu"; this.dataGridTextBoxColumn12.MappingName = "StokKodu"; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "Stok Adi"; this.dataGridTextBoxColumn13.MappingName = "StokAdi"; this.dataGridTextBoxColumn13.Width = 100; // // dataGridTextBoxColumn14 // this.dataGridTextBoxColumn14.Format = ""; this.dataGridTextBoxColumn14.FormatInfo = null; this.dataGridTextBoxColumn14.HeaderText = "Birim"; this.dataGridTextBoxColumn14.MappingName = "Birim"; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "Miktar"; this.dataGridTextBoxColumn15.MappingName = "Miktar"; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "Seri No"; this.dataGridTextBoxColumn16.MappingName = "SeriliBarkod"; // // dataGridTextBoxColumn17 // this.dataGridTextBoxColumn17.Format = ""; this.dataGridTextBoxColumn17.FormatInfo = null; this.dataGridTextBoxColumn17.HeaderText = "Depo Kodu"; this.dataGridTextBoxColumn17.MappingName = "DepoKodu"; this.dataGridTextBoxColumn17.Width = 75; // // comboBoxRaporTipi // this.comboBoxRaporTipi.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular); this.comboBoxRaporTipi.Items.Add("Tüm Stoklar"); this.comboBoxRaporTipi.Items.Add("Serili Stoklar"); this.comboBoxRaporTipi.Items.Add("Serisiz Stoklar"); this.comboBoxRaporTipi.Location = new System.Drawing.Point(120, 200); this.comboBoxRaporTipi.Name = "comboBoxRaporTipi"; this.comboBoxRaporTipi.Size = new System.Drawing.Size(112, 19); this.comboBoxRaporTipi.TabIndex = 8; // // label2 // this.label2.Location = new System.Drawing.Point(16, 248); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(104, 16); this.label2.Text = "Depo Kodu \'%\':"; // // label1 // this.label1.Location = new System.Drawing.Point(56, 224); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(64, 16); this.label1.Text = "Stok Kodu:"; // // textBoxStokKodu // this.textBoxStokKodu.Location = new System.Drawing.Point(120, 224); this.textBoxStokKodu.Name = "textBoxStokKodu"; this.textBoxStokKodu.Size = new System.Drawing.Size(80, 23); this.textBoxStokKodu.TabIndex = 6; this.textBoxStokKodu.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textBoxStokKodu_KeyUp); // // textBoxDepoKodu // this.textBoxDepoKodu.Location = new System.Drawing.Point(120, 248); this.textBoxDepoKodu.Name = "textBoxDepoKodu"; this.textBoxDepoKodu.Size = new System.Drawing.Size(80, 23); this.textBoxDepoKodu.TabIndex = 7; // // buttonStokKoduSec // this.buttonStokKoduSec.Location = new System.Drawing.Point(200, 224); this.buttonStokKoduSec.Name = "buttonStokKoduSec"; this.buttonStokKoduSec.Size = new System.Drawing.Size(32, 20); this.buttonStokKoduSec.TabIndex = 3; this.buttonStokKoduSec.Text = "..."; this.buttonStokKoduSec.Click += new System.EventHandler(this.buttonStokKoduSec_Click); // // buttonDepoKoduSec // this.buttonDepoKoduSec.Location = new System.Drawing.Point(200, 248); this.buttonDepoKoduSec.Name = "buttonDepoKoduSec"; this.buttonDepoKoduSec.Size = new System.Drawing.Size(32, 20); this.buttonDepoKoduSec.TabIndex = 2; this.buttonDepoKoduSec.Text = "..."; this.buttonDepoKoduSec.Click += new System.EventHandler(this.buttonDepoKoduSec_Click); // // radioButtonDetayBazinda // this.radioButtonDetayBazinda.Location = new System.Drawing.Point(8, 200); this.radioButtonDetayBazinda.Name = "radioButtonDetayBazinda"; this.radioButtonDetayBazinda.Size = new System.Drawing.Size(104, 16); this.radioButtonDetayBazinda.TabIndex = 0; this.radioButtonDetayBazinda.Text = "Detay Bazinda"; // // radioButtonStokBazinda // this.radioButtonStokBazinda.Location = new System.Drawing.Point(8, 184); this.radioButtonStokBazinda.Name = "radioButtonStokBazinda"; this.radioButtonStokBazinda.Size = new System.Drawing.Size(104, 16); this.radioButtonStokBazinda.TabIndex = 1; this.radioButtonStokBazinda.Text = "Stok Bazinda"; // // mainMenu1 // this.mainMenu1.MenuItems.Add(this.menuItem2); this.mainMenu1.MenuItems.Add(this.menuItem1); this.mainMenu1.MenuItems.Add(this.menuItem_Bilgi); // // menuItem2 // this.menuItem2.MenuItems.Add(this.menuItem3); this.menuItem2.Text = "Sorgula"; // // menuItem3 // this.menuItem3.Text = "Depo Sorgula"; this.menuItem3.Click += new System.EventHandler(this.menuItem2_Click); // // menuItem1 // this.menuItem1.Text = "Çikiş"; this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click); // // menuItem_Bilgi // this.menuItem_Bilgi.Text = "0"; // // checkBox_Barkod // this.checkBox_Barkod.Location = new System.Drawing.Point(8, 216); this.checkBox_Barkod.Name = "checkBox_Barkod"; this.checkBox_Barkod.Size = new System.Drawing.Size(64, 20); this.checkBox_Barkod.TabIndex = 10; this.checkBox_Barkod.Text = "Barkod"; // // comboBox1 // this.comboBox1.Location = new System.Drawing.Point(130, 0); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(104, 23); this.comboBox1.TabIndex = 11; // // DepoStok // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; this.ClientSize = new System.Drawing.Size(234, 449); this.ControlBox = false; this.Controls.Add(this.comboBox1); this.Controls.Add(this.radioButtonDetayBazinda); this.Controls.Add(this.radioButtonStokBazinda); this.Controls.Add(this.buttonDepoKoduSec); this.Controls.Add(this.buttonStokKoduSec); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.textBoxStokKodu); this.Controls.Add(this.textBoxDepoKodu); this.Controls.Add(this.comboBoxRaporTipi); this.Controls.Add(this.dataGrid1); this.Controls.Add(this.checkBox_Barkod); this.MaximizeBox = false; this.Menu = this.mainMenu1; this.MinimizeBox = false; this.Name = "DepoStok"; this.Text = "Depo Stok"; this.Load += new System.EventHandler(this.DepoStok_Load); 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() { System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); this.panel1 = new System.Windows.Forms.Panel(); this.gbSelectMode = new System.Windows.Forms.GroupBox(); this.label1 = new System.Windows.Forms.Label(); this.tbDepth = new AM_Controls.TextBoxV(); this.rbtnLastDocx = new System.Windows.Forms.RadioButton(); this.rbtnLastWeeks = new System.Windows.Forms.RadioButton(); this.bnCancel = new System.Windows.Forms.Button(); this.bnOK = new System.Windows.Forms.Button(); this.dataGrid1 = new System.Windows.Forms.DataGrid(); this.dvPurposeList = new System.Data.DataView(); this.dsLastPurposeList1 = new BPS.BLL.Transactions.DataSets.dsLastPurposeList(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.daGetPurposeList = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConnection1 = new System.Data.SqlClient.SqlConnection(); this.panel1.SuspendLayout(); this.gbSelectMode.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dvPurposeList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsLastPurposeList1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] { this.gbSelectMode, this.bnCancel, this.bnOK }); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 199); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(466, 112); this.panel1.TabIndex = 0; // // gbSelectMode // this.gbSelectMode.Controls.AddRange(new System.Windows.Forms.Control[] { this.label1, this.tbDepth, this.rbtnLastDocx, this.rbtnLastWeeks }); this.gbSelectMode.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.gbSelectMode.Location = new System.Drawing.Point(6, 3); this.gbSelectMode.Name = "gbSelectMode"; this.gbSelectMode.Size = new System.Drawing.Size(452, 75); this.gbSelectMode.TabIndex = 3; this.gbSelectMode.TabStop = false; this.gbSelectMode.Text = "Критерий Выбора"; // // label1 // this.label1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label1.Location = new System.Drawing.Point(229, 20); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(154, 24); this.label1.TabIndex = 2; this.label1.Text = "Кол-во Документов/Недель:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // tbDepth // this.tbDepth.dValue = 0; this.tbDepth.Enabled = false; this.tbDepth.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.tbDepth.IsPcnt = false; this.tbDepth.Location = new System.Drawing.Point(390, 20); this.tbDepth.MaxDecPos = 0; this.tbDepth.MaxPos = 8; this.tbDepth.Name = "tbDepth"; this.tbDepth.nValue = ((long)(0)); this.tbDepth.Size = new System.Drawing.Size(50, 21); this.tbDepth.TabIndex = 1; this.tbDepth.Text = "0"; this.tbDepth.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.tbDepth.TextMode = false; // // rbtnLastDocx // this.rbtnLastDocx.Enabled = false; this.rbtnLastDocx.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.rbtnLastDocx.Location = new System.Drawing.Point(26, 20); this.rbtnLastDocx.Name = "rbtnLastDocx"; this.rbtnLastDocx.Size = new System.Drawing.Size(170, 24); this.rbtnLastDocx.TabIndex = 0; this.rbtnLastDocx.Text = "Из последних Документов"; // // rbtnLastWeeks // this.rbtnLastWeeks.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.rbtnLastWeeks.Location = new System.Drawing.Point(26, 46); this.rbtnLastWeeks.Name = "rbtnLastWeeks"; this.rbtnLastWeeks.Size = new System.Drawing.Size(170, 24); this.rbtnLastWeeks.TabIndex = 0; this.rbtnLastWeeks.Text = "За последние Недели"; // // 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(383, 87); this.bnCancel.Name = "bnCancel"; this.bnCancel.Size = new System.Drawing.Size(80, 23); this.bnCancel.TabIndex = 1; this.bnCancel.Text = "Отменить"; this.bnCancel.Click += new System.EventHandler(this.bnCancel_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(301, 87); this.bnOK.Name = "bnOK"; this.bnOK.Size = new System.Drawing.Size(80, 23); this.bnOK.TabIndex = 0; this.bnOK.Text = "Выбрать"; this.bnOK.Click += new System.EventHandler(this.bnOK_Click); // // dataGrid1 // this.dataGrid1.CaptionVisible = false; this.dataGrid1.DataMember = ""; this.dataGrid1.DataSource = this.dvPurposeList; this.dataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.ReadOnly = true; this.dataGrid1.Size = new System.Drawing.Size(466, 199); this.dataGrid1.TabIndex = 1; this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.dataGrid1.DoubleClick += new System.EventHandler(this.dataGrid1_DoubleClick); // // dvPurposeList // this.dvPurposeList.Table = this.dsLastPurposeList1.OrgsAccounts; // // dsLastPurposeList1 // this.dsLastPurposeList1.DataSetName = "dsLastPurposeList"; this.dsLastPurposeList1.Locale = new System.Globalization.CultureInfo("ru-RU"); this.dsLastPurposeList1.Namespace = "http://www.tempuri.org/dsLastPurposeList.xsd"; // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.dataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn2 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = "OrgsAccounts"; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = "dd-MMM-yy"; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "Дата П/П"; this.dataGridTextBoxColumn1.MappingName = "PaymentOrderDate"; this.dataGridTextBoxColumn1.NullText = "-"; this.dataGridTextBoxColumn1.Width = 75; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "№ П/П"; this.dataGridTextBoxColumn3.MappingName = "PaymentNo"; this.dataGridTextBoxColumn3.NullText = "-"; this.dataGridTextBoxColumn3.Width = 75; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "Основание"; this.dataGridTextBoxColumn2.MappingName = "Purpose"; this.dataGridTextBoxColumn2.NullText = "-"; this.dataGridTextBoxColumn2.Width = 250; // // daGetPurposeList // this.daGetPurposeList.SelectCommand = this.sqlSelectCommand1; this.daGetPurposeList.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "OrgsAccounts", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Purpose", "Purpose"), new System.Data.Common.DataColumnMapping("AccountStatementID", "AccountStatementID"), new System.Data.Common.DataColumnMapping("AccountID", "AccountID"), new System.Data.Common.DataColumnMapping("OrgID", "OrgID"), new System.Data.Common.DataColumnMapping("RAccount", "RAccount") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = @"SELECT DISTINCT Transactions.Purpose AS Purpose, PaymentsOrders.PaymentOrderDate, PaymentsOrders.PaymentNo FROM PaymentsOrders INNER JOIN Transactions ON PaymentsOrders.PaymentOrderID = Transactions.DocumentID WHERE (NOT (Transactions.Purpose IS NULL)) AND (Transactions.AccountIDFrom = @AccountIDFrom) AND (Transactions.AccountIDTo = @AccountIDTo) AND (Transactions.ClientID = @ClientID) AND (Transactions.Purpose <> N'') AND (PaymentsOrders.PaymentOrderDate >= @DateFrom) AND (PaymentsOrders.PaymentOrderDate <= @DateTill)"; this.sqlSelectCommand1.Connection = this.sqlConnection1; this.sqlSelectCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ClientID", System.Data.SqlDbType.Int, 4, "ClientID")); this.sqlSelectCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@AccountIDFrom", System.Data.SqlDbType.Int, 4, "AccountIDFrom")); this.sqlSelectCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@AccountIDTo", System.Data.SqlDbType.Int, 4, "AccountIDTo")); this.sqlSelectCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@DateFrom", System.Data.SqlDbType.DateTime, 8, "PaymentOrderDate")); this.sqlSelectCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@DateTill", System.Data.SqlDbType.DateTime, 8, "PaymentOrderDate")); // // sqlConnection1 // this.sqlConnection1.ConnectionString = ((string)(configurationAppSettings.GetValue("ConnectionString", typeof(string)))); // // SelectPurpose // this.AcceptButton = this.bnOK; this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.CancelButton = this.bnCancel; this.ClientSize = new System.Drawing.Size(466, 311); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.dataGrid1, this.panel1 }); 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.MaximizeBox = false; this.MinimizeBox = false; this.Name = "SelectPurpose"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Последние основания"; this.panel1.ResumeLayout(false); this.gbSelectMode.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dvPurposeList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsLastPurposeList1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.panel5 = 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.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.panel4 = new System.Windows.Forms.Panel(); this.butsh = new System.Windows.Forms.Button(); this.butclose = new System.Windows.Forms.Button(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.butnew = new System.Windows.Forms.Button(); this.panel3 = new System.Windows.Forms.Panel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.panel2 = new System.Windows.Forms.Panel(); this.cmbck = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.cmbybps = new System.Windows.Forms.ComboBox(); this.chkybps = new System.Windows.Forms.CheckBox(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.chkdjsj = new System.Windows.Forms.CheckBox(); this.txtdjh = new System.Windows.Forms.TextBox(); this.chkdjh = new System.Windows.Forms.CheckBox(); this.butref = new System.Windows.Forms.Button(); this.butexcel = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.panel5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); this.panel3.SuspendLayout(); this.groupBox1.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.panel5); this.panel1.Controls.Add(this.panel4); this.panel1.Controls.Add(this.panel3); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(832, 485); this.panel1.TabIndex = 0; // // panel5 // this.panel5.Controls.Add(this.myDataGrid1); this.panel5.Dock = System.Windows.Forms.DockStyle.Fill; this.panel5.Location = new System.Drawing.Point(0, 72); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(832, 357); this.panel5.TabIndex = 3; // // 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(832, 357); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.myDataGrid1.DoubleClick += new System.EventHandler(this.myDataGrid1_DoubleClick); this.myDataGrid1.CurrentCellChanged += new System.EventHandler(this.myDataGrid1_CurrentCellChanged); // // dataGridTableStyle1 // this.dataGridTableStyle1.AllowSorting = false; this.dataGridTableStyle1.AlternatingBackColor = System.Drawing.Color.WhiteSmoke; this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn7 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.ReadOnly = true; this.dataGridTextBoxColumn1.Width = 50; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "仓库名称"; this.dataGridTextBoxColumn11.NullText = ""; this.dataGridTextBoxColumn11.ReadOnly = true; this.dataGridTextBoxColumn11.Width = 75; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "打印"; this.dataGridTextBoxColumn12.NullText = ""; this.dataGridTextBoxColumn12.Width = 40; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "单据号"; this.dataGridTextBoxColumn2.NullText = ""; this.dataGridTextBoxColumn2.ReadOnly = true; this.dataGridTextBoxColumn2.Width = 80; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "单据日期"; this.dataGridTextBoxColumn3.NullText = ""; this.dataGridTextBoxColumn3.ReadOnly = true; this.dataGridTextBoxColumn3.Width = 75; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "进货金额"; this.dataGridTextBoxColumn8.NullText = ""; this.dataGridTextBoxColumn8.Width = 65; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "批发金额"; this.dataGridTextBoxColumn10.Width = 65; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "零售金额"; this.dataGridTextBoxColumn9.Width = 65; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "登记时间"; this.dataGridTextBoxColumn5.NullText = ""; this.dataGridTextBoxColumn5.ReadOnly = true; this.dataGridTextBoxColumn5.Width = 120; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "登记员"; this.dataGridTextBoxColumn6.NullText = ""; this.dataGridTextBoxColumn6.ReadOnly = true; this.dataGridTextBoxColumn6.Width = 75; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "原因"; this.dataGridTextBoxColumn4.NullText = ""; this.dataGridTextBoxColumn4.ReadOnly = true; this.dataGridTextBoxColumn4.Width = 150; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "备注"; this.dataGridTextBoxColumn7.NullText = ""; this.dataGridTextBoxColumn7.ReadOnly = true; this.dataGridTextBoxColumn7.Width = 75; // // panel4 // this.panel4.Controls.Add(this.butexcel); this.panel4.Controls.Add(this.butsh); this.panel4.Controls.Add(this.butclose); this.panel4.Controls.Add(this.statusBar1); this.panel4.Controls.Add(this.butnew); this.panel4.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel4.Location = new System.Drawing.Point(0, 429); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(832, 56); this.panel4.TabIndex = 2; // // butsh // this.butsh.Location = new System.Drawing.Point(532, 6); this.butsh.Name = "butsh"; this.butsh.Size = new System.Drawing.Size(88, 24); this.butsh.TabIndex = 5; this.butsh.Text = "查看(&E)"; this.butsh.Click += new System.EventHandler(this.butsh_Click); // // butclose // this.butclose.Location = new System.Drawing.Point(622, 6); this.butclose.Name = "butclose"; this.butclose.Size = new System.Drawing.Size(88, 24); this.butclose.TabIndex = 3; this.butclose.Text = "关闭(&Q)"; this.butclose.Click += new System.EventHandler(this.butclose_Click); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 32); 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(832, 24); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 200; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 1000; // // butnew // this.butnew.Location = new System.Drawing.Point(440, 6); this.butnew.Name = "butnew"; this.butnew.Size = new System.Drawing.Size(88, 24); this.butnew.TabIndex = 0; this.butnew.Text = "新单据(&N)"; this.butnew.Click += new System.EventHandler(this.butnew_Click); // // panel3 // this.panel3.Controls.Add(this.groupBox1); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(832, 72); this.panel3.TabIndex = 1; // // groupBox1 // this.groupBox1.Controls.Add(this.panel2); 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(832, 72); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // panel2 // this.panel2.Controls.Add(this.cmbck); this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.cmbybps); this.panel2.Controls.Add(this.chkybps); this.panel2.Controls.Add(this.dtp2); this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.dtp1); this.panel2.Controls.Add(this.chkdjsj); this.panel2.Controls.Add(this.txtdjh); this.panel2.Controls.Add(this.chkdjh); this.panel2.Controls.Add(this.butref); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(3, 17); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(826, 52); this.panel2.TabIndex = 2; // // cmbck // this.cmbck.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbck.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.cmbck.Location = new System.Drawing.Point(69, 11); this.cmbck.Name = "cmbck"; this.cmbck.Size = new System.Drawing.Size(112, 20); this.cmbck.TabIndex = 26; // // label3 // this.label3.Location = new System.Drawing.Point(14, 14); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(56, 16); this.label3.TabIndex = 27; this.label3.Text = "仓库名称"; // // cmbybps // this.cmbybps.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbybps.Enabled = false; this.cmbybps.Items.AddRange(new object[] { "是", "否" }); this.cmbybps.Location = new System.Drawing.Point(737, 29); this.cmbybps.Name = "cmbybps"; this.cmbybps.Size = new System.Drawing.Size(64, 20); this.cmbybps.TabIndex = 20; this.cmbybps.Visible = false; // // chkybps // this.chkybps.Location = new System.Drawing.Point(665, 29); this.chkybps.Name = "chkybps"; this.chkybps.Size = new System.Drawing.Size(88, 22); this.chkybps.TabIndex = 19; this.chkybps.Text = "医保配送"; this.chkybps.Visible = false; this.chkybps.CheckedChanged += new System.EventHandler(this.chkshdh_CheckedChanged); // // dtp2 // this.dtp2.Enabled = false; this.dtp2.Location = new System.Drawing.Point(393, 11); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(110, 21); this.dtp2.TabIndex = 11; // // label1 // this.label1.Location = new System.Drawing.Point(381, 14); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(24, 16); this.label1.TabIndex = 10; this.label1.Text = "到"; // // dtp1 // this.dtp1.Enabled = false; this.dtp1.Location = new System.Drawing.Point(269, 11); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(111, 21); this.dtp1.TabIndex = 9; // // chkdjsj // this.chkdjsj.Location = new System.Drawing.Point(197, 11); this.chkdjsj.Name = "chkdjsj"; this.chkdjsj.Size = new System.Drawing.Size(80, 22); this.chkdjsj.TabIndex = 8; this.chkdjsj.Text = "登记时间"; this.chkdjsj.CheckedChanged += new System.EventHandler(this.chkshdh_CheckedChanged); // // txtdjh // this.txtdjh.Enabled = false; this.txtdjh.Location = new System.Drawing.Point(569, 11); this.txtdjh.Name = "txtdjh"; this.txtdjh.Size = new System.Drawing.Size(64, 21); this.txtdjh.TabIndex = 7; // // chkdjh // this.chkdjh.Location = new System.Drawing.Point(513, 11); this.chkdjh.Name = "chkdjh"; this.chkdjh.Size = new System.Drawing.Size(73, 22); this.chkdjh.TabIndex = 6; this.chkdjh.Text = "单据号"; this.chkdjh.CheckedChanged += new System.EventHandler(this.chkshdh_CheckedChanged); // // butref // this.butref.Location = new System.Drawing.Point(688, 8); this.butref.Name = "butref"; this.butref.Size = new System.Drawing.Size(88, 24); this.butref.TabIndex = 4; this.butref.Text = "刷新(&R)"; this.butref.Click += new System.EventHandler(this.butref_Click); // // butexcel // this.butexcel.Location = new System.Drawing.Point(190, 6); this.butexcel.Name = "butexcel"; this.butexcel.Size = new System.Drawing.Size(104, 24); this.butexcel.TabIndex = 10; this.butexcel.Text = "导出(&E)"; this.butexcel.Click += new System.EventHandler(this.butexcel_Click); // // Frmtitle // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(832, 485); this.Controls.Add(this.panel1); this.Location = new System.Drawing.Point(200, 600); this.Name = "Frmtitle"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "药品报损"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Activated += new System.EventHandler(this.Frmtitle_Activated); this.Load += new System.EventHandler(this.Frmtitle_Load); this.panel1.ResumeLayout(false); this.panel5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.panel4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); this.panel3.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmStockCycleINList)); this.panel3 = new System.Windows.Forms.Panel(); this.priToolBar1 = new TJSystem.UC.PriToolBar(); this.panel1 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.dataGrid1 = new System.Windows.Forms.DataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.it_code = new System.Windows.Forms.DataGridTextBoxColumn(); this.item_code = new System.Windows.Forms.DataGridTextBoxColumn(); this.item_name_cn = new System.Windows.Forms.DataGridTextBoxColumn(); this.item_desc_cn = new System.Windows.Forms.DataGridTextBoxColumn(); this.unit_name_cn = new System.Windows.Forms.DataGridTextBoxColumn(); this.item_qty = new System.Windows.Forms.DataGridTextBoxColumn(); this.actual_qty = new System.Windows.Forms.DataGridTextBoxColumn(); this.discount_qty = new System.Windows.Forms.DataGridTextBoxColumn(); this.unit_price = new System.Windows.Forms.DataGridTextBoxColumn(); this.remark = new System.Windows.Forms.DataGridTextBoxColumn(); this.panel4 = new System.Windows.Forms.Panel(); this.label4 = new System.Windows.Forms.Label(); this.priTextBox2 = new TJSystem.Classes.PriTextBox(); this.textBox1 = new System.Windows.Forms.TextBox(); this.priComboBox1 = new TJSystem.Classes.PriComboBox(); this.label32 = new System.Windows.Forms.Label(); this.txt14 = new TJSystem.Classes.PriTextBox(); this.label25 = new System.Windows.Forms.Label(); this.label24 = new System.Windows.Forms.Label(); this.txt11 = new TJSystem.Classes.PriTextBox(); this.label19 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.txt7 = new TJSystem.Classes.PriTextBox(); this.label20 = new System.Windows.Forms.Label(); this.txt16 = new TJSystem.Classes.PriTextBox(); this.label15 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.txt15 = new TJSystem.Classes.PriTextBox(); this.txt1 = new TJSystem.Classes.PriTextBox(); this.priComboBox6 = new TJSystem.Classes.PriComboBox(); this.priTextBox1 = new TJSystem.Classes.PriTextBox(); this.panel3.SuspendLayout(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); this.panel4.SuspendLayout(); this.SuspendLayout(); // // panel3 // this.panel3.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel3.BackgroundImage"))); this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel3.Controls.Add(this.priToolBar1); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Location = new System.Drawing.Point(0, 526); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(792, 40); this.panel3.TabIndex = 24; // // priToolBar1 // this.priToolBar1.DGEnable = true; this.priToolBar1.Dock = System.Windows.Forms.DockStyle.Bottom; this.priToolBar1.Location = new System.Drawing.Point(0, -4); this.priToolBar1.Name = "priToolBar1"; this.priToolBar1.setCurrentForm = null; this.priToolBar1.Size = new System.Drawing.Size(788, 40); this.priToolBar1.TabIndex = 0; // // panel1 // this.panel1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel1.BackgroundImage"))); this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; 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(792, 48); this.panel1.TabIndex = 22; // // label1 // this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(788, 44); this.label1.TabIndex = 0; this.label1.Text = "列表"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panel2 // this.panel2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel2.BackgroundImage"))); this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel2.Controls.Add(this.dataGrid1); this.panel2.Controls.Add(this.panel4); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(792, 566); this.panel2.TabIndex = 23; // // dataGrid1 // this.dataGrid1.AllowSorting = false; this.dataGrid1.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.dataGrid1.BackgroundColor = System.Drawing.SystemColors.ActiveCaptionText; this.dataGrid1.CaptionBackColor = System.Drawing.SystemColors.AppWorkspace; this.dataGrid1.CaptionText = "入库单列表"; this.dataGrid1.CaptionVisible = false; this.dataGrid1.DataMember = ""; this.dataGrid1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(8, 200); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.ReadOnly = true; this.dataGrid1.Size = new System.Drawing.Size(776, 312); this.dataGrid1.TabIndex = 1; this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.dataGrid1.Click += new System.EventHandler(this.dataGrid1_Click); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.dataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.it_code, this.item_code, this.item_name_cn, this.item_desc_cn, this.unit_name_cn, this.item_qty, this.actual_qty, this.discount_qty, this.unit_price, this.remark }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = "wip_stock_cycle_det"; // // it_code // this.it_code.Format = ""; this.it_code.FormatInfo = null; this.it_code.HeaderText = "盘点单号"; this.it_code.MappingName = "it_code"; this.it_code.NullText = ""; this.it_code.Width = 75; // // item_code // this.item_code.Format = ""; this.item_code.FormatInfo = null; this.item_code.HeaderText = "货品编号"; this.item_code.MappingName = "item_code"; this.item_code.NullText = ""; this.item_code.Width = 75; // // item_name_cn // this.item_name_cn.Format = ""; this.item_name_cn.FormatInfo = null; this.item_name_cn.HeaderText = "货品名称"; this.item_name_cn.MappingName = "item_name_cn"; this.item_name_cn.NullText = ""; this.item_name_cn.Width = 75; // // item_desc_cn // this.item_desc_cn.Format = ""; this.item_desc_cn.FormatInfo = null; this.item_desc_cn.HeaderText = "货品描述"; this.item_desc_cn.MappingName = "item_desc_cn"; this.item_desc_cn.NullText = ""; this.item_desc_cn.Width = 75; // // unit_name_cn // this.unit_name_cn.Format = ""; this.unit_name_cn.FormatInfo = null; this.unit_name_cn.HeaderText = "单位"; this.unit_name_cn.MappingName = "unit_name_cn"; this.unit_name_cn.NullText = ""; this.unit_name_cn.Width = 75; // // item_qty // this.item_qty.Format = ""; this.item_qty.FormatInfo = null; this.item_qty.HeaderText = "货品数量"; this.item_qty.MappingName = "item_qty"; this.item_qty.NullText = ""; this.item_qty.Width = 75; // // actual_qty // this.actual_qty.Format = ""; this.actual_qty.FormatInfo = null; this.actual_qty.HeaderText = "实际数量"; this.actual_qty.MappingName = "actual_qty"; this.actual_qty.NullText = ""; this.actual_qty.Width = 75; // // discount_qty // this.discount_qty.Format = ""; this.discount_qty.FormatInfo = null; this.discount_qty.HeaderText = "差异数量"; this.discount_qty.MappingName = "discount_qty"; this.discount_qty.NullText = ""; this.discount_qty.Width = 75; // // unit_price // this.unit_price.Format = ""; this.unit_price.FormatInfo = null; this.unit_price.HeaderText = "货品单价"; this.unit_price.MappingName = "unit_price"; this.unit_price.NullText = ""; this.unit_price.Width = 75; // // remark // this.remark.Format = ""; this.remark.FormatInfo = null; this.remark.HeaderText = "备注"; this.remark.MappingName = "remark"; this.remark.NullText = ""; this.remark.Width = 75; // // panel4 // this.panel4.BackColor = System.Drawing.SystemColors.ScrollBar; this.panel4.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel4.BackgroundImage"))); this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel4.Controls.Add(this.label4); this.panel4.Controls.Add(this.priTextBox2); this.panel4.Controls.Add(this.textBox1); this.panel4.Controls.Add(this.priComboBox1); this.panel4.Controls.Add(this.label32); this.panel4.Controls.Add(this.txt14); this.panel4.Controls.Add(this.label25); this.panel4.Controls.Add(this.label24); this.panel4.Controls.Add(this.txt11); this.panel4.Controls.Add(this.label19); this.panel4.Controls.Add(this.label5); this.panel4.Controls.Add(this.label3); this.panel4.Controls.Add(this.txt7); this.panel4.Controls.Add(this.label20); this.panel4.Controls.Add(this.txt16); this.panel4.Controls.Add(this.label15); this.panel4.Controls.Add(this.label7); this.panel4.Controls.Add(this.label2); this.panel4.Controls.Add(this.txt15); this.panel4.Controls.Add(this.txt1); this.panel4.Controls.Add(this.priComboBox6); this.panel4.Controls.Add(this.priTextBox1); this.panel4.Dock = System.Windows.Forms.DockStyle.Top; this.panel4.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.panel4.Location = new System.Drawing.Point(0, 0); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(788, 200); this.panel4.TabIndex = 0; // // label4 // this.label4.AutoSize = true; this.label4.BackColor = System.Drawing.Color.Transparent; this.label4.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label4.ForeColor = System.Drawing.Color.Blue; this.label4.Location = new System.Drawing.Point(568, 72); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(63, 19); this.label4.TabIndex = 179; this.label4.Text = "差异数量"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // priTextBox2 // this.priTextBox2.BackColor = System.Drawing.Color.White; this.priTextBox2.DataField = "discount_qty"; this.priTextBox2.DataType = TJSystem.Public.DataType.String; this.priTextBox2.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.priTextBox2.Location = new System.Drawing.Point(632, 72); this.priTextBox2.Name = "priTextBox2"; this.priTextBox2.Size = new System.Drawing.Size(120, 23); this.priTextBox2.TabIndex = 180; this.priTextBox2.Text = ""; // // textBox1 // this.textBox1.Enabled = false; this.textBox1.Location = new System.Drawing.Point(280, 48); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(320, 23); this.textBox1.TabIndex = 178; this.textBox1.Text = ""; // // priComboBox1 // this.priComboBox1.BackColor = System.Drawing.Color.White; this.priComboBox1.DataField = "item_code"; this.priComboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.priComboBox1.Location = new System.Drawing.Point(96, 72); this.priComboBox1.Name = "priComboBox1"; this.priComboBox1.Size = new System.Drawing.Size(104, 22); this.priComboBox1.TabIndex = 174; this.priComboBox1.SelectionChangeCommitted += new System.EventHandler(this.priComboBox1_SelectionChangeCommitted); // // label32 // this.label32.BackColor = System.Drawing.Color.Transparent; this.label32.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label32.ForeColor = System.Drawing.Color.Blue; this.label32.Location = new System.Drawing.Point(208, 72); this.label32.Name = "label32"; this.label32.Size = new System.Drawing.Size(64, 23); this.label32.TabIndex = 156; this.label32.Text = "收货数量"; this.label32.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txt14 // this.txt14.BackColor = System.Drawing.Color.White; this.txt14.DataField = "item_qty"; this.txt14.DataType = TJSystem.Public.DataType.String; this.txt14.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.txt14.Location = new System.Drawing.Point(280, 72); this.txt14.Name = "txt14"; this.txt14.Size = new System.Drawing.Size(104, 23); this.txt14.TabIndex = 157; this.txt14.Text = ""; // // label25 // this.label25.BackColor = System.Drawing.Color.Transparent; this.label25.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label25.ForeColor = System.Drawing.Color.Blue; this.label25.Location = new System.Drawing.Point(40, 120); this.label25.Name = "label25"; this.label25.Size = new System.Drawing.Size(48, 23); this.label25.TabIndex = 136; this.label25.Text = "单位"; this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label24 // this.label24.AutoSize = true; this.label24.BackColor = System.Drawing.Color.Transparent; this.label24.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label24.Location = new System.Drawing.Point(296, 96); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(63, 19); this.label24.TabIndex = 130; this.label24.Text = "货品描述"; this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txt11 // this.txt11.BackColor = System.Drawing.Color.White; this.txt11.DataField = "item_desc_cn"; this.txt11.DataType = TJSystem.Public.DataType.String; this.txt11.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.txt11.Location = new System.Drawing.Point(368, 96); this.txt11.Name = "txt11"; this.txt11.Size = new System.Drawing.Size(384, 23); this.txt11.TabIndex = 133; this.txt11.Text = ""; // // label19 // this.label19.BackColor = System.Drawing.Color.Transparent; this.label19.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label19.ForeColor = System.Drawing.Color.Blue; this.label19.Location = new System.Drawing.Point(224, 48); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(48, 23); this.label19.TabIndex = 123; this.label19.Text = "仓库"; this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label5 // this.label5.BackColor = System.Drawing.Color.Transparent; this.label5.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label5.ForeColor = System.Drawing.Color.Blue; this.label5.Location = new System.Drawing.Point(24, 72); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(64, 23); this.label5.TabIndex = 118; this.label5.Text = "货品编号"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label3 // this.label3.BackColor = System.Drawing.Color.Transparent; this.label3.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label3.Location = new System.Drawing.Point(24, 96); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(64, 23); this.label3.TabIndex = 116; this.label3.Text = "货品名称"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txt7 // this.txt7.BackColor = System.Drawing.Color.White; this.txt7.DataField = "item_name_cn"; this.txt7.DataType = TJSystem.Public.DataType.String; this.txt7.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.txt7.Location = new System.Drawing.Point(96, 96); this.txt7.Name = "txt7"; this.txt7.Size = new System.Drawing.Size(192, 23); this.txt7.TabIndex = 117; this.txt7.Text = ""; // // label20 // this.label20.BackColor = System.Drawing.Color.Transparent; this.label20.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label20.ForeColor = System.Drawing.Color.Blue; this.label20.Location = new System.Drawing.Point(200, 120); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(64, 23); this.label20.TabIndex = 40; this.label20.Text = "货品单价"; this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txt16 // this.txt16.BackColor = System.Drawing.Color.White; this.txt16.DataField = "unit_price"; this.txt16.DataType = TJSystem.Public.DataType.String; this.txt16.Enabled = false; this.txt16.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.txt16.Location = new System.Drawing.Point(272, 120); this.txt16.Name = "txt16"; this.txt16.Size = new System.Drawing.Size(128, 23); this.txt16.TabIndex = 39; this.txt16.Text = ""; // // label15 // this.label15.BackColor = System.Drawing.Color.Transparent; this.label15.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label15.Location = new System.Drawing.Point(8, 144); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(80, 24); this.label15.TabIndex = 29; this.label15.Text = "备注"; this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label7 // this.label7.AutoSize = true; this.label7.BackColor = System.Drawing.Color.Transparent; this.label7.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label7.ForeColor = System.Drawing.Color.Blue; this.label7.Location = new System.Drawing.Point(384, 72); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(63, 19); this.label7.TabIndex = 21; this.label7.Text = "实际数量"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.BackColor = System.Drawing.Color.Transparent; this.label2.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label2.ForeColor = System.Drawing.Color.Blue; this.label2.Location = new System.Drawing.Point(8, 48); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(80, 23); this.label2.TabIndex = 16; this.label2.Text = "盘点单号"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txt15 // this.txt15.BackColor = System.Drawing.Color.White; this.txt15.DataField = "remark"; this.txt15.DataType = TJSystem.Public.DataType.String; this.txt15.Enabled = false; this.txt15.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.txt15.Location = new System.Drawing.Point(96, 144); this.txt15.Multiline = true; this.txt15.Name = "txt15"; this.txt15.Size = new System.Drawing.Size(672, 48); this.txt15.TabIndex = 12; this.txt15.Text = ""; // // txt1 // this.txt1.BackColor = System.Drawing.Color.White; this.txt1.DataField = "it_code"; this.txt1.DataType = TJSystem.Public.DataType.String; this.txt1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.txt1.Location = new System.Drawing.Point(96, 48); this.txt1.Name = "txt1"; this.txt1.Size = new System.Drawing.Size(104, 23); this.txt1.TabIndex = 100; this.txt1.Text = ""; // // priComboBox6 // this.priComboBox6.BackColor = System.Drawing.Color.White; this.priComboBox6.DataField = "unit"; this.priComboBox6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.priComboBox6.Location = new System.Drawing.Point(96, 120); this.priComboBox6.Name = "priComboBox6"; this.priComboBox6.Size = new System.Drawing.Size(96, 22); this.priComboBox6.TabIndex = 177; // // priTextBox1 // this.priTextBox1.BackColor = System.Drawing.Color.White; this.priTextBox1.DataField = "actual_qty"; this.priTextBox1.DataType = TJSystem.Public.DataType.String; this.priTextBox1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.priTextBox1.Location = new System.Drawing.Point(448, 72); this.priTextBox1.Name = "priTextBox1"; this.priTextBox1.Size = new System.Drawing.Size(120, 23); this.priTextBox1.TabIndex = 157; this.priTextBox1.Text = ""; this.priTextBox1.Validated += new System.EventHandler(this.priTextBox1_Validated); // // frmStockCycleINList // this.AutoScaleBaseSize = new System.Drawing.Size(7, 16); this.BackColor = System.Drawing.SystemColors.ScrollBar; this.ClientSize = new System.Drawing.Size(792, 566); this.Controls.Add(this.panel3); this.Controls.Add(this.panel1); this.Controls.Add(this.panel2); this.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmStockCycleINList"; this.ShowInTaskbar = false; this.Text = "盘点"; this.panel3.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); this.panel4.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.butexcel = new System.Windows.Forms.Button(); this.cmbck = new System.Windows.Forms.ComboBox(); this.lblck = new System.Windows.Forms.Label(); this.cmbyjks = new System.Windows.Forms.ComboBox(); this.label6 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.cmbmonth = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.cmbyear = new System.Windows.Forms.ComboBox(); this.rdo2 = new System.Windows.Forms.RadioButton(); this.butquit = new System.Windows.Forms.Button(); this.butprint = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.rdo1 = new System.Windows.Forms.RadioButton(); 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.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn4 = 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.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn18 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn19 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn17 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_批次号 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel4)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.butexcel); this.groupBox1.Controls.Add(this.cmbck); this.groupBox1.Controls.Add(this.lblck); this.groupBox1.Controls.Add(this.cmbyjks); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.cmbmonth); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.cmbyear); this.groupBox1.Controls.Add(this.rdo2); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.rdo1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 87); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // butexcel // this.butexcel.Location = new System.Drawing.Point(751, 40); this.butexcel.Name = "butexcel"; this.butexcel.Size = new System.Drawing.Size(72, 32); this.butexcel.TabIndex = 42; this.butexcel.Text = "导出(&E)"; this.butexcel.Click += new System.EventHandler(this.butexcel_Click); // // cmbck // this.cmbck.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbck.Location = new System.Drawing.Point(337, 17); this.cmbck.Name = "cmbck"; this.cmbck.Size = new System.Drawing.Size(141, 20); this.cmbck.TabIndex = 32; // // lblck // this.lblck.Location = new System.Drawing.Point(283, 22); this.lblck.Name = "lblck"; this.lblck.Size = new System.Drawing.Size(67, 16); this.lblck.TabIndex = 31; this.lblck.Text = "仓库名称"; // // cmbyjks // this.cmbyjks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyjks.Location = new System.Drawing.Point(100, 17); this.cmbyjks.Name = "cmbyjks"; this.cmbyjks.Size = new System.Drawing.Size(176, 20); this.cmbyjks.TabIndex = 30; this.cmbyjks.SelectedIndexChanged += new System.EventHandler(this.cmbyjks_SelectionChangeCommitted); // // label6 // this.label6.Location = new System.Drawing.Point(36, 22); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(67, 16); this.label6.TabIndex = 29; this.label6.Text = "药剂科室"; // // label1 // this.label1.ForeColor = System.Drawing.Color.Black; this.label1.Location = new System.Drawing.Point(580, 56); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(31, 16); this.label1.TabIndex = 22; this.label1.Text = "月"; // // cmbmonth // this.cmbmonth.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbmonth.Items.AddRange(new object[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" }); this.cmbmonth.Location = new System.Drawing.Point(513, 47); this.cmbmonth.Name = "cmbmonth"; this.cmbmonth.Size = new System.Drawing.Size(56, 20); this.cmbmonth.TabIndex = 21; this.cmbmonth.SelectedIndexChanged += new System.EventHandler(this.cmbmonth_SelectedIndexChanged); // // label3 // this.label3.ForeColor = System.Drawing.Color.Black; this.label3.Location = new System.Drawing.Point(491, 53); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(32, 16); this.label3.TabIndex = 20; this.label3.Text = "年"; // // cmbyear // this.cmbyear.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyear.Items.AddRange(new object[] { "2005", "2006", "2007", "2008", "2009", "2010" }); this.cmbyear.Location = new System.Drawing.Point(427, 47); this.cmbyear.Name = "cmbyear"; this.cmbyear.Size = new System.Drawing.Size(64, 20); this.cmbyear.TabIndex = 19; this.cmbyear.SelectedIndexChanged += new System.EventHandler(this.cmbyear_SelectedIndexChanged); // // rdo2 // this.rdo2.Checked = true; this.rdo2.Location = new System.Drawing.Point(347, 47); this.rdo2.Name = "rdo2"; this.rdo2.Size = new System.Drawing.Size(96, 25); this.rdo2.TabIndex = 13; this.rdo2.TabStop = true; this.rdo2.Text = "按月份查询"; this.rdo2.CheckedChanged += new System.EventHandler(this.rdo1_CheckedChanged); // // butquit // this.butquit.Location = new System.Drawing.Point(826, 40); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(63, 32); this.butquit.TabIndex = 11; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butprint // this.butprint.Location = new System.Drawing.Point(684, 40); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(65, 32); this.butprint.TabIndex = 10; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(619, 40); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(64, 32); this.buttj.TabIndex = 9; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // dtp2 // this.dtp2.Location = new System.Drawing.Point(227, 47); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(113, 21); this.dtp2.TabIndex = 5; // // label2 // this.label2.Location = new System.Drawing.Point(211, 56); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(16, 16); this.label2.TabIndex = 4; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(100, 47); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(109, 21); this.dtp1.TabIndex = 3; // // rdo1 // this.rdo1.Location = new System.Drawing.Point(35, 45); this.rdo1.Name = "rdo1"; this.rdo1.Size = new System.Drawing.Size(96, 25); this.rdo1.TabIndex = 12; this.rdo1.Text = "按日期从"; this.rdo1.CheckedChanged += new System.EventHandler(this.rdo1_CheckedChanged); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3, this.statusBarPanel4 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 150; // // statusBarPanel4 // this.statusBarPanel4.Name = "statusBarPanel4"; this.statusBarPanel4.Width = 1000; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 87); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 415); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.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, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 395); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); // // dataGridTableStyle2 // this.dataGridTableStyle2.AllowSorting = false; this.dataGridTableStyle2.DataGrid = this.myDataGrid1; this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn15, this.dataGridTextBoxColumn18, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn19, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn7, this.col_批次号, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn13, this.dataGridTextBoxColumn16, this.dataGridTextBoxColumn14, this.dataGridTextBoxColumn17 }); this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.ReadOnly = true; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "序号"; this.dataGridTextBoxColumn4.Width = 40; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "品名"; this.dataGridTextBoxColumn9.Width = 120; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "商品名"; this.dataGridTextBoxColumn10.Width = 120; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "规格"; this.dataGridTextBoxColumn11.Width = 75; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "厂家"; this.dataGridTextBoxColumn15.Width = 75; // // dataGridTextBoxColumn18 // this.dataGridTextBoxColumn18.Format = ""; this.dataGridTextBoxColumn18.FormatInfo = null; this.dataGridTextBoxColumn18.HeaderText = "进价"; this.dataGridTextBoxColumn18.NullText = ""; this.dataGridTextBoxColumn18.Width = 60; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "批发价"; this.dataGridTextBoxColumn5.NullText = ""; this.dataGridTextBoxColumn5.Width = 0; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "零售价"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.Width = 60; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "数量"; this.dataGridTextBoxColumn2.Width = 70; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "单位"; this.dataGridTextBoxColumn6.Width = 40; // // dataGridTextBoxColumn19 // this.dataGridTextBoxColumn19.Format = ""; this.dataGridTextBoxColumn19.FormatInfo = null; this.dataGridTextBoxColumn19.HeaderText = "进货金额"; this.dataGridTextBoxColumn19.NullText = ""; this.dataGridTextBoxColumn19.Width = 70; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "批发金额"; this.dataGridTextBoxColumn8.NullText = ""; this.dataGridTextBoxColumn8.Width = 0; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "零售金额"; this.dataGridTextBoxColumn7.Width = 70; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "批号"; this.dataGridTextBoxColumn3.NullText = ""; this.dataGridTextBoxColumn3.Width = 60; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "效期"; this.dataGridTextBoxColumn12.Width = 75; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "货号"; this.dataGridTextBoxColumn13.Width = 60; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "单据号"; this.dataGridTextBoxColumn16.Width = 60; // // dataGridTextBoxColumn14 // this.dataGridTextBoxColumn14.Format = ""; this.dataGridTextBoxColumn14.FormatInfo = null; this.dataGridTextBoxColumn14.HeaderText = "登记日期"; this.dataGridTextBoxColumn14.Width = 80; // // dataGridTextBoxColumn17 // this.dataGridTextBoxColumn17.Format = ""; this.dataGridTextBoxColumn17.FormatInfo = null; this.dataGridTextBoxColumn17.HeaderText = "备注"; this.dataGridTextBoxColumn17.Width = 75; // // col_批次号 // this.col_批次号.Format = ""; this.col_批次号.FormatInfo = null; this.col_批次号.HeaderText = "批次号"; this.col_批次号.Width = 75; // // Frmbsbyhztj // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmbsbyhztj"; this.Text = "报损报溢统计"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxspm_Load); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel4)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
[System.Diagnostics.DebuggerStepThrough()] private void InitializeComponent() { this.DataGrid1 = new System.Windows.Forms.DataGrid(); base.Load += new System.EventHandler(frmDelList_Load); this.Button1 = new System.Windows.Forms.Button(); 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(); ((System.ComponentModel.ISupportInitialize) this.DataGrid1).BeginInit(); this.SuspendLayout(); // //DataGrid1 // this.DataGrid1.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.DataGrid1.DataMember = ""; this.DataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.DataGrid1.Location = new System.Drawing.Point(8, 8); this.DataGrid1.Name = "DataGrid1"; this.DataGrid1.ReadOnly = true; this.DataGrid1.Size = new System.Drawing.Size(736, 512); this.DataGrid1.TabIndex = 0; this.DataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.DataGridTableStyle1 }); // //Button1 // this.Button1.Anchor = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.Button1.Location = new System.Drawing.Point(648, 528); this.Button1.Name = "Button1"; this.Button1.TabIndex = 1; this.Button1.Text = "确定"; // //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.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.DataGridTableStyle1.MappingName = "dlst"; // //DataGridTextBoxColumn1 // this.DataGridTextBoxColumn1.Format = ""; this.DataGridTextBoxColumn1.FormatInfo = null; this.DataGridTextBoxColumn1.HeaderText = "删除日期"; this.DataGridTextBoxColumn1.MappingName = "DeleteDate"; this.DataGridTextBoxColumn1.Width = 120; // //DataGridTextBoxColumn2 // this.DataGridTextBoxColumn2.Format = ""; this.DataGridTextBoxColumn2.FormatInfo = null; this.DataGridTextBoxColumn2.HeaderText = "操作员ID"; this.DataGridTextBoxColumn2.MappingName = "DeleteOp"; this.DataGridTextBoxColumn2.Width = 75; // //DataGridTextBoxColumn3 // this.DataGridTextBoxColumn3.Format = ""; this.DataGridTextBoxColumn3.FormatInfo = null; this.DataGridTextBoxColumn3.HeaderText = "删除操作"; this.DataGridTextBoxColumn3.MappingName = "DeleteType"; this.DataGridTextBoxColumn3.Width = 75; // //DataGridTextBoxColumn4 // this.DataGridTextBoxColumn4.Format = ""; this.DataGridTextBoxColumn4.FormatInfo = null; this.DataGridTextBoxColumn4.HeaderText = "原因"; this.DataGridTextBoxColumn4.MappingName = "DeleteRsn"; this.DataGridTextBoxColumn4.Width = 300; // //DataGridTextBoxColumn5 // this.DataGridTextBoxColumn5.Format = ""; this.DataGridTextBoxColumn5.FormatInfo = null; this.DataGridTextBoxColumn5.HeaderText = "内容"; this.DataGridTextBoxColumn5.MappingName = "DeleteContent"; this.DataGridTextBoxColumn5.Width = 400; // //frmDelList // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(752, 566); this.Controls.Add(this.Button1); this.Controls.Add(this.DataGrid1); this.Name = "frmDelList"; this.Text = "删除操作记录"; ((System.ComponentModel.ISupportInitialize) this.DataGrid1).EndInit(); this.ResumeLayout(false); }
[System.Diagnostics.DebuggerStepThrough()] private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDerateReason)); 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.dgDerateReason = 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.Panel1 = new System.Windows.Forms.Panel(); 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.dgDerateReason)).BeginInit(); this.Panel1.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(424, 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, ""); // // dgDerateReason // this.dgDerateReason.AlternatingBackColor = System.Drawing.Color.GhostWhite; this.dgDerateReason.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.dgDerateReason.BackColor = System.Drawing.Color.GhostWhite; this.dgDerateReason.BackgroundColor = System.Drawing.Color.Lavender; this.dgDerateReason.CaptionBackColor = System.Drawing.Color.Navy; this.dgDerateReason.CaptionForeColor = System.Drawing.Color.White; this.dgDerateReason.DataMember = ""; this.dgDerateReason.FlatMode = true; this.dgDerateReason.Font = new System.Drawing.Font("Tahoma", 8F); this.dgDerateReason.ForeColor = System.Drawing.Color.MidnightBlue; this.dgDerateReason.GridLineColor = System.Drawing.Color.RoyalBlue; this.dgDerateReason.HeaderBackColor = System.Drawing.Color.MidnightBlue; this.dgDerateReason.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.dgDerateReason.HeaderForeColor = System.Drawing.Color.Lavender; this.dgDerateReason.LinkColor = System.Drawing.Color.Teal; this.dgDerateReason.Location = new System.Drawing.Point(0, 56); this.dgDerateReason.Name = "dgDerateReason"; this.dgDerateReason.ParentRowsBackColor = System.Drawing.Color.Lavender; this.dgDerateReason.ParentRowsForeColor = System.Drawing.Color.MidnightBlue; this.dgDerateReason.ReadOnly = true; this.dgDerateReason.SelectionBackColor = System.Drawing.Color.Teal; this.dgDerateReason.SelectionForeColor = System.Drawing.Color.PaleGreen; this.dgDerateReason.Size = new System.Drawing.Size(424, 200); this.dgDerateReason.TabIndex = 1; this.dgDerateReason.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.DataGridTableStyle1 }); this.dgDerateReason.DoubleClick += new System.EventHandler(this.dgDerateReason_DoubleClick); // // DataGridTableStyle1 // this.DataGridTableStyle1.DataGrid = this.dgDerateReason; this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.DataGridTextBoxColumn1, this.DataGridTextBoxColumn2 }); 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 = "DerateReason"; // // DataGridTextBoxColumn1 // this.DataGridTextBoxColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.DataGridTextBoxColumn1.Format = ""; this.DataGridTextBoxColumn1.FormatInfo = null; this.DataGridTextBoxColumn1.HeaderText = "减免编码"; this.DataGridTextBoxColumn1.MappingName = "deratecode"; this.DataGridTextBoxColumn1.Width = 110; // // DataGridTextBoxColumn2 // this.DataGridTextBoxColumn2.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.DataGridTextBoxColumn2.Format = ""; this.DataGridTextBoxColumn2.FormatInfo = null; this.DataGridTextBoxColumn2.HeaderText = "减免原因"; this.DataGridTextBoxColumn2.MappingName = "reason"; this.DataGridTextBoxColumn2.Width = 110; // // 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.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, 259); this.Panel1.Name = "Panel1"; this.Panel1.Size = new System.Drawing.Size(424, 131); this.Panel1.TabIndex = 2; // // TextBox2 // this.TextBox2.Location = new System.Drawing.Point(130, 61); this.TextBox2.Name = "TextBox2"; this.TextBox2.Size = new System.Drawing.Size(258, 21); this.TextBox2.TabIndex = 1; // // TextBox1 // this.TextBox1.Location = new System.Drawing.Point(130, 34); this.TextBox1.Name = "TextBox1"; this.TextBox1.Size = new System.Drawing.Size(91, 21); this.TextBox1.TabIndex = 0; // // Label4 // this.Label4.Location = new System.Drawing.Point(34, 33); 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(34, 60); 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(344, 95); 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(280, 95); 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); // // frmDerateReason // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(424, 390); this.Controls.Add(this.Panel1); this.Controls.Add(this.dgDerateReason); this.Controls.Add(this.ToolBar1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmDerateReason"; this.Text = "减免原因"; this.Load += new System.EventHandler(this.frmDerateReason_Load); this.Closed += new System.EventHandler(this.frmDerateReason_Closed); ((System.ComponentModel.ISupportInitialize)(this.dgDerateReason)).EndInit(); this.Panel1.ResumeLayout(false); this.Panel1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmSysCompanyBank)); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.panel2 = new System.Windows.Forms.Panel(); this.dataGrid1 = new System.Windows.Forms.DataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.bank_id = new System.Windows.Forms.DataGridTextBoxColumn(); this.bank_name = new System.Windows.Forms.DataGridTextBoxColumn(); this.account = new System.Windows.Forms.DataGridTextBoxColumn(); this.country = new System.Windows.Forms.DataGridTextBoxColumn(); this.province = new System.Windows.Forms.DataGridTextBoxColumn(); this.city = new System.Windows.Forms.DataGridTextBoxColumn(); this.postcode = new System.Windows.Forms.DataGridTextBoxColumn(); this.address = new System.Windows.Forms.DataGridTextBoxColumn(); this.swift_code = new System.Windows.Forms.DataGridTextBoxColumn(); this.createby = new System.Windows.Forms.DataGridTextBoxColumn(); this.createon = new System.Windows.Forms.DataGridTextBoxColumn(); this.modifyby = new System.Windows.Forms.DataGridTextBoxColumn(); this.modifyon = new System.Windows.Forms.DataGridTextBoxColumn(); this.panel4 = new System.Windows.Forms.Panel(); this.label5 = new System.Windows.Forms.Label(); this.priTextBox2 = new TJSystem.Classes.PriTextBox(); this.label21 = new System.Windows.Forms.Label(); this.priTextBox19 = new TJSystem.Classes.PriTextBox(); this.label20 = new System.Windows.Forms.Label(); this.priTextBox18 = new TJSystem.Classes.PriTextBox(); this.label17 = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.priTextBox11 = new TJSystem.Classes.PriTextBox(); this.priTextBox8 = new TJSystem.Classes.PriTextBox(); this.label3 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.priTextBox13 = new TJSystem.Classes.PriTextBox(); this.priTextBox12 = new TJSystem.Classes.PriTextBox(); this.priTextBox9 = new TJSystem.Classes.PriTextBox(); this.priTextBox7 = new TJSystem.Classes.PriTextBox(); this.priTextBox6 = new TJSystem.Classes.PriTextBox(); this.priTextBox5 = new TJSystem.Classes.PriTextBox(); this.priTextBox4 = new TJSystem.Classes.PriTextBox(); this.textBox1 = new TJSystem.Classes.PriTextBox(); this.priTextBox3 = new TJSystem.Classes.PriTextBox(); this.panel3 = new System.Windows.Forms.Panel(); this.priToolBar1 = new TJSystem.UC.PriToolBar(); this.panel1 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); this.panel4.SuspendLayout(); this.panel3.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // 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.NullText = ""; this.dataGridTextBoxColumn3.Width = 75; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "员工编号"; this.dataGridTextBoxColumn1.MappingName = "employee_id"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.Width = 75; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "性别"; this.dataGridTextBoxColumn4.MappingName = "Gender"; this.dataGridTextBoxColumn4.NullText = ""; this.dataGridTextBoxColumn4.Width = 75; // // panel2 // this.panel2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel2.BackgroundImage"))); this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel2.Controls.Add(this.dataGrid1); this.panel2.Controls.Add(this.panel4); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 48); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(584, 374); this.panel2.TabIndex = 8; // // dataGrid1 // this.dataGrid1.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.dataGrid1.BackgroundColor = System.Drawing.SystemColors.ActiveCaptionText; this.dataGrid1.CaptionText = "公司银行账号信息"; this.dataGrid1.CaptionVisible = false; this.dataGrid1.DataMember = ""; this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(0, 168); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.ReadOnly = true; this.dataGrid1.Size = new System.Drawing.Size(576, 192); this.dataGrid1.TabIndex = 1; this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); // // dataGridTableStyle1 // this.dataGridTableStyle1.AllowSorting = false; this.dataGridTableStyle1.DataGrid = this.dataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.bank_id, this.bank_name, this.account, this.country, this.province, this.city, this.postcode, this.address, this.swift_code, this.createby, this.createon, this.modifyby, this.modifyon }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = "basic_company_bank"; this.dataGridTableStyle1.ReadOnly = true; // // bank_id // this.bank_id.Format = ""; this.bank_id.FormatInfo = null; this.bank_id.HeaderText = "银行编号"; this.bank_id.MappingName = "bank_id"; this.bank_id.NullText = ""; this.bank_id.Width = 75; // // bank_name // this.bank_name.Format = ""; this.bank_name.FormatInfo = null; this.bank_name.HeaderText = "银行名称"; this.bank_name.MappingName = "bank_name"; this.bank_name.NullText = ""; this.bank_name.Width = 75; // // account // this.account.Format = ""; this.account.FormatInfo = null; this.account.HeaderText = "银行账号"; this.account.MappingName = "account"; this.account.NullText = ""; this.account.Width = 75; // // country // this.country.Format = ""; this.country.FormatInfo = null; this.country.HeaderText = "国家"; this.country.MappingName = "country"; this.country.NullText = ""; this.country.Width = 75; // // province // this.province.Format = ""; this.province.FormatInfo = null; this.province.HeaderText = "省份"; this.province.MappingName = "province"; this.province.NullText = ""; this.province.Width = 75; // // city // this.city.Format = ""; this.city.FormatInfo = null; this.city.HeaderText = "城市"; this.city.MappingName = "city"; this.city.NullText = ""; this.city.Width = 75; // // postcode // this.postcode.Format = ""; this.postcode.FormatInfo = null; this.postcode.HeaderText = "邮政编码"; this.postcode.MappingName = "postcode"; this.postcode.NullText = ""; this.postcode.Width = 75; // // address // this.address.Format = ""; this.address.FormatInfo = null; this.address.HeaderText = "地址"; this.address.MappingName = "address"; this.address.NullText = ""; this.address.Width = 75; // // swift_code // this.swift_code.Format = ""; this.swift_code.FormatInfo = null; this.swift_code.HeaderText = "Swift Code"; this.swift_code.MappingName = "swift_code"; this.swift_code.NullText = ""; this.swift_code.Width = 75; // // createby // this.createby.Format = ""; this.createby.FormatInfo = null; this.createby.HeaderText = "建立者"; this.createby.MappingName = "createby"; this.createby.NullText = ""; this.createby.Width = 75; // // createon // this.createon.Format = ""; this.createon.FormatInfo = null; this.createon.HeaderText = "建立时间"; this.createon.MappingName = "createon"; this.createon.NullText = ""; this.createon.Width = 75; // // modifyby // this.modifyby.Format = ""; this.modifyby.FormatInfo = null; this.modifyby.HeaderText = "最后修改者"; this.modifyby.MappingName = "modifyby"; this.modifyby.NullText = ""; this.modifyby.Width = 75; // // modifyon // this.modifyon.Format = ""; this.modifyon.FormatInfo = null; this.modifyon.HeaderText = "最后修改时间"; this.modifyon.MappingName = "modifyon"; this.modifyon.NullText = ""; this.modifyon.Width = 75; // // panel4 // this.panel4.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel4.BackgroundImage"))); this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel4.Controls.Add(this.label5); this.panel4.Controls.Add(this.priTextBox2); this.panel4.Controls.Add(this.label21); this.panel4.Controls.Add(this.priTextBox19); this.panel4.Controls.Add(this.label20); this.panel4.Controls.Add(this.priTextBox18); this.panel4.Controls.Add(this.label17); this.panel4.Controls.Add(this.label15); this.panel4.Controls.Add(this.priTextBox11); this.panel4.Controls.Add(this.priTextBox8); this.panel4.Controls.Add(this.label3); this.panel4.Controls.Add(this.label14); this.panel4.Controls.Add(this.label13); this.panel4.Controls.Add(this.label12); this.panel4.Controls.Add(this.label11); this.panel4.Controls.Add(this.label10); this.panel4.Controls.Add(this.label9); this.panel4.Controls.Add(this.label7); this.panel4.Controls.Add(this.label4); this.panel4.Controls.Add(this.label2); this.panel4.Controls.Add(this.priTextBox13); this.panel4.Controls.Add(this.priTextBox12); this.panel4.Controls.Add(this.priTextBox9); this.panel4.Controls.Add(this.priTextBox7); this.panel4.Controls.Add(this.priTextBox6); this.panel4.Controls.Add(this.priTextBox5); this.panel4.Controls.Add(this.priTextBox4); this.panel4.Controls.Add(this.textBox1); this.panel4.Controls.Add(this.priTextBox3); this.panel4.Dock = System.Windows.Forms.DockStyle.Top; this.panel4.Location = new System.Drawing.Point(0, 0); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(580, 160); this.panel4.TabIndex = 0; // // label5 // this.label5.BackColor = System.Drawing.Color.Transparent; this.label5.ForeColor = System.Drawing.Color.Blue; this.label5.Location = new System.Drawing.Point(8, 8); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(80, 23); this.label5.TabIndex = 52; this.label5.Text = "公司代码"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // priTextBox2 // this.priTextBox2.BackColor = System.Drawing.Color.White; this.priTextBox2.DataField = "company_id"; this.priTextBox2.DataType = TJSystem.Public.DataType.String; this.priTextBox2.Enabled = false; this.priTextBox2.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.priTextBox2.ForeColor = System.Drawing.Color.Black; this.priTextBox2.Location = new System.Drawing.Point(96, 8); this.priTextBox2.Name = "priTextBox2"; this.priTextBox2.Size = new System.Drawing.Size(168, 23); this.priTextBox2.TabIndex = 51; this.priTextBox2.Text = ""; // // label21 // this.label21.BackColor = System.Drawing.Color.Transparent; this.label21.Location = new System.Drawing.Point(376, 128); this.label21.Name = "label21"; this.label21.Size = new System.Drawing.Size(64, 23); this.label21.TabIndex = 50; this.label21.Text = "修改时间"; this.label21.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // priTextBox19 // this.priTextBox19.BackColor = System.Drawing.Color.White; this.priTextBox19.DataField = "modifyon"; this.priTextBox19.DataType = TJSystem.Public.DataType.String; this.priTextBox19.Enabled = false; this.priTextBox19.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.priTextBox19.ForeColor = System.Drawing.Color.Black; this.priTextBox19.Location = new System.Drawing.Point(448, 128); this.priTextBox19.Name = "priTextBox19"; this.priTextBox19.Size = new System.Drawing.Size(104, 23); this.priTextBox19.TabIndex = 49; this.priTextBox19.Text = ""; // // label20 // this.label20.BackColor = System.Drawing.Color.Transparent; this.label20.Location = new System.Drawing.Point(184, 128); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(64, 23); this.label20.TabIndex = 48; this.label20.Text = "创建时间"; this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // priTextBox18 // this.priTextBox18.BackColor = System.Drawing.Color.White; this.priTextBox18.DataField = "createon"; this.priTextBox18.DataType = TJSystem.Public.DataType.String; this.priTextBox18.Enabled = false; this.priTextBox18.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.priTextBox18.ForeColor = System.Drawing.Color.Black; this.priTextBox18.Location = new System.Drawing.Point(248, 128); this.priTextBox18.Name = "priTextBox18"; this.priTextBox18.Size = new System.Drawing.Size(80, 23); this.priTextBox18.TabIndex = 47; this.priTextBox18.Text = ""; // // label17 // this.label17.BackColor = System.Drawing.Color.Transparent; this.label17.Location = new System.Drawing.Point(360, 104); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(80, 23); this.label17.TabIndex = 46; this.label17.Text = "最后修改者"; this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label15 // this.label15.BackColor = System.Drawing.Color.Transparent; this.label15.Location = new System.Drawing.Point(8, 128); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(80, 23); this.label15.TabIndex = 45; this.label15.Text = "创建者"; this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // priTextBox11 // this.priTextBox11.BackColor = System.Drawing.Color.White; this.priTextBox11.DataField = "createBy"; this.priTextBox11.DataType = TJSystem.Public.DataType.String; this.priTextBox11.Enabled = false; this.priTextBox11.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.priTextBox11.ForeColor = System.Drawing.Color.Black; this.priTextBox11.Location = new System.Drawing.Point(96, 128); this.priTextBox11.Name = "priTextBox11"; this.priTextBox11.Size = new System.Drawing.Size(72, 23); this.priTextBox11.TabIndex = 44; this.priTextBox11.Text = ""; // // priTextBox8 // this.priTextBox8.BackColor = System.Drawing.Color.White; this.priTextBox8.DataField = "modifyBy"; this.priTextBox8.DataType = TJSystem.Public.DataType.String; this.priTextBox8.Enabled = false; this.priTextBox8.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.priTextBox8.ForeColor = System.Drawing.Color.Black; this.priTextBox8.Location = new System.Drawing.Point(448, 104); this.priTextBox8.Name = "priTextBox8"; this.priTextBox8.Size = new System.Drawing.Size(104, 23); this.priTextBox8.TabIndex = 43; this.priTextBox8.Text = ""; // // label3 // this.label3.BackColor = System.Drawing.Color.Transparent; this.label3.Location = new System.Drawing.Point(576, 88); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(72, 23); this.label3.TabIndex = 30; this.label3.Text = "公司编号"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label3.Visible = false; // // label14 // this.label14.BackColor = System.Drawing.Color.Transparent; this.label14.Location = new System.Drawing.Point(216, 56); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(40, 23); this.label14.TabIndex = 28; this.label14.Text = "省份"; this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label13 // this.label13.BackColor = System.Drawing.Color.Transparent; this.label13.Location = new System.Drawing.Point(8, 80); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(80, 23); this.label13.TabIndex = 27; this.label13.Text = "邮政编码"; this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label12 // this.label12.BackColor = System.Drawing.Color.Transparent; this.label12.Location = new System.Drawing.Point(8, 32); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(80, 23); this.label12.TabIndex = 26; this.label12.Text = "银行名称"; this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label11 // this.label11.BackColor = System.Drawing.Color.Transparent; this.label11.Location = new System.Drawing.Point(288, 32); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(80, 23); this.label11.TabIndex = 25; this.label11.Text = "银行账号"; this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label10 // this.label10.BackColor = System.Drawing.Color.Transparent; this.label10.Location = new System.Drawing.Point(368, 56); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(64, 23); this.label10.TabIndex = 24; this.label10.Text = "市"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label9 // this.label9.BackColor = System.Drawing.Color.Transparent; this.label9.Location = new System.Drawing.Point(8, 104); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(80, 23); this.label9.TabIndex = 23; this.label9.Text = "Swift Code"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label7 // this.label7.BackColor = System.Drawing.Color.Transparent; this.label7.Location = new System.Drawing.Point(8, 56); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(80, 23); this.label7.TabIndex = 21; this.label7.Text = "国家"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label4 // this.label4.BackColor = System.Drawing.Color.Transparent; this.label4.Location = new System.Drawing.Point(208, 80); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(48, 23); this.label4.TabIndex = 18; this.label4.Text = "地址"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.BackColor = System.Drawing.Color.Transparent; this.label2.Location = new System.Drawing.Point(288, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(80, 23); this.label2.TabIndex = 16; this.label2.Text = "银行代码"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // priTextBox13 // this.priTextBox13.BackColor = System.Drawing.Color.White; this.priTextBox13.DataField = "country"; this.priTextBox13.DataType = TJSystem.Public.DataType.String; this.priTextBox13.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.priTextBox13.ForeColor = System.Drawing.Color.Black; this.priTextBox13.Location = new System.Drawing.Point(96, 56); this.priTextBox13.Name = "priTextBox13"; this.priTextBox13.Size = new System.Drawing.Size(104, 23); this.priTextBox13.TabIndex = 14; this.priTextBox13.Text = ""; // // priTextBox12 // this.priTextBox12.BackColor = System.Drawing.Color.White; this.priTextBox12.DataField = "city"; this.priTextBox12.DataType = TJSystem.Public.DataType.String; this.priTextBox12.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.priTextBox12.ForeColor = System.Drawing.Color.Black; this.priTextBox12.Location = new System.Drawing.Point(448, 56); this.priTextBox12.Name = "priTextBox12"; this.priTextBox12.Size = new System.Drawing.Size(104, 23); this.priTextBox12.TabIndex = 13; this.priTextBox12.Text = ""; // // priTextBox9 // this.priTextBox9.BackColor = System.Drawing.Color.White; this.priTextBox9.DataField = "swift_code"; this.priTextBox9.DataType = TJSystem.Public.DataType.String; this.priTextBox9.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.priTextBox9.ForeColor = System.Drawing.Color.Black; this.priTextBox9.Location = new System.Drawing.Point(96, 104); this.priTextBox9.Name = "priTextBox9"; this.priTextBox9.Size = new System.Drawing.Size(232, 23); this.priTextBox9.TabIndex = 10; this.priTextBox9.Text = ""; // // priTextBox7 // this.priTextBox7.BackColor = System.Drawing.Color.White; this.priTextBox7.DataField = "province"; this.priTextBox7.DataType = TJSystem.Public.DataType.String; this.priTextBox7.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.priTextBox7.ForeColor = System.Drawing.Color.Black; this.priTextBox7.Location = new System.Drawing.Point(264, 56); this.priTextBox7.Name = "priTextBox7"; this.priTextBox7.Size = new System.Drawing.Size(104, 23); this.priTextBox7.TabIndex = 8; this.priTextBox7.Text = ""; // // priTextBox6 // this.priTextBox6.BackColor = System.Drawing.Color.White; this.priTextBox6.DataField = "postcode"; this.priTextBox6.DataType = TJSystem.Public.DataType.String; this.priTextBox6.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.priTextBox6.ForeColor = System.Drawing.Color.Black; this.priTextBox6.Location = new System.Drawing.Point(96, 80); this.priTextBox6.Name = "priTextBox6"; this.priTextBox6.Size = new System.Drawing.Size(104, 23); this.priTextBox6.TabIndex = 7; this.priTextBox6.Text = ""; // // priTextBox5 // this.priTextBox5.BackColor = System.Drawing.Color.White; this.priTextBox5.DataField = "address"; this.priTextBox5.DataType = TJSystem.Public.DataType.String; this.priTextBox5.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.priTextBox5.ForeColor = System.Drawing.Color.Black; this.priTextBox5.Location = new System.Drawing.Point(264, 80); this.priTextBox5.Name = "priTextBox5"; this.priTextBox5.Size = new System.Drawing.Size(288, 23); this.priTextBox5.TabIndex = 6; this.priTextBox5.Text = ""; // // priTextBox4 // this.priTextBox4.BackColor = System.Drawing.Color.White; this.priTextBox4.DataField = "account"; this.priTextBox4.DataType = TJSystem.Public.DataType.String; this.priTextBox4.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.priTextBox4.ForeColor = System.Drawing.Color.Black; this.priTextBox4.Location = new System.Drawing.Point(376, 32); this.priTextBox4.Name = "priTextBox4"; this.priTextBox4.Size = new System.Drawing.Size(176, 23); this.priTextBox4.TabIndex = 5; this.priTextBox4.Text = ""; // // textBox1 // this.textBox1.BackColor = System.Drawing.Color.White; this.textBox1.DataField = "bank_id"; this.textBox1.DataType = TJSystem.Public.DataType.String; this.textBox1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.textBox1.ForeColor = System.Drawing.Color.Black; this.textBox1.Location = new System.Drawing.Point(376, 8); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(176, 23); this.textBox1.TabIndex = 1; this.textBox1.Text = ""; // // priTextBox3 // this.priTextBox3.BackColor = System.Drawing.Color.White; this.priTextBox3.DataField = "bank_name"; this.priTextBox3.DataType = TJSystem.Public.DataType.String; this.priTextBox3.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.priTextBox3.ForeColor = System.Drawing.Color.Black; this.priTextBox3.Location = new System.Drawing.Point(96, 32); this.priTextBox3.Name = "priTextBox3"; this.priTextBox3.Size = new System.Drawing.Size(168, 23); this.priTextBox3.TabIndex = 3; this.priTextBox3.Text = ""; // // panel3 // this.panel3.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel3.BackgroundImage"))); this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel3.Controls.Add(this.priToolBar1); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Location = new System.Drawing.Point(0, 422); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(584, 40); this.panel3.TabIndex = 9; // // priToolBar1 // this.priToolBar1.DGEnable = true; this.priToolBar1.Dock = System.Windows.Forms.DockStyle.Bottom; this.priToolBar1.Location = new System.Drawing.Point(0, -4); this.priToolBar1.Name = "priToolBar1"; this.priToolBar1.setCurrentForm = null; this.priToolBar1.Size = new System.Drawing.Size(580, 40); this.priToolBar1.TabIndex = 0; // // panel1 // this.panel1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel1.BackgroundImage"))); this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; 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(584, 48); this.panel1.TabIndex = 7; // // label1 // this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(580, 44); this.label1.TabIndex = 0; this.label1.Text = "公司银行账号信息"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // frmSysCompanyBank // this.AutoScaleBaseSize = new System.Drawing.Size(7, 16); this.BackColor = System.Drawing.SystemColors.ScrollBar; this.ClientSize = new System.Drawing.Size(584, 462); this.Controls.Add(this.panel2); this.Controls.Add(this.panel3); this.Controls.Add(this.panel1); this.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmSysCompanyBank"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "公司信息维护"; this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); this.panel4.ResumeLayout(false); this.panel3.ResumeLayout(false); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.label1 = new System.Windows.Forms.Label(); this.cboGameLevel = new System.Windows.Forms.ComboBox(); this.btnAnswer = new System.Windows.Forms.Button(); this.btnNewGame = new System.Windows.Forms.Button(); 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.timer1 = new System.Windows.Forms.Timer(this.components); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); this.SuspendLayout(); // // label1 // this.label1.Location = new System.Drawing.Point(16, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(48, 24); this.label1.TabIndex = 4; this.label1.Text = "Level:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // cboGameLevel // this.cboGameLevel.Items.AddRange(new object[] { "Simple", "Medium", "Complex" }); this.cboGameLevel.Location = new System.Drawing.Point(72, 16); this.cboGameLevel.Name = "cboGameLevel"; this.cboGameLevel.Size = new System.Drawing.Size(96, 21); this.cboGameLevel.TabIndex = 3; this.cboGameLevel.Text = "Simple"; // // btnAnswer // this.btnAnswer.Location = new System.Drawing.Point(80, 80); this.btnAnswer.Name = "btnAnswer"; this.btnAnswer.Size = new System.Drawing.Size(88, 24); this.btnAnswer.TabIndex = 2; this.btnAnswer.Text = "Show Answer"; this.btnAnswer.Click += new System.EventHandler(this.btnAnswer_Click); // // btnNewGame // this.btnNewGame.Location = new System.Drawing.Point(80, 48); this.btnNewGame.Name = "btnNewGame"; this.btnNewGame.Size = new System.Drawing.Size(88, 24); this.btnNewGame.TabIndex = 0; this.btnNewGame.Text = "New Game"; this.btnNewGame.Click += new System.EventHandler(this.btnNewGame_Click); // // dataGrid1 // this.dataGrid1.BackgroundColor = System.Drawing.SystemColors.Control; this.dataGrid1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.dataGrid1.CaptionVisible = false; this.dataGrid1.ColumnHeadersVisible = false; this.dataGrid1.DataMember = ""; this.dataGrid1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dataGrid1.GridLineColor = System.Drawing.SystemColors.ActiveCaption; this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(184, 16); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.PreferredColumnWidth = 50; this.dataGrid1.PreferredRowHeight = 50; this.dataGrid1.RowHeadersVisible = false; this.dataGrid1.RowHeaderWidth = 30; this.dataGrid1.Size = new System.Drawing.Size(270, 270); this.dataGrid1.TabIndex = 0; this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.dataGrid1.Paint += new System.Windows.Forms.PaintEventHandler(this.DataGrid1_Paint); // // dataGridTableStyle1 // this.dataGridTableStyle1.AlternatingBackColor = System.Drawing.Color.LightGray; this.dataGridTableStyle1.ColumnHeadersVisible = false; 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.dataGridTableStyle1.GridLineColor = System.Drawing.SystemColors.ActiveCaption; this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.PreferredColumnWidth = 30; this.dataGridTableStyle1.PreferredRowHeight = 30; this.dataGridTableStyle1.RowHeadersVisible = false; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.MappingName = "col0"; this.dataGridTextBoxColumn1.Width = 30; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.MappingName = "col1"; this.dataGridTextBoxColumn2.Width = 30; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.MappingName = "col2"; this.dataGridTextBoxColumn3.Width = 30; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.MappingName = "col3"; this.dataGridTextBoxColumn4.Width = 30; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.MappingName = "col4"; this.dataGridTextBoxColumn5.Width = 30; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.MappingName = "col5"; this.dataGridTextBoxColumn6.Width = 30; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.MappingName = "col6"; this.dataGridTextBoxColumn7.Width = 30; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.MappingName = "col7"; this.dataGridTextBoxColumn8.Width = 30; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.MappingName = "col8"; this.dataGridTextBoxColumn9.Width = 30; // // timer1 // this.timer1.Interval = 3000; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // SudokuMainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(496, 334); this.Controls.Add(this.dataGrid1); this.Controls.Add(this.btnNewGame); this.Controls.Add(this.btnAnswer); this.Controls.Add(this.label1); this.Controls.Add(this.cboGameLevel); this.KeyPreview = true; this.Name = "SudokuMainForm"; this.Text = "Play Sudoku"; this.Load += new System.EventHandler(this.SudokuMainForm_Load); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmBasicItemSaleHis)); this.fax1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.email2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.address_cn = new System.Windows.Forms.DataGridTextBoxColumn(); this.company_name = new System.Windows.Forms.DataGridTextBoxColumn(); this.company_name_cn = new System.Windows.Forms.DataGridTextBoxColumn(); this.email1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.tel1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.createby = new System.Windows.Forms.DataGridTextBoxColumn(); this.resume = new System.Windows.Forms.DataGridTextBoxColumn(); this.gen_manager = new System.Windows.Forms.DataGridTextBoxColumn(); this.panel3 = new System.Windows.Forms.Panel(); this.postcode = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.address = new System.Windows.Forms.DataGridTextBoxColumn(); this.corporation = new System.Windows.Forms.DataGridTextBoxColumn(); this.company_id = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.modifyon = new System.Windows.Forms.DataGridTextBoxColumn(); this.createon = new System.Windows.Forms.DataGridTextBoxColumn(); this.modifyby = new System.Windows.Forms.DataGridTextBoxColumn(); this.panel2 = new System.Windows.Forms.Panel(); this.dataGrid1 = new System.Windows.Forms.DataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.so_code = new System.Windows.Forms.DataGridTextBoxColumn(); this.seq_no = new System.Windows.Forms.DataGridTextBoxColumn(); this.item_code = new System.Windows.Forms.DataGridTextBoxColumn(); this.client_itemcode = new System.Windows.Forms.DataGridTextBoxColumn(); this.item_name = new System.Windows.Forms.DataGridTextBoxColumn(); this.item_name_cn = new System.Windows.Forms.DataGridTextBoxColumn(); this.item_desc = new System.Windows.Forms.DataGridTextBoxColumn(); this.item_desc_cn = new System.Windows.Forms.DataGridTextBoxColumn(); this.minorder = new System.Windows.Forms.DataGridTextBoxColumn(); this.item_qty = new System.Windows.Forms.DataGridTextBoxColumn(); this.unit = new System.Windows.Forms.DataGridTextBoxColumn(); this.unit_price = new System.Windows.Forms.DataGridTextBoxColumn(); this.discountType = new System.Windows.Forms.DataGridTextBoxColumn(); this.discount = new System.Windows.Forms.DataGridTextBoxColumn(); this.discountAmount = new System.Windows.Forms.DataGridTextBoxColumn(); this.deliverydate = new System.Windows.Forms.DataGridTextBoxColumn(); this.outsidePack = new System.Windows.Forms.DataGridTextBoxColumn(); this.insidePack = new System.Windows.Forms.DataGridTextBoxColumn(); this.remark = new System.Windows.Forms.DataGridTextBoxColumn(); this.cq_code = new System.Windows.Forms.DataGridTextBoxColumn(); this.panel4 = new System.Windows.Forms.Panel(); this.lk_detail = new System.Windows.Forms.LinkLabel(); this.fax2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.panel1 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.website = new System.Windows.Forms.DataGridTextBoxColumn(); this.tel2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // fax1 // this.fax1.Format = ""; this.fax1.FormatInfo = null; this.fax1.HeaderText = "传真1"; this.fax1.MappingName = "fax1"; this.fax1.NullText = ""; this.fax1.Width = 75; // // email2 // this.email2.Format = ""; this.email2.FormatInfo = null; this.email2.HeaderText = "电子邮件2"; this.email2.MappingName = "email2"; this.email2.NullText = ""; this.email2.Width = 75; // // address_cn // this.address_cn.Format = ""; this.address_cn.FormatInfo = null; this.address_cn.HeaderText = "中文地址"; this.address_cn.MappingName = "address_cn"; this.address_cn.NullText = ""; this.address_cn.Width = 75; // // company_name // this.company_name.Format = ""; this.company_name.FormatInfo = null; this.company_name.HeaderText = "公司名称"; this.company_name.MappingName = "company_name"; this.company_name.NullText = ""; this.company_name.Width = 75; // // company_name_cn // this.company_name_cn.Format = ""; this.company_name_cn.FormatInfo = null; this.company_name_cn.HeaderText = "中文名称"; this.company_name_cn.MappingName = "company_name_cn"; this.company_name_cn.NullText = ""; this.company_name_cn.Width = 75; // // email1 // this.email1.Format = ""; this.email1.FormatInfo = null; this.email1.HeaderText = "电子邮件1"; this.email1.MappingName = "email1"; this.email1.NullText = ""; this.email1.Width = 75; // // tel1 // this.tel1.Format = ""; this.tel1.FormatInfo = null; this.tel1.HeaderText = "电话1"; this.tel1.MappingName = "tel1"; this.tel1.NullText = ""; this.tel1.Width = 75; // // createby // this.createby.Format = ""; this.createby.FormatInfo = null; this.createby.HeaderText = "建立者"; this.createby.MappingName = "createby"; this.createby.NullText = ""; this.createby.Width = 75; // // resume // this.resume.Format = ""; this.resume.FormatInfo = null; this.resume.HeaderText = "公司描述"; this.resume.MappingName = "resume"; this.resume.NullText = ""; this.resume.Width = 75; // // gen_manager // this.gen_manager.Format = ""; this.gen_manager.FormatInfo = null; this.gen_manager.HeaderText = "总经理"; this.gen_manager.MappingName = "gen_manager"; this.gen_manager.NullText = ""; this.gen_manager.Width = 75; // // panel3 // this.panel3.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel3.BackgroundImage"))); this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Location = new System.Drawing.Point(0, 558); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(784, 8); this.panel3.TabIndex = 18; // // postcode // this.postcode.Format = ""; this.postcode.FormatInfo = null; this.postcode.HeaderText = "邮政编码"; this.postcode.MappingName = "postcode"; this.postcode.NullText = ""; this.postcode.Width = 75; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "员工姓名"; this.dataGridTextBoxColumn2.MappingName = ""; this.dataGridTextBoxColumn2.NullText = ""; this.dataGridTextBoxColumn2.Width = 75; // // address // this.address.Format = ""; this.address.FormatInfo = null; this.address.HeaderText = "地址"; this.address.MappingName = "address"; this.address.NullText = ""; this.address.Width = 75; // // corporation // this.corporation.Format = ""; this.corporation.FormatInfo = null; this.corporation.HeaderText = "公司法人"; this.corporation.MappingName = "corporation"; this.corporation.NullText = ""; this.corporation.Width = 75; // // company_id // this.company_id.Format = ""; this.company_id.FormatInfo = null; this.company_id.HeaderText = "公司编号"; this.company_id.MappingName = "company_id"; this.company_id.NullText = ""; this.company_id.Width = 75; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "员工编号"; this.dataGridTextBoxColumn1.MappingName = "employee_id"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.Width = 75; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "性别"; this.dataGridTextBoxColumn4.MappingName = "Gender"; this.dataGridTextBoxColumn4.NullText = ""; this.dataGridTextBoxColumn4.Width = 75; // // modifyon // this.modifyon.Format = ""; this.modifyon.FormatInfo = null; this.modifyon.HeaderText = "最后修改时间"; this.modifyon.MappingName = "modifyon"; this.modifyon.NullText = ""; this.modifyon.Width = 75; // // createon // this.createon.Format = ""; this.createon.FormatInfo = null; this.createon.HeaderText = "建立时间"; this.createon.MappingName = "createon"; this.createon.NullText = ""; this.createon.Width = 75; // // modifyby // this.modifyby.Format = ""; this.modifyby.FormatInfo = null; this.modifyby.HeaderText = "最后修改者"; this.modifyby.MappingName = "modifyby"; this.modifyby.NullText = ""; this.modifyby.Width = 75; // // panel2 // this.panel2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel2.BackgroundImage"))); this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel2.Controls.Add(this.dataGrid1); this.panel2.Controls.Add(this.panel4); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 48); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(784, 518); this.panel2.TabIndex = 17; // // dataGrid1 // this.dataGrid1.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.dataGrid1.BackgroundColor = System.Drawing.SystemColors.ActiveCaptionText; this.dataGrid1.CaptionBackColor = System.Drawing.SystemColors.ActiveBorder; this.dataGrid1.CaptionText = "销售订单明细"; this.dataGrid1.CaptionVisible = false; this.dataGrid1.DataMember = ""; this.dataGrid1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(0, 8); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.ReadOnly = true; this.dataGrid1.Size = new System.Drawing.Size(776, 496); this.dataGrid1.TabIndex = 1; 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.so_code, this.seq_no, this.item_code, this.client_itemcode, this.item_name, this.item_name_cn, this.item_desc, this.item_desc_cn, this.minorder, this.item_qty, this.unit, this.unit_price, this.discountType, this.discount, this.discountAmount, this.deliverydate, this.outsidePack, this.insidePack, this.remark, this.cq_code }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = "sale_so_detail"; // // so_code // this.so_code.Format = ""; this.so_code.FormatInfo = null; this.so_code.HeaderText = "销售单号"; this.so_code.MappingName = "so_code"; this.so_code.NullText = ""; this.so_code.Width = 75; // // seq_no // this.seq_no.Format = ""; this.seq_no.FormatInfo = null; this.seq_no.HeaderText = "货品序号"; this.seq_no.MappingName = "seq_no"; this.seq_no.NullText = ""; this.seq_no.Width = 75; // // item_code // this.item_code.Format = ""; this.item_code.FormatInfo = null; this.item_code.HeaderText = "客户代码"; this.item_code.MappingName = "item_code"; this.item_code.NullText = ""; this.item_code.Width = 75; // // client_itemcode // this.client_itemcode.Format = ""; this.client_itemcode.FormatInfo = null; this.client_itemcode.HeaderText = "客人货号"; this.client_itemcode.MappingName = "client_itemcode"; this.client_itemcode.NullText = ""; this.client_itemcode.Width = 75; // // item_name // this.item_name.Format = ""; this.item_name.FormatInfo = null; this.item_name.HeaderText = "货物名称"; this.item_name.MappingName = "item_name"; this.item_name.NullText = ""; this.item_name.Width = 75; // // item_name_cn // this.item_name_cn.Format = ""; this.item_name_cn.FormatInfo = null; this.item_name_cn.HeaderText = "货物中文名称"; this.item_name_cn.MappingName = "item_name_cn"; this.item_name_cn.NullText = ""; this.item_name_cn.Width = 75; // // item_desc // this.item_desc.Format = ""; this.item_desc.FormatInfo = null; this.item_desc.HeaderText = "英文规格"; this.item_desc.MappingName = "item_desc"; this.item_desc.NullText = ""; this.item_desc.Width = 75; // // item_desc_cn // this.item_desc_cn.Format = ""; this.item_desc_cn.FormatInfo = null; this.item_desc_cn.HeaderText = "中文规格"; this.item_desc_cn.MappingName = "item_desc_cn"; this.item_desc_cn.NullText = ""; this.item_desc_cn.Width = 75; // // minorder // this.minorder.Format = ""; this.minorder.FormatInfo = null; this.minorder.HeaderText = "最小订货量"; this.minorder.MappingName = "minorder"; this.minorder.NullText = ""; this.minorder.Width = 75; // // item_qty // this.item_qty.Format = ""; this.item_qty.FormatInfo = null; this.item_qty.HeaderText = "订货数量"; this.item_qty.MappingName = "item_qty"; this.item_qty.NullText = ""; this.item_qty.Width = 75; // // unit // this.unit.Format = ""; this.unit.FormatInfo = null; this.unit.HeaderText = "单位"; this.unit.MappingName = "unit"; this.unit.NullText = ""; this.unit.Width = 75; // // unit_price // this.unit_price.Format = ""; this.unit_price.FormatInfo = null; this.unit_price.HeaderText = "单位价格"; this.unit_price.MappingName = "unit_price"; this.unit_price.NullText = ""; this.unit_price.Width = 75; // // discountType // this.discountType.Format = ""; this.discountType.FormatInfo = null; this.discountType.HeaderText = "折扣类型"; this.discountType.MappingName = "discountType"; this.discountType.NullText = ""; this.discountType.Width = 75; // // discount // this.discount.Format = ""; this.discount.FormatInfo = null; this.discount.HeaderText = "折扣"; this.discount.MappingName = "discount"; this.discount.NullText = ""; this.discount.Width = 75; // // discountAmount // this.discountAmount.Format = ""; this.discountAmount.FormatInfo = null; this.discountAmount.HeaderText = "折扣总数"; this.discountAmount.MappingName = "discountAmount"; this.discountAmount.NullText = ""; this.discountAmount.Width = 75; // // deliverydate // this.deliverydate.Format = ""; this.deliverydate.FormatInfo = null; this.deliverydate.HeaderText = "送货日期"; this.deliverydate.MappingName = "deliverydate"; this.deliverydate.NullText = ""; this.deliverydate.Width = 75; // // outsidePack // this.outsidePack.Format = ""; this.outsidePack.FormatInfo = null; this.outsidePack.HeaderText = "外包装"; this.outsidePack.MappingName = "outsidePack"; this.outsidePack.NullText = ""; this.outsidePack.Width = 75; // // insidePack // this.insidePack.Format = ""; this.insidePack.FormatInfo = null; this.insidePack.HeaderText = "内包装"; this.insidePack.MappingName = "insidePack"; this.insidePack.NullText = ""; this.insidePack.Width = 75; // // remark // this.remark.Format = ""; this.remark.FormatInfo = null; this.remark.HeaderText = "备注"; this.remark.MappingName = "remark"; this.remark.NullText = ""; this.remark.Width = 75; // // cq_code // this.cq_code.Format = ""; this.cq_code.FormatInfo = null; this.cq_code.HeaderText = "订单号"; this.cq_code.MappingName = "cq_code"; this.cq_code.NullText = ""; this.cq_code.Width = 75; // // panel4 // this.panel4.BackColor = System.Drawing.SystemColors.ScrollBar; this.panel4.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel4.BackgroundImage"))); this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel4.Dock = System.Windows.Forms.DockStyle.Top; this.panel4.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.panel4.Location = new System.Drawing.Point(0, 0); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(780, 8); this.panel4.TabIndex = 0; // // lk_detail // this.lk_detail.Location = new System.Drawing.Point(0, 0); this.lk_detail.Name = "lk_detail"; this.lk_detail.TabIndex = 0; // // fax2 // this.fax2.Format = ""; this.fax2.FormatInfo = null; this.fax2.HeaderText = "传真2"; this.fax2.MappingName = "fax2"; this.fax2.NullText = ""; this.fax2.Width = 75; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "英文名"; this.dataGridTextBoxColumn3.MappingName = ""; this.dataGridTextBoxColumn3.NullText = ""; this.dataGridTextBoxColumn3.Width = 75; // // panel1 // this.panel1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel1.BackgroundImage"))); this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; 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(784, 48); this.panel1.TabIndex = 16; // // label1 // this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(780, 44); this.label1.TabIndex = 0; this.label1.Text = "销售记录"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // website // this.website.Format = ""; this.website.FormatInfo = null; this.website.HeaderText = "公司网站"; this.website.MappingName = "website"; this.website.NullText = ""; this.website.Width = 75; // // tel2 // this.tel2.Format = ""; this.tel2.FormatInfo = null; this.tel2.HeaderText = "电话2"; this.tel2.MappingName = "tel2"; this.tel2.NullText = ""; this.tel2.Width = 75; // // frmBasicItemSaleHis // this.AutoScaleBaseSize = new System.Drawing.Size(7, 16); this.BackColor = System.Drawing.SystemColors.ScrollBar; this.ClientSize = new System.Drawing.Size(784, 566); this.Controls.Add(this.panel3); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmBasicItemSaleHis"; this.ShowInTaskbar = false; this.Text = "货品资料"; this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); this.panel1.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() { System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend(); System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series(); this.label9 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); 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.button1 = new System.Windows.Forms.Button(); this.UseIndex = new System.Windows.Forms.CheckBox(); this.label6 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.Chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart(); this.label1 = new System.Windows.Forms.Label(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit(); this.SuspendLayout(); // // label9 // this.label9.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.label9.Font = new System.Drawing.Font("Verdana", 11F); this.label9.Location = new System.Drawing.Point(16, 14); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(702, 34); this.label9.TabIndex = 0; this.label9.Text = "This sample demonstrates a real time scale, where data point positions depend on " + "DateTime X values. "; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // panel1 // this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] { this.label2, this.dataGrid1, this.button1, this.UseIndex, this.label6, this.label5, this.label4, this.label3, this.label15 }); this.panel1.Location = new System.Drawing.Point(432, 68); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(292, 288); this.panel1.TabIndex = 2; // // label2 // this.label2.Location = new System.Drawing.Point(48, 72); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(100, 16); this.label2.TabIndex = 7; this.label2.Text = "Series Data:"; // // dataGrid1 // this.dataGrid1.AllowNavigation = false; this.dataGrid1.AllowSorting = false; this.dataGrid1.AlternatingBackColor = System.Drawing.Color.WhiteSmoke; this.dataGrid1.BackgroundColor = System.Drawing.Color.White; this.dataGrid1.CaptionVisible = false; this.dataGrid1.DataMember = ""; this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(48, 96); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.ReadOnly = true; this.dataGrid1.RowHeadersVisible = false; this.dataGrid1.Size = new System.Drawing.Size(168, 184); this.dataGrid1.TabIndex = 6; 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.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = "Series1"; this.dataGridTableStyle1.RowHeadersVisible = false; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "#"; this.dataGridTextBoxColumn1.MappingName = "No"; this.dataGridTextBoxColumn1.Width = 30; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = "MM/dd/yyyy"; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "X"; this.dataGridTextBoxColumn2.MappingName = "X"; this.dataGridTextBoxColumn2.Width = 80; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "Y"; this.dataGridTextBoxColumn3.MappingName = "Y"; this.dataGridTextBoxColumn3.Width = 50; // // button1 // this.button1.BackColor = System.Drawing.SystemColors.Control; this.button1.Location = new System.Drawing.Point(48, 40); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(168, 24); this.button1.TabIndex = 1; this.button1.Text = "Random &Data"; this.button1.Click += new System.EventHandler(this.Button_Click); // // UseIndex // this.UseIndex.Location = new System.Drawing.Point(48, 8); this.UseIndex.Name = "UseIndex"; this.UseIndex.Size = new System.Drawing.Size(192, 24); this.UseIndex.TabIndex = 0; this.UseIndex.Text = "X Values &Indexed"; this.UseIndex.CheckedChanged += new System.EventHandler(this.UseIndex_CheckedChanged); // // label6 // this.label6.Location = new System.Drawing.Point(64, 403); this.label6.Name = "label6"; this.label6.TabIndex = 5; this.label6.Text = "Border Size:"; // // label5 // this.label5.Location = new System.Drawing.Point(64, 380); this.label5.Name = "label5"; this.label5.TabIndex = 4; this.label5.Text = "Border Color:"; // // label4 // this.label4.Location = new System.Drawing.Point(64, 357); this.label4.Name = "label4"; this.label4.TabIndex = 3; this.label4.Text = "Hatch Style:"; // // label3 // this.label3.Location = new System.Drawing.Point(64, 334); this.label3.Name = "label3"; this.label3.TabIndex = 2; this.label3.Text = "Gradient:"; // // label15 // this.label15.Location = new System.Drawing.Point(64, 426); this.label15.Name = "label15"; this.label15.TabIndex = 5; this.label15.Text = "Border Size:"; // // Chart1 // this.Chart1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(243)), ((System.Byte)(223)), ((System.Byte)(193))); this.Chart1.BackGradientStyle = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom; this.Chart1.BorderlineColor = System.Drawing.Color.FromArgb(((System.Byte)(181)), ((System.Byte)(64)), ((System.Byte)(1))); this.Chart1.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid; this.Chart1.BorderlineWidth = 2; this.Chart1.BorderSkin.SkinStyle = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss; chartArea1.Area3DStyle.IsClustered = true; chartArea1.Area3DStyle.Perspective = 10; chartArea1.Area3DStyle.IsRightAngleAxes = false; chartArea1.Area3DStyle.WallWidth = 0; chartArea1.Area3DStyle.Inclination = 15; chartArea1.Area3DStyle.Rotation = 10; chartArea1.AxisX.ArrowStyle = System.Windows.Forms.DataVisualization.Charting.AxisArrowStyle.Triangle;; chartArea1.AxisX.LabelAutoFitStyle = (((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.StaggeredLabels) | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30) | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap); chartArea1.AxisX.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold); chartArea1.AxisX.LabelStyle.Format = "MMM dd"; chartArea1.AxisX.LineColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64))); chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64))); chartArea1.AxisX2.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False; chartArea1.AxisY.ArrowStyle = System.Windows.Forms.DataVisualization.Charting.AxisArrowStyle.Triangle;; chartArea1.AxisY.LabelAutoFitStyle = (((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.StaggeredLabels) | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30) | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap); chartArea1.AxisY.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold); chartArea1.AxisY.LineColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64))); chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64))); chartArea1.AxisY2.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False; chartArea1.BackColor = System.Drawing.Color.OldLace; chartArea1.BackSecondaryColor = System.Drawing.Color.White; chartArea1.BackGradientStyle = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom; chartArea1.BorderColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64))); chartArea1.BorderDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid; chartArea1.Name = "Default"; chartArea1.ShadowColor = System.Drawing.Color.Transparent; this.Chart1.ChartAreas.Add(chartArea1); legend1.IsTextAutoFit = false; legend1.BackColor = System.Drawing.Color.Transparent; legend1.Enabled = false; legend1.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold); legend1.Name = "Default"; this.Chart1.Legends.Add(legend1); this.Chart1.Location = new System.Drawing.Point(16, 60); this.Chart1.Name = "Chart1"; this.Chart1.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.BrightPastel; series1.BorderColor = System.Drawing.Color.FromArgb(((System.Byte)(180)), ((System.Byte)(26)), ((System.Byte)(59)), ((System.Byte)(105))); series1.ChartArea = "Default"; series1.Color = System.Drawing.Color.FromArgb(((System.Byte)(194)), ((System.Byte)(65)), ((System.Byte)(140)), ((System.Byte)(240))); series1.CustomProperties = "LabelsRadialLineSize=1, LabelStyle=outside"; series1.Name = "Series1"; series1.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.DateTime; this.Chart1.Series.Add(series1); this.Chart1.Size = new System.Drawing.Size(412, 296); this.Chart1.TabIndex = 1; this.Chart1.Click += new System.EventHandler(this.Chart1_Click); // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.label1.Font = new System.Drawing.Font("Verdana", 11F); this.label1.Location = new System.Drawing.Point(16, 360); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(702, 68); this.label1.TabIndex = 3; this.label1.Text = "When \"X Values Indexed\" is checked the data point index (i.e the point\'s position" + " in the points collection), instead of the DateTime X value, determines the posi" + "tion of the data points along the x-axis."; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // TimeScale // this.BackColor = System.Drawing.Color.White; this.Controls.AddRange(new System.Windows.Forms.Control[] { this.label1, this.Chart1, this.panel1, this.label9 }); this.Font = new System.Drawing.Font("Verdana", 9F); this.Name = "TimeScale"; this.Size = new System.Drawing.Size(728, 480); this.Load += new System.EventHandler(this.TimeScale_Load); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.Chart1)).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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(AcountStates_Our)); System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); this.panel3 = new System.Windows.Forms.Panel(); this.dataGrid1 = new AM_Controls.DataGridV(); this.dataView1 = new System.Data.DataView(); this.dsClientsBalances1 = new BPS._Forms.dsClientsBalances(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.ColumnAccountID = new System.Windows.Forms.DataGridTextBoxColumn(); this.ColumnClientName = new System.Windows.Forms.DataGridTextBoxColumn(); this.ColumnTypeName = new System.Windows.Forms.DataGridTextBoxColumn(); this.ColumnSaldo = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.ColumnCurrencyID = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.toolBar1 = new System.Windows.Forms.ToolBar(); this.tbbStore = new System.Windows.Forms.ToolBarButton(); this.toolBarButton1 = new System.Windows.Forms.ToolBarButton(); this.tbbRefresh = new System.Windows.Forms.ToolBarButton(); this.toolBarButton7 = new System.Windows.Forms.ToolBarButton(); this.tbbApply = new System.Windows.Forms.ToolBarButton(); this.tbbReset = new System.Windows.Forms.ToolBarButton(); this.tbbClear = new System.Windows.Forms.ToolBarButton(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConnection1 = new System.Data.SqlClient.SqlConnection(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.mnuRefresh = new System.Windows.Forms.MenuItem(); this.daSetSaldo = new System.Data.SqlClient.SqlDataAdapter(); this.sqlUpdateCommand1 = new System.Data.SqlClient.SqlCommand(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsClientsBalances1)).BeginInit(); this.SuspendLayout(); // // panel3 // this.panel3.Controls.Add(this.dataGrid1); this.panel3.Controls.Add(this.groupBox1); this.panel3.Controls.Add(this.toolBar1); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(744, 481); this.panel3.TabIndex = 2; // // dataGrid1 // this.dataGrid1._CanEdit = false; this.dataGrid1._InvisibleColumn = 0; this.dataGrid1.CaptionVisible = false; this.dataGrid1.DataMember = ""; this.dataGrid1.DataSource = this.dataView1; this.dataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(0, 67); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.Size = new System.Drawing.Size(744, 414); this.dataGrid1.TabIndex = 0; this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); // // dataView1 // this.dataView1.AllowDelete = false; this.dataView1.AllowNew = false; this.dataView1.RowFilter = "Saldo<>0 OR SumReserved<>0 OR AccountTypeID=3 OR SumWaited<>0"; this.dataView1.Sort = "ClientID,AccountTypeID,CurrencyID"; this.dataView1.Table = this.dsClientsBalances1.Accounts; // // dsClientsBalances1 // this.dsClientsBalances1.DataSetName = "dsClientsBalances"; this.dsClientsBalances1.Locale = new System.Globalization.CultureInfo("ru-RU"); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.dataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.ColumnAccountID, this.ColumnClientName, this.ColumnTypeName, this.ColumnSaldo, this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.ColumnCurrencyID }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = "Accounts"; // // ColumnAccountID // this.ColumnAccountID.Format = "00000"; this.ColumnAccountID.FormatInfo = null; this.ColumnAccountID.HeaderText = "ID"; this.ColumnAccountID.MappingName = "AccountID"; this.ColumnAccountID.ReadOnly = true; this.ColumnAccountID.Width = 40; // // ColumnClientName // this.ColumnClientName.Format = ""; this.ColumnClientName.FormatInfo = null; this.ColumnClientName.HeaderText = "Владелец"; this.ColumnClientName.MappingName = "ClientName"; this.ColumnClientName.NullText = "-"; this.ColumnClientName.Width = 75; // // ColumnTypeName // this.ColumnTypeName.Format = ""; this.ColumnTypeName.FormatInfo = null; this.ColumnTypeName.HeaderText = "Тип Счёта"; this.ColumnTypeName.MappingName = "TypeName"; this.ColumnTypeName.ReadOnly = true; this.ColumnTypeName.Width = 120; // // ColumnSaldo // this.ColumnSaldo.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.ColumnSaldo.Format = "#,##0.00;;\"-\""; this.ColumnSaldo.FormatInfo = null; this.ColumnSaldo.HeaderText = "Сальдо"; this.ColumnSaldo.MappingName = "Saldo"; this.ColumnSaldo.NullText = "-"; this.ColumnSaldo.ReadOnly = true; this.ColumnSaldo.Width = 90; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.dataGridTextBoxColumn1.Format = "#,##0.00;;\"-\""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "Зарезервировано"; this.dataGridTextBoxColumn1.MappingName = "SumReserved"; this.dataGridTextBoxColumn1.NullText = "-"; this.dataGridTextBoxColumn1.ReadOnly = true; this.dataGridTextBoxColumn1.Width = 90; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.dataGridTextBoxColumn2.Format = "#,##0.00;;\"-\""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "Ожидается"; this.dataGridTextBoxColumn2.MappingName = "SumWaited"; this.dataGridTextBoxColumn2.NullText = "-"; this.dataGridTextBoxColumn2.ReadOnly = true; this.dataGridTextBoxColumn2.Width = 90; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.dataGridTextBoxColumn3.Format = "#,##0.00;;\"-\""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "Свободно"; this.dataGridTextBoxColumn3.MappingName = "DisposableSum"; this.dataGridTextBoxColumn3.ReadOnly = true; this.dataGridTextBoxColumn3.Width = 90; // // ColumnCurrencyID // this.ColumnCurrencyID.Format = ""; this.ColumnCurrencyID.FormatInfo = null; this.ColumnCurrencyID.HeaderText = "Валюта"; this.ColumnCurrencyID.MappingName = "CurrencyID"; this.ColumnCurrencyID.ReadOnly = true; this.ColumnCurrencyID.Width = 50; // // groupBox1 // this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 28); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(744, 39); this.groupBox1.TabIndex = 6; this.groupBox1.TabStop = false; this.groupBox1.Text = "Фильтр"; this.groupBox1.Visible = false; // // toolBar1 // this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.tbbStore, this.toolBarButton1, this.tbbRefresh, this.toolBarButton7, this.tbbApply, this.tbbReset, this.tbbClear }); this.toolBar1.ButtonSize = new System.Drawing.Size(90, 22); 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(744, 28); this.toolBar1.TabIndex = 5; this.toolBar1.TextAlign = System.Windows.Forms.ToolBarTextAlign.Right; this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick); // // tbbStore // this.tbbStore.ImageIndex = 4; this.tbbStore.Text = "Сохранить"; // // toolBarButton1 // this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // tbbRefresh // this.tbbRefresh.ImageIndex = 2; this.tbbRefresh.Text = "Обновить"; // // toolBarButton7 // this.toolBarButton7.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // tbbApply // this.tbbApply.ImageIndex = 6; this.tbbApply.Text = "Выбрать"; // // tbbReset // this.tbbReset.ImageIndex = 7; this.tbbReset.Text = "Cбросить"; // // tbbClear // this.tbbClear.ImageIndex = 5; this.tbbClear.Text = "Очистить"; // // imageList1 // this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; // // sqlDataAdapter1 // this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1; this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Accounts", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("ClientID", "ClientID"), new System.Data.Common.DataColumnMapping("ClientName", "ClientName"), new System.Data.Common.DataColumnMapping("AccountID", "AccountID"), new System.Data.Common.DataColumnMapping("TypeName", "TypeName"), new System.Data.Common.DataColumnMapping("CurrencyID", "CurrencyID"), new System.Data.Common.DataColumnMapping("Saldo", "Saldo"), new System.Data.Common.DataColumnMapping("AccountTypeID", "AccountTypeID"), new System.Data.Common.DataColumnMapping("SumReserved", "SumReserved"), new System.Data.Common.DataColumnMapping("SumWaited", "SumWaited"), new System.Data.Common.DataColumnMapping("DisposableSum", "DisposableSum"), new System.Data.Common.DataColumnMapping("ClientGroupName", "ClientGroupName") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "[SelAccounts_Our]"; this.sqlSelectCommand1.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand1.Connection = this.sqlConnection1; this.sqlSelectCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null)); this.sqlSelectCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@AccountType", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null)); // // sqlConnection1 // this.sqlConnection1.ConnectionString = ((string)(configurationAppSettings.GetValue("ConnectionString", typeof(string)))); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuRefresh }); this.menuItem1.Text = "Вид"; // // mnuRefresh // this.mnuRefresh.Index = 0; this.mnuRefresh.MergeOrder = 1; this.mnuRefresh.Shortcut = System.Windows.Forms.Shortcut.F5; this.mnuRefresh.Text = "Обновить"; this.mnuRefresh.Click += new System.EventHandler(this.mnuRefresh_Click); // // daSetSaldo // this.daSetSaldo.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Accounts", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("AccountID", "AccountID"), new System.Data.Common.DataColumnMapping("Saldo", "Saldo") }) }); this.daSetSaldo.UpdateCommand = this.sqlUpdateCommand1; // // sqlUpdateCommand1 // this.sqlUpdateCommand1.CommandText = "[SetSaldo]"; this.sqlUpdateCommand1.CommandType = System.Data.CommandType.StoredProcedure; this.sqlUpdateCommand1.Connection = this.sqlConnection1; this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((System.Byte)(0)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null)); this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Saldo", System.Data.SqlDbType.Float, 8, "Saldo")); this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_AccountID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "AccountID", System.Data.DataRowVersion.Original, null)); this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_Saldo", System.Data.SqlDbType.Float, 8, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "Saldo", System.Data.DataRowVersion.Original, null)); this.sqlUpdateCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@AccountID", System.Data.SqlDbType.Int, 4, "AccountID")); // // AcountStates_Our // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(744, 481); this.Controls.Add(this.panel3); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this.mainMenu1; this.Name = "AcountStates_Our"; this.Text = "Наши счета"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Closing += new System.ComponentModel.CancelEventHandler(this.AcountStates_Our_Closing); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsClientsBalances1)).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.SiparisdataGrid = 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.Kapat = new System.Windows.Forms.Button(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.SiparisNoTextBox = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.Tutar = new System.Windows.Forms.Label(); // // SiparisdataGrid // this.SiparisdataGrid.Size = new System.Drawing.Size(240, 208); this.SiparisdataGrid.TableStyles.Add(this.dataGridTableStyle1); this.SiparisdataGrid.Text = "dataGrid1"; this.SiparisdataGrid.MouseDown += new System.Windows.Forms.MouseEventHandler(this.SiparisdataGrid_MouseDown); // // dataGridTableStyle1 // this.dataGridTableStyle1.GridColumnStyles.Add(this.dataGridTextBoxColumn1); this.dataGridTableStyle1.GridColumnStyles.Add(this.dataGridTextBoxColumn2); this.dataGridTableStyle1.GridColumnStyles.Add(this.dataGridTextBoxColumn3); this.dataGridTableStyle1.GridColumnStyles.Add(this.dataGridTextBoxColumn4); this.dataGridTableStyle1.GridColumnStyles.Add(this.dataGridTextBoxColumn5); this.dataGridTableStyle1.MappingName = "Siparisler"; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.HeaderText = "Sicil Adý"; this.dataGridTextBoxColumn1.MappingName = "Sicil_Adi"; this.dataGridTextBoxColumn1.NullText = "(null)"; this.dataGridTextBoxColumn1.Width = 75; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.HeaderText = "Miktar"; this.dataGridTextBoxColumn2.MappingName = "Miktar"; this.dataGridTextBoxColumn2.NullText = "(null)"; this.dataGridTextBoxColumn2.Width = 40; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.HeaderText = "Birim"; this.dataGridTextBoxColumn3.MappingName = "Birim"; this.dataGridTextBoxColumn3.NullText = "(null)"; this.dataGridTextBoxColumn3.Width = 40; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.HeaderText = "Tutar"; this.dataGridTextBoxColumn4.MappingName = "Tutar"; this.dataGridTextBoxColumn4.NullText = "(null)"; this.dataGridTextBoxColumn4.Width = 45; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.MappingName = "siparisdetay_no"; this.dataGridTextBoxColumn5.NullText = "(null)"; this.dataGridTextBoxColumn5.Width = 0; // // Kapat // this.Kapat.Location = new System.Drawing.Point(168, 248); this.Kapat.Text = "Kapat"; this.Kapat.Click += new System.EventHandler(this.Kapat_Click); // // mainMenu1 // this.mainMenu1.MenuItems.Add(this.menuItem1); // // menuItem1 // this.menuItem1.Enabled = false; this.menuItem1.Text = "SEÇÝLÝ SÝPARÝÞ"; // // SiparisNoTextBox // this.SiparisNoTextBox.Location = new System.Drawing.Point(56, 244); this.SiparisNoTextBox.Text = ""; this.SiparisNoTextBox.Visible = false; // // label1 // this.label1.Location = new System.Drawing.Point(160, 216); this.label1.Size = new System.Drawing.Size(80, 20); // // Tutar // this.Tutar.Location = new System.Drawing.Point(116, 216); this.Tutar.Size = new System.Drawing.Size(36, 20); this.Tutar.Text = "Tutar"; // // SiparisRaporlar // this.BackColor = System.Drawing.Color.Silver; this.ControlBox = false; this.Controls.Add(this.Tutar); this.Controls.Add(this.label1); this.Controls.Add(this.SiparisNoTextBox); this.Controls.Add(this.Kapat); this.Controls.Add(this.SiparisdataGrid); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 7F, System.Drawing.FontStyle.Regular); this.Menu = this.mainMenu1; this.Text = "SiparisRaporlar"; this.Load += new System.EventHandler(this.SiparisRaporlar_Load); }