Beispiel #1
0
        private void ShowEmbedIDApplication(DevExpress.XtraBars.Navigation.TabNavigationPage currentPage, _embedIDApplication.QueryMode queryMode, ref _embedIDApplication embedForm)
        {
            if (embedForm == null)
            {
                embedForm = EngineContext.Current.Resolve <_embedIDApplication>();
            }

            embedForm.CurrentQueryMode = queryMode;
            embedForm.FormBorderStyle  = FormBorderStyle.None;
            embedForm.TopLevel         = false;
            embedForm.Parent           = currentPage;
            embedForm.Dock             = DockStyle.Fill;
            currentPage.Controls.Add(embedForm);

            embedForm.Show();
        }
 /// <summary> 
 /// 设计器支持所需的方法 - 不要修改
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.tabPane1 = new DevExpress.XtraBars.Navigation.TabPane();
     this.tabNavigationPage1 = new DevExpress.XtraBars.Navigation.TabNavigationPage();
     this.gridControl2 = new DevExpress.XtraGrid.GridControl();
     this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridControl1 = new DevExpress.XtraGrid.GridControl();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton();
     this.FindToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
     this.CheckToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
     this.NewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem7 = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem();
     this.导出生成Excel文件ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.导出生成多个文本文件ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.导出成单个文本文件ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.导出表单ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.打印表单ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.表单详细信息ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator();
     this.自定义数据显示ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.刷新ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripButton5 = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton7 = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton6 = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripDropDownButton2 = new System.Windows.Forms.ToolStripDropDownButton();
     this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
     this.tabPane1.SuspendLayout();
     this.tabNavigationPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     this.toolStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // tabPane1
     //
     this.tabPane1.BackColor = System.Drawing.SystemColors.Control;
     this.tabPane1.Controls.Add(this.tabNavigationPage1);
     this.tabPane1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabPane1.Location = new System.Drawing.Point(0, 225);
     this.tabPane1.Name = "tabPane1";
     this.tabPane1.Pages.AddRange(new DevExpress.XtraBars.Navigation.NavigationPageBase[] {
     this.tabNavigationPage1});
     this.tabPane1.RegularSize = new System.Drawing.Size(977, 420);
     this.tabPane1.SelectedPage = this.tabNavigationPage1;
     this.tabPane1.SelectedPageIndex = 0;
     this.tabPane1.Size = new System.Drawing.Size(977, 420);
     this.tabPane1.TabIndex = 25;
     //
     // tabNavigationPage1
     //
     this.tabNavigationPage1.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.tabNavigationPage1.Appearance.Options.UseBackColor = true;
     this.tabNavigationPage1.Caption = "移库单_明细";
     this.tabNavigationPage1.Controls.Add(this.gridControl2);
     this.tabNavigationPage1.Name = "tabNavigationPage1";
     this.tabNavigationPage1.Size = new System.Drawing.Size(959, 374);
     //
     // gridControl2
     //
     this.gridControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControl2.Location = new System.Drawing.Point(0, 0);
     this.gridControl2.MainView = this.gridView2;
     this.gridControl2.Name = "gridControl2";
     this.gridControl2.Size = new System.Drawing.Size(959, 374);
     this.gridControl2.TabIndex = 22;
     this.gridControl2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView2});
     //
     // gridView2
     //
     this.gridView2.GridControl = this.gridControl2;
     this.gridView2.Name = "gridView2";
     //
     // gridControl1
     //
     this.gridControl1.Dock = System.Windows.Forms.DockStyle.Top;
     this.gridControl1.Location = new System.Drawing.Point(0, 25);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new System.Drawing.Size(977, 200);
     this.gridControl1.TabIndex = 24;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView1});
     //
     // gridView1
     //
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     //
     // toolStrip1
     //
     this.toolStrip1.BackColor = System.Drawing.SystemColors.Control;
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripDropDownButton1,
     this.toolStripSeparator1,
     this.toolStripButton5,
     this.toolStripSeparator4,
     this.toolStripButton1,
     this.toolStripButton2,
     this.toolStripButton7,
     this.toolStripButton6,
     this.toolStripSeparator13,
     this.toolStripButton4,
     this.toolStripSeparator2,
     this.toolStripButton3,
     this.toolStripSeparator3,
     this.toolStripDropDownButton2,
     this.toolStripSeparator5});
     this.toolStrip1.Location = new System.Drawing.Point(0, 0);
     this.toolStrip1.Name = "toolStrip1";
     this.toolStrip1.Size = new System.Drawing.Size(977, 25);
     this.toolStrip1.TabIndex = 23;
     this.toolStrip1.Text = "toolStrip1";
     //
     // toolStripDropDownButton1
     //
     this.toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.FindToolStripMenuItem,
     this.toolStripSeparator6,
     this.CheckToolStripMenuItem,
     this.toolStripSeparator7,
     this.NewToolStripMenuItem,
     this.toolStripMenuItem2,
     this.toolStripMenuItem3,
     this.toolStripMenuItem4,
     this.toolStripSeparator8,
     this.toolStripMenuItem5,
     this.toolStripSeparator9,
     this.toolStripMenuItem6,
     this.toolStripSeparator10,
     this.toolStripMenuItem7,
     this.toolStripSeparator11,
     this.toolStripMenuItem8,
     this.导出表单ToolStripMenuItem,
     this.打印表单ToolStripMenuItem,
     this.表单详细信息ToolStripMenuItem,
     this.toolStripSeparator12,
     this.自定义数据显示ToolStripMenuItem,
     this.刷新ToolStripMenuItem});
     this.toolStripDropDownButton1.Image = global::Demo1._1._3.Properties.Resources.suggestion_16x16;
     this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripDropDownButton1.Name = "toolStripDropDownButton1";
     this.toolStripDropDownButton1.Size = new System.Drawing.Size(61, 22);
     this.toolStripDropDownButton1.Text = "操作";
     //
     // FindToolStripMenuItem
     //
     this.FindToolStripMenuItem.Name = "FindToolStripMenuItem";
     this.FindToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
     this.FindToolStripMenuItem.Text = "查找";
     //
     // toolStripSeparator6
     //
     this.toolStripSeparator6.Name = "toolStripSeparator6";
     this.toolStripSeparator6.Size = new System.Drawing.Size(157, 6);
     //
     // CheckToolStripMenuItem
     //
     this.CheckToolStripMenuItem.Name = "CheckToolStripMenuItem";
     this.CheckToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
     this.CheckToolStripMenuItem.Text = "查看";
     //
     // toolStripSeparator7
     //
     this.toolStripSeparator7.Name = "toolStripSeparator7";
     this.toolStripSeparator7.Size = new System.Drawing.Size(157, 6);
     //
     // NewToolStripMenuItem
     //
     this.NewToolStripMenuItem.Name = "NewToolStripMenuItem";
     this.NewToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
     this.NewToolStripMenuItem.Text = "新建";
     //
     // toolStripMenuItem2
     //
     this.toolStripMenuItem2.Name = "toolStripMenuItem2";
     this.toolStripMenuItem2.Size = new System.Drawing.Size(160, 22);
     this.toolStripMenuItem2.Text = "修改";
     //
     // toolStripMenuItem3
     //
     this.toolStripMenuItem3.Name = "toolStripMenuItem3";
     this.toolStripMenuItem3.Size = new System.Drawing.Size(160, 22);
     this.toolStripMenuItem3.Text = "删除";
     //
     // toolStripMenuItem4
     //
     this.toolStripMenuItem4.Name = "toolStripMenuItem4";
     this.toolStripMenuItem4.Size = new System.Drawing.Size(160, 22);
     this.toolStripMenuItem4.Text = "导入数据";
     //
     // toolStripSeparator8
     //
     this.toolStripSeparator8.Name = "toolStripSeparator8";
     this.toolStripSeparator8.Size = new System.Drawing.Size(157, 6);
     //
     // toolStripMenuItem5
     //
     this.toolStripMenuItem5.Name = "toolStripMenuItem5";
     this.toolStripMenuItem5.Size = new System.Drawing.Size(160, 22);
     this.toolStripMenuItem5.Text = "重存";
     //
     // toolStripSeparator9
     //
     this.toolStripSeparator9.Name = "toolStripSeparator9";
     this.toolStripSeparator9.Size = new System.Drawing.Size(157, 6);
     //
     // toolStripMenuItem6
     //
     this.toolStripMenuItem6.Name = "toolStripMenuItem6";
     this.toolStripMenuItem6.Size = new System.Drawing.Size(160, 22);
     this.toolStripMenuItem6.Text = "加锁";
     //
     // toolStripSeparator10
     //
     this.toolStripSeparator10.Name = "toolStripSeparator10";
     this.toolStripSeparator10.Size = new System.Drawing.Size(157, 6);
     //
     // toolStripMenuItem7
     //
     this.toolStripMenuItem7.Name = "toolStripMenuItem7";
     this.toolStripMenuItem7.Size = new System.Drawing.Size(160, 22);
     this.toolStripMenuItem7.Text = "发布";
     //
     // toolStripSeparator11
     //
     this.toolStripSeparator11.Name = "toolStripSeparator11";
     this.toolStripSeparator11.Size = new System.Drawing.Size(157, 6);
     //
     // toolStripMenuItem8
     //
     this.toolStripMenuItem8.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.导出生成Excel文件ToolStripMenuItem,
     this.导出生成多个文本文件ToolStripMenuItem,
     this.导出成单个文本文件ToolStripMenuItem});
     this.toolStripMenuItem8.Name = "toolStripMenuItem8";
     this.toolStripMenuItem8.Size = new System.Drawing.Size(160, 22);
     this.toolStripMenuItem8.Text = "导出数据单";
     //
     // 导出生成Excel文件ToolStripMenuItem
     //
     this.导出生成Excel文件ToolStripMenuItem.Name = "导出生成Excel文件ToolStripMenuItem";
     this.导出生成Excel文件ToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
     this.导出生成Excel文件ToolStripMenuItem.Text = "导出成Excel文件";
     //
     // 导出生成多个文本文件ToolStripMenuItem
     //
     this.导出生成多个文本文件ToolStripMenuItem.Name = "导出生成多个文本文件ToolStripMenuItem";
     this.导出生成多个文本文件ToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
     this.导出生成多个文本文件ToolStripMenuItem.Text = "导出成多个文本文件";
     //
     // 导出成单个文本文件ToolStripMenuItem
     //
     this.导出成单个文本文件ToolStripMenuItem.Name = "导出成单个文本文件ToolStripMenuItem";
     this.导出成单个文本文件ToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
     this.导出成单个文本文件ToolStripMenuItem.Text = "导出成单个文本文件";
     //
     // 导出表单ToolStripMenuItem
     //
     this.导出表单ToolStripMenuItem.Name = "导出表单ToolStripMenuItem";
     this.导出表单ToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
     this.导出表单ToolStripMenuItem.Text = "导出表单";
     //
     // 打印表单ToolStripMenuItem
     //
     this.打印表单ToolStripMenuItem.Name = "打印表单ToolStripMenuItem";
     this.打印表单ToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
     this.打印表单ToolStripMenuItem.Text = "打印表单";
     //
     // 表单详细信息ToolStripMenuItem
     //
     this.表单详细信息ToolStripMenuItem.Name = "表单详细信息ToolStripMenuItem";
     this.表单详细信息ToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
     this.表单详细信息ToolStripMenuItem.Text = "表单详细信息";
     //
     // toolStripSeparator12
     //
     this.toolStripSeparator12.Name = "toolStripSeparator12";
     this.toolStripSeparator12.Size = new System.Drawing.Size(157, 6);
     //
     // 自定义数据显示ToolStripMenuItem
     //
     this.自定义数据显示ToolStripMenuItem.Name = "自定义数据显示ToolStripMenuItem";
     this.自定义数据显示ToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
     this.自定义数据显示ToolStripMenuItem.Text = "自定义数据显示";
     //
     // 刷新ToolStripMenuItem
     //
     this.刷新ToolStripMenuItem.Name = "刷新ToolStripMenuItem";
     this.刷新ToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
     this.刷新ToolStripMenuItem.Text = "刷新";
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripButton5
     //
     this.toolStripButton5.Image = global::Demo1._1._3.Properties.Resources.open_16x16;
     this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton5.Name = "toolStripButton5";
     this.toolStripButton5.Size = new System.Drawing.Size(52, 22);
     this.toolStripButton5.Text = "查看";
     //
     // toolStripSeparator4
     //
     this.toolStripSeparator4.Name = "toolStripSeparator4";
     this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripButton1
     //
     this.toolStripButton1.Image = global::Demo1._1._3.Properties.Resources.new_16x16;
     this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton1.Name = "toolStripButton1";
     this.toolStripButton1.Size = new System.Drawing.Size(52, 22);
     this.toolStripButton1.Text = "新建";
     //
     // toolStripButton2
     //
     this.toolStripButton2.Image = global::Demo1._1._3.Properties.Resources.edit_16x16;
     this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton2.Name = "toolStripButton2";
     this.toolStripButton2.Size = new System.Drawing.Size(52, 22);
     this.toolStripButton2.Text = "修改";
     //
     // toolStripButton7
     //
     this.toolStripButton7.Image = global::Demo1._1._3.Properties.Resources.cancel_16x16;
     this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton7.Name = "toolStripButton7";
     this.toolStripButton7.Size = new System.Drawing.Size(52, 22);
     this.toolStripButton7.Text = "删除";
     //
     // toolStripButton6
     //
     this.toolStripButton6.Image = global::Demo1._1._3.Properties.Resources.database_16x16;
     this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton6.Name = "toolStripButton6";
     this.toolStripButton6.Size = new System.Drawing.Size(76, 22);
     this.toolStripButton6.Text = "导入数据";
     //
     // toolStripSeparator13
     //
     this.toolStripSeparator13.Name = "toolStripSeparator13";
     this.toolStripSeparator13.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripButton4
     //
     this.toolStripButton4.Image = global::Demo1._1._3.Properties.Resources.protectsheet_16x16;
     this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton4.Name = "toolStripButton4";
     this.toolStripButton4.Size = new System.Drawing.Size(52, 22);
     this.toolStripButton4.Text = "加锁";
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripButton3
     //
     this.toolStripButton3.Image = global::Demo1._1._3.Properties.Resources.issue_16x16;
     this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton3.Name = "toolStripButton3";
     this.toolStripButton3.Size = new System.Drawing.Size(52, 22);
     this.toolStripButton3.Text = "发布";
     //
     // toolStripSeparator3
     //
     this.toolStripSeparator3.Name = "toolStripSeparator3";
     this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripDropDownButton2
     //
     this.toolStripDropDownButton2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripMenuItem1});
     this.toolStripDropDownButton2.Image = global::Demo1._1._3.Properties.Resources.documentmap_16x16;
     this.toolStripDropDownButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripDropDownButton2.Name = "toolStripDropDownButton2";
     this.toolStripDropDownButton2.Size = new System.Drawing.Size(61, 22);
     this.toolStripDropDownButton2.Text = "相关";
     //
     // toolStripMenuItem1
     //
     this.toolStripMenuItem1.Name = "toolStripMenuItem1";
     this.toolStripMenuItem1.Size = new System.Drawing.Size(124, 22);
     this.toolStripMenuItem1.Text = "相关文档";
     //
     // toolStripSeparator5
     //
     this.toolStripSeparator5.Name = "toolStripSeparator5";
     this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25);
     //
     // TransferList
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.tabPane1);
     this.Controls.Add(this.gridControl1);
     this.Controls.Add(this.toolStrip1);
     this.Name = "TransferList";
     this.Size = new System.Drawing.Size(977, 645);
     this.tabPane1.ResumeLayout(false);
     this.tabNavigationPage1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }