コード例 #1
0
        private Control InitRelationList()
        {
            SortableListView view = new SortableListView {
                SmallImageList = ClientData.MyImageList.imageList
            };
            ColumnHeader header  = new ColumnHeader();
            ColumnHeader header2 = new ColumnHeader();
            ColumnHeader header3 = new ColumnHeader();

            view.AllowColumnReorder = true;
            view.BorderStyle        = BorderStyle.FixedSingle;
            view.Columns.AddRange(new ColumnHeader[] { header, header2, header3 });
            view.FullRowSelect = true;
            view.HideSelection = false;
            view.MultiSelect   = false;
            view.Activation    = ItemActivation.TwoClick;
            view.Size          = new Size(0x13b, 0x88);
            view.View          = View.Details;
            view.ItemActivate += new EventHandler(this.lvwRelations_ItemActivate);
            header.Text        = "关联名称";
            header.Width       = 0x80;
            header2.Text       = "左对象";
            header2.Width      = 0x63;
            header3.Text       = "右对象";
            header3.Width      = 80;
            return(view);
        }
コード例 #2
0
ファイル: OverviewPage.cs プロジェクト: nunoetome/ht-history
        private static void RemoveColumnsAndItems(SortableListView listView)
        {
            for (int i = 0; i < listView.Columns.Count; ++i)
            {
                listView.SetSorter(i, null);
            }

            listView.Items.Clear();
            listView.Columns.Clear();
        }
コード例 #3
0
 private void ultraEditor_BeforeEditorButtonDropDown(object sender, BeforeEditorButtonDropDownEventArgs e)
 {
     if ((this.txtField.Tag != null) && (this.txtField.Text != ""))
     {
         DropDownEditorButton button  = this.ultraEditor.ButtonsRight["SelectedRel"] as DropDownEditorButton;
         SortableListView     control = button.Control as SortableListView;
         if (!this.readOnly && !ModelContext.MetaModel.IsChild("PPCARD", this.txtField.Tag.ToString()))
         {
             this.CreateRelationList(control, (string)this.txtField.Tag);
         }
     }
 }
コード例 #4
0
        protected override void Init()
        {
            var statusLabel = new Label();
            var actionLabel = new Label();
            var Items       = new ObservableCollection <string>
            {
                "drag",
                "and",
                "drop",
                "me",
                "please"
            };

            BindingContext = Items;

            Items.CollectionChanged += (_, e) =>
            {
                statusLabel.Text = "Success";
                var log = $"<{DateTime.Now.ToString("T")}> {e.Action} action fired.";
                actionLabel.Text += $"{log}{Environment.NewLine}";
                System.Diagnostics.Debug.WriteLine(log);
            };
            Items.RemoveAt(4);
            Items.Move(0, 1);

            var listView = new SortableListView();

            listView.SetBinding(ListView.ItemsSourceProperty, ".");

            Content = new StackLayout
            {
                Children =
                {
                    statusLabel,
                    new Button {
                        Text    = "Move items",
                        Command = new Command(() =>
                        {
                            actionLabel.Text = string.Empty;
                            statusLabel.Text = "Failed";
                            Items.Move(0, 1);
                        })
                    },
                    listView,
                    new ListView(),
                    actionLabel
                }
            };
        }
コード例 #5
0
        private void lvwRelations_ItemActivate(object sender, EventArgs e)
        {
            SortableListView view = sender as SortableListView;

            if ((view.SelectedItems.Count >= 1) && (view.SelectedItems[0].Tag is DEMetaRelation))
            {
                this.ultraEditor.Text = ((DEMetaRelation)view.SelectedItems[0].Tag).Label;
                this.ultraEditor.Tag  = ((DEMetaRelation)view.SelectedItems[0].Tag).Name;
                bool needClearRel = this.needClearRel;
                this.needClearRel = false;
                this.DisplayAttributes(this.tvwType.SelectedNode);
                this.needClearRel   = needClearRel;
                view.Parent.Visible = false;
                this.SmartSelectAttr();
            }
        }
コード例 #6
0
ファイル: OverviewPage.cs プロジェクト: nunoetome/ht-history
        private void AddConfiguredColumns(SortableListView listview)
        {
            bool first = true;

            foreach (var s in _stats.SafeEnum())
            {
                var ch = new ColumnHeader()
                {
                    Name      = string.Format("playerStatShort_{0}", s.Identifier),
                    Text      = s.Abbreviation,
                    TextAlign = HorizontalAlignment.Left,
                    Width     = first ? 150 : 60,
                    Tag       = s
                };
                listview.Columns.Add(ch);
                listview.SetSorter(ch.Index, SortableListView.TagSorter(s.GetComparer()));
                first = false;
            }
        }
コード例 #7
0
        private void CreateRelationList(SortableListView lv, string rightClassName)
        {
            int       iconIndex             = ClientData.MyImageList.GetIconIndex("ICO_DMM_RELATION");
            ArrayList relationsByRightClass = this.GetRelationsByRightClass(rightClassName);

            lv.Items.Clear();
            foreach (DEMetaRelation relation in relationsByRightClass)
            {
                ListViewItem item = new ListViewItem(relation.Label, iconIndex)
                {
                    SubItems =
                    {
                        relation.LeftClassLabel,
                        relation.RightClassLabel
                    },
                    Tag = relation
                };
                lv.Items.Add(item);
            }
        }
コード例 #8
0
ファイル: UcTsdItem.cs プロジェクト: DFSTW/DQArchivManage
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.tbCtrlTsdBom = new System.Windows.Forms.TabControl();
     this.tPTsInfo = new System.Windows.Forms.TabPage();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.panel1 = new System.Windows.Forms.Panel();
     this.panel2 = new System.Windows.Forms.Panel();
     this.btnAddBPM = new System.Windows.Forms.Button();
     this.btnClose = new System.Windows.Forms.Button();
     this.btnToSent = new System.Windows.Forms.Button();
     this.btnApp = new System.Windows.Forms.Button();
     this.btnToPrint = new System.Windows.Forms.Button();
     this.lvwRleItems = new Thyt.TiPLM.UIL.Common.SortableListView();
     this.tPTsBomDocId = new System.Windows.Forms.TabPage();
     this.lvwTsdBomEdit = new Thyt.TiPLM.UIL.Common.SortableListView();
     this.pnlEditTsdBom = new System.Windows.Forms.Panel();
     this.chkUseHelp = new System.Windows.Forms.CheckBox();
     this.chkFilter = new System.Windows.Forms.CheckBox();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.label22 = new System.Windows.Forms.Label();
     this.txtUnit = new System.Windows.Forms.ComboBox();
     this.txtNumFs = new System.Windows.Forms.NumericUpDown();
     this.label23 = new System.Windows.Forms.Label();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.txtNumMtZs = new System.Windows.Forms.NumericUpDown();
     this.label2 = new System.Windows.Forms.Label();
     this.label20 = new System.Windows.Forms.Label();
     this.txtDocCode = new System.Windows.Forms.ComboBox();
     this.btnDelBomItem = new System.Windows.Forms.Button();
     this.btnSaveBomItem = new System.Windows.Forms.Button();
     this.btnAddBomItem = new System.Windows.Forms.Button();
     this.cMenuDelRel = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.D_DEL_TSD_BOM = new System.Windows.Forms.ToolStripMenuItem();
     this.tbCtrlTsdBom.SuspendLayout();
     this.tPTsInfo.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.tPTsBomDocId.SuspendLayout();
     this.pnlEditTsdBom.SuspendLayout();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txtNumFs)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txtNumMtZs)).BeginInit();
     this.cMenuDelRel.SuspendLayout();
     this.SuspendLayout();
     //
     // tbCtrlTsdBom
     //
     this.tbCtrlTsdBom.Controls.Add(this.tPTsInfo);
     this.tbCtrlTsdBom.Controls.Add(this.tPTsBomDocId);
     this.tbCtrlTsdBom.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tbCtrlTsdBom.Location = new System.Drawing.Point(0, 0);
     this.tbCtrlTsdBom.Margin = new System.Windows.Forms.Padding(4);
     this.tbCtrlTsdBom.Name = "tbCtrlTsdBom";
     this.tbCtrlTsdBom.SelectedIndex = 0;
     this.tbCtrlTsdBom.Size = new System.Drawing.Size(1041, 531);
     this.tbCtrlTsdBom.TabIndex = 1;
     //
     // tPTsInfo
     //
     this.tPTsInfo.Controls.Add(this.splitContainer1);
     this.tPTsInfo.Location = new System.Drawing.Point(4, 25);
     this.tPTsInfo.Margin = new System.Windows.Forms.Padding(4);
     this.tPTsInfo.Name = "tPTsInfo";
     this.tPTsInfo.Padding = new System.Windows.Forms.Padding(4);
     this.tPTsInfo.Size = new System.Drawing.Size(1033, 502);
     this.tPTsInfo.TabIndex = 0;
     this.tPTsInfo.Text = "托晒单详细信息";
     this.tPTsInfo.UseVisualStyleBackColor = true;
     //
     // splitContainer1
     //
     this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location = new System.Drawing.Point(4, 4);
     this.splitContainer1.Margin = new System.Windows.Forms.Padding(4);
     this.splitContainer1.Name = "splitContainer1";
     this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.groupBox3);
     this.splitContainer1.Panel1.Controls.Add(this.panel1);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.lvwRleItems);
     this.splitContainer1.Size = new System.Drawing.Size(1025, 494);
     this.splitContainer1.SplitterDistance = 245;
     this.splitContainer1.SplitterWidth = 5;
     this.splitContainer1.TabIndex = 0;
     //
     // groupBox3
     //
     this.groupBox3.BackColor = System.Drawing.Color.WhiteSmoke;
     this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupBox3.Location = new System.Drawing.Point(0, 58);
     this.groupBox3.Margin = new System.Windows.Forms.Padding(4);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Padding = new System.Windows.Forms.Padding(4);
     this.groupBox3.Size = new System.Drawing.Size(1025, 187);
     this.groupBox3.TabIndex = 1;
     this.groupBox3.TabStop = false;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Controls.Add(this.btnAddBPM);
     this.panel1.Controls.Add(this.btnClose);
     this.panel1.Controls.Add(this.btnToSent);
     this.panel1.Controls.Add(this.btnApp);
     this.panel1.Controls.Add(this.btnToPrint);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Margin = new System.Windows.Forms.Padding(4);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(1025, 58);
     this.panel1.TabIndex = 0;
     //
     // panel2
     //
     this.panel2.Location = new System.Drawing.Point(17, 10);
     this.panel2.Margin = new System.Windows.Forms.Padding(4);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(255, 40);
     this.panel2.TabIndex = 34;
     //
     // btnAddBPM
     //
     this.btnAddBPM.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.btnAddBPM.Location = new System.Drawing.Point(280, 12);
     this.btnAddBPM.Margin = new System.Windows.Forms.Padding(4);
     this.btnAddBPM.Name = "btnAddBPM";
     this.btnAddBPM.Size = new System.Drawing.Size(100, 29);
     this.btnAddBPM.TabIndex = 32;
     this.btnAddBPM.Text = "添加流程";
     this.btnAddBPM.UseVisualStyleBackColor = true;
     this.btnAddBPM.Click += new System.EventHandler(this.btnAddBPM_Click);
     //
     // btnClose
     //
     this.btnClose.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.btnClose.Location = new System.Drawing.Point(782, 12);
     this.btnClose.Margin = new System.Windows.Forms.Padding(4);
     this.btnClose.Name = "btnClose";
     this.btnClose.Size = new System.Drawing.Size(100, 29);
     this.btnClose.TabIndex = 29;
     this.btnClose.Text = "关  闭";
     this.btnClose.UseVisualStyleBackColor = true;
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
     //
     // btnToSent
     //
     this.btnToSent.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.btnToSent.Location = new System.Drawing.Point(401, 12);
     this.btnToSent.Margin = new System.Windows.Forms.Padding(4);
     this.btnToSent.Name = "btnToSent";
     this.btnToSent.Size = new System.Drawing.Size(100, 29);
     this.btnToSent.TabIndex = 30;
     this.btnToSent.Text = "回  收";
     this.btnToSent.UseVisualStyleBackColor = true;
     this.btnToSent.Click += new System.EventHandler(this.btnToSent_Click);
     //
     // btnApp
     //
     this.btnApp.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.btnApp.Location = new System.Drawing.Point(658, 12);
     this.btnApp.Margin = new System.Windows.Forms.Padding(4);
     this.btnApp.Name = "btnApp";
     this.btnApp.Size = new System.Drawing.Size(100, 29);
     this.btnApp.TabIndex = 28;
     this.btnApp.Text = "应  用";
     this.btnApp.UseVisualStyleBackColor = true;
     this.btnApp.Click += new System.EventHandler(this.btnApp_Click);
     //
     // btnToPrint
     //
     this.btnToPrint.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.btnToPrint.Location = new System.Drawing.Point(529, 12);
     this.btnToPrint.Margin = new System.Windows.Forms.Padding(4);
     this.btnToPrint.Name = "btnToPrint";
     this.btnToPrint.Size = new System.Drawing.Size(100, 29);
     this.btnToPrint.TabIndex = 27;
     this.btnToPrint.Text = "发送打印";
     this.btnToPrint.UseVisualStyleBackColor = true;
     this.btnToPrint.Click += new System.EventHandler(this.btnToPrint_Click);
     //
     // lvwRleItems
     //
     this.lvwRleItems.AllowDrop = true;
     this.lvwRleItems.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lvwRleItems.FullRowSelect = true;
     this.lvwRleItems.HideSelection = false;
     this.lvwRleItems.Location = new System.Drawing.Point(0, 0);
     this.lvwRleItems.Margin = new System.Windows.Forms.Padding(4);
     this.lvwRleItems.Name = "lvwRleItems";
     this.lvwRleItems.Size = new System.Drawing.Size(1025, 244);
     this.lvwRleItems.SortingOrder = System.Windows.Forms.SortOrder.None;
     this.lvwRleItems.TabIndex = 0;
     this.lvwRleItems.UseCompatibleStateImageBehavior = false;
     this.lvwRleItems.View = System.Windows.Forms.View.Details;
     this.lvwRleItems.DragDrop += new System.Windows.Forms.DragEventHandler(this.lvwRleItems_DragDrop);
     this.lvwRleItems.DragEnter += new System.Windows.Forms.DragEventHandler(this.lvwRleItems_DragEnter);
     this.lvwRleItems.DoubleClick += new System.EventHandler(this.lvwRleItems_DoubleClick);
     this.lvwRleItems.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lvwRleItems_MouseUp);
     //
     // tPTsBomDocId
     //
     this.tPTsBomDocId.BackColor = System.Drawing.Color.WhiteSmoke;
     this.tPTsBomDocId.Controls.Add(this.lvwTsdBomEdit);
     this.tPTsBomDocId.Controls.Add(this.pnlEditTsdBom);
     this.tPTsBomDocId.Location = new System.Drawing.Point(4, 25);
     this.tPTsBomDocId.Margin = new System.Windows.Forms.Padding(4);
     this.tPTsBomDocId.Name = "tPTsBomDocId";
     this.tPTsBomDocId.Padding = new System.Windows.Forms.Padding(4);
     this.tPTsBomDocId.Size = new System.Drawing.Size(1033, 502);
     this.tPTsBomDocId.TabIndex = 1;
     this.tPTsBomDocId.Text = "图号托晒明细";
     //
     // lvwTsdBomEdit
     //
     this.lvwTsdBomEdit.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lvwTsdBomEdit.FullRowSelect = true;
     this.lvwTsdBomEdit.HideSelection = false;
     this.lvwTsdBomEdit.Location = new System.Drawing.Point(4, 4);
     this.lvwTsdBomEdit.Margin = new System.Windows.Forms.Padding(4);
     this.lvwTsdBomEdit.Name = "lvwTsdBomEdit";
     this.lvwTsdBomEdit.Size = new System.Drawing.Size(1025, 385);
     this.lvwTsdBomEdit.SortingOrder = System.Windows.Forms.SortOrder.None;
     this.lvwTsdBomEdit.TabIndex = 4;
     this.lvwTsdBomEdit.UseCompatibleStateImageBehavior = false;
     this.lvwTsdBomEdit.View = System.Windows.Forms.View.Details;
     this.lvwTsdBomEdit.SelectedIndexChanged += new System.EventHandler(this.lvwTsdBomEdit_SelectedIndexChanged);
     //
     // pnlEditTsdBom
     //
     this.pnlEditTsdBom.Controls.Add(this.chkUseHelp);
     this.pnlEditTsdBom.Controls.Add(this.chkFilter);
     this.pnlEditTsdBom.Controls.Add(this.groupBox2);
     this.pnlEditTsdBom.Controls.Add(this.groupBox1);
     this.pnlEditTsdBom.Controls.Add(this.btnDelBomItem);
     this.pnlEditTsdBom.Controls.Add(this.btnSaveBomItem);
     this.pnlEditTsdBom.Controls.Add(this.btnAddBomItem);
     this.pnlEditTsdBom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.pnlEditTsdBom.Location = new System.Drawing.Point(4, 389);
     this.pnlEditTsdBom.Margin = new System.Windows.Forms.Padding(4);
     this.pnlEditTsdBom.Name = "pnlEditTsdBom";
     this.pnlEditTsdBom.Size = new System.Drawing.Size(1025, 109);
     this.pnlEditTsdBom.TabIndex = 3;
     //
     // chkUseHelp
     //
     this.chkUseHelp.AutoSize = true;
     this.chkUseHelp.Location = new System.Drawing.Point(572, 66);
     this.chkUseHelp.Margin = new System.Windows.Forms.Padding(4);
     this.chkUseHelp.Name = "chkUseHelp";
     this.chkUseHelp.Size = new System.Drawing.Size(104, 19);
     this.chkUseHelp.TabIndex = 23;
     this.chkUseHelp.Text = "二次图数量";
     this.chkUseHelp.UseVisualStyleBackColor = true;
     //
     // chkFilter
     //
     this.chkFilter.AutoSize = true;
     this.chkFilter.Location = new System.Drawing.Point(572, 32);
     this.chkFilter.Margin = new System.Windows.Forms.Padding(4);
     this.chkFilter.Name = "chkFilter";
     this.chkFilter.Size = new System.Drawing.Size(59, 19);
     this.chkFilter.TabIndex = 22;
     this.chkFilter.Text = "过滤";
     this.chkFilter.UseVisualStyleBackColor = true;
     this.chkFilter.CheckedChanged += new System.EventHandler(this.chkFilter_CheckedChanged);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.label22);
     this.groupBox2.Controls.Add(this.txtUnit);
     this.groupBox2.Controls.Add(this.txtNumFs);
     this.groupBox2.Controls.Add(this.label23);
     this.groupBox2.Location = new System.Drawing.Point(300, 4);
     this.groupBox2.Margin = new System.Windows.Forms.Padding(4);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Padding = new System.Windows.Forms.Padding(4);
     this.groupBox2.Size = new System.Drawing.Size(255, 101);
     this.groupBox2.TabIndex = 21;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "按单位编辑";
     //
     // label22
     //
     this.label22.AutoSize = true;
     this.label22.Location = new System.Drawing.Point(8, 26);
     this.label22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label22.Name = "label22";
     this.label22.Size = new System.Drawing.Size(37, 15);
     this.label22.TabIndex = 4;
     this.label22.Text = "单位";
     //
     // txtUnit
     //
     this.txtUnit.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.txtUnit.FormattingEnabled = true;
     this.txtUnit.Location = new System.Drawing.Point(55, 26);
     this.txtUnit.Margin = new System.Windows.Forms.Padding(4);
     this.txtUnit.Name = "txtUnit";
     this.txtUnit.Size = new System.Drawing.Size(176, 23);
     this.txtUnit.TabIndex = 14;
     this.txtUnit.SelectedIndexChanged += new System.EventHandler(this.txtUnit_SelectedIndexChanged);
     //
     // txtNumFs
     //
     this.txtNumFs.Location = new System.Drawing.Point(55, 62);
     this.txtNumFs.Margin = new System.Windows.Forms.Padding(4);
     this.txtNumFs.Maximum = new decimal(new int[] {
     1000,
     0,
     0,
     0});
     this.txtNumFs.Name = "txtNumFs";
     this.txtNumFs.Size = new System.Drawing.Size(177, 25);
     this.txtNumFs.TabIndex = 8;
     this.txtNumFs.Value = new decimal(new int[] {
     1,
     0,
     0,
     0});
     //
     // label23
     //
     this.label23.AutoSize = true;
     this.label23.Location = new System.Drawing.Point(9, 70);
     this.label23.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label23.Name = "label23";
     this.label23.Size = new System.Drawing.Size(37, 15);
     this.label23.TabIndex = 6;
     this.label23.Text = "份数";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.txtNumMtZs);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.label20);
     this.groupBox1.Controls.Add(this.txtDocCode);
     this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left;
     this.groupBox1.Location = new System.Drawing.Point(0, 0);
     this.groupBox1.Margin = new System.Windows.Forms.Padding(4);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Padding = new System.Windows.Forms.Padding(4);
     this.groupBox1.Size = new System.Drawing.Size(292, 109);
     this.groupBox1.TabIndex = 19;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "托晒明细属性";
     //
     // txtNumMtZs
     //
     this.txtNumMtZs.Location = new System.Drawing.Point(81, 65);
     this.txtNumMtZs.Margin = new System.Windows.Forms.Padding(4);
     this.txtNumMtZs.Maximum = new decimal(new int[] {
     1000,
     0,
     0,
     0});
     this.txtNumMtZs.Name = "txtNumMtZs";
     this.txtNumMtZs.Size = new System.Drawing.Size(189, 25);
     this.txtNumMtZs.TabIndex = 21;
     this.txtNumMtZs.Value = new decimal(new int[] {
     1,
     0,
     0,
     0});
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(12, 71);
     this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(67, 15);
     this.label2.TabIndex = 20;
     this.label2.Text = "每份张数";
     //
     // label20
     //
     this.label20.AutoSize = true;
     this.label20.Location = new System.Drawing.Point(8, 30);
     this.label20.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label20.Name = "label20";
     this.label20.Size = new System.Drawing.Size(37, 15);
     this.label20.TabIndex = 0;
     this.label20.Text = "图号";
     //
     // txtDocCode
     //
     this.txtDocCode.FormattingEnabled = true;
     this.txtDocCode.Location = new System.Drawing.Point(81, 30);
     this.txtDocCode.Margin = new System.Windows.Forms.Padding(4);
     this.txtDocCode.Name = "txtDocCode";
     this.txtDocCode.Size = new System.Drawing.Size(188, 23);
     this.txtDocCode.TabIndex = 13;
     this.txtDocCode.SelectedIndexChanged += new System.EventHandler(this.txtDocCode_SelectedIndexChanged);
     //
     // btnDelBomItem
     //
     this.btnDelBomItem.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.btnDelBomItem.Location = new System.Drawing.Point(907, 80);
     this.btnDelBomItem.Margin = new System.Windows.Forms.Padding(4);
     this.btnDelBomItem.Name = "btnDelBomItem";
     this.btnDelBomItem.Size = new System.Drawing.Size(100, 29);
     this.btnDelBomItem.TabIndex = 18;
     this.btnDelBomItem.Text = "删除";
     this.btnDelBomItem.UseVisualStyleBackColor = true;
     this.btnDelBomItem.Click += new System.EventHandler(this.btnDelBomItem_Click);
     //
     // btnSaveBomItem
     //
     this.btnSaveBomItem.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.btnSaveBomItem.Location = new System.Drawing.Point(907, 44);
     this.btnSaveBomItem.Margin = new System.Windows.Forms.Padding(4);
     this.btnSaveBomItem.Name = "btnSaveBomItem";
     this.btnSaveBomItem.Size = new System.Drawing.Size(100, 29);
     this.btnSaveBomItem.TabIndex = 17;
     this.btnSaveBomItem.Text = "修改";
     this.btnSaveBomItem.UseVisualStyleBackColor = true;
     this.btnSaveBomItem.Click += new System.EventHandler(this.btnSaveBomItem_Click);
     //
     // btnAddBomItem
     //
     this.btnAddBomItem.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.btnAddBomItem.Location = new System.Drawing.Point(907, 8);
     this.btnAddBomItem.Margin = new System.Windows.Forms.Padding(4);
     this.btnAddBomItem.Name = "btnAddBomItem";
     this.btnAddBomItem.Size = new System.Drawing.Size(100, 29);
     this.btnAddBomItem.TabIndex = 16;
     this.btnAddBomItem.Text = "添加";
     this.btnAddBomItem.UseVisualStyleBackColor = true;
     this.btnAddBomItem.Click += new System.EventHandler(this.btnAddBomItem_Click);
     //
     // cMenuDelRel
     //
     this.cMenuDelRel.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.D_DEL_TSD_BOM});
     this.cMenuDelRel.Name = "cMenuDelRel";
     this.cMenuDelRel.Size = new System.Drawing.Size(139, 28);
     this.cMenuDelRel.Opening += new System.ComponentModel.CancelEventHandler(this.cMenuDelRel_Opening);
     //
     // D_DEL_TSD_BOM
     //
     this.D_DEL_TSD_BOM.Name = "D_DEL_TSD_BOM";
     this.D_DEL_TSD_BOM.Size = new System.Drawing.Size(138, 24);
     this.D_DEL_TSD_BOM.Text = "移除文档";
     this.D_DEL_TSD_BOM.Click += new System.EventHandler(this.D_DEL_TSD_BOM_Click);
     //
     // UcTsdItem
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.tbCtrlTsdBom);
     this.Margin = new System.Windows.Forms.Padding(4);
     this.Name = "UcTsdItem";
     this.Size = new System.Drawing.Size(1041, 531);
     this.Load += new System.EventHandler(this.UcTsdItem_Load);
     this.tbCtrlTsdBom.ResumeLayout(false);
     this.tPTsInfo.ResumeLayout(false);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.tPTsBomDocId.ResumeLayout(false);
     this.pnlEditTsdBom.ResumeLayout(false);
     this.pnlEditTsdBom.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txtNumFs)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txtNumMtZs)).EndInit();
     this.cMenuDelRel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #9
