| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Text;
- using System.Windows.Forms;
- using CoreFS.CA06;
- namespace Core.StrMes.Client.ForgeJobPlan
- {
- public partial class frmForgeJobPlanAdjust : FrmBase
- {
- public frmForgeJobPlanAdjust()
- {
- InitializeComponent();
- }
- private void ultragridForgeJobPlan_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
- {
- }
- private void frmForgeJobPlan_Load(object sender, EventArgs e)
- {
- dsForgeJobPlan.Tables[0].Rows.Add(new object[] { "15100001", "1", "下发", "150001", "1", "15000101", "Q235B", "280", "6000" });
- dsForgeJobPlan.Tables[1].Rows.Add(new object[] { "15100001", "1", "下发", "150001", "153000101", "1530001", "Q235B" });
- dsForgeJobPlan.Tables[1].Rows.Add(new object[] { "15100001", "2", "下发", "150001", "153000102", "1530001", "Q235B" });
- dsForgeJobPlan.Tables[1].Rows.Add(new object[] { "15100001", "3", "下发", "150001", "153000103", "1530001", "Q235B" });
- dsForgeJobPlan.Tables[1].Rows.Add(new object[] { "15100001", "4", "下发", "150001", "153000104", "1530001", "Q235B" });
- }
- public override void ToolBar_Click(object sender, string ToolbarKey)
- {
- switch (ToolbarKey)
- {
- case "Edit":
- frmForgeJobPlanDesign frmZPF = new frmForgeJobPlanDesign();
- frmZPF.StartPosition = FormStartPosition.CenterScreen;
- frmZPF.Tag = this;
- frmZPF.ShowDialog(this);
- break;
- case "Close":
- this.Close();
- break;
- default:
- break;
- }
- }
- }
- }
|