update 20241203
This commit is contained in:
108
Client/UIControls/DokList.Designer.cs
generated
108
Client/UIControls/DokList.Designer.cs
generated
@@ -72,8 +72,6 @@ namespace OnDoc.UICintrols
|
||||
this.RibbonPanelArchiv = new System.Windows.Forms.RibbonPanel();
|
||||
this.RibbonButtonArchivToOnBase = new System.Windows.Forms.RibbonButton();
|
||||
this.ribbonButtonVersandstrasse = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonPanelDoklist = new System.Windows.Forms.RibbonPanel();
|
||||
this.RibbonButtonRefresh = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonPanelDemo = new System.Windows.Forms.RibbonPanel();
|
||||
this.RibbonButtonTest1 = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonPanelSuche = new System.Windows.Forms.RibbonPanel();
|
||||
@@ -87,6 +85,8 @@ namespace OnDoc.UICintrols
|
||||
this.RibbonFilterDelete = new System.Windows.Forms.RibbonButton();
|
||||
this.ribbonPannelDiverseVorlagen = new System.Windows.Forms.RibbonPanel();
|
||||
this.ribbonButtonNativ = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonPanelDoklist = new System.Windows.Forms.RibbonPanel();
|
||||
this.RibbonButtonRefresh = new System.Windows.Forms.RibbonButton();
|
||||
this.ribbonTabAnsicht = new System.Windows.Forms.RibbonTab();
|
||||
this.RibbonPannelAnsicht = new System.Windows.Forms.RibbonPanel();
|
||||
this.ribbonItemGroup2 = new System.Windows.Forms.RibbonItemGroup();
|
||||
@@ -115,6 +115,8 @@ namespace OnDoc.UICintrols
|
||||
this.RibbonCBProfil = new System.Windows.Forms.RibbonComboBox();
|
||||
this.ribbonButton1 = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonTabNativVorlagen = new System.Windows.Forms.RibbonTab();
|
||||
this.ribbonPanelNativVorlagen = new System.Windows.Forms.RibbonPanel();
|
||||
this.ribbonButtonNativVorlagen = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonTabAdmin = new System.Windows.Forms.RibbonTab();
|
||||
this.ribbonPanel1 = new System.Windows.Forms.RibbonPanel();
|
||||
this.RibbonButtonDokumenttyp = new System.Windows.Forms.RibbonButton();
|
||||
@@ -131,8 +133,10 @@ namespace OnDoc.UICintrols
|
||||
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
||||
this.RibbonButtonCreateNewDoc = new System.Windows.Forms.RibbonButton();
|
||||
this.ribbonButton5 = new System.Windows.Forms.RibbonButton();
|
||||
this.ribbonPanelNativVorlagen = new System.Windows.Forms.RibbonPanel();
|
||||
this.ribbonButtonNativVorlagen = new System.Windows.Forms.RibbonButton();
|
||||
this.attributeAnzeigenVersteckenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ribbonPanelAttribute = new System.Windows.Forms.RibbonPanel();
|
||||
this.RibbonButtonAttributeEinAusblenden = new System.Windows.Forms.RibbonButton();
|
||||
this.dokwerte1 = new OnDoc.UIControls.Dokwerte();
|
||||
this.docPreview1 = new OnDoc.UIControls.DocPreview();
|
||||
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).BeginInit();
|
||||
this.ctxMenuDokList.SuspendLayout();
|
||||
@@ -161,6 +165,7 @@ namespace OnDoc.UICintrols
|
||||
this.sfDataGrid1.TabIndex = 0;
|
||||
this.sfDataGrid1.DrawCell += new Syncfusion.WinForms.DataGrid.Events.DrawCellEventHandler(this.sfDataGrid1_DrawCell);
|
||||
this.sfDataGrid1.CellClick += new Syncfusion.WinForms.DataGrid.Events.CellClickEventHandler(this.sfDataGrid1_CellClick);
|
||||
this.sfDataGrid1.CurrentCellActivated += new Syncfusion.WinForms.DataGrid.Events.CurrentCellActivatedEventHandler(this.sfDataGrid1_CurrentCellActivated);
|
||||
this.sfDataGrid1.CurrentCellKeyDown += new Syncfusion.WinForms.DataGrid.Events.CurrentCellKeyEventHandler(this.sfDataGrid1_CurrentCellKeyDown);
|
||||
this.sfDataGrid1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.sfDataGrid1_KeyDown);
|
||||
//
|
||||
@@ -177,9 +182,10 @@ namespace OnDoc.UICintrols
|
||||
this.druckenToolStripMenuItem,
|
||||
this.pDFGenerierenToolStripMenuItem,
|
||||
this.dokumentAnVersandstrasseToolStripMenuItem,
|
||||
this.wordInterOPEditToolStripMenuItem});
|
||||
this.wordInterOPEditToolStripMenuItem,
|
||||
this.attributeAnzeigenVersteckenToolStripMenuItem});
|
||||
this.ctxMenuDokList.Name = "ctxMenuDokList";
|
||||
this.ctxMenuDokList.Size = new System.Drawing.Size(280, 246);
|
||||
this.ctxMenuDokList.Size = new System.Drawing.Size(280, 268);
|
||||
//
|
||||
// dokumentAnzeigenToolStripMenuItem
|
||||
//
|
||||
@@ -343,6 +349,7 @@ namespace OnDoc.UICintrols
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.sfDataGrid1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.dokwerte1);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
@@ -562,22 +569,6 @@ namespace OnDoc.UICintrols
|
||||
this.ribbonButtonVersandstrasse.Text = "Versandstrasse";
|
||||
this.ribbonButtonVersandstrasse.Click += new System.EventHandler(this.ribbonButtonVersandstrasse_Click);
|
||||
//
|
||||
// RibbonPanelDoklist
|
||||
//
|
||||
this.RibbonPanelDoklist.ButtonMoreVisible = false;
|
||||
this.RibbonPanelDoklist.Items.Add(this.RibbonButtonRefresh);
|
||||
this.RibbonPanelDoklist.Name = "RibbonPanelDoklist";
|
||||
this.RibbonPanelDoklist.Text = "Dokumentliste";
|
||||
//
|
||||
// RibbonButtonRefresh
|
||||
//
|
||||
this.RibbonButtonRefresh.Image = global::OnDoc.Properties.Resources.Refresh_32x32_32;
|
||||
this.RibbonButtonRefresh.LargeImage = global::OnDoc.Properties.Resources.Refresh_32x32_32;
|
||||
this.RibbonButtonRefresh.Name = "RibbonButtonRefresh";
|
||||
this.RibbonButtonRefresh.SmallImage = global::OnDoc.Properties.Resources.Refresh_16x16_32;
|
||||
this.RibbonButtonRefresh.Text = "Aktualisieren";
|
||||
this.RibbonButtonRefresh.Click += new System.EventHandler(this.RibbonButtonRefresh_Click);
|
||||
//
|
||||
// RibbonPanelDemo
|
||||
//
|
||||
this.RibbonPanelDemo.Items.Add(this.RibbonButtonTest1);
|
||||
@@ -694,11 +685,28 @@ namespace OnDoc.UICintrols
|
||||
this.ribbonButtonNativ.SmallImage = global::OnDoc.Properties.Resources.Native_24x24_32;
|
||||
this.ribbonButtonNativ.Click += new System.EventHandler(this.ribbonButtonNativ_Click);
|
||||
//
|
||||
// RibbonPanelDoklist
|
||||
//
|
||||
this.RibbonPanelDoklist.ButtonMoreVisible = false;
|
||||
this.RibbonPanelDoklist.Items.Add(this.RibbonButtonRefresh);
|
||||
this.RibbonPanelDoklist.Name = "RibbonPanelDoklist";
|
||||
this.RibbonPanelDoklist.Text = "Dokumentliste";
|
||||
//
|
||||
// RibbonButtonRefresh
|
||||
//
|
||||
this.RibbonButtonRefresh.Image = global::OnDoc.Properties.Resources.Refresh_32x32_32;
|
||||
this.RibbonButtonRefresh.LargeImage = global::OnDoc.Properties.Resources.Refresh_32x32_32;
|
||||
this.RibbonButtonRefresh.Name = "RibbonButtonRefresh";
|
||||
this.RibbonButtonRefresh.SmallImage = global::OnDoc.Properties.Resources.Refresh_16x16_32;
|
||||
this.RibbonButtonRefresh.Text = "Aktualisieren";
|
||||
this.RibbonButtonRefresh.Click += new System.EventHandler(this.RibbonButtonRefresh_Click);
|
||||
//
|
||||
// ribbonTabAnsicht
|
||||
//
|
||||
this.ribbonTabAnsicht.Name = "ribbonTabAnsicht";
|
||||
this.ribbonTabAnsicht.Panels.Add(this.RibbonPannelAnsicht);
|
||||
this.ribbonTabAnsicht.Panels.Add(this.ribbonPanelVorschau);
|
||||
this.ribbonTabAnsicht.Panels.Add(this.ribbonPanelAttribute);
|
||||
this.ribbonTabAnsicht.Text = "Ansicht";
|
||||
//
|
||||
// RibbonPannelAnsicht
|
||||
@@ -925,6 +933,21 @@ namespace OnDoc.UICintrols
|
||||
this.RibbonTabNativVorlagen.Panels.Add(this.ribbonPanelNativVorlagen);
|
||||
this.RibbonTabNativVorlagen.Text = "Nativ-Vorlagen";
|
||||
//
|
||||
// ribbonPanelNativVorlagen
|
||||
//
|
||||
this.ribbonPanelNativVorlagen.Items.Add(this.ribbonButtonNativVorlagen);
|
||||
this.ribbonPanelNativVorlagen.Name = "ribbonPanelNativVorlagen";
|
||||
this.ribbonPanelNativVorlagen.Text = "";
|
||||
//
|
||||
// ribbonButtonNativVorlagen
|
||||
//
|
||||
this.ribbonButtonNativVorlagen.Image = global::OnDoc.Properties.Resources.Native_32x32_32;
|
||||
this.ribbonButtonNativVorlagen.LargeImage = global::OnDoc.Properties.Resources.Native_32x32_32;
|
||||
this.ribbonButtonNativVorlagen.Name = "ribbonButtonNativVorlagen";
|
||||
this.ribbonButtonNativVorlagen.SmallImage = global::OnDoc.Properties.Resources.Native_24x24_32;
|
||||
this.ribbonButtonNativVorlagen.Text = "Nativ-Vorlagen-Auswahl";
|
||||
this.ribbonButtonNativVorlagen.Click += new System.EventHandler(this.ribbonButtonNativVorlagen_Click);
|
||||
//
|
||||
// RibbonTabAdmin
|
||||
//
|
||||
this.RibbonTabAdmin.Name = "RibbonTabAdmin";
|
||||
@@ -1049,20 +1072,35 @@ namespace OnDoc.UICintrols
|
||||
this.ribbonButton5.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton5.SmallImage")));
|
||||
this.ribbonButton5.Text = "Load";
|
||||
//
|
||||
// ribbonPanelNativVorlagen
|
||||
// attributeAnzeigenVersteckenToolStripMenuItem
|
||||
//
|
||||
this.ribbonPanelNativVorlagen.Items.Add(this.ribbonButtonNativVorlagen);
|
||||
this.ribbonPanelNativVorlagen.Name = "ribbonPanelNativVorlagen";
|
||||
this.ribbonPanelNativVorlagen.Text = "";
|
||||
this.attributeAnzeigenVersteckenToolStripMenuItem.Name = "attributeAnzeigenVersteckenToolStripMenuItem";
|
||||
this.attributeAnzeigenVersteckenToolStripMenuItem.Size = new System.Drawing.Size(279, 22);
|
||||
this.attributeAnzeigenVersteckenToolStripMenuItem.Text = "Attribute anzeigen / ausblenden";
|
||||
this.attributeAnzeigenVersteckenToolStripMenuItem.Click += new System.EventHandler(this.attributeAnzeigenVersteckenToolStripMenuItem_Click);
|
||||
//
|
||||
// ribbonButtonNativVorlagen
|
||||
// ribbonPanelAttribute
|
||||
//
|
||||
this.ribbonButtonNativVorlagen.Image = global::OnDoc.Properties.Resources.Native_32x32_32;
|
||||
this.ribbonButtonNativVorlagen.LargeImage = global::OnDoc.Properties.Resources.Native_32x32_32;
|
||||
this.ribbonButtonNativVorlagen.Name = "ribbonButtonNativVorlagen";
|
||||
this.ribbonButtonNativVorlagen.SmallImage = global::OnDoc.Properties.Resources.Native_24x24_32;
|
||||
this.ribbonButtonNativVorlagen.Text = "Nativ-Vorlagen-Auswahl";
|
||||
this.ribbonButtonNativVorlagen.Click += new System.EventHandler(this.ribbonButtonNativVorlagen_Click);
|
||||
this.ribbonPanelAttribute.Items.Add(this.RibbonButtonAttributeEinAusblenden);
|
||||
this.ribbonPanelAttribute.Name = "ribbonPanelAttribute";
|
||||
this.ribbonPanelAttribute.Text = "Attribute";
|
||||
//
|
||||
// RibbonButtonAttributeEinAusblenden
|
||||
//
|
||||
this.RibbonButtonAttributeEinAusblenden.Image = ((System.Drawing.Image)(resources.GetObject("RibbonButtonAttributeEinAusblenden.Image")));
|
||||
this.RibbonButtonAttributeEinAusblenden.LargeImage = ((System.Drawing.Image)(resources.GetObject("RibbonButtonAttributeEinAusblenden.LargeImage")));
|
||||
this.RibbonButtonAttributeEinAusblenden.Name = "RibbonButtonAttributeEinAusblenden";
|
||||
this.RibbonButtonAttributeEinAusblenden.SmallImage = ((System.Drawing.Image)(resources.GetObject("RibbonButtonAttributeEinAusblenden.SmallImage")));
|
||||
this.RibbonButtonAttributeEinAusblenden.Text = "Enblenden_/_Ausblenden";
|
||||
this.RibbonButtonAttributeEinAusblenden.Click += new System.EventHandler(this.RibbonButtonAttributeEinAusblenden_Click);
|
||||
//
|
||||
// dokwerte1
|
||||
//
|
||||
this.dokwerte1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.dokwerte1.Location = new System.Drawing.Point(1709, 0);
|
||||
this.dokwerte1.Name = "dokwerte1";
|
||||
this.dokwerte1.Size = new System.Drawing.Size(0, 343);
|
||||
this.dokwerte1.TabIndex = 1;
|
||||
//
|
||||
// docPreview1
|
||||
//
|
||||
@@ -1205,5 +1243,9 @@ namespace OnDoc.UICintrols
|
||||
private System.Windows.Forms.RibbonTab RibbonTabNativVorlagen;
|
||||
private System.Windows.Forms.RibbonPanel ribbonPanelNativVorlagen;
|
||||
private System.Windows.Forms.RibbonButton ribbonButtonNativVorlagen;
|
||||
private UIControls.Dokwerte dokwerte1;
|
||||
private System.Windows.Forms.ToolStripMenuItem attributeAnzeigenVersteckenToolStripMenuItem;
|
||||
private System.Windows.Forms.RibbonPanel ribbonPanelAttribute;
|
||||
private System.Windows.Forms.RibbonButton RibbonButtonAttributeEinAusblenden;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,12 +38,6 @@ using BroadcastListener.Classes;
|
||||
using System.Resources;
|
||||
using NLog.Config;
|
||||
using OnDoc.Versandstrasse;
|
||||
using Windows.UI.Input.Preview.Injection;
|
||||
using Windows.UI.WebUI;
|
||||
using Windows.ApplicationModel.VoiceCommands;
|
||||
using System.Runtime.InteropServices.ComTypes;
|
||||
using Windows.Storage.Streams;
|
||||
using Windows.UI.Xaml.Media;
|
||||
|
||||
|
||||
|
||||
@@ -236,7 +230,24 @@ namespace OnDoc.UICintrols
|
||||
selected_partnernr = dataRow["Partner-Nr"].ToString();
|
||||
selected_cellvalue = dataRow[e.DataColumn.ColumnIndex].ToString();
|
||||
|
||||
//var reflector = this.sfDataGrid1.View.GetPropertyAccessProvider();
|
||||
//foreach (var row in this.sfDataGrid1.SelectedItems)
|
||||
//{
|
||||
// foreach (var column in sfDataGrid1.Columns)
|
||||
// {
|
||||
// //Get the value from data object based on MappingName
|
||||
// var cellvalue = reflector.GetValue(row, column.MappingName);
|
||||
// //Returns the display value of the cell from data object based on MappingName
|
||||
// //var displayValue = reflector.GetFormattedValue(row, column.MappingName);
|
||||
// var s = (cellvalue.ToString());
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
if (dokwerte1.Width > 0)
|
||||
{
|
||||
dokwerte1.Update_Werte(selected_dokumentid);
|
||||
}
|
||||
if (dataRow["Bearbeitung_Zwingend"].ToString() == "1")
|
||||
{
|
||||
RibbonButtonArchivToOnBase.Enabled = false;
|
||||
@@ -273,6 +284,7 @@ namespace OnDoc.UICintrols
|
||||
}
|
||||
docPreview1.Show_Doc(selected_dokumentid);
|
||||
docPreview1.Hide_Editbuttons();
|
||||
|
||||
}
|
||||
|
||||
private void dokumentAnzeigenToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
@@ -1348,6 +1360,33 @@ namespace OnDoc.UICintrols
|
||||
NativVorlagen nv = new NativVorlagen();
|
||||
nv.Show();
|
||||
}
|
||||
|
||||
private void attributeAnzeigenVersteckenToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (dokwerte1.Width == 0)
|
||||
{
|
||||
dokwerte1.Width = 300;
|
||||
dokwerte1.set_panelheight( sfDataGrid1.GroupPanel.Height, sfDataGrid1.GroupPanel.BackColor);
|
||||
|
||||
dokwerte1.Update_Werte(selected_dokumentid);
|
||||
}
|
||||
else
|
||||
{
|
||||
dokwerte1.Width = 0;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void RibbonButtonAttributeEinAusblenden_Click(object sender, EventArgs e)
|
||||
{
|
||||
attributeAnzeigenVersteckenToolStripMenuItem_Click(sender, e);
|
||||
}
|
||||
|
||||
private void sfDataGrid1_CurrentCellActivated(object sender, CurrentCellActivatedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -393,6 +393,24 @@
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="RibbonButtonAttributeEinAusblenden.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="RibbonButtonAttributeEinAusblenden.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="RibbonButtonAttributeEinAusblenden.SmallImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="RibbonButtonDokumenttyp.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
|
||||
55
Client/UIControls/Dokwerte.Designer.cs
generated
55
Client/UIControls/Dokwerte.Designer.cs
generated
@@ -28,64 +28,63 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Dokwerte));
|
||||
this.sfDataGrid1 = new Syncfusion.WinForms.DataGrid.SfDataGrid();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).BeginInit();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// sfDataGrid1
|
||||
//
|
||||
this.sfDataGrid1.AccessibleName = "Table";
|
||||
this.sfDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.sfDataGrid1.Location = new System.Drawing.Point(0, 25);
|
||||
this.sfDataGrid1.Location = new System.Drawing.Point(0, 100);
|
||||
this.sfDataGrid1.Name = "sfDataGrid1";
|
||||
this.sfDataGrid1.Size = new System.Drawing.Size(381, 686);
|
||||
this.sfDataGrid1.Size = new System.Drawing.Size(381, 611);
|
||||
this.sfDataGrid1.TabIndex = 0;
|
||||
this.sfDataGrid1.Text = "sfDataGrid1";
|
||||
this.sfDataGrid1.CopyCellContent += new Syncfusion.WinForms.DataGrid.Events.CellCutCopyPasteEventHandler(this.sfDataGrid1_CopyCellContent);
|
||||
this.sfDataGrid1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.sfDataGrid1_KeyUp);
|
||||
//
|
||||
// toolStrip1
|
||||
// panel1
|
||||
//
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.toolStripButton1});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(381, 25);
|
||||
this.toolStrip1.TabIndex = 1;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
this.toolStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.toolStrip1_ItemClicked);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(381, 100);
|
||||
this.panel1.TabIndex = 1;
|
||||
//
|
||||
// toolStripButton1
|
||||
// label1
|
||||
//
|
||||
this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
|
||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(23, 22);
|
||||
this.toolStripButton1.Text = "toolStripButton1";
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label1.Location = new System.Drawing.Point(3, 9);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(79, 20);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "Attribute";
|
||||
//
|
||||
// Dokwerte
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.sfDataGrid1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "Dokwerte";
|
||||
this.Size = new System.Drawing.Size(381, 711);
|
||||
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).EndInit();
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Syncfusion.WinForms.DataGrid.SfDataGrid sfDataGrid1;
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Label label1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using Database;
|
||||
using OnDoc.Klassen;
|
||||
using Syncfusion.WinForms.DataGrid.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@@ -24,6 +25,11 @@ namespace OnDoc.UIControls
|
||||
|
||||
}
|
||||
|
||||
public void set_panelheight(int height, Color background)
|
||||
{
|
||||
panel1.Height = height;
|
||||
panel1.BackColor = background;
|
||||
}
|
||||
public void Update_Werte(string dokumentid)
|
||||
{
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
@@ -32,6 +38,22 @@ namespace OnDoc.UIControls
|
||||
db.Get_Tabledata("sp_ondoc_get_dokumentdetails", true, false);
|
||||
this.sfDataGrid1.DataSource = db.dsdaten.Tables[0];
|
||||
db = null;
|
||||
sfDataGrid1.Columns[0].Width = 120;
|
||||
sfDataGrid1.Columns[1].Width = 170;
|
||||
}
|
||||
|
||||
private void sfDataGrid1_KeyUp(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.Control && e.KeyCode == Keys.C)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void sfDataGrid1_CopyCellContent(object sender, Syncfusion.WinForms.DataGrid.Events.CellCutCopyPasteEventArgs e)
|
||||
{
|
||||
MessageBox.Show(e.ClipboardValue.ToString());
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,23 +117,4 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
|
||||
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
|
||||
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
|
||||
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
|
||||
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
|
||||
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
|
||||
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
|
||||
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
|
||||
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in New Issue
Block a user