0
ファイル: UcPrintItem.cs プロジェクト: DFSTW/DQArchivManage
 private void InitializeComponent()
 {
     this.panel1         = new Panel();
     this.txtDesc        = new TextBox();
     this.label7         = new Label();
     this.btnClose       = new Button();
     this.btnPrintEnd    = new Button();
     this.btnPrintCancel = new Button();
     this.txtStatus      = new TextBox();
     this.label6         = new Label();
     this.txtNumZs       = new TextBox();
     this.label5         = new Label();
     this.txtNumFs       = new TextBox();
     this.label4         = new Label();
     this.txtDocRev      = new TextBox();
     this.txtDocName     = new TextBox();
     this.label3         = new Label();
     this.label2         = new Label();
     this.txtDocCode     = new TextBox();
     this.label1         = new Label();
     this.lvwPrintBom    = new SortableListView();
     this.panel1.SuspendLayout();
     base.SuspendLayout();
     this.panel1.Controls.Add(this.txtDesc);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.btnClose);
     this.panel1.Controls.Add(this.btnPrintEnd);
     this.panel1.Controls.Add(this.btnPrintCancel);
     this.panel1.Controls.Add(this.txtStatus);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.txtNumZs);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.txtNumFs);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.txtDocRev);
     this.panel1.Controls.Add(this.txtDocName);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.txtDocCode);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Dock       = DockStyle.Bottom;
     this.panel1.Location   = new Point(0, 0x131);
     this.panel1.Name       = "panel1";
     this.panel1.Size       = new Size(0x2b9, 0x7a);
     this.panel1.TabIndex   = 0;
     this.txtDesc.Location  = new Point(0x3e, 80);
     this.txtDesc.MaxLength = 500;
     this.txtDesc.Name      = "txtDesc";
     this.txtDesc.ReadOnly  = true;
     this.txtDesc.Size      = new Size(0x1ca, 0x15);
     this.txtDesc.TabIndex  = 0x10;
     this.label7.AutoSize   = true;
     this.label7.Location   = new Point(3, 0x55);
     this.label7.Name       = "label7";
     this.label7.Size       = new Size(0x35, 12);
     this.label7.TabIndex   = 15;
     this.label7.Text       = "发放说明";
     this.btnClose.Anchor   = AnchorStyles.Right;
     this.btnClose.Location = new Point(0x255, 0x4c);
     this.btnClose.Name     = "btnClose";
     this.btnClose.Size     = new Size(0x4b, 0x17);
     this.btnClose.TabIndex = 14;
     this.btnClose.Text     = "关  闭";
     this.btnClose.UseVisualStyleBackColor = true;
     this.btnClose.Click      += new EventHandler(this.btnClose_Click);
     this.btnPrintEnd.Anchor   = AnchorStyles.Right;
     this.btnPrintEnd.Location = new Point(0x255, 0x2e);
     this.btnPrintEnd.Name     = "btnPrintEnd";
     this.btnPrintEnd.Size     = new Size(0x4b, 0x17);
     this.btnPrintEnd.TabIndex = 13;
     this.btnPrintEnd.Text     = "打印完成";
     this.btnPrintEnd.UseVisualStyleBackColor = true;
     this.btnPrintEnd.Click      += new EventHandler(this.btnPrintEnd_Click);
     this.btnPrintCancel.Anchor   = AnchorStyles.Right;
     this.btnPrintCancel.Location = new Point(0x255, 0x10);
     this.btnPrintCancel.Name     = "btnPrintCancel";
     this.btnPrintCancel.Size     = new Size(0x4b, 0x17);
     this.btnPrintCancel.TabIndex = 12;
     this.btnPrintCancel.Text     = "取消打印";
     this.btnPrintCancel.UseVisualStyleBackColor = true;
     this.btnPrintCancel.Click     += new EventHandler(this.btnPrintCancel_Click);
     this.txtStatus.Location        = new Point(0x3e, 0x30);
     this.txtStatus.Name            = "txtStatus";
     this.txtStatus.ReadOnly        = true;
     this.txtStatus.Size            = new Size(0x8f, 0x15);
     this.txtStatus.TabIndex        = 11;
     this.label6.AutoSize           = true;
     this.label6.Location           = new Point(0x1b, 0x33);
     this.label6.Name               = "label6";
     this.label6.Size               = new Size(0x1d, 12);
     this.label6.TabIndex           = 10;
     this.label6.Text               = "状态";
     this.txtNumZs.Location         = new Point(420, 0x2d);
     this.txtNumZs.Name             = "txtNumZs";
     this.txtNumZs.ReadOnly         = true;
     this.txtNumZs.Size             = new Size(100, 0x15);
     this.txtNumZs.TabIndex         = 9;
     this.label5.AutoSize           = true;
     this.label5.Location           = new Point(0x181, 0x33);
     this.label5.Name               = "label5";
     this.label5.Size               = new Size(0x1d, 12);
     this.label5.TabIndex           = 8;
     this.label5.Text               = "张数";
     this.txtNumFs.Location         = new Point(0xf6, 0x30);
     this.txtNumFs.Name             = "txtNumFs";
     this.txtNumFs.ReadOnly         = true;
     this.txtNumFs.Size             = new Size(0x85, 0x15);
     this.txtNumFs.TabIndex         = 7;
     this.label4.AutoSize           = true;
     this.label4.Location           = new Point(0xd3, 0x33);
     this.label4.Name               = "label4";
     this.label4.Size               = new Size(0x1d, 12);
     this.label4.TabIndex           = 6;
     this.label4.Text               = "份数";
     this.txtDocRev.Location        = new Point(420, 14);
     this.txtDocRev.Name            = "txtDocRev";
     this.txtDocRev.ReadOnly        = true;
     this.txtDocRev.Size            = new Size(100, 0x15);
     this.txtDocRev.TabIndex        = 5;
     this.txtDocName.Location       = new Point(0xf6, 0x10);
     this.txtDocName.Name           = "txtDocName";
     this.txtDocName.ReadOnly       = true;
     this.txtDocName.Size           = new Size(0x85, 0x15);
     this.txtDocName.TabIndex       = 4;
     this.label3.AutoSize           = true;
     this.label3.Location           = new Point(0x181, 0x11);
     this.label3.Name               = "label3";
     this.label3.Size               = new Size(0x1d, 12);
     this.label3.TabIndex           = 3;
     this.label3.Text               = "版本";
     this.label2.AutoSize           = true;
     this.label2.Location           = new Point(0xd3, 0x13);
     this.label2.Name               = "label2";
     this.label2.Size               = new Size(0x1d, 12);
     this.label2.TabIndex           = 2;
     this.label2.Text               = "名称";
     this.txtDocCode.Location       = new Point(0x3e, 14);
     this.txtDocCode.Name           = "txtDocCode";
     this.txtDocCode.ReadOnly       = true;
     this.txtDocCode.Size           = new Size(0x8f, 0x15);
     this.txtDocCode.TabIndex       = 1;
     this.label1.AutoSize           = true;
     this.label1.Location           = new Point(0x1b, 0x15);
     this.label1.Name               = "label1";
     this.label1.Size               = new Size(0x1d, 12);
     this.label1.TabIndex           = 0;
     this.label1.Text               = "图号";
     this.lvwPrintBom.Dock          = DockStyle.Fill;
     this.lvwPrintBom.FullRowSelect = true;
     this.lvwPrintBom.HideSelection = false;
     this.lvwPrintBom.Location      = new Point(0, 0);
     this.lvwPrintBom.Name          = "lvwPrintBom";
     this.lvwPrintBom.Size          = new Size(0x2b9, 0x131);
     this.lvwPrintBom.SortingOrder  = SortOrder.None;
     this.lvwPrintBom.TabIndex      = 1;
     this.lvwPrintBom.UseCompatibleStateImageBehavior = false;
     this.lvwPrintBom.View = View.Details;
     this.lvwPrintBom.SelectedIndexChanged += new EventHandler(this.lvwPrintBom_SelectedIndexChanged);
     this.lvwPrintBom.KeyUp  += new KeyEventHandler(this.lvwPrintBom_KeyUp);
     base.AutoScaleDimensions = new SizeF(6f, 12f);
     base.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     base.Controls.Add(this.lvwPrintBom);
     base.Controls.Add(this.panel1);
     base.Name = "UcPrintItem";
     base.Size = new Size(0x2b9, 0x1ab);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     base.ResumeLayout(false);
 }
