update 20241202

This commit is contained in:
Stefan Hutter
2024-12-02 18:54:27 +01:00
parent fcc74b25cb
commit f36b514063
129 changed files with 1043 additions and 511 deletions

View File

@@ -72,11 +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.RibbonPanelCreate = new System.Windows.Forms.RibbonPanel();
this.RibbonButtonCreateNewPaket = new System.Windows.Forms.RibbonButton();
this.RibbonButtonEditPaket = new System.Windows.Forms.RibbonButton();
this.RibbonButtonCreateNewSerienbrief = new System.Windows.Forms.RibbonButton();
this.RibbonButtonEditSerienbrief = 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();
@@ -90,6 +85,9 @@ namespace OnDoc.UICintrols
this.RibbonFilterLabel = new System.Windows.Forms.RibbonLabel();
this.RibbonPartnerSaldiert = new System.Windows.Forms.RibbonButton();
this.RibbonFilterDelete = new System.Windows.Forms.RibbonButton();
this.ribbonPannelDiverseVorlagen = new System.Windows.Forms.RibbonPanel();
this.ribbonButtonNativ = 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();
this.ribboncomboboxansicht = new System.Windows.Forms.RibbonLabel();
@@ -99,18 +97,24 @@ namespace OnDoc.UICintrols
this.RibbonButtonViewSave = new System.Windows.Forms.RibbonButton();
this.RibbonButtonViewDelete = new System.Windows.Forms.RibbonButton();
this.ribbonButton4 = new System.Windows.Forms.RibbonButton();
this.RibbonPanelProfil = new System.Windows.Forms.RibbonPanel();
this.ribbonItemGroup1 = new System.Windows.Forms.RibbonItemGroup();
this.ribbonLabel1 = new System.Windows.Forms.RibbonLabel();
this.RibbonCBProfil = new System.Windows.Forms.RibbonComboBox();
this.ribbonButton1 = new System.Windows.Forms.RibbonButton();
this.ribbonPanelVorschau = new System.Windows.Forms.RibbonPanel();
this.RibbonBtnVorschauNo = new System.Windows.Forms.RibbonButton();
this.RibbonBtnVorschauUnten = new System.Windows.Forms.RibbonButton();
this.RibbonButtonVorschauRechts = new System.Windows.Forms.RibbonButton();
this.RibbonBtnVorschauSepparat = new System.Windows.Forms.RibbonButton();
this.ribbonPannelDiverseVorlagen = new System.Windows.Forms.RibbonPanel();
this.ribbonButtonNativ = new System.Windows.Forms.RibbonButton();
this.ribbonTabDokpaket_Serienbrief = new System.Windows.Forms.RibbonTab();
this.RibbonPanelCreate = new System.Windows.Forms.RibbonPanel();
this.RibbonButtonCreateNewPaket = new System.Windows.Forms.RibbonButton();
this.RibbonButtonEditPaket = new System.Windows.Forms.RibbonButton();
this.RibbonButtonCreateNewSerienbrief = new System.Windows.Forms.RibbonButton();
this.RibbonButtonEditSerienbrief = new System.Windows.Forms.RibbonButton();
this.ribbonTabProfil = new System.Windows.Forms.RibbonTab();
this.RibbonPanelProfil = new System.Windows.Forms.RibbonPanel();
this.ribbonItemGroup1 = new System.Windows.Forms.RibbonItemGroup();
this.ribbonLabel1 = new System.Windows.Forms.RibbonLabel();
this.RibbonCBProfil = new System.Windows.Forms.RibbonComboBox();
this.ribbonButton1 = new System.Windows.Forms.RibbonButton();
this.RibbonTabNativVorlagen = new System.Windows.Forms.RibbonTab();
this.RibbonTabAdmin = new System.Windows.Forms.RibbonTab();
this.ribbonPanel1 = new System.Windows.Forms.RibbonPanel();
this.RibbonButtonDokumenttyp = new System.Windows.Forms.RibbonButton();
@@ -127,6 +131,8 @@ 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.docPreview1 = new OnDoc.UIControls.DocPreview();
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).BeginInit();
this.ctxMenuDokList.SuspendLayout();
@@ -173,7 +179,7 @@ namespace OnDoc.UICintrols
this.dokumentAnVersandstrasseToolStripMenuItem,
this.wordInterOPEditToolStripMenuItem});
this.ctxMenuDokList.Name = "ctxMenuDokList";
this.ctxMenuDokList.Size = new System.Drawing.Size(280, 268);
this.ctxMenuDokList.Size = new System.Drawing.Size(280, 246);
//
// dokumentAnzeigenToolStripMenuItem
//
@@ -398,6 +404,10 @@ namespace OnDoc.UICintrols
this.ribbon2.Size = new System.Drawing.Size(1709, 131);
this.ribbon2.TabIndex = 5;
this.ribbon2.Tabs.Add(this.RibbonTabUserFunctions);
this.ribbon2.Tabs.Add(this.ribbonTabAnsicht);
this.ribbon2.Tabs.Add(this.ribbonTabDokpaket_Serienbrief);
this.ribbon2.Tabs.Add(this.ribbonTabProfil);
this.ribbon2.Tabs.Add(this.RibbonTabNativVorlagen);
this.ribbon2.Tabs.Add(this.RibbonTabAdmin);
this.ribbon2.TabSpacing = 4;
this.ribbon2.Text = "ribbon2";
@@ -411,15 +421,11 @@ namespace OnDoc.UICintrols
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPanelBearbeiten);
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPannelAproval);
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPanelArchiv);
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPanelCreate);
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPanelDoklist);
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPanelDemo);
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPanelSuche);
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPannelAnsicht);
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPanelProfil);
this.RibbonTabUserFunctions.Panels.Add(this.ribbonPanelVorschau);
this.RibbonTabUserFunctions.Panels.Add(this.ribbonPannelDiverseVorlagen);
this.RibbonTabUserFunctions.Text = "Funktionen";
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPanelDoklist);
this.RibbonTabUserFunctions.Text = "Start";
//
// RibbonPanelExit
//
@@ -556,52 +562,6 @@ namespace OnDoc.UICintrols
this.ribbonButtonVersandstrasse.Text = "Versandstrasse";
this.ribbonButtonVersandstrasse.Click += new System.EventHandler(this.ribbonButtonVersandstrasse_Click);
//
// RibbonPanelCreate
//
this.RibbonPanelCreate.ButtonMoreVisible = false;
this.RibbonPanelCreate.Items.Add(this.RibbonButtonCreateNewPaket);
this.RibbonPanelCreate.Items.Add(this.RibbonButtonEditPaket);
this.RibbonPanelCreate.Items.Add(this.RibbonButtonCreateNewSerienbrief);
this.RibbonPanelCreate.Items.Add(this.RibbonButtonEditSerienbrief);
this.RibbonPanelCreate.Name = "RibbonPanelCreate";
this.RibbonPanelCreate.Text = "Serienbriefe / Dokumentpakete";
//
// RibbonButtonCreateNewPaket
//
this.RibbonButtonCreateNewPaket.Image = global::OnDoc.Properties.Resources.NewDokPaket_32x32_32;
this.RibbonButtonCreateNewPaket.LargeImage = global::OnDoc.Properties.Resources.NewDokPaket_32x32_32;
this.RibbonButtonCreateNewPaket.Name = "RibbonButtonCreateNewPaket";
this.RibbonButtonCreateNewPaket.SmallImage = global::OnDoc.Properties.Resources.NewDokPaket_16x16_32;
this.RibbonButtonCreateNewPaket.Text = "Dokumentpaket";
this.RibbonButtonCreateNewPaket.Click += new System.EventHandler(this.RibbonButtonCreateNewPaket_Click);
//
// RibbonButtonEditPaket
//
this.RibbonButtonEditPaket.Image = global::OnDoc.Properties.Resources.EditDokumentPaket_32x32_32;
this.RibbonButtonEditPaket.LargeImage = global::OnDoc.Properties.Resources.EditDokumentPaket_32x32_32;
this.RibbonButtonEditPaket.Name = "RibbonButtonEditPaket";
this.RibbonButtonEditPaket.SmallImage = global::OnDoc.Properties.Resources.EditDokumentPaket_16x16_32;
this.RibbonButtonEditPaket.Text = "Dokumentpaket bearbeiten";
this.RibbonButtonEditPaket.Visible = false;
//
// RibbonButtonCreateNewSerienbrief
//
this.RibbonButtonCreateNewSerienbrief.Image = global::OnDoc.Properties.Resources.NewSerienbrief_32x32_32;
this.RibbonButtonCreateNewSerienbrief.LargeImage = global::OnDoc.Properties.Resources.NewSerienbrief_32x32_32;
this.RibbonButtonCreateNewSerienbrief.Name = "RibbonButtonCreateNewSerienbrief";
this.RibbonButtonCreateNewSerienbrief.SmallImage = global::OnDoc.Properties.Resources.NewSerienbrief_16x16_32;
this.RibbonButtonCreateNewSerienbrief.Text = "Serienbrief";
this.RibbonButtonCreateNewSerienbrief.Click += new System.EventHandler(this.RibbonButtonCreateNewSerienbrief_Click);
//
// RibbonButtonEditSerienbrief
//
this.RibbonButtonEditSerienbrief.Image = global::OnDoc.Properties.Resources.EditSerienbrief_32x32_32;
this.RibbonButtonEditSerienbrief.LargeImage = global::OnDoc.Properties.Resources.EditSerienbrief_32x32_32;
this.RibbonButtonEditSerienbrief.Name = "RibbonButtonEditSerienbrief";
this.RibbonButtonEditSerienbrief.SmallImage = global::OnDoc.Properties.Resources.EditSerienbrief_16x16_32;
this.RibbonButtonEditSerienbrief.Text = "Serienbrief bearbeiten";
this.RibbonButtonEditSerienbrief.Visible = false;
//
// RibbonPanelDoklist
//
this.RibbonPanelDoklist.ButtonMoreVisible = false;
@@ -719,6 +679,28 @@ namespace OnDoc.UICintrols
this.RibbonFilterDelete.Visible = false;
this.RibbonFilterDelete.Click += new System.EventHandler(this.RibbonFilterDelete_Click);
//
// ribbonPannelDiverseVorlagen
//
this.ribbonPannelDiverseVorlagen.Items.Add(this.ribbonButtonNativ);
this.ribbonPannelDiverseVorlagen.Name = "ribbonPannelDiverseVorlagen";
this.ribbonPannelDiverseVorlagen.Text = "Nativ";
this.ribbonPannelDiverseVorlagen.Visible = false;
//
// ribbonButtonNativ
//
this.ribbonButtonNativ.Image = global::OnDoc.Properties.Resources.Native_32x32_32;
this.ribbonButtonNativ.LargeImage = global::OnDoc.Properties.Resources.Native_32x32_32;
this.ribbonButtonNativ.Name = "ribbonButtonNativ";
this.ribbonButtonNativ.SmallImage = global::OnDoc.Properties.Resources.Native_24x24_32;
this.ribbonButtonNativ.Click += new System.EventHandler(this.ribbonButtonNativ_Click);
//
// ribbonTabAnsicht
//
this.ribbonTabAnsicht.Name = "ribbonTabAnsicht";
this.ribbonTabAnsicht.Panels.Add(this.RibbonPannelAnsicht);
this.ribbonTabAnsicht.Panels.Add(this.ribbonPanelVorschau);
this.ribbonTabAnsicht.Text = "Ansicht";
//
// RibbonPannelAnsicht
//
this.RibbonPannelAnsicht.Items.Add(this.ribbonItemGroup2);
@@ -795,42 +777,6 @@ namespace OnDoc.UICintrols
this.ribbonButton4.Visible = false;
this.ribbonButton4.Click += new System.EventHandler(this.ribbonButton4_Click_1);
//
// RibbonPanelProfil
//
this.RibbonPanelProfil.ButtonMoreVisible = false;
this.RibbonPanelProfil.Items.Add(this.ribbonItemGroup1);
this.RibbonPanelProfil.Items.Add(this.ribbonButton1);
this.RibbonPanelProfil.Name = "RibbonPanelProfil";
this.RibbonPanelProfil.Text = "Profil";
//
// ribbonItemGroup1
//
this.ribbonItemGroup1.Items.Add(this.ribbonLabel1);
this.ribbonItemGroup1.Items.Add(this.RibbonCBProfil);
this.ribbonItemGroup1.Name = "ribbonItemGroup1";
//
// ribbonLabel1
//
this.ribbonLabel1.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact;
this.ribbonLabel1.Name = "ribbonLabel1";
this.ribbonLabel1.Text = "Profil";
//
// RibbonCBProfil
//
this.RibbonCBProfil.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact;
this.RibbonCBProfil.Name = "RibbonCBProfil";
this.RibbonCBProfil.SelectedIndex = -1;
this.RibbonCBProfil.TextBoxText = "";
//
// ribbonButton1
//
this.ribbonButton1.Image = global::OnDoc.Properties.Resources.Pprofil_16x16_32;
this.ribbonButton1.LargeImage = global::OnDoc.Properties.Resources.Pprofil_16x16_32;
this.ribbonButton1.Name = "ribbonButton1";
this.ribbonButton1.SmallImage = global::OnDoc.Properties.Resources.Pprofil_16x16_32;
this.ribbonButton1.ToolTip = "Profil bearbeiten";
this.ribbonButton1.Click += new System.EventHandler(this.ribbonButton1_Click);
//
// ribbonPanelVorschau
//
this.ribbonPanelVorschau.ButtonMoreVisible = false;
@@ -879,20 +825,105 @@ namespace OnDoc.UICintrols
this.RibbonBtnVorschauSepparat.Text = "Eigenes Fenster";
this.RibbonBtnVorschauSepparat.Click += new System.EventHandler(this.RibbonBtnVorschauSepparat_Click);
//
// ribbonPannelDiverseVorlagen
// ribbonTabDokpaket_Serienbrief
//
this.ribbonPannelDiverseVorlagen.Items.Add(this.ribbonButtonNativ);
this.ribbonPannelDiverseVorlagen.Name = "ribbonPannelDiverseVorlagen";
this.ribbonPannelDiverseVorlagen.Text = "Nativ";
this.ribbonPannelDiverseVorlagen.Visible = false;
this.ribbonTabDokpaket_Serienbrief.Name = "ribbonTabDokpaket_Serienbrief";
this.ribbonTabDokpaket_Serienbrief.Panels.Add(this.RibbonPanelCreate);
this.ribbonTabDokpaket_Serienbrief.Text = "Dokumentpakete / Serienbrief";
//
// ribbonButtonNativ
// RibbonPanelCreate
//
this.ribbonButtonNativ.Image = global::OnDoc.Properties.Resources.Native_32x32_32;
this.ribbonButtonNativ.LargeImage = global::OnDoc.Properties.Resources.Native_32x32_32;
this.ribbonButtonNativ.Name = "ribbonButtonNativ";
this.ribbonButtonNativ.SmallImage = global::OnDoc.Properties.Resources.Native_24x24_32;
this.ribbonButtonNativ.Click += new System.EventHandler(this.ribbonButtonNativ_Click);
this.RibbonPanelCreate.ButtonMoreVisible = false;
this.RibbonPanelCreate.Items.Add(this.RibbonButtonCreateNewPaket);
this.RibbonPanelCreate.Items.Add(this.RibbonButtonEditPaket);
this.RibbonPanelCreate.Items.Add(this.RibbonButtonCreateNewSerienbrief);
this.RibbonPanelCreate.Items.Add(this.RibbonButtonEditSerienbrief);
this.RibbonPanelCreate.Name = "RibbonPanelCreate";
this.RibbonPanelCreate.Text = "Serienbriefe / Dokumentpakete";
//
// RibbonButtonCreateNewPaket
//
this.RibbonButtonCreateNewPaket.Image = global::OnDoc.Properties.Resources.NewDokPaket_32x32_32;
this.RibbonButtonCreateNewPaket.LargeImage = global::OnDoc.Properties.Resources.NewDokPaket_32x32_32;
this.RibbonButtonCreateNewPaket.Name = "RibbonButtonCreateNewPaket";
this.RibbonButtonCreateNewPaket.SmallImage = global::OnDoc.Properties.Resources.NewDokPaket_16x16_32;
this.RibbonButtonCreateNewPaket.Text = "Dokumentpaket";
this.RibbonButtonCreateNewPaket.Click += new System.EventHandler(this.RibbonButtonCreateNewPaket_Click);
//
// RibbonButtonEditPaket
//
this.RibbonButtonEditPaket.Image = global::OnDoc.Properties.Resources.EditDokumentPaket_32x32_32;
this.RibbonButtonEditPaket.LargeImage = global::OnDoc.Properties.Resources.EditDokumentPaket_32x32_32;
this.RibbonButtonEditPaket.Name = "RibbonButtonEditPaket";
this.RibbonButtonEditPaket.SmallImage = global::OnDoc.Properties.Resources.EditDokumentPaket_16x16_32;
this.RibbonButtonEditPaket.Text = "Dokumentpaket bearbeiten";
this.RibbonButtonEditPaket.Visible = false;
//
// RibbonButtonCreateNewSerienbrief
//
this.RibbonButtonCreateNewSerienbrief.Image = global::OnDoc.Properties.Resources.NewSerienbrief_32x32_32;
this.RibbonButtonCreateNewSerienbrief.LargeImage = global::OnDoc.Properties.Resources.NewSerienbrief_32x32_32;
this.RibbonButtonCreateNewSerienbrief.Name = "RibbonButtonCreateNewSerienbrief";
this.RibbonButtonCreateNewSerienbrief.SmallImage = global::OnDoc.Properties.Resources.NewSerienbrief_16x16_32;
this.RibbonButtonCreateNewSerienbrief.Text = "Serienbrief";
this.RibbonButtonCreateNewSerienbrief.Click += new System.EventHandler(this.RibbonButtonCreateNewSerienbrief_Click);
//
// RibbonButtonEditSerienbrief
//
this.RibbonButtonEditSerienbrief.Image = global::OnDoc.Properties.Resources.EditSerienbrief_32x32_32;
this.RibbonButtonEditSerienbrief.LargeImage = global::OnDoc.Properties.Resources.EditSerienbrief_32x32_32;
this.RibbonButtonEditSerienbrief.Name = "RibbonButtonEditSerienbrief";
this.RibbonButtonEditSerienbrief.SmallImage = global::OnDoc.Properties.Resources.EditSerienbrief_16x16_32;
this.RibbonButtonEditSerienbrief.Text = "Serienbrief bearbeiten";
this.RibbonButtonEditSerienbrief.Visible = false;
//
// ribbonTabProfil
//
this.ribbonTabProfil.Name = "ribbonTabProfil";
this.ribbonTabProfil.Panels.Add(this.RibbonPanelProfil);
this.ribbonTabProfil.Text = "Profil";
//
// RibbonPanelProfil
//
this.RibbonPanelProfil.ButtonMoreVisible = false;
this.RibbonPanelProfil.Items.Add(this.ribbonItemGroup1);
this.RibbonPanelProfil.Items.Add(this.ribbonButton1);
this.RibbonPanelProfil.Name = "RibbonPanelProfil";
this.RibbonPanelProfil.Text = "Profil";
//
// ribbonItemGroup1
//
this.ribbonItemGroup1.Items.Add(this.ribbonLabel1);
this.ribbonItemGroup1.Items.Add(this.RibbonCBProfil);
this.ribbonItemGroup1.Name = "ribbonItemGroup1";
//
// ribbonLabel1
//
this.ribbonLabel1.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact;
this.ribbonLabel1.Name = "ribbonLabel1";
this.ribbonLabel1.Text = "Profil";
//
// RibbonCBProfil
//
this.RibbonCBProfil.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact;
this.RibbonCBProfil.Name = "RibbonCBProfil";
this.RibbonCBProfil.SelectedIndex = -1;
this.RibbonCBProfil.TextBoxText = "";
//
// ribbonButton1
//
this.ribbonButton1.Image = global::OnDoc.Properties.Resources.Pprofil_16x16_32;
this.ribbonButton1.LargeImage = global::OnDoc.Properties.Resources.Pprofil_16x16_32;
this.ribbonButton1.Name = "ribbonButton1";
this.ribbonButton1.SmallImage = global::OnDoc.Properties.Resources.Pprofil_16x16_32;
this.ribbonButton1.ToolTip = "Profil bearbeiten";
this.ribbonButton1.Click += new System.EventHandler(this.ribbonButton1_Click);
//
// RibbonTabNativVorlagen
//
this.RibbonTabNativVorlagen.Name = "RibbonTabNativVorlagen";
this.RibbonTabNativVorlagen.Panels.Add(this.ribbonPanelNativVorlagen);
this.RibbonTabNativVorlagen.Text = "Nativ-Vorlagen";
//
// RibbonTabAdmin
//
@@ -1018,6 +1049,21 @@ namespace OnDoc.UICintrols
this.ribbonButton5.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton5.SmallImage")));
this.ribbonButton5.Text = "Load";
//
// 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);
//
// docPreview1
//
this.docPreview1.BackColor = System.Drawing.SystemColors.Control;
@@ -1153,5 +1199,11 @@ namespace OnDoc.UICintrols
private System.Windows.Forms.RibbonButton RibbonButtonViewSave;
private System.Windows.Forms.RibbonButton RibbonButtonViewDelete;
private System.Windows.Forms.RibbonButton ribbonButton4;
private System.Windows.Forms.RibbonTab ribbonTabDokpaket_Serienbrief;
private System.Windows.Forms.RibbonTab ribbonTabAnsicht;
private System.Windows.Forms.RibbonTab ribbonTabProfil;
private System.Windows.Forms.RibbonTab RibbonTabNativVorlagen;
private System.Windows.Forms.RibbonPanel ribbonPanelNativVorlagen;
private System.Windows.Forms.RibbonButton ribbonButtonNativVorlagen;
}
}

