diff --git a/GUIs.Test.EDMIBenchmark/Form1.Designer.vb b/GUIs.Test.EDMIBenchmark/Form1.Designer.vb index 352175fe..c05e79ed 100644 --- a/GUIs.Test.EDMIBenchmark/Form1.Designer.vb +++ b/GUIs.Test.EDMIBenchmark/Form1.Designer.vb @@ -37,11 +37,20 @@ Partial Class Form1 Me.RibbonPage2 = New DevExpress.XtraBars.Ribbon.RibbonPage() Me.SplitContainerControl1 = New DevExpress.XtraEditors.SplitContainerControl() Me.listboxLog = New DevExpress.XtraEditors.ListBoxControl() + Me.XtraTabControl1 = New DevExpress.XtraTab.XtraTabControl() + Me.XtraTabPage1 = New DevExpress.XtraTab.XtraTabPage() + Me.XtraTabPage2 = New DevExpress.XtraTab.XtraTabPage() + Me.listboxFileids = New DevExpress.XtraEditors.ListBoxControl() CType(Me.listboxFiles, System.ComponentModel.ISupportInitialize).BeginInit() CType(Me.RibbonControl1, System.ComponentModel.ISupportInitialize).BeginInit() CType(Me.SplitContainerControl1, System.ComponentModel.ISupportInitialize).BeginInit() Me.SplitContainerControl1.SuspendLayout() CType(Me.listboxLog, System.ComponentModel.ISupportInitialize).BeginInit() + CType(Me.XtraTabControl1, System.ComponentModel.ISupportInitialize).BeginInit() + Me.XtraTabControl1.SuspendLayout() + Me.XtraTabPage1.SuspendLayout() + Me.XtraTabPage2.SuspendLayout() + CType(Me.listboxFileids, System.ComponentModel.ISupportInitialize).BeginInit() Me.SuspendLayout() ' 'listboxFiles @@ -49,7 +58,7 @@ Partial Class Form1 Me.listboxFiles.Dock = System.Windows.Forms.DockStyle.Fill Me.listboxFiles.Location = New System.Drawing.Point(0, 0) Me.listboxFiles.Name = "listboxFiles" - Me.listboxFiles.Size = New System.Drawing.Size(536, 295) + Me.listboxFiles.Size = New System.Drawing.Size(536, 270) Me.listboxFiles.TabIndex = 1 ' 'RibbonControl1 @@ -131,13 +140,13 @@ Partial Class Form1 'SplitContainerControl1 ' Me.SplitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill - Me.SplitContainerControl1.Location = New System.Drawing.Point(0, 158) + Me.SplitContainerControl1.Location = New System.Drawing.Point(0, 0) Me.SplitContainerControl1.Name = "SplitContainerControl1" Me.SplitContainerControl1.Panel1.Controls.Add(Me.listboxFiles) Me.SplitContainerControl1.Panel1.Text = "Panel1" Me.SplitContainerControl1.Panel2.Controls.Add(Me.listboxLog) Me.SplitContainerControl1.Panel2.Text = "Panel2" - Me.SplitContainerControl1.Size = New System.Drawing.Size(1145, 295) + Me.SplitContainerControl1.Size = New System.Drawing.Size(1143, 270) Me.SplitContainerControl1.SplitterPosition = 536 Me.SplitContainerControl1.TabIndex = 4 ' @@ -146,15 +155,47 @@ Partial Class Form1 Me.listboxLog.Dock = System.Windows.Forms.DockStyle.Fill Me.listboxLog.Location = New System.Drawing.Point(0, 0) Me.listboxLog.Name = "listboxLog" - Me.listboxLog.Size = New System.Drawing.Size(599, 295) + Me.listboxLog.Size = New System.Drawing.Size(597, 270) Me.listboxLog.TabIndex = 0 ' + 'XtraTabControl1 + ' + Me.XtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill + Me.XtraTabControl1.Location = New System.Drawing.Point(0, 158) + Me.XtraTabControl1.Name = "XtraTabControl1" + Me.XtraTabControl1.SelectedTabPage = Me.XtraTabPage1 + Me.XtraTabControl1.Size = New System.Drawing.Size(1145, 295) + Me.XtraTabControl1.TabIndex = 7 + Me.XtraTabControl1.TabPages.AddRange(New DevExpress.XtraTab.XtraTabPage() {Me.XtraTabPage1, Me.XtraTabPage2}) + ' + 'XtraTabPage1 + ' + Me.XtraTabPage1.Controls.Add(Me.SplitContainerControl1) + Me.XtraTabPage1.Name = "XtraTabPage1" + Me.XtraTabPage1.Size = New System.Drawing.Size(1143, 270) + Me.XtraTabPage1.Text = "XtraTabPage1" + ' + 'XtraTabPage2 + ' + Me.XtraTabPage2.Controls.Add(Me.listboxFileids) + Me.XtraTabPage2.Name = "XtraTabPage2" + Me.XtraTabPage2.Size = New System.Drawing.Size(1143, 270) + Me.XtraTabPage2.Text = "XtraTabPage2" + ' + 'listboxFileids + ' + Me.listboxFileids.Dock = System.Windows.Forms.DockStyle.Left + Me.listboxFileids.Location = New System.Drawing.Point(0, 0) + Me.listboxFileids.Name = "listboxFileids" + Me.listboxFileids.Size = New System.Drawing.Size(278, 270) + Me.listboxFileids.TabIndex = 0 + ' 'Form1 ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.ClientSize = New System.Drawing.Size(1145, 477) - Me.Controls.Add(Me.SplitContainerControl1) + Me.Controls.Add(Me.XtraTabControl1) Me.Controls.Add(Me.RibbonStatusBar1) Me.Controls.Add(Me.RibbonControl1) Me.Name = "Form1" @@ -166,6 +207,11 @@ Partial Class Form1 CType(Me.SplitContainerControl1, System.ComponentModel.ISupportInitialize).EndInit() Me.SplitContainerControl1.ResumeLayout(False) CType(Me.listboxLog, System.ComponentModel.ISupportInitialize).EndInit() + CType(Me.XtraTabControl1, System.ComponentModel.ISupportInitialize).EndInit() + Me.XtraTabControl1.ResumeLayout(False) + Me.XtraTabPage1.ResumeLayout(False) + Me.XtraTabPage2.ResumeLayout(False) + CType(Me.listboxFileids, System.ComponentModel.ISupportInitialize).EndInit() Me.ResumeLayout(False) Me.PerformLayout() @@ -184,4 +230,8 @@ Partial Class Form1 Friend WithEvents buttonClearLog As DevExpress.XtraBars.BarButtonItem Friend WithEvents RibbonPageGroup3 As DevExpress.XtraBars.Ribbon.RibbonPageGroup Friend WithEvents buttonClearFiles As DevExpress.XtraBars.BarButtonItem + Friend WithEvents XtraTabControl1 As DevExpress.XtraTab.XtraTabControl + Friend WithEvents XtraTabPage1 As DevExpress.XtraTab.XtraTabPage + Friend WithEvents XtraTabPage2 As DevExpress.XtraTab.XtraTabPage + Friend WithEvents listboxFileids As DevExpress.XtraEditors.ListBoxControl End Class diff --git a/GUIs.Test.EDMIBenchmark/Form1.vb b/GUIs.Test.EDMIBenchmark/Form1.vb index 24fa45d0..1080747a 100644 --- a/GUIs.Test.EDMIBenchmark/Form1.vb +++ b/GUIs.Test.EDMIBenchmark/Form1.vb @@ -53,6 +53,7 @@ Public Class Form1 Dim oResult As EDMIServiceReference.DocumentResult2 = Await _Channel.ImportFileAsync(oFileInfo, oContents, False, 0) If oResult.OK Then listboxLog.Items.Add($"File {oFileInfo.Name} imported!") + listboxFileids.Items.Add(oResult.Document.FileId) Else listboxLog.Items.Add($"Import Error: {oResult.ErrorMessage}") End If diff --git a/GUIs.Test.EDMIBenchmark/GUIs.Test.EDMIBenchmark.vbproj b/GUIs.Test.EDMIBenchmark/GUIs.Test.EDMIBenchmark.vbproj index a345064a..7b567b30 100644 --- a/GUIs.Test.EDMIBenchmark/GUIs.Test.EDMIBenchmark.vbproj +++ b/GUIs.Test.EDMIBenchmark/GUIs.Test.EDMIBenchmark.vbproj @@ -54,6 +54,9 @@ + + ..\Controls.DocumentViewer\obj\Debug\DigitalData.Controls.DocumentViewer.dll + ..\packages\NLog.4.7.0\lib\net45\NLog.dll