コード例 #10
0
ファイル: UcPrintItem.cs プロジェクト: DFSTW/DQArchivManage
 private void InitializeComponent()
 {
     this.panel1 = new Panel();
     this.txtDesc = new TextBox();
     this.label7 = new Label();
     this.btnClose = new Button();
     this.btnPrintEnd = new Button();
     this.btnPrintCancel = new Button();
     this.txtStatus = new TextBox();
     this.label6 = new Label();
     this.txtNumZs = new TextBox();
     this.label5 = new Label();
     this.txtNumFs = new TextBox();
     this.label4 = new Label();
     this.txtDocRev = new TextBox();
     this.txtDocName = new TextBox();
     this.label3 = new Label();
     this.label2 = new Label();
     this.txtDocCode = new TextBox();
     this.label1 = new Label();
     this.lvwPrintBom = new SortableListView();
     this.panel1.SuspendLayout();
     base.SuspendLayout();
     this.panel1.Controls.Add(this.txtDesc);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.btnClose);
     this.panel1.Controls.Add(this.btnPrintEnd);
     this.panel1.Controls.Add(this.btnPrintCancel);
     this.panel1.Controls.Add(this.txtStatus);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.txtNumZs);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.txtNumFs);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.txtDocRev);
     this.panel1.Controls.Add(this.txtDocName);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.txtDocCode);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Dock = DockStyle.Bottom;
     this.panel1.Location = new Point(0, 0x131);
     this.panel1.Name = "panel1";
     this.panel1.Size = new Size(0x2b9, 0x7a);
     this.panel1.TabIndex = 0;
     this.txtDesc.Location = new Point(0x3e, 80);
     this.txtDesc.MaxLength = 500;
     this.txtDesc.Name = "txtDesc";
     this.txtDesc.ReadOnly = true;
     this.txtDesc.Size = new Size(0x1ca, 0x15);
     this.txtDesc.TabIndex = 0x10;
     this.label7.AutoSize = true;
     this.label7.Location = new Point(3, 0x55);
     this.label7.Name = "label7";
     this.label7.Size = new Size(0x35, 12);
     this.label7.TabIndex = 15;
     this.label7.Text = "发放说明";
     this.btnClose.Anchor = AnchorStyles.Right;
     this.btnClose.Location = new Point(0x255, 0x4c);
     this.btnClose.Name = "btnClose";
     this.btnClose.Size = new Size(0x4b, 0x17);
     this.btnClose.TabIndex = 14;
     this.btnClose.Text = "关  闭";
     this.btnClose.UseVisualStyleBackColor = true;
     this.btnClose.Click += new EventHandler(this.btnClose_Click);
     this.btnPrintEnd.Anchor = AnchorStyles.Right;
     this.btnPrintEnd.Location = new Point(0x255, 0x2e);
     this.btnPrintEnd.Name = "btnPrintEnd";
     this.btnPrintEnd.Size = new Size(0x4b, 0x17);
     this.btnPrintEnd.TabIndex = 13;
     this.btnPrintEnd.Text = "打印完成";
     this.btnPrintEnd.UseVisualStyleBackColor = true;
     this.btnPrintEnd.Click += new EventHandler(this.btnPrintEnd_Click);
     this.btnPrintCancel.Anchor = AnchorStyles.Right;
     this.btnPrintCancel.Location = new Point(0x255, 0x10);
     this.btnPrintCancel.Name = "btnPrintCancel";
     this.btnPrintCancel.Size = new Size(0x4b, 0x17);
     this.btnPrintCancel.TabIndex = 12;
     this.btnPrintCancel.Text = "取消打印";
     this.btnPrintCancel.UseVisualStyleBackColor = true;
     this.btnPrintCancel.Click += new EventHandler(this.btnPrintCancel_Click);
     this.txtStatus.Location = new Point(0x3e, 0x30);
     this.txtStatus.Name = "txtStatus";
     this.txtStatus.ReadOnly = true;
     this.txtStatus.Size = new Size(0x8f, 0x15);
     this.txtStatus.TabIndex = 11;
     this.label6.AutoSize = true;
     this.label6.Location = new Point(0x1b, 0x33);
     this.label6.Name = "label6";
     this.label6.Size = new Size(0x1d, 12);
     this.label6.TabIndex = 10;
     this.label6.Text = "状态";
     this.txtNumZs.Location = new Point(420, 0x2d);
     this.txtNumZs.Name = "txtNumZs";
     this.txtNumZs.ReadOnly = true;
     this.txtNumZs.Size = new Size(100, 0x15);
     this.txtNumZs.TabIndex = 9;
     this.label5.AutoSize = true;
     this.label5.Location = new Point(0x181, 0x33);
     this.label5.Name = "label5";
     this.label5.Size = new Size(0x1d, 12);
     this.label5.TabIndex = 8;
     this.label5.Text = "张数";
     this.txtNumFs.Location = new Point(0xf6, 0x30);
     this.txtNumFs.Name = "txtNumFs";
     this.txtNumFs.ReadOnly = true;
     this.txtNumFs.Size = new Size(0x85, 0x15);
     this.txtNumFs.TabIndex = 7;
     this.label4.AutoSize = true;
     this.label4.Location = new Point(0xd3, 0x33);
     this.label4.Name = "label4";
     this.label4.Size = new Size(0x1d, 12);
     this.label4.TabIndex = 6;
     this.label4.Text = "份数";
     this.txtDocRev.Location = new Point(420, 14);
     this.txtDocRev.Name = "txtDocRev";
     this.txtDocRev.ReadOnly = true;
     this.txtDocRev.Size = new Size(100, 0x15);
     this.txtDocRev.TabIndex = 5;
     this.txtDocName.Location = new Point(0xf6, 0x10);
     this.txtDocName.Name = "txtDocName";
     this.txtDocName.ReadOnly = true;
     this.txtDocName.Size = new Size(0x85, 0x15);
     this.txtDocName.TabIndex = 4;
     this.label3.AutoSize = true;
     this.label3.Location = new Point(0x181, 0x11);
     this.label3.Name = "label3";
     this.label3.Size = new Size(0x1d, 12);
     this.label3.TabIndex = 3;
     this.label3.Text = "版本";
     this.label2.AutoSize = true;
     this.label2.Location = new Point(0xd3, 0x13);
     this.label2.Name = "label2";
     this.label2.Size = new Size(0x1d, 12);
     this.label2.TabIndex = 2;
     this.label2.Text = "名称";
     this.txtDocCode.Location = new Point(0x3e, 14);
     this.txtDocCode.Name = "txtDocCode";
     this.txtDocCode.ReadOnly = true;
     this.txtDocCode.Size = new Size(0x8f, 0x15);
     this.txtDocCode.TabIndex = 1;
     this.label1.AutoSize = true;
     this.label1.Location = new Point(0x1b, 0x15);
     this.label1.Name = "label1";
     this.label1.Size = new Size(0x1d, 12);
     this.label1.TabIndex = 0;
     this.label1.Text = "图号";
     this.lvwPrintBom.Dock = DockStyle.Fill;
     this.lvwPrintBom.FullRowSelect = true;
     this.lvwPrintBom.HideSelection = false;
     this.lvwPrintBom.Location = new Point(0, 0);
     this.lvwPrintBom.Name = "lvwPrintBom";
     this.lvwPrintBom.Size = new Size(0x2b9, 0x131);
     this.lvwPrintBom.SortingOrder = SortOrder.None;
     this.lvwPrintBom.TabIndex = 1;
     this.lvwPrintBom.UseCompatibleStateImageBehavior = false;
     this.lvwPrintBom.View = View.Details;
     this.lvwPrintBom.SelectedIndexChanged += new EventHandler(this.lvwPrintBom_SelectedIndexChanged);
     this.lvwPrintBom.KeyUp += new KeyEventHandler(this.lvwPrintBom_KeyUp);
     base.AutoScaleDimensions = new SizeF(6f, 12f);
     base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     base.Controls.Add(this.lvwPrintBom);
     base.Controls.Add(this.panel1);
     base.Name = "UcPrintItem";
     base.Size = new Size(0x2b9, 0x1ab);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     base.ResumeLayout(false);
 }
コード例 #11
0
 private void InitializeComponent()
 {
     this.components    = new System.ComponentModel.Container();
     this.tbCtrlTS      = new System.Windows.Forms.TabControl();
     this.tPTsdLst      = new System.Windows.Forms.TabPage();
     this.lvwTSD        = new Thyt.TiPLM.UIL.Common.SortableListView();
     this.pnlTsSch      = new System.Windows.Forms.Panel();
     this.btnUpdateBpm  = new System.Windows.Forms.Button();
     this.panel1        = new System.Windows.Forms.Panel();
     this.label1        = new System.Windows.Forms.Label();
     this.btnTsSchDocId = new System.Windows.Forms.Button();
     this.btnTsClear    = new System.Windows.Forms.Button();
     this.btnTsQiuckSch = new System.Windows.Forms.Button();
     this.lbTsId        = new System.Windows.Forms.Label();
     this.txtTsID       = new System.Windows.Forms.TextBox();
     this.cMenuTSD      = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.D_OPEN_TSD    = new System.Windows.Forms.ToolStripMenuItem();
     this.D_DEL_TSD     = new System.Windows.Forms.ToolStripMenuItem();
     this.D_ADD_TSD     = new System.Windows.Forms.ToolStripMenuItem();
     this.D_TOPRINT_TSD = new System.Windows.Forms.ToolStripMenuItem();
     this.D_TOSENT_TSD  = new System.Windows.Forms.ToolStripMenuItem();
     this.ToolStripMenuItemTSDOutput = new System.Windows.Forms.ToolStripMenuItem();
     this.tbCtrlTS.SuspendLayout();
     this.tPTsdLst.SuspendLayout();
     this.pnlTsSch.SuspendLayout();
     this.cMenuTSD.SuspendLayout();
     this.SuspendLayout();
     //
     // tbCtrlTS
     //
     this.tbCtrlTS.Controls.Add(this.tPTsdLst);
     this.tbCtrlTS.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.tbCtrlTS.Location      = new System.Drawing.Point(0, 0);
     this.tbCtrlTS.Name          = "tbCtrlTS";
     this.tbCtrlTS.SelectedIndex = 0;
     this.tbCtrlTS.Size          = new System.Drawing.Size(767, 433);
     this.tbCtrlTS.TabIndex      = 0;
     //
     // tPTsdLst
     //
     this.tPTsdLst.Controls.Add(this.lvwTSD);
     this.tPTsdLst.Controls.Add(this.pnlTsSch);
     this.tPTsdLst.Location = new System.Drawing.Point(4, 22);
     this.tPTsdLst.Name     = "tPTsdLst";
     this.tPTsdLst.Padding  = new System.Windows.Forms.Padding(3);
     this.tPTsdLst.Size     = new System.Drawing.Size(759, 407);
     this.tPTsdLst.TabIndex = 0;
     this.tPTsdLst.Text     = "托晒单列表";
     this.tPTsdLst.UseVisualStyleBackColor = true;
     //
     // lvwTSD
     //
     this.lvwTSD.AllowDrop     = true;
     this.lvwTSD.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.lvwTSD.FullRowSelect = true;
     this.lvwTSD.HideSelection = false;
     this.lvwTSD.Location      = new System.Drawing.Point(3, 46);
     this.lvwTSD.Name          = "lvwTSD";
     this.lvwTSD.Size          = new System.Drawing.Size(753, 358);
     this.lvwTSD.SortingOrder  = System.Windows.Forms.SortOrder.None;
     this.lvwTSD.TabIndex      = 1;
     this.lvwTSD.UseCompatibleStateImageBehavior = false;
     this.lvwTSD.View         = System.Windows.Forms.View.Details;
     this.lvwTSD.DragDrop    += new System.Windows.Forms.DragEventHandler(this.lvwTSD_DragDrop);
     this.lvwTSD.DragEnter   += new System.Windows.Forms.DragEventHandler(this.lvwTSD_DragEnter);
     this.lvwTSD.DoubleClick += new System.EventHandler(this.lvwTSD_DoubleClick);
     this.lvwTSD.MouseUp     += new System.Windows.Forms.MouseEventHandler(this.lvwTSD_MouseUp);
     //
     // pnlTsSch
     //
     this.pnlTsSch.BackColor = System.Drawing.Color.WhiteSmoke;
     this.pnlTsSch.Controls.Add(this.btnUpdateBpm);
     this.pnlTsSch.Controls.Add(this.panel1);
     this.pnlTsSch.Controls.Add(this.label1);
     this.pnlTsSch.Controls.Add(this.btnTsSchDocId);
     this.pnlTsSch.Controls.Add(this.btnTsClear);
     this.pnlTsSch.Controls.Add(this.btnTsQiuckSch);
     this.pnlTsSch.Controls.Add(this.lbTsId);
     this.pnlTsSch.Controls.Add(this.txtTsID);
     this.pnlTsSch.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pnlTsSch.Location = new System.Drawing.Point(3, 3);
     this.pnlTsSch.Name     = "pnlTsSch";
     this.pnlTsSch.Size     = new System.Drawing.Size(753, 43);
     this.pnlTsSch.TabIndex = 0;
     //
     // btnUpdateBpm
     //
     this.btnUpdateBpm.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.btnUpdateBpm.Location = new System.Drawing.Point(455, 10);
     this.btnUpdateBpm.Name     = "btnUpdateBpm";
     this.btnUpdateBpm.Size     = new System.Drawing.Size(63, 23);
     this.btnUpdateBpm.TabIndex = 34;
     this.btnUpdateBpm.Text     = "更新流程";
     this.btnUpdateBpm.UseVisualStyleBackColor = true;
     this.btnUpdateBpm.Click += new System.EventHandler(this.btnUpdateBpm_Click);
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.Location = new System.Drawing.Point(264, 8);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(176, 32);
     this.panel1.TabIndex = 33;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(205, 15);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(53, 12);
     this.label1.TabIndex = 32;
     this.label1.Text     = "流程名称";
     //
     // btnTsSchDocId
     //
     this.btnTsSchDocId.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.btnTsSchDocId.Font     = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.btnTsSchDocId.Location = new System.Drawing.Point(524, 9);
     this.btnTsSchDocId.Name     = "btnTsSchDocId";
     this.btnTsSchDocId.Size     = new System.Drawing.Size(35, 23);
     this.btnTsSchDocId.TabIndex = 31;
     this.btnTsSchDocId.Text     = "...";
     this.btnTsSchDocId.UseVisualStyleBackColor = true;
     this.btnTsSchDocId.Click += new System.EventHandler(this.btnTsSchDocId_Click);
     //
     // btnTsClear
     //
     this.btnTsClear.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.btnTsClear.Location = new System.Drawing.Point(660, 9);
     this.btnTsClear.Name     = "btnTsClear";
     this.btnTsClear.Size     = new System.Drawing.Size(75, 23);
     this.btnTsClear.TabIndex = 30;
     this.btnTsClear.Text     = "清空";
     this.btnTsClear.UseVisualStyleBackColor = true;
     this.btnTsClear.Click += new System.EventHandler(this.btnTsClear_Click);
     //
     // btnTsQiuckSch
     //
     this.btnTsQiuckSch.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.btnTsQiuckSch.Location = new System.Drawing.Point(576, 8);
     this.btnTsQiuckSch.Name     = "btnTsQiuckSch";
     this.btnTsQiuckSch.Size     = new System.Drawing.Size(78, 23);
     this.btnTsQiuckSch.TabIndex = 28;
     this.btnTsQiuckSch.Text     = "快速查询";
     this.btnTsQiuckSch.UseVisualStyleBackColor = true;
     this.btnTsQiuckSch.Click += new System.EventHandler(this.btnTsQiuckSch_Click);
     //
     // lbTsId
     //
     this.lbTsId.AutoSize = true;
     this.lbTsId.Location = new System.Drawing.Point(3, 13);
     this.lbTsId.Name     = "lbTsId";
     this.lbTsId.Size     = new System.Drawing.Size(29, 12);
     this.lbTsId.TabIndex = 24;
     this.lbTsId.Text     = "图号";
     //
     // txtTsID
     //
     this.txtTsID.Location = new System.Drawing.Point(38, 10);
     this.txtTsID.Name     = "txtTsID";
     this.txtTsID.Size     = new System.Drawing.Size(161, 21);
     this.txtTsID.TabIndex = 23;
     //
     // cMenuTSD
     //
     this.cMenuTSD.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.D_OPEN_TSD,
         this.ToolStripMenuItemTSDOutput,
         this.D_DEL_TSD,
         this.D_ADD_TSD,
         this.D_TOPRINT_TSD,
         this.D_TOSENT_TSD
     });
     this.cMenuTSD.Name = "cMenuTSD";
     this.cMenuTSD.Size = new System.Drawing.Size(153, 158);
     //
     // D_OPEN_TSD
     //
     this.D_OPEN_TSD.Name   = "D_OPEN_TSD";
     this.D_OPEN_TSD.Size   = new System.Drawing.Size(152, 22);
     this.D_OPEN_TSD.Text   = "打开托晒单";
     this.D_OPEN_TSD.Click += new System.EventHandler(this.D_OPEN_TSD_Click);
     //
     // D_DEL_TSD
     //
     this.D_DEL_TSD.Name   = "D_DEL_TSD";
     this.D_DEL_TSD.Size   = new System.Drawing.Size(152, 22);
     this.D_DEL_TSD.Text   = "删除托晒单";
     this.D_DEL_TSD.Click += new System.EventHandler(this.D_DEL_TSD_Click);
     //
     // D_ADD_TSD
     //
     this.D_ADD_TSD.Name   = "D_ADD_TSD";
     this.D_ADD_TSD.Size   = new System.Drawing.Size(152, 22);
     this.D_ADD_TSD.Text   = "新增托晒单";
     this.D_ADD_TSD.Click += new System.EventHandler(this.D_ADD_TSD_Click);
     //
     // D_TOPRINT_TSD
     //
     this.D_TOPRINT_TSD.Name        = "D_TOPRINT_TSD";
     this.D_TOPRINT_TSD.Size        = new System.Drawing.Size(152, 22);
     this.D_TOPRINT_TSD.Text        = "发 送 打 印";
     this.D_TOPRINT_TSD.ToolTipText = "定版托晒单";
     this.D_TOPRINT_TSD.Click      += new System.EventHandler(this.D_TOPRINT_TSD_Click);
     //
     // D_TOSENT_TSD
     //
     this.D_TOSENT_TSD.Name   = "D_TOSENT_TSD";
     this.D_TOSENT_TSD.Size   = new System.Drawing.Size(152, 22);
     this.D_TOSENT_TSD.Text   = "直 接 回 收";
     this.D_TOSENT_TSD.Click += new System.EventHandler(this.D_TOSENT_TSD_Click);
     //
     // ToolStripMenuItemTSDOutput
     //
     this.ToolStripMenuItemTSDOutput.Name   = "ToolStripMenuItemTSDOutput";
     this.ToolStripMenuItemTSDOutput.Size   = new System.Drawing.Size(152, 22);
     this.ToolStripMenuItemTSDOutput.Text   = "输出托晒单";
     this.ToolStripMenuItemTSDOutput.Click += new System.EventHandler(this.TSDOutputToolStripMenuItem_Click);
     //
     // UcTs
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.tbCtrlTS);
     this.Name  = "UcTs";
     this.Size  = new System.Drawing.Size(767, 433);
     this.Load += new System.EventHandler(this.UcTs_Load);
     this.tbCtrlTS.ResumeLayout(false);
     this.tPTsdLst.ResumeLayout(false);
     this.pnlTsSch.ResumeLayout(false);
     this.pnlTsSch.PerformLayout();
     this.cMenuTSD.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #12