View File

@@ -734,11 +734,11 @@ namespace OnDoc.UICintrols
if (dataRow[0].ToString().Substring(0, 1).ToUpper() == "D")
{
//word
if (dataRow[11].ToString() != "1")
if (dataRow[11].ToString() != "True")
{
if (Convert.ToBoolean(dataRow[16]) == true)
if (Convert.ToBoolean(dataRow[17]) == true)
{
if (Convert.ToBoolean(dataRow[17]) == true)
if (Convert.ToBoolean(dataRow[18]) == true)
{
e.Graphics.DrawImage(OnDoc.Properties.Resources.Word_approved_24x24_32, e.Bounds.X + 20, e.Bounds.Y);
}
@@ -760,7 +760,7 @@ namespace OnDoc.UICintrols
}
if (dataRow[0].ToString().Substring(0, 1).ToUpper() == "X")
{
if (dataRow[11].ToString() != "1")
if (dataRow[11].ToString() != "True")
if (Convert.ToBoolean(dataRow[16]) == true)
{
if (Convert.ToBoolean(dataRow[17]) == true)
@@ -883,7 +883,7 @@ namespace OnDoc.UICintrols
string URL = AppParams.RESTURI + "api/ArchiveDocFromDatabase?dokumentid=" + documentid;
HttpWebRequest webRequest = HttpWebRequest.Create(URL) as HttpWebRequest;
webRequest.Method = WebRequestMethods.Http.Get;
webRequest.Method = WebRequestMethods.Http.Post;
webRequest.Headers["Authorization"] = "Bearer " + AppParams.apikey;
try
{
@@ -1342,6 +1342,12 @@ namespace OnDoc.UICintrols
{
RibbonButtonArchivToOnBase_Click(sender, e);
}
private void ribbonButtonNativVorlagen_Click(object sender, EventArgs e)
{
NativVorlagen nv = new NativVorlagen();
nv.Show();
}
}
}

View File

@@ -380,19 +380,19 @@
<data name="ribbonButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wQAADsEBuJFr7QAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
vAAADrwBlbxySQAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
</value>
</data>
<data name="ribbonButton4.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wQAADsEBuJFr7QAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
vAAADrwBlbxySQAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
</value>
</data>
<data name="ribbonButton4.SmallImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wQAADsEBuJFr7QAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
vAAADrwBlbxySQAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
</value>
</data>
<data name="RibbonButtonDokumenttyp.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

91
Client/UIControls/Dokwerte.Designer.cs generated Normal file
View File

@@ -0,0 +1,91 @@
namespace OnDoc.UIControls
{
partial class Dokwerte
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Vom Komponenten-Designer generierter Code
/// <summary>
/// Erforderliche Methode für die Designerunterstützung.
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
/// </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();
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).BeginInit();
this.toolStrip1.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.Name = "sfDataGrid1";
this.sfDataGrid1.Size = new System.Drawing.Size(381, 686);
this.sfDataGrid1.TabIndex = 0;
this.sfDataGrid1.Text = "sfDataGrid1";
//
// toolStrip1
//
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);
//
// toolStripButton1
//
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";
//
// 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.Name = "Dokwerte";
this.Size = new System.Drawing.Size(381, 711);
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).EndInit();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.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;
}
}

View File

@@ -0,0 +1,37 @@
using Database;
using OnDoc.Klassen;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace OnDoc.UIControls
{
public partial class Dokwerte : UserControl
{
public Dokwerte()
{
InitializeComponent();
}
private void toolStrip1_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
{
}
public void Update_Werte(string dokumentid)
{
DB db = new DB(AppParams.connectionstring);
db.clear_parameter();
db.add_parameter("@dokumentid", dokumentid);
db.Get_Tabledata("sp_ondoc_get_dokumentdetails", true, false);
this.sfDataGrid1.DataSource = db.dsdaten.Tables[0];
db = null;
}
}
}

View File

@@ -0,0 +1,139 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<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>

View File

@@ -508,6 +508,7 @@ namespace OnDoc.UIControls
private string data_select(string datenherkunft, string feldtyp)
{
try {
if (datenherkunft=="" || datenherkunft=="&Freitext&") { return ""; }
switch (feldtyp.ToUpper())
{
@@ -608,6 +609,8 @@ namespace OnDoc.UIControls
break;
}
return "";
}
catch { return ""; }
}