0
ファイル: FrmBrowse.cs プロジェクト: funtomi/MyNewCode
        public void FillTemplateListView(string headClassName, string mainClassName, SortableListView lvwTemplates, Guid uOid, bool isDialog)
        {
            lvwTemplates.Items.Clear();
            DEItemMaster2[]   masters     = null;
            DEItemRevision2[] revs        = null;
            ArrayList         mastersList = new ArrayList();
            ArrayList         revsList    = new ArrayList();

            string[]      fieldNames = null;
            string[]      operators  = null;
            object[]      values     = null;
            PLMDataType[] attrTypes  = null;
            if (mainClassName == null)
            {
                //20180823 modifiedy by kexp 加入过程流程图
                if ((headClassName == null) || (!ModelContext.MetaModel.IsCard(headClassName) && !ModelContext.MetaModel.IsForm(headClassName) && !ModelContext.MetaModel.IsChild("PROFLOWCHART", headClassName)))
                {
                    if (headClassName == null)
                    {
                        this.GetItemMasRev(out masters, out revs, null, null, null, null);
                    }
                    else
                    {
                        if (this.virtualClsName != "")
                        {
                            fieldNames = new string[] { "I.PLM_TEMPLATETYPE", "M.PLM_M_STATE", "I.PLM_VIRTUALCLASSNAME" };
                            operators  = new string[] { "=", "=", "=" };
                            values     = new object[] { headClassName, 'R', this.virtualClsName };
                            attrTypes  = new PLMDataType[] { PLMDataType.String, PLMDataType.Char, PLMDataType.String };
                            this.GetItemMasRev(out masters, out revs, fieldNames, operators, values, attrTypes);
                        }
                        if ((this.virtualClsName == "") || (masters.Length == 0))
                        {
                            fieldNames = new string[] { "I.PLM_TEMPLATETYPE", "M.PLM_M_STATE" };
                            operators  = new string[] { "=", "=" };
                            values     = new object[] { headClassName, 'R' };
                            attrTypes  = new PLMDataType[] { PLMDataType.String, PLMDataType.Char };
                            this.GetItemMasRev(out masters, out revs, fieldNames, operators, values, attrTypes);
                        }
                    }
                    if (masters != null)
                    {
                        for (int i = 0; i < masters.Length; i++)
                        {
                            if (this.IsOutPutTemplate(revs[i], this.user.Oid))
                            {
                                int          objectImage = ClientData.ItemImages.GetObjectImage(masters[i].ClassName, PLDataModel.GetStateByMasterInfo(masters[i].State, true));
                                ListViewItem lvi         = new ListViewItem(masters[i].Id, objectImage);
                                this.FillListViewItem(lvi, masters[i], revs[i]);
                                lvi.Tag = new DEBusinessItem(masters[i], revs[i], null);
                                lvwTemplates.Items.Add(lvi);
                            }
                        }
                        this.lvwTemplates.SetColumnSortFormat(1, SortedListViewFormatType.Numeric);
                        this.lvwTemplates.SetColumnSortFormat(2, SortedListViewFormatType.Numeric);
                    }
                    return;
                }
                if (!isDialog)
                {
                    fieldNames = new string[] { "I.PLM_TEMPLATETYPE" };
                    operators  = new string[] { "=" };
                    values     = new object[] { headClassName };
                    attrTypes  = new PLMDataType[] { PLMDataType.String };
                    this.GetItemMasRev(out masters, out revs, fieldNames, operators, values, attrTypes);
                }
                else
                {
                    if (this.virtualClsName != "")
                    {
                        fieldNames = new string[] { "I.PLM_TEMPLATETYPE", "M.PLM_M_STATE", "I.PLM_VIRTUALCLASSNAME" };
                        operators  = new string[] { "=", "=", "=" };
                        values     = new object[] { headClassName, 'R', this.virtualClsName };
                        attrTypes  = new PLMDataType[] { PLMDataType.String, PLMDataType.Char, PLMDataType.String };
                        this.GetItemMasRev(out masters, out revs, fieldNames, operators, values, attrTypes);
                    }
                    if ((this.virtualClsName == "") || (masters.Length == 0))
                    {
                        fieldNames = new string[] { "I.PLM_TEMPLATETYPE", "M.PLM_M_STATE" };
                        operators  = new string[] { "=", "=" };
                        values     = new object[] { headClassName, 'R' };
                        attrTypes  = new PLMDataType[] { PLMDataType.String, PLMDataType.Char };
                        this.GetItemMasRev(out masters, out revs, fieldNames, operators, values, attrTypes);
                    }
                }
                mastersList.AddRange(masters);
                revsList.AddRange(revs);
            }
            else if (headClassName == null)
            {
                this.GetMasRevList(mainClassName, mastersList, revsList);
            }
            else
            {
                this.GetMasRevList(mainClassName, mastersList, revsList);
                if (this.virtualClsName != "")
                {
                    fieldNames = new string[] { "I.PLM_TEMPLATETYPE", "M.PLM_M_STATE", "I.PLM_VIRTUALCLASSNAME" };
                    operators  = new string[] { "=", "=", "=" };
                    values     = new object[] { headClassName, 'R', this.virtualClsName };
                    attrTypes  = new PLMDataType[] { PLMDataType.String, PLMDataType.Char, PLMDataType.String };
                    this.GetItemMasRev(out masters, out revs, fieldNames, operators, values, attrTypes);
                }
                if ((this.virtualClsName == "") || (masters.Length == 0))
                {
                    fieldNames = new string[] { "I.PLM_TEMPLATETYPE", "M.PLM_M_STATE" };
                    operators  = new string[] { "=", "=" };
                    values     = new object[] { headClassName, 'R' };
                    attrTypes  = new PLMDataType[] { PLMDataType.String, PLMDataType.Char };
                    this.GetItemMasRev(out masters, out revs, fieldNames, operators, values, attrTypes);
                }
                for (int j = 0; j < revs.Length; j++)
                {
                    if (!this.HasSameTemplate(revs[j], revsList))
                    {
                        mastersList.Add(masters[j]);
                        revsList.Add(revs[j]);
                    }
                }
            }
            this.FillTemplateListView(isDialog, mastersList, revsList, lvwTemplates);
        }
コード例 #13
0
ファイル: FrmBrowse.cs プロジェクト: funtomi/MyNewCode
 private void FillTemplateListView(bool isDialog, ArrayList masters, ArrayList revs, SortableListView lvwTemplates)
 {
     if (masters != null)
     {
         for (int i = 0; i < masters.Count; i++)
         {
             DEItemMaster2   mas = masters[i] as DEItemMaster2;
             DEItemRevision2 rev = revs[i] as DEItemRevision2;
             if (isDialog)
             {
                 int          objectImage = ClientData.ItemImages.GetObjectImage(mas.ClassName, "release");
                 ListViewItem item        = new ListViewItem(mas.Id, objectImage);
                 this.FillListViewItemSimple(item, mas, rev);
                 item.Tag = new DEBusinessItem(mas, rev, null);
                 lvwTemplates.Items.Add(item);
             }
             else
             {
                 int          imageIndex = ClientData.ItemImages.GetObjectImage(mas.ClassName, PLDataModel.GetStateByMasterInfo(mas.State, true));
                 ListViewItem lvi        = new ListViewItem(mas.Id, imageIndex);
                 this.FillListViewItem(lvi, mas, rev);
                 lvi.Tag = new DEBusinessItem(mas, rev, null);
                 lvwTemplates.Items.Add(lvi);
             }
         }
         this.lvwTemplates.SetColumnSortFormat(1, SortedListViewFormatType.Numeric);
         if (!isDialog)
         {
             this.lvwTemplates.SetColumnSortFormat(2, SortedListViewFormatType.Numeric);
         }
     }
 }
コード例 #14
0
ファイル: UcSent.cs プロジェクト: DFSTW/DQArchivManage
 private void InitializeComponent()
 {
     this.components = new Container();
     this.tbCtrlSent = new TabControl();
     this.tpSentLst = new TabPage();
     this.lvwSentLst = new SortableListView();
     this.panel1 = new Panel();
     this.gSentSet = new GroupBox();
     this.txtSignSm = new TextBox();
     this.label11 = new Label();
     this.chkEndSent = new CheckBox();
     this.btnSignOK = new Button();
     this.txtSignner = new ComboBox();
     this.label10 = new Label();
     this.txtSignUnit = new ComboBox();
     this.label9 = new Label();
     this.txtBpm = new TextBox();
     this.label7 = new Label();
     this.txtTsdId = new TextBox();
     this.label6 = new Label();
     this.txtUnit = new ComboBox();
     this.label2 = new Label();
     this.btnSch = new Button();
     this.txtTsType = new ComboBox();
     this.txtDocCode = new TextBox();
     this.txtIsSent = new ComboBox();
     this.label3 = new Label();
     this.groupBox1 = new GroupBox();
     this.dTFromTime = new DateTimePicker();
     this.label8 = new Label();
     this.label5 = new Label();
     this.dTToTime = new DateTimePicker();
     this.label4 = new Label();
     this.label1 = new Label();
     this.btnTsClear = new Button();
     this.cMenuSent = new ContextMenuStrip(this.components);
     this.mOpen = new ToolStripMenuItem();
     this.mEndSent = new ToolStripMenuItem();
     this.mOutPut = new ToolStripMenuItem();
     this.mItemOutPutByUnit = new ToolStripMenuItem();
     this.mItemOutPutBySentLst = new ToolStripMenuItem();
     this.mCancelSent = new ToolStripMenuItem();
     this.mSentByUnit = new ToolStripMenuItem();
     this.tbCtrlSent.SuspendLayout();
     this.tpSentLst.SuspendLayout();
     this.panel1.SuspendLayout();
     this.gSentSet.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.cMenuSent.SuspendLayout();
     base.SuspendLayout();
     this.tbCtrlSent.Controls.Add(this.tpSentLst);
     this.tbCtrlSent.Dock = DockStyle.Fill;
     this.tbCtrlSent.Location = new Point(0, 0);
     this.tbCtrlSent.Name = "tbCtrlSent";
     this.tbCtrlSent.SelectedIndex = 0;
     this.tbCtrlSent.Size = new Size(0x367, 0x17a);
     this.tbCtrlSent.TabIndex = 1;
     this.tpSentLst.Controls.Add(this.lvwSentLst);
     this.tpSentLst.Controls.Add(this.panel1);
     this.tpSentLst.Location = new Point(4, 0x16);
     this.tpSentLst.Name = "tpSentLst";
     this.tpSentLst.Padding = new Padding(3);
     this.tpSentLst.Size = new Size(0x35f, 0x160);
     this.tpSentLst.TabIndex = 0;
     this.tpSentLst.Text = "收发列表";
     this.tpSentLst.UseVisualStyleBackColor = true;
     this.lvwSentLst.AllowDrop = true;
     this.lvwSentLst.Dock = DockStyle.Fill;
     this.lvwSentLst.FullRowSelect = true;
     this.lvwSentLst.HideSelection = false;
     this.lvwSentLst.Location = new Point(3, 0x76);
     this.lvwSentLst.Name = "lvwSentLst";
     this.lvwSentLst.Size = new Size(0x359, 0xe7);
     this.lvwSentLst.SortingOrder = SortOrder.None;
     this.lvwSentLst.TabIndex = 1;
     this.lvwSentLst.UseCompatibleStateImageBehavior = false;
     this.lvwSentLst.View = View.Details;
     this.lvwSentLst.DragDrop += new DragEventHandler(this.lvwSentLst_DragDrop);
     this.lvwSentLst.DragEnter += new DragEventHandler(this.lvwSentLst_DragEnter);
     this.lvwSentLst.DoubleClick += new EventHandler(this.lvwSentLst_DoubleClick);
     this.lvwSentLst.MouseUp += new MouseEventHandler(this.lvwSentLst_MouseUp);
     this.panel1.BackColor = Color.WhiteSmoke;
     this.panel1.Controls.Add(this.gSentSet);
     this.panel1.Controls.Add(this.txtBpm);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.txtTsdId);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.txtUnit);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.btnSch);
     this.panel1.Controls.Add(this.txtTsType);
     this.panel1.Controls.Add(this.txtDocCode);
     this.panel1.Controls.Add(this.txtIsSent);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.groupBox1);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.btnTsClear);
     this.panel1.Dock = DockStyle.Top;
     this.panel1.Location = new Point(3, 3);
     this.panel1.Name = "panel1";
     this.panel1.Size = new Size(0x359, 0x73);
     this.panel1.TabIndex = 0;
     this.gSentSet.Controls.Add(this.txtSignSm);
     this.gSentSet.Controls.Add(this.label11);
     this.gSentSet.Controls.Add(this.chkEndSent);
     this.gSentSet.Controls.Add(this.btnSignOK);
     this.gSentSet.Controls.Add(this.txtSignner);
     this.gSentSet.Controls.Add(this.label10);
     this.gSentSet.Controls.Add(this.txtSignUnit);
     this.gSentSet.Controls.Add(this.label9);
     this.gSentSet.Enabled = false;
     this.gSentSet.Location = new Point(-3, 0x44);
     this.gSentSet.Name = "gSentSet";
     this.gSentSet.Size = new Size(0x34b, 0x2c);
     this.gSentSet.TabIndex = 0x38;
     this.gSentSet.TabStop = false;
     this.txtSignSm.Location = new Point(0x1df, 0x13);
     this.txtSignSm.Name = "txtSignSm";
     this.txtSignSm.Size = new Size(0xbc, 0x15);
     this.txtSignSm.TabIndex = 0x1f;
     this.label11.AutoSize = true;
     this.label11.Location = new Point(420, 0x15);
     this.label11.Name = "label11";
     this.label11.Size = new Size(0x35, 12);
     this.label11.TabIndex = 30;
     this.label11.Text = "发放说明";
     this.chkEndSent.AutoSize = true;
     this.chkEndSent.Location = new Point(0x2a1, 0x15);
     this.chkEndSent.Name = "chkEndSent";
     this.chkEndSent.Size = new Size(0x48, 0x10);
     this.chkEndSent.TabIndex = 5;
     this.chkEndSent.Text = "结束签收";
     this.chkEndSent.UseVisualStyleBackColor = true;
     this.chkEndSent.CheckedChanged += new EventHandler(this.chkEndSent_CheckedChanged);
     this.btnSignOK.Location = new Point(0x2f4, 0x10);
     this.btnSignOK.Name = "btnSignOK";
     this.btnSignOK.Size = new Size(0x4b, 0x17);
     this.btnSignOK.TabIndex = 4;
     this.btnSignOK.Text = "签收";
     this.btnSignOK.UseVisualStyleBackColor = true;
     this.btnSignOK.Click += new EventHandler(this.btnSignOK_Click);
     this.txtSignner.FormattingEnabled = true;
     this.txtSignner.Location = new Point(0x120, 0x12);
     this.txtSignner.Name = "txtSignner";
     this.txtSignner.Size = new Size(0x79, 20);
     this.txtSignner.TabIndex = 3;
     this.label10.AutoSize = true;
     this.label10.Location = new Point(0xe3, 0x15);
     this.label10.Name = "label10";
     this.label10.Size = new Size(0x29, 12);
     this.label10.TabIndex = 2;
     this.label10.Text = "签收人";
     this.txtSignUnit.DropDownStyle = ComboBoxStyle.DropDownList;
     this.txtSignUnit.FormattingEnabled = true;
     this.txtSignUnit.Location = new Point(80, 0x12);
     this.txtSignUnit.Name = "txtSignUnit";
     this.txtSignUnit.Size = new Size(0x79, 20);
     this.txtSignUnit.TabIndex = 1;
     this.txtSignUnit.SelectedIndexChanged += new EventHandler(this.txtSignUnit_SelectedIndexChanged);
     this.label9.AutoSize = true;
     this.label9.Location = new Point(20, 0x15);
     this.label9.Name = "label9";
     this.label9.Size = new Size(0x35, 12);
     this.label9.TabIndex = 0;
     this.label9.Text = "签收单位";
     this.txtBpm.Location = new Point(0x4d, 0x29);
     this.txtBpm.Name = "txtBpm";
     this.txtBpm.Size = new Size(0x84, 0x15);
     this.txtBpm.TabIndex = 0x37;
     this.label7.AutoSize = true;
     this.label7.Location = new Point(15, 0x2e);
     this.label7.Name = "label7";
     this.label7.Size = new Size(0x35, 12);
     this.label7.TabIndex = 0x36;
     this.label7.Text = "流程信息";
     this.txtTsdId.Location = new Point(0x11d, 14);
     this.txtTsdId.Name = "txtTsdId";
     this.txtTsdId.Size = new Size(0x77, 0x15);
     this.txtTsdId.TabIndex = 0x35;
     this.label6.AutoSize = true;
     this.label6.Location = new Point(0xdb, 0x11);
     this.label6.Name = "label6";
     this.label6.Size = new Size(0x35, 12);
     this.label6.TabIndex = 0x34;
     this.label6.Text = "托晒单号";
     this.txtUnit.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
     this.txtUnit.AutoCompleteSource = AutoCompleteSource.ListItems;
     this.txtUnit.FormattingEnabled = true;
     this.txtUnit.Location = new Point(0x11d, 0x2c);
     this.txtUnit.Name = "txtUnit";
     this.txtUnit.Size = new Size(120, 20);
     this.txtUnit.TabIndex = 0x33;
     this.label2.AutoSize = true;
     this.label2.Location = new Point(0xde, 0x2d);
     this.label2.Name = "label2";
     this.label2.Size = new Size(0x35, 12);
     this.label2.TabIndex = 50;
     this.label2.Text = "发放单位";
     this.btnSch.Location = new Point(0x2f1, 12);
     this.btnSch.Name = "btnSch";
     this.btnSch.Size = new Size(0x4b, 0x18);
     this.btnSch.TabIndex = 0x31;
     this.btnSch.Text = "查询";
     this.btnSch.UseVisualStyleBackColor = true;
     this.btnSch.Click += new EventHandler(this.btnSch_Click);
     this.txtTsType.DropDownStyle = ComboBoxStyle.DropDownList;
     this.txtTsType.FormattingEnabled = true;
     this.txtTsType.Location = new Point(0x1dc, 14);
     this.txtTsType.Name = "txtTsType";
     this.txtTsType.Size = new Size(0x5c, 20);
     this.txtTsType.TabIndex = 0x30;
     this.txtDocCode.Location = new Point(0x4d, 12);
     this.txtDocCode.Name = "txtDocCode";
     this.txtDocCode.Size = new Size(0x84, 0x15);
     this.txtDocCode.TabIndex = 0x2e;
     this.txtIsSent.DropDownStyle = ComboBoxStyle.DropDownList;
     this.txtIsSent.FormattingEnabled = true;
     this.txtIsSent.Location = new Point(0x1dc, 0x2a);
     this.txtIsSent.Name = "txtIsSent";
     this.txtIsSent.Size = new Size(0x5c, 20);
     this.txtIsSent.TabIndex = 0x2d;
     this.label3.AutoSize = true;
     this.label3.Location = new Point(0x1a1, 0x2d);
     this.label3.Name = "label3";
     this.label3.Size = new Size(0x35, 12);
     this.label3.TabIndex = 0x2c;
     this.label3.Text = "收发状态";
     this.groupBox1.Controls.Add(this.dTFromTime);
     this.groupBox1.Controls.Add(this.label8);
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.dTToTime);
     this.groupBox1.Location = new Point(580, 4);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new Size(0xa2, 0x45);
     this.groupBox1.TabIndex = 0x2a;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "截止日期";
     this.dTFromTime.Location = new Point(0x23, 0x10);
     this.dTFromTime.Name = "dTFromTime";
     this.dTFromTime.Size = new Size(0x76, 0x15);
     this.dTFromTime.TabIndex = 0x17;
     this.label8.AutoSize = true;
     this.label8.Location = new Point(9, 0x2a);
     this.label8.Name = "label8";
     this.label8.Size = new Size(0x11, 12);
     this.label8.TabIndex = 0x16;
     this.label8.Text = "至";
     this.label5.AutoSize = true;
     this.label5.Location = new Point(9, 0x13);
     this.label5.Name = "label5";
     this.label5.Size = new Size(0x11, 12);
     this.label5.TabIndex = 0x15;
     this.label5.Text = "从";
     this.dTToTime.Location = new Point(0x23, 0x2a);
     this.dTToTime.Name = "dTToTime";
     this.dTToTime.Size = new Size(0x76, 0x15);
     this.dTToTime.TabIndex = 20;
     this.label4.AutoSize = true;
     this.label4.Location = new Point(0x1a1, 0x13);
     this.label4.Name = "label4";
     this.label4.Size = new Size(0x35, 12);
     this.label4.TabIndex = 0x29;
     this.label4.Text = "收发类型";
     this.label1.AutoSize = true;
     this.label1.Location = new Point(13, 15);
     this.label1.Name = "label1";
     this.label1.Size = new Size(0x35, 12);
     this.label1.TabIndex = 0x26;
     this.label1.Text = "图    号";
     this.btnTsClear.Location = new Point(0x2f1, 0x2c);
     this.btnTsClear.Name = "btnTsClear";
     this.btnTsClear.Size = new Size(0x4b, 0x18);
     this.btnTsClear.TabIndex = 0x25;
     this.btnTsClear.Text = "清空";
     this.btnTsClear.UseVisualStyleBackColor = true;
     this.btnTsClear.Click += new EventHandler(this.btnTsClear_Click);
     this.cMenuSent.Items.AddRange(new ToolStripItem[] { this.mOpen, this.mEndSent, this.mOutPut, this.mCancelSent, this.mSentByUnit });
     this.cMenuSent.Name = "cMenuSent";
     this.cMenuSent.Size = new Size(0x89, 0x72);
     this.mOpen.Name = "mOpen";
     this.mOpen.Size = new Size(0x88, 0x16);
     this.mOpen.Text = "打开收发单";
     this.mOpen.Click += new EventHandler(this.mOpen_Click);
     this.mEndSent.Name = "mEndSent";
     this.mEndSent.Size = new Size(0x88, 0x16);
     this.mEndSent.Text = "完 成 收 发";
     this.mEndSent.Click += new EventHandler(this.mEndSent_Click);
     this.mOutPut.DropDownItems.AddRange(new ToolStripItem[] { this.mItemOutPutByUnit, this.mItemOutPutBySentLst });
     this.mOutPut.Name = "mOutPut";
     this.mOutPut.Size = new Size(0x88, 0x16);
     this.mOutPut.Text = "输出收发单";
     this.mItemOutPutByUnit.Name = "mItemOutPutByUnit";
     this.mItemOutPutByUnit.Size = new Size(0x94, 0x16);
     this.mItemOutPutByUnit.Text = " 按接受单位";
     this.mItemOutPutByUnit.Click += new EventHandler(this.mItemOutPutByUnit_Click);
     this.mItemOutPutBySentLst.Name = "mItemOutPutBySentLst";
     this.mItemOutPutBySentLst.Size = new Size(0x94, 0x16);
     this.mItemOutPutBySentLst.Text = "按收发单代号";
     this.mItemOutPutBySentLst.Click += new EventHandler(this.mItemOutPutBySentLst_Click);
     this.mCancelSent.Name = "mCancelSent";
     this.mCancelSent.Size = new Size(0x88, 0x16);
     this.mCancelSent.Text = "取 消 收 发";
     this.mCancelSent.Click += new EventHandler(this.mCancelSent_Click);
     this.mSentByUnit.Name = "mSentByUnit";
     this.mSentByUnit.Size = new Size(0x88, 0x16);
     this.mSentByUnit.Text = "批 量 签 收";
     this.mSentByUnit.Click += new EventHandler(this.mSentByUnit_Click);
     base.AutoScaleDimensions = new SizeF(6f, 12f);
     base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     base.Controls.Add(this.tbCtrlSent);
     base.Name = "UcSent";
     base.Size = new Size(0x367, 0x17a);
     base.Load += new EventHandler(this.UcSent_Load);
     this.tbCtrlSent.ResumeLayout(false);
     this.tpSentLst.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.gSentSet.ResumeLayout(false);
     this.gSentSet.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.cMenuSent.ResumeLayout(false);
     base.ResumeLayout(false);
 }
コード例 #15
0
ファイル: UcTs.cs プロジェクト: DFSTW/DQArchivManage
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.tbCtrlTS = new System.Windows.Forms.TabControl();
     this.tPTsdLst = new System.Windows.Forms.TabPage();
     this.lvwTSD = new Thyt.TiPLM.UIL.Common.SortableListView();
     this.pnlTsSch = new System.Windows.Forms.Panel();
     this.btnUpdateBpm = new System.Windows.Forms.Button();
     this.panel1 = new System.Windows.Forms.Panel();
     this.label1 = new System.Windows.Forms.Label();
     this.btnTsSchDocId = new System.Windows.Forms.Button();
     this.btnTsClear = new System.Windows.Forms.Button();
     this.btnTsQiuckSch = new System.Windows.Forms.Button();
     this.lbTsId = new System.Windows.Forms.Label();
     this.txtTsID = new System.Windows.Forms.TextBox();
     this.cMenuTSD = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.D_OPEN_TSD = new System.Windows.Forms.ToolStripMenuItem();
     this.D_DEL_TSD = new System.Windows.Forms.ToolStripMenuItem();
     this.D_ADD_TSD = new System.Windows.Forms.ToolStripMenuItem();
     this.D_TOPRINT_TSD = new System.Windows.Forms.ToolStripMenuItem();
     this.D_TOSENT_TSD = new System.Windows.Forms.ToolStripMenuItem();
     this.ToolStripMenuItemTSDOutput = new System.Windows.Forms.ToolStripMenuItem();
     this.tbCtrlTS.SuspendLayout();
     this.tPTsdLst.SuspendLayout();
     this.pnlTsSch.SuspendLayout();
     this.cMenuTSD.SuspendLayout();
     this.SuspendLayout();
     //
     // tbCtrlTS
     //
     this.tbCtrlTS.Controls.Add(this.tPTsdLst);
     this.tbCtrlTS.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tbCtrlTS.Location = new System.Drawing.Point(0, 0);
     this.tbCtrlTS.Name = "tbCtrlTS";
     this.tbCtrlTS.SelectedIndex = 0;
     this.tbCtrlTS.Size = new System.Drawing.Size(767, 433);
     this.tbCtrlTS.TabIndex = 0;
     //
     // tPTsdLst
     //
     this.tPTsdLst.Controls.Add(this.lvwTSD);
     this.tPTsdLst.Controls.Add(this.pnlTsSch);
     this.tPTsdLst.Location = new System.Drawing.Point(4, 22);
     this.tPTsdLst.Name = "tPTsdLst";
     this.tPTsdLst.Padding = new System.Windows.Forms.Padding(3);
     this.tPTsdLst.Size = new System.Drawing.Size(759, 407);
     this.tPTsdLst.TabIndex = 0;
     this.tPTsdLst.Text = "托晒单列表";
     this.tPTsdLst.UseVisualStyleBackColor = true;
     //
     // lvwTSD
     //
     this.lvwTSD.AllowDrop = true;
     this.lvwTSD.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lvwTSD.FullRowSelect = true;
     this.lvwTSD.HideSelection = false;
     this.lvwTSD.Location = new System.Drawing.Point(3, 46);
     this.lvwTSD.Name = "lvwTSD";
     this.lvwTSD.Size = new System.Drawing.Size(753, 358);
     this.lvwTSD.SortingOrder = System.Windows.Forms.SortOrder.None;
     this.lvwTSD.TabIndex = 1;
     this.lvwTSD.UseCompatibleStateImageBehavior = false;
     this.lvwTSD.View = System.Windows.Forms.View.Details;
     this.lvwTSD.DragDrop += new System.Windows.Forms.DragEventHandler(this.lvwTSD_DragDrop);
     this.lvwTSD.DragEnter += new System.Windows.Forms.DragEventHandler(this.lvwTSD_DragEnter);
     this.lvwTSD.DoubleClick += new System.EventHandler(this.lvwTSD_DoubleClick);
     this.lvwTSD.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lvwTSD_MouseUp);
     //
     // pnlTsSch
     //
     this.pnlTsSch.BackColor = System.Drawing.Color.WhiteSmoke;
     this.pnlTsSch.Controls.Add(this.btnUpdateBpm);
     this.pnlTsSch.Controls.Add(this.panel1);
     this.pnlTsSch.Controls.Add(this.label1);
     this.pnlTsSch.Controls.Add(this.btnTsSchDocId);
     this.pnlTsSch.Controls.Add(this.btnTsClear);
     this.pnlTsSch.Controls.Add(this.btnTsQiuckSch);
     this.pnlTsSch.Controls.Add(this.lbTsId);
     this.pnlTsSch.Controls.Add(this.txtTsID);
     this.pnlTsSch.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlTsSch.Location = new System.Drawing.Point(3, 3);
     this.pnlTsSch.Name = "pnlTsSch";
     this.pnlTsSch.Size = new System.Drawing.Size(753, 43);
     this.pnlTsSch.TabIndex = 0;
     //
     // btnUpdateBpm
     //
     this.btnUpdateBpm.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.btnUpdateBpm.Location = new System.Drawing.Point(455, 10);
     this.btnUpdateBpm.Name = "btnUpdateBpm";
     this.btnUpdateBpm.Size = new System.Drawing.Size(63, 23);
     this.btnUpdateBpm.TabIndex = 34;
     this.btnUpdateBpm.Text = "更新流程";
     this.btnUpdateBpm.UseVisualStyleBackColor = true;
     this.btnUpdateBpm.Click += new System.EventHandler(this.btnUpdateBpm_Click);
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.Location = new System.Drawing.Point(264, 8);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(176, 32);
     this.panel1.TabIndex = 33;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(205, 15);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(53, 12);
     this.label1.TabIndex = 32;
     this.label1.Text = "流程名称";
     //
     // btnTsSchDocId
     //
     this.btnTsSchDocId.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.btnTsSchDocId.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.btnTsSchDocId.Location = new System.Drawing.Point(524, 9);
     this.btnTsSchDocId.Name = "btnTsSchDocId";
     this.btnTsSchDocId.Size = new System.Drawing.Size(35, 23);
     this.btnTsSchDocId.TabIndex = 31;
     this.btnTsSchDocId.Text = "...";
     this.btnTsSchDocId.UseVisualStyleBackColor = true;
     this.btnTsSchDocId.Click += new System.EventHandler(this.btnTsSchDocId_Click);
     //
     // btnTsClear
     //
     this.btnTsClear.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.btnTsClear.Location = new System.Drawing.Point(660, 9);
     this.btnTsClear.Name = "btnTsClear";
     this.btnTsClear.Size = new System.Drawing.Size(75, 23);
     this.btnTsClear.TabIndex = 30;
     this.btnTsClear.Text = "清空";
     this.btnTsClear.UseVisualStyleBackColor = true;
     this.btnTsClear.Click += new System.EventHandler(this.btnTsClear_Click);
     //
     // btnTsQiuckSch
     //
     this.btnTsQiuckSch.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.btnTsQiuckSch.Location = new System.Drawing.Point(576, 8);
     this.btnTsQiuckSch.Name = "btnTsQiuckSch";
     this.btnTsQiuckSch.Size = new System.Drawing.Size(78, 23);
     this.btnTsQiuckSch.TabIndex = 28;
     this.btnTsQiuckSch.Text = "快速查询";
     this.btnTsQiuckSch.UseVisualStyleBackColor = true;
     this.btnTsQiuckSch.Click += new System.EventHandler(this.btnTsQiuckSch_Click);
     //
     // lbTsId
     //
     this.lbTsId.AutoSize = true;
     this.lbTsId.Location = new System.Drawing.Point(3, 13);
     this.lbTsId.Name = "lbTsId";
     this.lbTsId.Size = new System.Drawing.Size(29, 12);
     this.lbTsId.TabIndex = 24;
     this.lbTsId.Text = "图号";
     //
     // txtTsID
     //
     this.txtTsID.Location = new System.Drawing.Point(38, 10);
     this.txtTsID.Name = "txtTsID";
     this.txtTsID.Size = new System.Drawing.Size(161, 21);
     this.txtTsID.TabIndex = 23;
     //
     // cMenuTSD
     //
     this.cMenuTSD.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.D_OPEN_TSD,
     this.ToolStripMenuItemTSDOutput,
     this.D_DEL_TSD,
     this.D_ADD_TSD,
     this.D_TOPRINT_TSD,
     this.D_TOSENT_TSD});
     this.cMenuTSD.Name = "cMenuTSD";
     this.cMenuTSD.Size = new System.Drawing.Size(153, 158);
     //
     // D_OPEN_TSD
     //
     this.D_OPEN_TSD.Name = "D_OPEN_TSD";
     this.D_OPEN_TSD.Size = new System.Drawing.Size(152, 22);
     this.D_OPEN_TSD.Text = "打开托晒单";
     this.D_OPEN_TSD.Click += new System.EventHandler(this.D_OPEN_TSD_Click);
     //
     // D_DEL_TSD
     //
     this.D_DEL_TSD.Name = "D_DEL_TSD";
     this.D_DEL_TSD.Size = new System.Drawing.Size(152, 22);
     this.D_DEL_TSD.Text = "删除托晒单";
     this.D_DEL_TSD.Click += new System.EventHandler(this.D_DEL_TSD_Click);
     //
     // D_ADD_TSD
     //
     this.D_ADD_TSD.Name = "D_ADD_TSD";
     this.D_ADD_TSD.Size = new System.Drawing.Size(152, 22);
     this.D_ADD_TSD.Text = "新增托晒单";
     this.D_ADD_TSD.Click += new System.EventHandler(this.D_ADD_TSD_Click);
     //
     // D_TOPRINT_TSD
     //
     this.D_TOPRINT_TSD.Name = "D_TOPRINT_TSD";
     this.D_TOPRINT_TSD.Size = new System.Drawing.Size(152, 22);
     this.D_TOPRINT_TSD.Text = "发 送 打 印";
     this.D_TOPRINT_TSD.ToolTipText = "定版托晒单";
     this.D_TOPRINT_TSD.Click += new System.EventHandler(this.D_TOPRINT_TSD_Click);
     //
     // D_TOSENT_TSD
     //
     this.D_TOSENT_TSD.Name = "D_TOSENT_TSD";
     this.D_TOSENT_TSD.Size = new System.Drawing.Size(152, 22);
     this.D_TOSENT_TSD.Text = "直 接 回 收";
     this.D_TOSENT_TSD.Click += new System.EventHandler(this.D_TOSENT_TSD_Click);
     //
     // ToolStripMenuItemTSDOutput
     //
     this.ToolStripMenuItemTSDOutput.Name = "ToolStripMenuItemTSDOutput";
     this.ToolStripMenuItemTSDOutput.Size = new System.Drawing.Size(152, 22);
     this.ToolStripMenuItemTSDOutput.Text = "输出托晒单";
     this.ToolStripMenuItemTSDOutput.Click += new System.EventHandler(this.TSDOutputToolStripMenuItem_Click);
     //
     // UcTs
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.tbCtrlTS);
     this.Name = "UcTs";
     this.Size = new System.Drawing.Size(767, 433);
     this.Load += new System.EventHandler(this.UcTs_Load);
     this.tbCtrlTS.ResumeLayout(false);
     this.tPTsdLst.ResumeLayout(false);
     this.pnlTsSch.ResumeLayout(false);
     this.pnlTsSch.PerformLayout();
     this.cMenuTSD.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #16
0
ファイル: UcSentItem.cs プロジェクト: DFSTW/DQArchivManage
 private void InitializeComponent()
 {
     this.tCtrlSentBom = new TabControl();
     this.tPSentInfo = new TabPage();
     this.grpSentattr = new GroupBox();
     this.panel1 = new Panel();
     this.btnCloseSent = new Button();
     this.btnApp = new Button();
     this.btnEndSent = new Button();
     this.tpSentBom = new TabPage();
     this.lvwSentBom = new SortableListView();
     this.pnlFF = new Panel();
     this.btnCancelFF = new Button();
     this.btnEndFF = new Button();
     this.chkFilterFF = new CheckBox();
     this.txtFFSM = new TextBox();
     this.txtNumMtZs = new NumericUpDown();
     this.txtNumRealFS = new NumericUpDown();
     this.txtUnit = new ComboBox();
     this.txtDocRev = new TextBox();
     this.txtDocName = new TextBox();
     this.txtDocCode = new ComboBox();
     this.label5 = new Label();
     this.btnSaveFFBom = new Button();
     this.label4 = new Label();
     this.label7 = new Label();
     this.label8 = new Label();
     this.label6 = new Label();
     this.label3 = new Label();
     this.label2 = new Label();
     this.label1 = new Label();
     this.tpRecyclebom = new TabPage();
     this.lvwRecycleBom = new SortableListView();
     this.panel3 = new Panel();
     this.pnlHS = new Panel();
     this.btnCancelHS = new Button();
     this.btnEndHS = new Button();
     this.chkFilterHS = new CheckBox();
     this.txtHsSm = new TextBox();
     this.txtNumZsR = new NumericUpDown();
     this.txtNumRealFsR = new NumericUpDown();
     this.txtUnitR = new ComboBox();
     this.txtDocRevR = new TextBox();
     this.txtDocNameR = new TextBox();
     this.txtDocCodeR = new ComboBox();
     this.label9 = new Label();
     this.btnAppHSBom = new Button();
     this.label10 = new Label();
     this.label11 = new Label();
     this.label12 = new Label();
     this.label13 = new Label();
     this.label14 = new Label();
     this.label15 = new Label();
     this.label16 = new Label();
     this.txtSigner = new ComboBox();
     this.txtSingerR = new ComboBox();
     this.tCtrlSentBom.SuspendLayout();
     this.tPSentInfo.SuspendLayout();
     this.panel1.SuspendLayout();
     this.tpSentBom.SuspendLayout();
     this.pnlFF.SuspendLayout();
     this.txtNumMtZs.BeginInit();
     this.txtNumRealFS.BeginInit();
     this.tpRecyclebom.SuspendLayout();
     this.panel3.SuspendLayout();
     this.pnlHS.SuspendLayout();
     this.txtNumZsR.BeginInit();
     this.txtNumRealFsR.BeginInit();
     base.SuspendLayout();
     this.tCtrlSentBom.Controls.Add(this.tPSentInfo);
     this.tCtrlSentBom.Controls.Add(this.tpSentBom);
     this.tCtrlSentBom.Controls.Add(this.tpRecyclebom);
     this.tCtrlSentBom.Dock = DockStyle.Fill;
     this.tCtrlSentBom.Location = new Point(0, 0);
     this.tCtrlSentBom.Name = "tCtrlSentBom";
     this.tCtrlSentBom.SelectedIndex = 0;
     this.tCtrlSentBom.Size = new Size(0x2f2, 0x1d5);
     this.tCtrlSentBom.TabIndex = 0;
     this.tPSentInfo.Controls.Add(this.grpSentattr);
     this.tPSentInfo.Controls.Add(this.panel1);
     this.tPSentInfo.Location = new Point(4, 0x16);
     this.tPSentInfo.Name = "tPSentInfo";
     this.tPSentInfo.Padding = new Padding(3);
     this.tPSentInfo.Size = new Size(0x2ea, 0x1bb);
     this.tPSentInfo.TabIndex = 0;
     this.tPSentInfo.Text = "收发帐信息";
     this.tPSentInfo.UseVisualStyleBackColor = true;
     this.grpSentattr.BackColor = Color.WhiteSmoke;
     this.grpSentattr.Dock = DockStyle.Fill;
     this.grpSentattr.Location = new Point(3, 3);
     this.grpSentattr.Name = "grpSentattr";
     this.grpSentattr.Size = new Size(740, 0x182);
     this.grpSentattr.TabIndex = 1;
     this.grpSentattr.TabStop = false;
     this.panel1.BackColor = Color.WhiteSmoke;
     this.panel1.Controls.Add(this.btnCloseSent);
     this.panel1.Controls.Add(this.btnApp);
     this.panel1.Controls.Add(this.btnEndSent);
     this.panel1.Dock = DockStyle.Bottom;
     this.panel1.Location = new Point(3, 0x185);
     this.panel1.Name = "panel1";
     this.panel1.Size = new Size(740, 0x33);
     this.panel1.TabIndex = 0;
     this.btnCloseSent.Anchor = AnchorStyles.Right;
     this.btnCloseSent.Location = new Point(0x28c, 15);
     this.btnCloseSent.Name = "btnCloseSent";
     this.btnCloseSent.Size = new Size(0x4b, 0x17);
     this.btnCloseSent.TabIndex = 2;
     this.btnCloseSent.Text = "关闭";
     this.btnCloseSent.UseVisualStyleBackColor = true;
     this.btnCloseSent.Click += new EventHandler(this.btnCloseSent_Click);
     this.btnApp.Anchor = AnchorStyles.Right;
     this.btnApp.Location = new Point(0x23b, 15);
     this.btnApp.Name = "btnApp";
     this.btnApp.Size = new Size(0x4b, 0x17);
     this.btnApp.TabIndex = 1;
     this.btnApp.Text = "应  用";
     this.btnApp.UseVisualStyleBackColor = true;
     this.btnApp.Click += new EventHandler(this.btnApp_Click);
     this.btnEndSent.Anchor = AnchorStyles.Right;
     this.btnEndSent.Location = new Point(490, 15);
     this.btnEndSent.Name = "btnEndSent";
     this.btnEndSent.Size = new Size(0x4b, 0x17);
     this.btnEndSent.TabIndex = 0;
     this.btnEndSent.Text = "完成处理";
     this.btnEndSent.UseVisualStyleBackColor = true;
     this.btnEndSent.Click += new EventHandler(this.btnEndSent_Click);
     this.tpSentBom.Controls.Add(this.lvwSentBom);
     this.tpSentBom.Controls.Add(this.pnlFF);
     this.tpSentBom.Location = new Point(4, 0x16);
     this.tpSentBom.Name = "tpSentBom";
     this.tpSentBom.Padding = new Padding(3);
     this.tpSentBom.Size = new Size(0x2ea, 0x1bb);
     this.tpSentBom.TabIndex = 1;
     this.tpSentBom.Text = "发放明细";
     this.tpSentBom.UseVisualStyleBackColor = true;
     this.lvwSentBom.Dock = DockStyle.Fill;
     this.lvwSentBom.FullRowSelect = true;
     this.lvwSentBom.GridLines = true;
     this.lvwSentBom.HideSelection = false;
     this.lvwSentBom.Location = new Point(3, 3);
     this.lvwSentBom.Name = "lvwSentBom";
     this.lvwSentBom.Size = new Size(740, 0x150);
     this.lvwSentBom.SortingOrder = SortOrder.None;
     this.lvwSentBom.TabIndex = 1;
     this.lvwSentBom.UseCompatibleStateImageBehavior = false;
     this.lvwSentBom.View = View.Details;
     this.lvwSentBom.SelectedIndexChanged += new EventHandler(this.lvwSentBom_SelectedIndexChanged);
     this.lvwSentBom.KeyUp += new KeyEventHandler(this.lvwSentBom_KeyUp);
     this.pnlFF.BackColor = Color.WhiteSmoke;
     this.pnlFF.Controls.Add(this.txtSigner);
     this.pnlFF.Controls.Add(this.btnCancelFF);
     this.pnlFF.Controls.Add(this.btnEndFF);
     this.pnlFF.Controls.Add(this.chkFilterFF);
     this.pnlFF.Controls.Add(this.txtFFSM);
     this.pnlFF.Controls.Add(this.txtNumMtZs);
     this.pnlFF.Controls.Add(this.txtNumRealFS);
     this.pnlFF.Controls.Add(this.txtUnit);
     this.pnlFF.Controls.Add(this.txtDocRev);
     this.pnlFF.Controls.Add(this.txtDocName);
     this.pnlFF.Controls.Add(this.txtDocCode);
     this.pnlFF.Controls.Add(this.label5);
     this.pnlFF.Controls.Add(this.btnSaveFFBom);
     this.pnlFF.Controls.Add(this.label4);
     this.pnlFF.Controls.Add(this.label7);
     this.pnlFF.Controls.Add(this.label8);
     this.pnlFF.Controls.Add(this.label6);
     this.pnlFF.Controls.Add(this.label3);
     this.pnlFF.Controls.Add(this.label2);
     this.pnlFF.Controls.Add(this.label1);
     this.pnlFF.Dock = DockStyle.Bottom;
     this.pnlFF.Location = new Point(3, 0x153);
     this.pnlFF.Name = "pnlFF";
     this.pnlFF.Size = new Size(740, 0x65);
     this.pnlFF.TabIndex = 0;
     this.btnCancelFF.Location = new Point(0x283, 0x25);
     this.btnCancelFF.Name = "btnCancelFF";
     this.btnCancelFF.Size = new Size(0x4b, 0x18);
     this.btnCancelFF.TabIndex = 0x22;
     this.btnCancelFF.Text = "取消处理";
     this.btnCancelFF.UseVisualStyleBackColor = true;
     this.btnCancelFF.Click += new EventHandler(this.btnCancelFF_Click);
     this.btnEndFF.Location = new Point(0x283, 8);
     this.btnEndFF.Name = "btnEndFF";
     this.btnEndFF.Size = new Size(0x4b, 0x17);
     this.btnEndFF.TabIndex = 0x21;
     this.btnEndFF.Text = "处理完成";
     this.btnEndFF.UseVisualStyleBackColor = true;
     this.btnEndFF.Click += new EventHandler(this.btnEndFF_Click);
     this.chkFilterFF.AutoSize = true;
     this.chkFilterFF.Location = new Point(0x240, 15);
     this.chkFilterFF.Name = "chkFilterFF";
     this.chkFilterFF.Size = new Size(0x30, 0x10);
     this.chkFilterFF.TabIndex = 0x20;
     this.chkFilterFF.Text = "过滤";
     this.chkFilterFF.UseVisualStyleBackColor = true;
     this.chkFilterFF.CheckedChanged += new EventHandler(this.chkFilterFF_CheckedChanged);
     this.txtFFSM.Location = new Point(70, 0x42);
     this.txtFFSM.Name = "txtFFSM";
     this.txtFFSM.Size = new Size(0x131, 0x15);
     this.txtFFSM.TabIndex = 0x1d;
     this.txtNumMtZs.Location = new Point(0x1bf, 40);
     int[] bits = new int[4];
     bits[0] = 0x7d0;
     this.txtNumMtZs.Maximum = new decimal(bits);
     this.txtNumMtZs.Name = "txtNumMtZs";
     this.txtNumMtZs.ReadOnly = true;
     this.txtNumMtZs.Size = new Size(0x72, 0x15);
     this.txtNumMtZs.TabIndex = 0x1c;
     this.txtNumRealFS.Location = new Point(0x1c1, 11);
     int[] bits1 = new int[4];
     bits1[0] = 0x3e8;
     this.txtNumRealFS.Maximum = new decimal(bits1);
     this.txtNumRealFS.Name = "txtNumRealFS";
     this.txtNumRealFS.Size = new Size(0x70, 0x15);
     this.txtNumRealFS.TabIndex = 0x1b;
     this.txtUnit.DropDownStyle = ComboBoxStyle.DropDownList;
     this.txtUnit.FormattingEnabled = true;
     this.txtUnit.Location = new Point(0x33, 0x25);
     this.txtUnit.Name = "txtUnit";
     this.txtUnit.Size = new Size(0x8f, 20);
     this.txtUnit.TabIndex = 0x1a;
     this.txtUnit.SelectedIndexChanged += new EventHandler(this.txtUnit_SelectedIndexChanged);
     this.txtDocRev.Location = new Point(0x111, 40);
     this.txtDocRev.Name = "txtDocRev";
     this.txtDocRev.ReadOnly = true;
     this.txtDocRev.Size = new Size(0x66, 0x15);
     this.txtDocRev.TabIndex = 0x19;
     this.txtDocName.Location = new Point(0x111, 12);
     this.txtDocName.Name = "txtDocName";
     this.txtDocName.ReadOnly = true;
     this.txtDocName.Size = new Size(100, 0x15);
     this.txtDocName.TabIndex = 0x18;
     this.txtDocCode.DropDownStyle = ComboBoxStyle.DropDownList;
     this.txtDocCode.FormattingEnabled = true;
     this.txtDocCode.Location = new Point(0x33, 10);
     this.txtDocCode.Name = "txtDocCode";
     this.txtDocCode.Size = new Size(0x8f, 20);
     this.txtDocCode.TabIndex = 0x17;
     this.txtDocCode.SelectedIndexChanged += new EventHandler(this.txtDocCode_SelectedIndexChanged);
     this.label5.AutoSize = true;
     this.label5.Location = new Point(0xd6, 0x2b);
     this.label5.Name = "label5";
     this.label5.Size = new Size(0x35, 12);
     this.label5.TabIndex = 0x16;
     this.label5.Text = "图纸版本";
     this.btnSaveFFBom.Anchor = AnchorStyles.Left;
     this.btnSaveFFBom.Location = new Point(0x283, 0x41);
     this.btnSaveFFBom.Name = "btnSaveFFBom";
     this.btnSaveFFBom.Size = new Size(0x4b, 0x17);
     this.btnSaveFFBom.TabIndex = 20;
     this.btnSaveFFBom.Text = "修改";
     this.btnSaveFFBom.UseVisualStyleBackColor = true;
     this.btnSaveFFBom.Click += new EventHandler(this.btnSaveFFBom_Click);
     this.label4.AutoSize = true;
     this.label4.Location = new Point(11, 0x44);
     this.label4.Name = "label4";
     this.label4.Size = new Size(0x35, 12);
     this.label4.TabIndex = 8;
     this.label4.Text = "发放说明";
     this.label7.AutoSize = true;
     this.label7.Location = new Point(0x17f, 0x2a);
     this.label7.Name = "label7";
     this.label7.Size = new Size(0x35, 12);
     this.label7.TabIndex = 7;
     this.label7.Text = "每份张数";
     this.label8.AutoSize = true;
     this.label8.Location = new Point(0x18b, 70);
     this.label8.Name = "label8";
     this.label8.Size = new Size(0x29, 12);
     this.label8.TabIndex = 6;
     this.label8.Text = "签收人";
     this.label6.AutoSize = true;
     this.label6.Location = new Point(0x10, 40);
     this.label6.Name = "label6";
     this.label6.Size = new Size(0x1d, 12);
     this.label6.TabIndex = 4;
     this.label6.Text = "单位";
     this.label3.AutoSize = true;
     this.label3.Location = new Point(0x17f, 0x11);
     this.label3.Name = "label3";
     this.label3.Size = new Size(0x35, 12);
     this.label3.TabIndex = 3;
     this.label3.Text = "发放份数";
     this.label2.AutoSize = true;
     this.label2.Location = new Point(0xd6, 15);
     this.label2.Name = "label2";
     this.label2.Size = new Size(0x35, 12);
     this.label2.TabIndex = 1;
     this.label2.Text = "图纸名称";
     this.label1.AutoSize = true;
     this.label1.Location = new Point(0x10, 13);
     this.label1.Name = "label1";
     this.label1.Size = new Size(0x1d, 12);
     this.label1.TabIndex = 0;
     this.label1.Text = "图号";
     this.tpRecyclebom.Controls.Add(this.lvwRecycleBom);
     this.tpRecyclebom.Controls.Add(this.panel3);
     this.tpRecyclebom.Location = new Point(4, 0x16);
     this.tpRecyclebom.Name = "tpRecyclebom";
     this.tpRecyclebom.Size = new Size(0x2ea, 0x1bb);
     this.tpRecyclebom.TabIndex = 2;
     this.tpRecyclebom.Text = "回收明细";
     this.tpRecyclebom.UseVisualStyleBackColor = true;
     this.lvwRecycleBom.Dock = DockStyle.Fill;
     this.lvwRecycleBom.FullRowSelect = true;
     this.lvwRecycleBom.HideSelection = false;
     this.lvwRecycleBom.Location = new Point(0, 0);
     this.lvwRecycleBom.Name = "lvwRecycleBom";
     this.lvwRecycleBom.Size = new Size(0x2ea, 0x157);
     this.lvwRecycleBom.SortingOrder = SortOrder.None;
     this.lvwRecycleBom.TabIndex = 2;
     this.lvwRecycleBom.UseCompatibleStateImageBehavior = false;
     this.lvwRecycleBom.View = View.Details;
     this.lvwRecycleBom.SelectedIndexChanged += new EventHandler(this.lvwRecycleBom_SelectedIndexChanged);
     this.lvwRecycleBom.KeyUp += new KeyEventHandler(this.lvwRecycleBom_KeyUp);
     this.panel3.BackColor = Color.WhiteSmoke;
     this.panel3.Controls.Add(this.pnlHS);
     this.panel3.Dock = DockStyle.Bottom;
     this.panel3.Location = new Point(0, 0x157);
     this.panel3.Name = "panel3";
     this.panel3.Size = new Size(0x2ea, 100);
     this.panel3.TabIndex = 1;
     this.pnlHS.BackColor = Color.WhiteSmoke;
     this.pnlHS.Controls.Add(this.txtSingerR);
     this.pnlHS.Controls.Add(this.btnCancelHS);
     this.pnlHS.Controls.Add(this.btnEndHS);
     this.pnlHS.Controls.Add(this.chkFilterHS);
     this.pnlHS.Controls.Add(this.txtHsSm);
     this.pnlHS.Controls.Add(this.txtNumZsR);
     this.pnlHS.Controls.Add(this.txtNumRealFsR);
     this.pnlHS.Controls.Add(this.txtUnitR);
     this.pnlHS.Controls.Add(this.txtDocRevR);
     this.pnlHS.Controls.Add(this.txtDocNameR);
     this.pnlHS.Controls.Add(this.txtDocCodeR);
     this.pnlHS.Controls.Add(this.label9);
     this.pnlHS.Controls.Add(this.btnAppHSBom);
     this.pnlHS.Controls.Add(this.label10);
     this.pnlHS.Controls.Add(this.label11);
     this.pnlHS.Controls.Add(this.label12);
     this.pnlHS.Controls.Add(this.label13);
     this.pnlHS.Controls.Add(this.label14);
     this.pnlHS.Controls.Add(this.label15);
     this.pnlHS.Controls.Add(this.label16);
     this.pnlHS.Dock = DockStyle.Fill;
     this.pnlHS.Location = new Point(0, 0);
     this.pnlHS.Name = "pnlHS";
     this.pnlHS.Size = new Size(0x2ea, 100);
     this.pnlHS.TabIndex = 1;
     this.btnCancelHS.Location = new Point(0x287, 0x26);
     this.btnCancelHS.Name = "btnCancelHS";
     this.btnCancelHS.Size = new Size(0x4b, 0x18);
     this.btnCancelHS.TabIndex = 0x24;
     this.btnCancelHS.Text = "取消处理";
     this.btnCancelHS.UseVisualStyleBackColor = true;
     this.btnCancelHS.Click += new EventHandler(this.btnCancelHS_Click);
     this.btnEndHS.Location = new Point(0x287, 9);
     this.btnEndHS.Name = "btnEndHS";
     this.btnEndHS.Size = new Size(0x4b, 0x17);
     this.btnEndHS.TabIndex = 0x23;
     this.btnEndHS.Text = "处理完成";
     this.btnEndHS.UseVisualStyleBackColor = true;
     this.btnEndHS.Click += new EventHandler(this.btnEndHS_Click);
     this.chkFilterHS.AutoSize = true;
     this.chkFilterHS.Location = new Point(0x237, 15);
     this.chkFilterHS.Name = "chkFilterHS";
     this.chkFilterHS.Size = new Size(0x30, 0x10);
     this.chkFilterHS.TabIndex = 0x1f;
     this.chkFilterHS.Text = "过滤";
     this.chkFilterHS.UseVisualStyleBackColor = true;
     this.chkFilterHS.CheckedChanged += new EventHandler(this.chkFilterHS_CheckedChanged);
     this.txtHsSm.Location = new Point(70, 0x42);
     this.txtHsSm.Name = "txtHsSm";
     this.txtHsSm.Size = new Size(0x11d, 0x15);
     this.txtHsSm.TabIndex = 0x1d;
     this.txtNumZsR.Location = new Point(0x1a2, 0x24);
     int[] bits2 = new int[4];
     bits2[0] = 0x7d0;
     this.txtNumZsR.Maximum = new decimal(bits2);
     this.txtNumZsR.Name = "txtNumZsR";
     this.txtNumZsR.ReadOnly = true;
     this.txtNumZsR.Size = new Size(0x79, 0x15);
     this.txtNumZsR.TabIndex = 0x1c;
     this.txtNumRealFsR.Location = new Point(0xff, 0x26);
     int[] bits3 = new int[4];
     bits3[0] = 0x3e8;
     this.txtNumRealFsR.Maximum = new decimal(bits3);
     this.txtNumRealFsR.Name = "txtNumRealFsR";
     this.txtNumRealFsR.Size = new Size(100, 0x15);
     this.txtNumRealFsR.TabIndex = 0x1b;
     this.txtUnitR.DropDownStyle = ComboBoxStyle.DropDownList;
     this.txtUnitR.FormattingEnabled = true;
     this.txtUnitR.Location = new Point(0x2e, 0x26);
     this.txtUnitR.Name = "txtUnitR";
     this.txtUnitR.Size = new Size(0x8e, 20);
     this.txtUnitR.TabIndex = 0x1a;
     this.txtUnitR.SelectedIndexChanged += new EventHandler(this.txtUnitR_SelectedIndexChanged);
     this.txtDocRevR.Location = new Point(0x1a2, 10);
     this.txtDocRevR.Name = "txtDocRevR";
     this.txtDocRevR.ReadOnly = true;
     this.txtDocRevR.Size = new Size(0x79, 0x15);
     this.txtDocRevR.TabIndex = 0x19;
     this.txtDocNameR.Location = new Point(0xff, 10);
     this.txtDocNameR.Name = "txtDocNameR";
     this.txtDocNameR.ReadOnly = true;
     this.txtDocNameR.Size = new Size(100, 0x15);
     this.txtDocNameR.TabIndex = 0x18;
     this.txtDocCodeR.DropDownStyle = ComboBoxStyle.DropDownList;
     this.txtDocCodeR.FormattingEnabled = true;
     this.txtDocCodeR.Location = new Point(0x2e, 11);
     this.txtDocCodeR.Name = "txtDocCodeR";
     this.txtDocCodeR.Size = new Size(0x8f, 20);
     this.txtDocCodeR.TabIndex = 0x17;
     this.txtDocCodeR.SelectedIndexChanged += new EventHandler(this.txtDocCodeR_SelectedIndexChanged);
     this.label9.AutoSize = true;
     this.label9.Location = new Point(0x167, 13);
     this.label9.Name = "label9";
     this.label9.Size = new Size(0x35, 12);
     this.label9.TabIndex = 0x16;
     this.label9.Text = "图纸版本";
     this.btnAppHSBom.Anchor = AnchorStyles.Left;
     this.btnAppHSBom.Location = new Point(0x287, 0x44);
     this.btnAppHSBom.Name = "btnAppHSBom";
     this.btnAppHSBom.Size = new Size(0x4b, 0x17);
     this.btnAppHSBom.TabIndex = 20;
     this.btnAppHSBom.Text = "修改";
     this.btnAppHSBom.UseVisualStyleBackColor = true;
     this.btnAppHSBom.Click += new EventHandler(this.btnAppHSBom_Click);
     this.label10.AutoSize = true;
     this.label10.Location = new Point(11, 0x44);
     this.label10.Name = "label10";
     this.label10.Size = new Size(0x35, 12);
     this.label10.TabIndex = 8;
     this.label10.Text = "回收说明";
     this.label11.AutoSize = true;
     this.label11.Location = new Point(360, 0x26);
     this.label11.Name = "label11";
     this.label11.Size = new Size(0x35, 12);
     this.label11.TabIndex = 7;
     this.label11.Text = "每份张数";
     this.label12.AutoSize = true;
     this.label12.Location = new Point(0x175, 0x42);
     this.label12.Name = "label12";
     this.label12.Size = new Size(0x29, 12);
     this.label12.TabIndex = 6;
     this.label12.Text = "签收人";
     this.label13.AutoSize = true;
     this.label13.Location = new Point(11, 0x29);
     this.label13.Name = "label13";
     this.label13.Size = new Size(0x1d, 12);
     this.label13.TabIndex = 4;
     this.label13.Text = "单位";
     this.label14.AutoSize = true;
     this.label14.Location = new Point(200, 0x29);
     this.label14.Name = "label14";
     this.label14.Size = new Size(0x35, 12);
     this.label14.TabIndex = 3;
     this.label14.Text = "回收份数";
     this.label15.AutoSize = true;
     this.label15.Location = new Point(0xc5, 0x11);
     this.label15.Name = "label15";
     this.label15.Size = new Size(0x35, 12);
     this.label15.TabIndex = 1;
     this.label15.Text = "图纸名称";
     this.label16.AutoSize = true;
     this.label16.Location = new Point(11, 14);
     this.label16.Name = "label16";
     this.label16.Size = new Size(0x1d, 12);
     this.label16.TabIndex = 0;
     this.label16.Text = "图号";
     this.txtSigner.FormattingEnabled = true;
     this.txtSigner.Location = new Point(0x1c1, 0x44);
     this.txtSigner.Name = "txtSigner";
     this.txtSigner.Size = new Size(0x70, 20);
     this.txtSigner.TabIndex = 0x23;
     this.txtSingerR.FormattingEnabled = true;
     this.txtSingerR.Location = new Point(0x1a2, 0x42);
     this.txtSingerR.Name = "txtSingerR";
     this.txtSingerR.Size = new Size(0x79, 20);
     this.txtSingerR.TabIndex = 0x25;
     base.AutoScaleDimensions = new SizeF(6f, 12f);
     base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     base.Controls.Add(this.tCtrlSentBom);
     base.Name = "UcSentItem";
     base.Size = new Size(0x2f2, 0x1d5);
     this.tCtrlSentBom.ResumeLayout(false);
     this.tPSentInfo.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.tpSentBom.ResumeLayout(false);
     this.pnlFF.ResumeLayout(false);
     this.pnlFF.PerformLayout();
     this.txtNumMtZs.EndInit();
     this.txtNumRealFS.EndInit();
     this.tpRecyclebom.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.pnlHS.ResumeLayout(false);
     this.pnlHS.PerformLayout();
     this.txtNumZsR.EndInit();
     this.txtNumRealFsR.EndInit();
     base.ResumeLayout(false);
 }
コード例 #17
0
ファイル: UcPrint.cs プロジェクト: DFSTW/DQArchivManage
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.tbCtrlPrint = new System.Windows.Forms.TabControl();
     this.tpPrintLst = new System.Windows.Forms.TabPage();
     this.lvwPrintLst = new Thyt.TiPLM.UIL.Common.SortableListView();
     this.panel1 = new System.Windows.Forms.Panel();
     this.btnUpdateBpm = new System.Windows.Forms.Button();
     this.panel2 = new System.Windows.Forms.Panel();
     this.label1 = new System.Windows.Forms.Label();
     this.btnTsSchDocId = new System.Windows.Forms.Button();
     this.btnTsClear = new System.Windows.Forms.Button();
     this.btnTsQiuckSch = new System.Windows.Forms.Button();
     this.lbTsId = new System.Windows.Forms.Label();
     this.txtTsID = new System.Windows.Forms.TextBox();
     this.cMenuPrint = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.mItemOpen = new System.Windows.Forms.ToolStripMenuItem();
     this.mItemCancelPrint = new System.Windows.Forms.ToolStripMenuItem();
     this.mItemToSent = new System.Windows.Forms.ToolStripMenuItem();
     this.mItemRePrint = new System.Windows.Forms.ToolStripMenuItem();
     this.mItemOutPut = new System.Windows.Forms.ToolStripMenuItem();
     this.mItemBack = new System.Windows.Forms.ToolStripMenuItem();
     this.mItemDownRrt = new System.Windows.Forms.ToolStripMenuItem();
     this.tbCtrlPrint.SuspendLayout();
     this.tpPrintLst.SuspendLayout();
     this.panel1.SuspendLayout();
     this.cMenuPrint.SuspendLayout();
     this.SuspendLayout();
     //
     // tbCtrlPrint
     //
     this.tbCtrlPrint.Controls.Add(this.tpPrintLst);
     this.tbCtrlPrint.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tbCtrlPrint.Location = new System.Drawing.Point(0, 0);
     this.tbCtrlPrint.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tbCtrlPrint.Name = "tbCtrlPrint";
     this.tbCtrlPrint.SelectedIndex = 0;
     this.tbCtrlPrint.Size = new System.Drawing.Size(1027, 528);
     this.tbCtrlPrint.TabIndex = 0;
     //
     // tpPrintLst
     //
     this.tpPrintLst.Controls.Add(this.lvwPrintLst);
     this.tpPrintLst.Controls.Add(this.panel1);
     this.tpPrintLst.Location = new System.Drawing.Point(4, 25);
     this.tpPrintLst.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tpPrintLst.Name = "tpPrintLst";
     this.tpPrintLst.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tpPrintLst.Size = new System.Drawing.Size(1019, 499);
     this.tpPrintLst.TabIndex = 0;
     this.tpPrintLst.Text = "打印列表";
     this.tpPrintLst.UseVisualStyleBackColor = true;
     //
     // lvwPrintLst
     //
     this.lvwPrintLst.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lvwPrintLst.FullRowSelect = true;
     this.lvwPrintLst.HideSelection = false;
     this.lvwPrintLst.Location = new System.Drawing.Point(4, 64);
     this.lvwPrintLst.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.lvwPrintLst.Name = "lvwPrintLst";
     this.lvwPrintLst.Size = new System.Drawing.Size(1011, 431);
     this.lvwPrintLst.SortingOrder = System.Windows.Forms.SortOrder.None;
     this.lvwPrintLst.TabIndex = 1;
     this.lvwPrintLst.UseCompatibleStateImageBehavior = false;
     this.lvwPrintLst.View = System.Windows.Forms.View.Details;
     this.lvwPrintLst.DoubleClick += new System.EventHandler(this.lvwPrintLst_DoubleClick);
     this.lvwPrintLst.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lvwPrintLst_MouseUp);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.btnUpdateBpm);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.btnTsSchDocId);
     this.panel1.Controls.Add(this.btnTsClear);
     this.panel1.Controls.Add(this.btnTsQiuckSch);
     this.panel1.Controls.Add(this.lbTsId);
     this.panel1.Controls.Add(this.txtTsID);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(4, 4);
     this.panel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(1011, 60);
     this.panel1.TabIndex = 0;
     //
     // btnUpdateBpm
     //
     this.btnUpdateBpm.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.btnUpdateBpm.Location = new System.Drawing.Point(624, 12);
     this.btnUpdateBpm.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.btnUpdateBpm.Name = "btnUpdateBpm";
     this.btnUpdateBpm.Size = new System.Drawing.Size(84, 29);
     this.btnUpdateBpm.TabIndex = 42;
     this.btnUpdateBpm.Text = "更新流程";
     this.btnUpdateBpm.UseVisualStyleBackColor = true;
     this.btnUpdateBpm.Click += new System.EventHandler(this.btnUpdateBpm_Click);
     //
     // panel2
     //
     this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.panel2.Location = new System.Drawing.Point(367, 10);
     this.panel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(238, 40);
     this.panel2.TabIndex = 41;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(289, 21);
     this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(67, 15);
     this.label1.TabIndex = 40;
     this.label1.Text = "流程名称";
     //
     // btnTsSchDocId
     //
     this.btnTsSchDocId.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.btnTsSchDocId.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.btnTsSchDocId.Location = new System.Drawing.Point(728, 14);
     this.btnTsSchDocId.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.btnTsSchDocId.Name = "btnTsSchDocId";
     this.btnTsSchDocId.Size = new System.Drawing.Size(47, 29);
     this.btnTsSchDocId.TabIndex = 38;
     this.btnTsSchDocId.Text = "...";
     this.btnTsSchDocId.UseVisualStyleBackColor = true;
     this.btnTsSchDocId.Click += new System.EventHandler(this.btnTsSchDocId_Click);
     //
     // btnTsClear
     //
     this.btnTsClear.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.btnTsClear.Location = new System.Drawing.Point(895, 12);
     this.btnTsClear.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.btnTsClear.Name = "btnTsClear";
     this.btnTsClear.Size = new System.Drawing.Size(100, 29);
     this.btnTsClear.TabIndex = 37;
     this.btnTsClear.Text = "清空";
     this.btnTsClear.UseVisualStyleBackColor = true;
     this.btnTsClear.Click += new System.EventHandler(this.btnTsClear_Click);
     //
     // btnTsQiuckSch
     //
     this.btnTsQiuckSch.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.btnTsQiuckSch.Enabled = false;
     this.btnTsQiuckSch.Location = new System.Drawing.Point(783, 15);
     this.btnTsQiuckSch.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.btnTsQiuckSch.Name = "btnTsQiuckSch";
     this.btnTsQiuckSch.Size = new System.Drawing.Size(104, 29);
     this.btnTsQiuckSch.TabIndex = 35;
     this.btnTsQiuckSch.Text = "快速查询";
     this.btnTsQiuckSch.UseVisualStyleBackColor = true;
     this.btnTsQiuckSch.Visible = false;
     this.btnTsQiuckSch.Click += new System.EventHandler(this.btnTsQiuckSch_Click);
     //
     // lbTsId
     //
     this.lbTsId.AutoSize = true;
     this.lbTsId.Location = new System.Drawing.Point(20, 20);
     this.lbTsId.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lbTsId.Name = "lbTsId";
     this.lbTsId.Size = new System.Drawing.Size(37, 15);
     this.lbTsId.TabIndex = 33;
     this.lbTsId.Text = "图号";
     //
     // txtTsID
     //
     this.txtTsID.Location = new System.Drawing.Point(67, 16);
     this.txtTsID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.txtTsID.Name = "txtTsID";
     this.txtTsID.Size = new System.Drawing.Size(213, 25);
     this.txtTsID.TabIndex = 32;
     //
     // cMenuPrint
     //
     this.cMenuPrint.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.mItemOpen,
     this.mItemCancelPrint,
     this.mItemToSent,
     this.mItemRePrint,
     this.mItemOutPut,
     this.mItemBack,
     this.mItemDownRrt});
     this.cMenuPrint.Name = "cMenuPrint";
     this.cMenuPrint.Size = new System.Drawing.Size(169, 172);
     //
     // mItemOpen
     //
     this.mItemOpen.Name = "mItemOpen";
     this.mItemOpen.Size = new System.Drawing.Size(168, 24);
     this.mItemOpen.Text = "打开托晒单";
     this.mItemOpen.Click += new System.EventHandler(this.mItemOpen_Click);
     //
     // mItemCancelPrint
     //
     this.mItemCancelPrint.Enabled = false;
     this.mItemCancelPrint.Name = "mItemCancelPrint";
     this.mItemCancelPrint.Size = new System.Drawing.Size(168, 24);
     this.mItemCancelPrint.Text = "取 消 打 印";
     this.mItemCancelPrint.Visible = false;
     this.mItemCancelPrint.Click += new System.EventHandler(this.mItemCancelPrint_Click);
     //
     // mItemToSent
     //
     this.mItemToSent.Name = "mItemToSent";
     this.mItemToSent.Size = new System.Drawing.Size(168, 24);
     this.mItemToSent.Text = "打 印 完 成";
     this.mItemToSent.Click += new System.EventHandler(this.mItemToSent_Click);
     //
     // mItemRePrint
     //
     this.mItemRePrint.Enabled = false;
     this.mItemRePrint.Name = "mItemRePrint";
     this.mItemRePrint.Size = new System.Drawing.Size(168, 24);
     this.mItemRePrint.Text = "重 新 打 印";
     this.mItemRePrint.Visible = false;
     this.mItemRePrint.Click += new System.EventHandler(this.mItemRePrint_Click);
     //
     // mItemOutPut
     //
     this.mItemOutPut.Name = "mItemOutPut";
     this.mItemOutPut.Size = new System.Drawing.Size(168, 24);
     this.mItemOutPut.Text = "输出托晒单";
     this.mItemOutPut.Click += new System.EventHandler(this.mItemOutPut_Click);
     //
     // mItemBack
     //
     this.mItemBack.Enabled = false;
     this.mItemBack.Name = "mItemBack";
     this.mItemBack.Size = new System.Drawing.Size(168, 24);
     this.mItemBack.Text = "打 印 回 退";
     this.mItemBack.Visible = false;
     this.mItemBack.Click += new System.EventHandler(this.mItemBack_Click);
     //
     // mItemDownRrt
     //
     this.mItemDownRrt.Name = "mItemDownRrt";
     this.mItemDownRrt.Size = new System.Drawing.Size(168, 24);
     this.mItemDownRrt.Text = "下载打印文件";
     this.mItemDownRrt.Click += new System.EventHandler(this.MItemDownRrt_Click);
     //
     // UcPrint
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.tbCtrlPrint);
     this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.Name = "UcPrint";
     this.Size = new System.Drawing.Size(1027, 528);
     this.Load += new System.EventHandler(this.UcPrint_Load);
     this.tbCtrlPrint.ResumeLayout(false);
     this.tpPrintLst.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.cMenuPrint.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #18
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MPViewer));
            this.splitContainer        = new System.Windows.Forms.SplitContainer();
            this.objectTypeTree        = new System.Windows.Forms.TreeView();
            this.detailsSplitContainer = new System.Windows.Forms.SplitContainer();
            this.detailsTabControl     = new System.Windows.Forms.TabControl();
            this.knowledgeTab          = new System.Windows.Forms.TabPage();
            this.knowledgeBrowser      = new System.Windows.Forms.WebBrowser();
            this.mpElementXmlTab       = new System.Windows.Forms.TabPage();
            this.mpElementXml          = new System.Windows.Forms.WebBrowser();
            this.menuStrip1            = new System.Windows.Forms.MenuStrip();
            this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.loadManagementPackToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
            this.unsealManagementPackToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.saveToHTMLToolStripMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
            this.exitToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
            this.saveToExcelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.backgroundWorker             = new System.ComponentModel.BackgroundWorker();
            this.splitContainer.Panel1.SuspendLayout();
            this.splitContainer.Panel2.SuspendLayout();
            this.splitContainer.SuspendLayout();
            this.detailsSplitContainer.Panel1.SuspendLayout();
            this.detailsSplitContainer.Panel2.SuspendLayout();
            this.detailsSplitContainer.SuspendLayout();
            this.detailsTabControl.SuspendLayout();
            this.knowledgeTab.SuspendLayout();
            this.mpElementXmlTab.SuspendLayout();
            this.menuStrip1.SuspendLayout();
            this.SuspendLayout();
            //
            // splitContainer
            //
            this.splitContainer.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer.Location = new System.Drawing.Point(0, 24);
            this.splitContainer.Name     = "splitContainer";
            //
            // splitContainer.Panel1
            //
            this.splitContainer.Panel1.Controls.Add(this.objectTypeTree);
            //
            // splitContainer.Panel2
            //
            this.splitContainer.Panel2.Controls.Add(this.detailsSplitContainer);
            this.splitContainer.Size             = new System.Drawing.Size(722, 652);
            this.splitContainer.SplitterDistance = 146;
            this.splitContainer.TabIndex         = 0;
            //
            // objectTypeTree
            //
            this.objectTypeTree.Dock          = System.Windows.Forms.DockStyle.Fill;
            this.objectTypeTree.HideSelection = false;
            this.objectTypeTree.Location      = new System.Drawing.Point(0, 0);
            this.objectTypeTree.Name          = "objectTypeTree";
            this.objectTypeTree.Size          = new System.Drawing.Size(146, 652);
            this.objectTypeTree.TabIndex      = 0;
            this.objectTypeTree.AfterSelect  += new System.Windows.Forms.TreeViewEventHandler(this.objectTypeTree_AfterSelect);
            //
            // detailsSplitContainer
            //
            this.detailsSplitContainer.Dock        = System.Windows.Forms.DockStyle.Fill;
            this.detailsSplitContainer.Location    = new System.Drawing.Point(0, 0);
            this.detailsSplitContainer.Name        = "detailsSplitContainer";
            this.detailsSplitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
            //
            // detailsSplitContainer.Panel1
            //

            mpElementListView = new SortableListView();
            this.detailsSplitContainer.Panel1.Controls.Add(this.mpElementListView);
            //
            // detailsSplitContainer.Panel2
            //
            this.detailsSplitContainer.Panel2.Controls.Add(this.detailsTabControl);
            this.detailsSplitContainer.Size             = new System.Drawing.Size(572, 652);
            this.detailsSplitContainer.SplitterDistance = 350;
            this.detailsSplitContainer.TabIndex         = 0;
            //
            // mpElementListView
            //
            this.mpElementListView.Dock          = System.Windows.Forms.DockStyle.Fill;
            this.mpElementListView.FullRowSelect = true;
            this.mpElementListView.HideSelection = false;
            this.mpElementListView.Location      = new System.Drawing.Point(0, 0);
            this.mpElementListView.MultiSelect   = false;
            this.mpElementListView.Name          = "mpElementListView";
            this.mpElementListView.Size          = new System.Drawing.Size(572, 350);
            this.mpElementListView.TabIndex      = 0;
            this.mpElementListView.UseCompatibleStateImageBehavior = false;
            this.mpElementListView.View = System.Windows.Forms.View.Details;
            this.mpElementListView.SelectedIndexChanged += new System.EventHandler(this.mpElementListView_SelectedIndexChanged);
            //
            // detailsTabControl
            //
            this.detailsTabControl.Controls.Add(this.knowledgeTab);
            this.detailsTabControl.Controls.Add(this.mpElementXmlTab);
            this.detailsTabControl.Dock          = System.Windows.Forms.DockStyle.Fill;
            this.detailsTabControl.Location      = new System.Drawing.Point(0, 0);
            this.detailsTabControl.Name          = "detailsTabControl";
            this.detailsTabControl.SelectedIndex = 0;
            this.detailsTabControl.Size          = new System.Drawing.Size(572, 298);
            this.detailsTabControl.TabIndex      = 0;
            //
            // knowledgeTab
            //
            this.knowledgeTab.Controls.Add(this.knowledgeBrowser);
            this.knowledgeTab.Location = new System.Drawing.Point(4, 22);
            this.knowledgeTab.Name     = "knowledgeTab";
            this.knowledgeTab.Padding  = new System.Windows.Forms.Padding(3);
            this.knowledgeTab.Size     = new System.Drawing.Size(564, 272);
            this.knowledgeTab.TabIndex = 0;
            this.knowledgeTab.Text     = "Knowledge";
            this.knowledgeTab.UseVisualStyleBackColor = true;
            //
            // knowledgeBrowser
            //
            this.knowledgeBrowser.Dock = System.Windows.Forms.DockStyle.Fill;
            this.knowledgeBrowser.IsWebBrowserContextMenuEnabled = false;
            this.knowledgeBrowser.Location    = new System.Drawing.Point(3, 3);
            this.knowledgeBrowser.MinimumSize = new System.Drawing.Size(20, 20);
            this.knowledgeBrowser.Name        = "knowledgeBrowser";
            this.knowledgeBrowser.Size        = new System.Drawing.Size(558, 266);
            this.knowledgeBrowser.TabIndex    = 0;
            //
            // mpElementXmlTab
            //
            this.mpElementXmlTab.Controls.Add(this.mpElementXml);
            this.mpElementXmlTab.Location = new System.Drawing.Point(4, 22);
            this.mpElementXmlTab.Name     = "mpElementXmlTab";
            this.mpElementXmlTab.Size     = new System.Drawing.Size(564, 272);
            this.mpElementXmlTab.TabIndex = 1;
            this.mpElementXmlTab.Text     = "Raw XML";
            this.mpElementXmlTab.UseVisualStyleBackColor = true;
            //
            // mpElementXml
            //
            this.mpElementXml.AllowWebBrowserDrop = false;
            this.mpElementXml.Dock = System.Windows.Forms.DockStyle.Fill;
            this.mpElementXml.IsWebBrowserContextMenuEnabled = false;
            this.mpElementXml.Location    = new System.Drawing.Point(0, 0);
            this.mpElementXml.MinimumSize = new System.Drawing.Size(20, 20);
            this.mpElementXml.Name        = "mpElementXml";
            this.mpElementXml.Size        = new System.Drawing.Size(564, 272);
            this.mpElementXml.TabIndex    = 0;
            //
            // menuStrip1
            //
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.fileToolStripMenuItem
            });
            this.menuStrip1.Location = new System.Drawing.Point(0, 0);
            this.menuStrip1.Name     = "menuStrip1";
            this.menuStrip1.Size     = new System.Drawing.Size(722, 24);
            this.menuStrip1.TabIndex = 1;
            this.menuStrip1.Text     = "menuStrip1";
            //
            // fileToolStripMenuItem
            //
            this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.loadManagementPackToolStripMenuItem,
                this.unsealManagementPackToolStripMenuItem,
                this.saveToExcelToolStripMenuItem,
                this.saveToHTMLToolStripMenuItem,
                this.exitToolStripMenuItem
            });
            this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
            this.fileToolStripMenuItem.Size = new System.Drawing.Size(35, 20);
            this.fileToolStripMenuItem.Text = "File";
            //
            // loadManagementPackToolStripMenuItem
            //
            this.loadManagementPackToolStripMenuItem.Name   = "loadManagementPackToolStripMenuItem";
            this.loadManagementPackToolStripMenuItem.Size   = new System.Drawing.Size(198, 22);
            this.loadManagementPackToolStripMenuItem.Text   = "Load Management Pack";
            this.loadManagementPackToolStripMenuItem.Click += new System.EventHandler(this.loadManagementPackToolStripMenuItem_Click);
            //
            // unsealManagementPackToolStripMenuItem
            //
            this.unsealManagementPackToolStripMenuItem.Name   = "unsealManagementPackToolStripMenuItem";
            this.unsealManagementPackToolStripMenuItem.Size   = new System.Drawing.Size(198, 22);
            this.unsealManagementPackToolStripMenuItem.Text   = "Unseal / Unpack Management Pack";
            this.unsealManagementPackToolStripMenuItem.Click += new System.EventHandler(this.unsealManagementPackToolStripMenuItem_Click);
            //
            // saveToHTMLToolStripMenuItem
            //
            this.saveToHTMLToolStripMenuItem.Name   = "saveToHTMLToolStripMenuItem";
            this.saveToHTMLToolStripMenuItem.Size   = new System.Drawing.Size(198, 22);
            this.saveToHTMLToolStripMenuItem.Text   = "Save to HTML";
            this.saveToHTMLToolStripMenuItem.Click += new System.EventHandler(this.saveToHTMLToolStripMenuItem_Click);
            //
            // exitToolStripMenuItem
            //
            this.exitToolStripMenuItem.Name   = "exitToolStripMenuItem";
            this.exitToolStripMenuItem.Size   = new System.Drawing.Size(198, 22);
            this.exitToolStripMenuItem.Text   = "Exit";
            this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
            //
            // saveToExcelToolStripMenuItem
            //
            this.saveToExcelToolStripMenuItem.Name   = "saveToExcelToolStripMenuItem";
            this.saveToExcelToolStripMenuItem.Size   = new System.Drawing.Size(198, 22);
            this.saveToExcelToolStripMenuItem.Text   = "Save to Excel";
            this.saveToExcelToolStripMenuItem.Click += new System.EventHandler(this.saveToExcelToolStripMenuItem_Click);
            //
            // backgroundWorker
            //
            this.backgroundWorker.WorkerReportsProgress = true;
            this.backgroundWorker.DoWork             += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker_DoWork);
            this.backgroundWorker.ProgressChanged    += new System.ComponentModel.ProgressChangedEventHandler(this.backgroundWorker_ProgressChanged);
            this.backgroundWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorker_RunWorkerCompleted);
            //
            // MPViewer
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(722, 676);
            this.Controls.Add(this.splitContainer);
            this.Controls.Add(this.menuStrip1);
            this.MainMenuStrip = this.menuStrip1;
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name          = "MPViewer";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text          = "Management Pack Viewer 2012";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            this.Load         += new System.EventHandler(this.MPViewer_Load);
            this.splitContainer.Panel1.ResumeLayout(false);
            this.splitContainer.Panel2.ResumeLayout(false);
            this.splitContainer.ResumeLayout(false);
            this.detailsSplitContainer.Panel1.ResumeLayout(false);
            this.detailsSplitContainer.Panel2.ResumeLayout(false);
            this.detailsSplitContainer.ResumeLayout(false);
            this.detailsTabControl.ResumeLayout(false);
            this.knowledgeTab.ResumeLayout(false);
            this.mpElementXmlTab.ResumeLayout(false);
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();
        }