update 20240925
This commit is contained in:
@@ -63,6 +63,9 @@
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\ExcelNet\bin\Debug\ExcelNet.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="OnDocOffice">
|
||||
<HintPath>..\OnDocOffice\bin\Debug\OnDocOffice.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="QRCoder, Version=1.5.1.0, Culture=neutral, PublicKeyToken=c4ed5b9ae8358a28, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\BarcodeLib\bin\Debug\QRCoder.dll</HintPath>
|
||||
@@ -214,6 +217,7 @@
|
||||
</Compile>
|
||||
<Compile Include="Helper\ConvertHelper.cs" />
|
||||
<Compile Include="Helper\FileHelper.cs" />
|
||||
<Compile Include="Helper\Security.cs" />
|
||||
<Compile Include="Helper\TableHelper.cs" />
|
||||
<Compile Include="Interfaces\IListener.cs" />
|
||||
<Compile Include="Klassen\Broadcaster.cs" />
|
||||
|
||||
2
Client/Diverses/NativVorlagen.Designer.cs
generated
2
Client/Diverses/NativVorlagen.Designer.cs
generated
@@ -121,7 +121,7 @@
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(319, 415);
|
||||
this.button1.Location = new System.Drawing.Point(319, 422);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||
this.button1.TabIndex = 4;
|
||||
|
||||
@@ -270,20 +270,20 @@ namespace OnDoc.Diverses
|
||||
switch (ext)
|
||||
{
|
||||
case ".D":
|
||||
DOCGEN.Klassen.SynFWord sf = new DOCGEN.Klassen.SynFWord();
|
||||
DOCGEN.Klassen.SyncFWord sf = new DOCGEN.Klassen.SyncFWord();
|
||||
tempfilename1 = System.IO.Path.GetFileName(tempfilename);
|
||||
tempfilename1 = AppParams.tempdir + "" + DateTime.Now.ToString("yyyyMMddhhmmss") + tempfilename1;
|
||||
sf.create_nativ("Klassifikation", klassifizierung, "", tempfilename, tempfilename1);
|
||||
sf.create_nativ("Klassifizierung", klassifizierung, "", tempfilename, tempfilename1);
|
||||
System.Diagnostics.Process.Start("winword.exe", " /t" + tempfilename1);
|
||||
|
||||
//System.Diagnostics.Process.Start("winword.exe", " /t" + tempfilename);
|
||||
break;
|
||||
case ".X":
|
||||
DOCGEN.Klassen.SynFExcel ef = new DOCGEN.Klassen.SynFExcel();
|
||||
DOCGEN.Klassen.SyncFExcel ef = new DOCGEN.Klassen.SyncFExcel();
|
||||
tempfilename1 = System.IO.Path.GetFileName(tempfilename);
|
||||
tempfilename1 = AppParams.tempdir + "" + DateTime.Now.ToString("yyyyMMddhhmmss") + tempfilename1;
|
||||
|
||||
ef.create_nativ("Klassifikation", klassifizierung, "", tempfilename, tempfilename1);
|
||||
ef.create_nativ("Klassifizierung", klassifizierung, "", tempfilename, tempfilename1);
|
||||
|
||||
System.Diagnostics.Process.Start("excel.exe", " /t " + tempfilename1);
|
||||
break;
|
||||
@@ -291,7 +291,7 @@ namespace OnDoc.Diverses
|
||||
DOCGEN.Klassen.SyncFPowerPoint pf = new DOCGEN.Klassen.SyncFPowerPoint();
|
||||
tempfilename1 = System.IO.Path.GetFileName(tempfilename);
|
||||
tempfilename1 = AppParams.tempdir + "" + DateTime.Now.ToString("yyyyMMddhhmmss") + tempfilename1;
|
||||
pf.create_nativ("Klassifikation",klassifizierung,"",tempfilename,tempfilename1);
|
||||
pf.create_nativ("Klassifizierung", klassifizierung,"",tempfilename,tempfilename1);
|
||||
System.Diagnostics.Process.Start("POWERPNT.EXE", " /N " + tempfilename1);
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
||||
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAB4
|
||||
DAAAAk1TRnQBSQFMAgEBBQEAATgBAAE4AQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
||||
DAAAAk1TRnQBSQFMAgEBBQEAAUABAAFAAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
||||
AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
|
||||
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
|
||||
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
|
||||
|
||||
7
Client/DocMgmt/Dokumenterstellung.Designer.cs
generated
7
Client/DocMgmt/Dokumenterstellung.Designer.cs
generated
@@ -76,7 +76,7 @@
|
||||
//
|
||||
this.PnlPreview.Controls.Add(this.docPreview1);
|
||||
this.PnlPreview.Controls.Add(this.GrpFnkt);
|
||||
this.PnlPreview.Location = new System.Drawing.Point(254, 108);
|
||||
this.PnlPreview.Location = new System.Drawing.Point(219, 232);
|
||||
this.PnlPreview.Name = "PnlPreview";
|
||||
this.PnlPreview.Size = new System.Drawing.Size(668, 415);
|
||||
this.PnlPreview.TabIndex = 19;
|
||||
@@ -112,6 +112,7 @@
|
||||
this.GrpFnkt.TabIndex = 2;
|
||||
this.GrpFnkt.TabStop = false;
|
||||
this.GrpFnkt.Text = "Funktionen";
|
||||
this.GrpFnkt.Enter += new System.EventHandler(this.GrpFnkt_Enter);
|
||||
//
|
||||
// label6
|
||||
//
|
||||
@@ -154,7 +155,7 @@
|
||||
// button4
|
||||
//
|
||||
this.button4.Image = ((System.Drawing.Image)(resources.GetObject("button4.Image")));
|
||||
this.button4.Location = new System.Drawing.Point(257, 13);
|
||||
this.button4.Location = new System.Drawing.Point(257, 16);
|
||||
this.button4.Name = "button4";
|
||||
this.button4.Size = new System.Drawing.Size(75, 81);
|
||||
this.button4.TabIndex = 7;
|
||||
@@ -243,6 +244,7 @@
|
||||
clsdocgendata1.erstellungsart = Model.Erstellungsart.DokumentBearbeiten;
|
||||
clsdocgendata1.frormularOhneUnterschrift = false;
|
||||
clsdocgendata1.inhaberadresse = null;
|
||||
clsdocgendata1.logo = "";
|
||||
clsdocgendata1.partnernr = null;
|
||||
clsdocgendata1.postzustellung = null;
|
||||
clsdocgendata1.status = null;
|
||||
@@ -250,6 +252,7 @@
|
||||
clsdocgendata1.unterschriftLinks = null;
|
||||
clsdocgendata1.unterschriftRehts = null;
|
||||
clsdocgendata1.verantwortlich = null;
|
||||
clsdocgendata1.versandstrasse_moeglich = false;
|
||||
clsdocgendata1.zustaendigkube = null;
|
||||
clsdocgendata1.zustaendigmitarbeiter = null;
|
||||
clsdocgendata1.zustelladresse = null;
|
||||
|
||||
@@ -113,6 +113,12 @@ namespace OnDoc.DocMgmt
|
||||
db.Save_To_DB(dokdata.Dokumentid, filename);
|
||||
db = null;
|
||||
}
|
||||
if (ucAllgemeineDokumentParam1.docgendata.versandstrasse_moeglich == true)
|
||||
{
|
||||
button5.Enabled = true;
|
||||
}
|
||||
else { button5.Enabled = false; }
|
||||
|
||||
PnlPreview.Visible = true;
|
||||
PnlPreview.Dock = DockStyle.Fill;
|
||||
|
||||
@@ -128,11 +134,10 @@ namespace OnDoc.DocMgmt
|
||||
button4.Enabled = true;
|
||||
button5.Enabled = true;
|
||||
}
|
||||
|
||||
docPreview1.Show_Doc(dokumentid);
|
||||
if (ucAllgemeineDokumentParam1.docgendata.versandstrasse_moeglich == false) { button5.Enabled = false; }
|
||||
docPreview1.Show_Doc(dokumentid);
|
||||
docPreview1.Hide_Editbuttons();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void sfButton3_Click(object sender, EventArgs e)
|
||||
@@ -172,5 +177,10 @@ namespace OnDoc.DocMgmt
|
||||
this.Close();
|
||||
|
||||
}
|
||||
|
||||
private void GrpFnkt_Enter(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
111
Client/Helper/Security.cs
Normal file
111
Client/Helper/Security.cs
Normal file
@@ -0,0 +1,111 @@
|
||||
using OnDoc.Klassen;
|
||||
using Syncfusion.Pdf.Graphics;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Data;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Net.Http.Headers;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Web.UI;
|
||||
using System.Windows.Forms;
|
||||
using Windows.UI.Core.Preview;
|
||||
|
||||
namespace OnDoc.Helper
|
||||
{
|
||||
public class Security
|
||||
{
|
||||
|
||||
DataTable secdata = new DataTable();
|
||||
public void set_security(System.Windows.Forms.Control c)
|
||||
{
|
||||
Database.DB db = new Database.DB(AppParams.connectionstring);
|
||||
db.Get_Tabledata("select * from ondoc_funktionen where aktiv=1", false, true);
|
||||
secdata = db.dsdaten.Tables[0];
|
||||
foreach (System.Windows.Forms.Control control in c.Controls)
|
||||
{
|
||||
Type typ = control.GetType();
|
||||
Console.WriteLine(typ.Name);
|
||||
|
||||
if (typ.Name == "Ribbon")
|
||||
{
|
||||
Ribbon tmpribbon = (Ribbon)control;
|
||||
foreach (RibbonTab tab in tmpribbon.Tabs)
|
||||
{
|
||||
switch (Update_Item(tab, tab.Name)) { case 1: tab.Enabled = false; break; case 2: tab.Visible = false; break; default:break; } ;
|
||||
foreach (RibbonPanel panel in tab.Panels)
|
||||
{
|
||||
|
||||
switch (Update_Item(panel,panel.Name)) { case 1: panel.Enabled = false; break; case 2: panel.Visible = false; break; default: break; };
|
||||
|
||||
foreach (RibbonItem item in panel.Items)
|
||||
{
|
||||
switch (Update_Item(item, item.Name)) { case 1: item.Enabled = false; break; case 2: item.Visible = false; break; default: break; };
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (typ.Name == "Label")
|
||||
{
|
||||
if (typ.Name == "lblToApprove")
|
||||
{
|
||||
Label lbl = (Label)control;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
get_all_controls(control);
|
||||
}
|
||||
}
|
||||
|
||||
private int Update_Item(object sender, string name)
|
||||
{
|
||||
foreach (DataRow dr in secdata.Rows)
|
||||
{
|
||||
if (dr["Objectname"].ToString() == name)
|
||||
{
|
||||
switch (dr["ObjektStatus"].ToString())
|
||||
{
|
||||
case "1":
|
||||
return 1;
|
||||
break;
|
||||
case "2":
|
||||
return 2;
|
||||
break;
|
||||
case "3":
|
||||
return 3;
|
||||
break;
|
||||
default:
|
||||
return 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
public void get_all_controls(System.Windows.Forms.Control c)
|
||||
{
|
||||
foreach (System.Windows.Forms.Control subc in c.Controls)
|
||||
{
|
||||
Type typ = c.GetType();
|
||||
Console.WriteLine(typ.Name);
|
||||
if (typ.Name == "Label")
|
||||
{
|
||||
if (typ.Name== "lblToApprove")
|
||||
{
|
||||
Label lbl = (Label)subc;
|
||||
}
|
||||
Ribbon tmpribbon = (Ribbon)c;
|
||||
}
|
||||
get_all_controls(subc);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
using Database;
|
||||
using Microsoft.Office.Interop.Word;
|
||||
using Microsoft.Toolkit.Uwp.Notifications;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using Microsoft.Office.Interop.Word;
|
||||
using OnDoc.UIControls.Administrator;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -14,6 +15,7 @@ namespace OnDoc.Klassen
|
||||
public string connectstring { get;set; }
|
||||
public string filename { get; set; }
|
||||
public string dokumentid { get; set; }
|
||||
public
|
||||
Microsoft.Office.Interop.Word.Application word;
|
||||
Document doc = null;
|
||||
|
||||
@@ -23,6 +25,7 @@ namespace OnDoc.Klassen
|
||||
this.connectstring = connectstring;
|
||||
this.filename = filename;
|
||||
this.dokumentid = dokumentid;
|
||||
|
||||
}
|
||||
|
||||
public bool Start_Application()
|
||||
@@ -64,5 +67,10 @@ namespace OnDoc.Klassen
|
||||
}
|
||||
return true; // Document is closed
|
||||
}
|
||||
|
||||
public void run_macros()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using Microsoft.Office.Interop.Word;
|
||||
using Syncfusion.Styles;
|
||||
using Syncfusion.Styles;
|
||||
using Syncfusion.WinForms.Controls;
|
||||
using Syncfusion.WinForms.Controls.Styles;
|
||||
using Syncfusion.WinForms.DataGrid.RowFilter;
|
||||
|
||||
@@ -11,6 +11,7 @@ using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
using Syncfusion.Windows.Forms.Spreadsheet.Commands;
|
||||
using OnDoc.UICintrols;
|
||||
|
||||
|
||||
namespace OnDoc
|
||||
@@ -84,6 +85,7 @@ namespace OnDoc
|
||||
// // MyForm = new Start();
|
||||
// Application.Run(MyForm);
|
||||
Application.Run(new Start());
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using Database;
|
||||
using Microsoft.Office.Interop.Excel;
|
||||
using OnDoc.Diverses;
|
||||
using OnDoc.DocMgmt;
|
||||
using OnDoc.Klassen;
|
||||
@@ -62,9 +63,14 @@ namespace OnDoc
|
||||
//partnerTree1.Refresh(-1, AppParams.CurrentMitarbieter, Convert.ToInt32(rbcomboboxprofil.SelectedItem.Tag.ToString()));
|
||||
|
||||
dokList1.mitarbeiternr = AppParams.CurrentMitarbieter;
|
||||
//Helper.Security security = new Helper.Security();
|
||||
//security.set_security(dokList1);
|
||||
dokList1.load_Profile();
|
||||
dokList1.load_Mitarbeiter();
|
||||
dokList1.refresh_dokumente();
|
||||
dokList1.set_functions();
|
||||
|
||||
|
||||
Logging.Logging.Debug("Start - Ende", "start.cs", "");
|
||||
|
||||
}
|
||||
@@ -105,8 +111,10 @@ namespace OnDoc
|
||||
// exec_edk();
|
||||
//}
|
||||
//partnerTree1.mitarbeiternr = AppParams.CurrentMitarbieter;
|
||||
|
||||
}
|
||||
|
||||
|
||||
private void dokList1_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
@@ -280,7 +280,7 @@ namespace OnDoc.UIControls.Administrator
|
||||
case "DOT":
|
||||
case "WORD":
|
||||
case "DOTM":
|
||||
SynFWord sfword = new SynFWord();
|
||||
SyncFWord sfword = new SyncFWord();
|
||||
if (sfword.FindText(base64, this.toolStripTextBox1.Text) == true) { MessageBox.Show(dr[1].ToString()); }
|
||||
break;
|
||||
case "XLSM":
|
||||
|
||||
244
Client/UIControls/DokList.Designer.cs
generated
244
Client/UIControls/DokList.Designer.cs
generated
@@ -1,4 +1,6 @@
|
||||
namespace OnDoc.UICintrols
|
||||
using Syncfusion.Windows.Forms.Tools;
|
||||
|
||||
namespace OnDoc.UICintrols
|
||||
{
|
||||
partial class DokList
|
||||
{
|
||||
@@ -49,6 +51,7 @@
|
||||
this.tsbtnpreviewbottom = new System.Windows.Forms.ToolStripButton();
|
||||
this.tsbtnpreviewright = new System.Windows.Forms.ToolStripButton();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.docPreview1 = new OnDoc.UIControls.DocPreview();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.lblTitel = new System.Windows.Forms.Label();
|
||||
this.ribbonPanel2 = new System.Windows.Forms.RibbonPanel();
|
||||
@@ -56,11 +59,6 @@
|
||||
this.RibbonTabUserFunctions = new System.Windows.Forms.RibbonTab();
|
||||
this.RibbonPanelExit = new System.Windows.Forms.RibbonPanel();
|
||||
this.RibbonButtonExit = 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.RibbonPanelBearbeiten = new System.Windows.Forms.RibbonPanel();
|
||||
this.RibbonButtonNewDoc = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonButtonFavoriten = new System.Windows.Forms.RibbonButton();
|
||||
@@ -74,11 +72,6 @@
|
||||
this.RibbonPanelArchiv = new System.Windows.Forms.RibbonPanel();
|
||||
this.RibbonButtonArchivToOnBase = new System.Windows.Forms.RibbonButton();
|
||||
this.ribbonButtonVersandstrasse = 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.RibbonPanelCreate = new System.Windows.Forms.RibbonPanel();
|
||||
this.RibbonButtonCreateNewPaket = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonButtonEditPaket = new System.Windows.Forms.RibbonButton();
|
||||
@@ -95,6 +88,16 @@
|
||||
this.ribbonButtonPartnerSuche = new System.Windows.Forms.RibbonButton();
|
||||
this.ribbonGroupMitarbeiter = new System.Windows.Forms.RibbonItemGroup();
|
||||
this.ribbonLabelMitarbeiter = new System.Windows.Forms.RibbonLabel();
|
||||
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.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.ribbonPannelDiverseVorlagen = new System.Windows.Forms.RibbonPanel();
|
||||
this.ribbonButtonNativ = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonTabAdmin = new System.Windows.Forms.RibbonTab();
|
||||
@@ -104,12 +107,14 @@
|
||||
this.ribbonPanel3 = new System.Windows.Forms.RibbonPanel();
|
||||
this.ribbonButton2 = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonButtonBerechtigungsgruppe = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonPanelDiverses = new System.Windows.Forms.RibbonPanel();
|
||||
this.ribbonButtonBCK = new System.Windows.Forms.RibbonButton();
|
||||
this.pdfConfig1 = new Syncfusion.Pdf.PdfConfig();
|
||||
this.RibbonButtonCreateNewDoc = new System.Windows.Forms.RibbonButton();
|
||||
this.lblToApprove = new System.Windows.Forms.Label();
|
||||
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
||||
this.cbboxMitarbeiter = new Syncfusion.WinForms.ListView.SfComboBox();
|
||||
this.docPreview1 = new OnDoc.UIControls.DocPreview();
|
||||
this.wordInterOPEditToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).BeginInit();
|
||||
this.ctxMenuDokList.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
@@ -153,9 +158,10 @@
|
||||
this.zellenwertInZwischenablageKopierenToolStripMenuItem,
|
||||
this.druckenToolStripMenuItem,
|
||||
this.pDFGenerierenToolStripMenuItem,
|
||||
this.dokumentAnVersandstrasseToolStripMenuItem});
|
||||
this.dokumentAnVersandstrasseToolStripMenuItem,
|
||||
this.wordInterOPEditToolStripMenuItem});
|
||||
this.ctxMenuDokList.Name = "ctxMenuDokList";
|
||||
this.ctxMenuDokList.Size = new System.Drawing.Size(280, 224);
|
||||
this.ctxMenuDokList.Size = new System.Drawing.Size(280, 268);
|
||||
//
|
||||
// dokumentAnzeigenToolStripMenuItem
|
||||
//
|
||||
@@ -316,6 +322,15 @@
|
||||
this.splitContainer1.SplitterDistance = 343;
|
||||
this.splitContainer1.TabIndex = 2;
|
||||
//
|
||||
// docPreview1
|
||||
//
|
||||
this.docPreview1.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.docPreview1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.docPreview1.Location = new System.Drawing.Point(0, 0);
|
||||
this.docPreview1.Name = "docPreview1";
|
||||
this.docPreview1.Size = new System.Drawing.Size(1709, 347);
|
||||
this.docPreview1.TabIndex = 0;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
@@ -372,6 +387,7 @@
|
||||
this.ribbon2.Tabs.Add(this.RibbonTabAdmin);
|
||||
this.ribbon2.TabSpacing = 4;
|
||||
this.ribbon2.Text = "ribbon2";
|
||||
this.ribbon2.DockChanged += new System.EventHandler(this.ribbon2_DockChanged);
|
||||
this.ribbon2.Click += new System.EventHandler(this.ribbon2_Click);
|
||||
//
|
||||
// RibbonTabUserFunctions
|
||||
@@ -408,54 +424,6 @@
|
||||
this.RibbonButtonExit.TextAlignment = System.Windows.Forms.RibbonItem.RibbonItemTextAlignment.Center;
|
||||
this.RibbonButtonExit.Click += new System.EventHandler(this.RibbonButtonExit_Click);
|
||||
//
|
||||
// ribbonPanelVorschau
|
||||
//
|
||||
this.ribbonPanelVorschau.ButtonMoreVisible = false;
|
||||
this.ribbonPanelVorschau.Items.Add(this.RibbonBtnVorschauNo);
|
||||
this.ribbonPanelVorschau.Items.Add(this.RibbonBtnVorschauUnten);
|
||||
this.ribbonPanelVorschau.Items.Add(this.RibbonButtonVorschauRechts);
|
||||
this.ribbonPanelVorschau.Items.Add(this.RibbonBtnVorschauSepparat);
|
||||
this.ribbonPanelVorschau.Name = "ribbonPanelVorschau";
|
||||
this.ribbonPanelVorschau.Text = "Vorschau";
|
||||
//
|
||||
// RibbonBtnVorschauNo
|
||||
//
|
||||
this.RibbonBtnVorschauNo.Image = global::OnDoc.Properties.Resources.Preview_Now_32x32_32;
|
||||
this.RibbonBtnVorschauNo.LargeImage = global::OnDoc.Properties.Resources.Preview_Now_32x32_32;
|
||||
this.RibbonBtnVorschauNo.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Large;
|
||||
this.RibbonBtnVorschauNo.Name = "RibbonBtnVorschauNo";
|
||||
this.RibbonBtnVorschauNo.SmallImage = global::OnDoc.Properties.Resources.Preview_Now_16x16_32;
|
||||
this.RibbonBtnVorschauNo.Text = "Keine";
|
||||
this.RibbonBtnVorschauNo.TextAlignment = System.Windows.Forms.RibbonItem.RibbonItemTextAlignment.Center;
|
||||
this.RibbonBtnVorschauNo.Click += new System.EventHandler(this.RibbonBtnVorschauNo_Click);
|
||||
//
|
||||
// RibbonBtnVorschauUnten
|
||||
//
|
||||
this.RibbonBtnVorschauUnten.Image = global::OnDoc.Properties.Resources.Preview_Unten_32x32_32;
|
||||
this.RibbonBtnVorschauUnten.LargeImage = global::OnDoc.Properties.Resources.Preview_Unten_32x32_32;
|
||||
this.RibbonBtnVorschauUnten.Name = "RibbonBtnVorschauUnten";
|
||||
this.RibbonBtnVorschauUnten.SmallImage = global::OnDoc.Properties.Resources.Preview_Unten_16x16_32;
|
||||
this.RibbonBtnVorschauUnten.Text = "Unten";
|
||||
this.RibbonBtnVorschauUnten.Click += new System.EventHandler(this.RibbonBtnVorschauUnten_Click);
|
||||
//
|
||||
// RibbonButtonVorschauRechts
|
||||
//
|
||||
this.RibbonButtonVorschauRechts.Image = global::OnDoc.Properties.Resources.Preview_Rechts_32x32_32;
|
||||
this.RibbonButtonVorschauRechts.LargeImage = global::OnDoc.Properties.Resources.Preview_Rechts_32x32_32;
|
||||
this.RibbonButtonVorschauRechts.Name = "RibbonButtonVorschauRechts";
|
||||
this.RibbonButtonVorschauRechts.SmallImage = global::OnDoc.Properties.Resources.Preview_Rechts_16x16_32;
|
||||
this.RibbonButtonVorschauRechts.Text = "Rechts";
|
||||
this.RibbonButtonVorschauRechts.Click += new System.EventHandler(this.RibbonButtonVorschauRechts_Click);
|
||||
//
|
||||
// RibbonBtnVorschauSepparat
|
||||
//
|
||||
this.RibbonBtnVorschauSepparat.Image = global::OnDoc.Properties.Resources.Preview_separated_32x32_32;
|
||||
this.RibbonBtnVorschauSepparat.LargeImage = global::OnDoc.Properties.Resources.Preview_separated_32x32_32;
|
||||
this.RibbonBtnVorschauSepparat.Name = "RibbonBtnVorschauSepparat";
|
||||
this.RibbonBtnVorschauSepparat.SmallImage = global::OnDoc.Properties.Resources.Preview_separated_16x16_32;
|
||||
this.RibbonBtnVorschauSepparat.Text = "Eigenes Fenster";
|
||||
this.RibbonBtnVorschauSepparat.Click += new System.EventHandler(this.RibbonBtnVorschauSepparat_Click);
|
||||
//
|
||||
// RibbonPanelBearbeiten
|
||||
//
|
||||
this.RibbonPanelBearbeiten.ButtonMoreVisible = false;
|
||||
@@ -573,42 +541,6 @@
|
||||
this.ribbonButtonVersandstrasse.Text = "Versandstrasse";
|
||||
this.ribbonButtonVersandstrasse.Click += new System.EventHandler(this.ribbonButtonVersandstrasse_Click);
|
||||
//
|
||||
// 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_32x32_32;
|
||||
this.ribbonButton1.LargeImage = global::OnDoc.Properties.Resources.Pprofil_32x32_32;
|
||||
this.ribbonButton1.Name = "ribbonButton1";
|
||||
this.ribbonButton1.SmallImage = global::OnDoc.Properties.Resources.Pprofil_16x16_32;
|
||||
this.ribbonButton1.Visible = false;
|
||||
this.ribbonButton1.Click += new System.EventHandler(this.ribbonButton1_Click);
|
||||
//
|
||||
// RibbonPanelCreate
|
||||
//
|
||||
this.RibbonPanelCreate.ButtonMoreVisible = false;
|
||||
@@ -734,6 +666,90 @@
|
||||
this.ribbonLabelMitarbeiter.Name = "ribbonLabelMitarbeiter";
|
||||
this.ribbonLabelMitarbeiter.Text = "Mitarbeiter";
|
||||
//
|
||||
// ribbonPanelVorschau
|
||||
//
|
||||
this.ribbonPanelVorschau.ButtonMoreVisible = false;
|
||||
this.ribbonPanelVorschau.Items.Add(this.RibbonBtnVorschauNo);
|
||||
this.ribbonPanelVorschau.Items.Add(this.RibbonBtnVorschauUnten);
|
||||
this.ribbonPanelVorschau.Items.Add(this.RibbonButtonVorschauRechts);
|
||||
this.ribbonPanelVorschau.Items.Add(this.RibbonBtnVorschauSepparat);
|
||||
this.ribbonPanelVorschau.Name = "ribbonPanelVorschau";
|
||||
this.ribbonPanelVorschau.Text = "Vorschau";
|
||||
//
|
||||
// RibbonBtnVorschauNo
|
||||
//
|
||||
this.RibbonBtnVorschauNo.Image = global::OnDoc.Properties.Resources.Preview_Now_32x32_32;
|
||||
this.RibbonBtnVorschauNo.LargeImage = global::OnDoc.Properties.Resources.Preview_Now_32x32_32;
|
||||
this.RibbonBtnVorschauNo.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Large;
|
||||
this.RibbonBtnVorschauNo.Name = "RibbonBtnVorschauNo";
|
||||
this.RibbonBtnVorschauNo.SmallImage = global::OnDoc.Properties.Resources.Preview_Now_16x16_32;
|
||||
this.RibbonBtnVorschauNo.Text = "Keine";
|
||||
this.RibbonBtnVorschauNo.TextAlignment = System.Windows.Forms.RibbonItem.RibbonItemTextAlignment.Center;
|
||||
this.RibbonBtnVorschauNo.Click += new System.EventHandler(this.RibbonBtnVorschauNo_Click);
|
||||
//
|
||||
// RibbonBtnVorschauUnten
|
||||
//
|
||||
this.RibbonBtnVorschauUnten.Image = global::OnDoc.Properties.Resources.Preview_Unten_32x32_32;
|
||||
this.RibbonBtnVorschauUnten.LargeImage = global::OnDoc.Properties.Resources.Preview_Unten_32x32_32;
|
||||
this.RibbonBtnVorschauUnten.Name = "RibbonBtnVorschauUnten";
|
||||
this.RibbonBtnVorschauUnten.SmallImage = global::OnDoc.Properties.Resources.Preview_Unten_16x16_32;
|
||||
this.RibbonBtnVorschauUnten.Text = "Unten";
|
||||
this.RibbonBtnVorschauUnten.Click += new System.EventHandler(this.RibbonBtnVorschauUnten_Click);
|
||||
//
|
||||
// RibbonButtonVorschauRechts
|
||||
//
|
||||
this.RibbonButtonVorschauRechts.Image = global::OnDoc.Properties.Resources.Preview_Rechts_32x32_32;
|
||||
this.RibbonButtonVorschauRechts.LargeImage = global::OnDoc.Properties.Resources.Preview_Rechts_32x32_32;
|
||||
this.RibbonButtonVorschauRechts.Name = "RibbonButtonVorschauRechts";
|
||||
this.RibbonButtonVorschauRechts.SmallImage = global::OnDoc.Properties.Resources.Preview_Rechts_16x16_32;
|
||||
this.RibbonButtonVorschauRechts.Text = "Rechts";
|
||||
this.RibbonButtonVorschauRechts.Click += new System.EventHandler(this.RibbonButtonVorschauRechts_Click);
|
||||
//
|
||||
// RibbonBtnVorschauSepparat
|
||||
//
|
||||
this.RibbonBtnVorschauSepparat.Image = global::OnDoc.Properties.Resources.Preview_separated_32x32_32;
|
||||
this.RibbonBtnVorschauSepparat.LargeImage = global::OnDoc.Properties.Resources.Preview_separated_32x32_32;
|
||||
this.RibbonBtnVorschauSepparat.Name = "RibbonBtnVorschauSepparat";
|
||||
this.RibbonBtnVorschauSepparat.SmallImage = global::OnDoc.Properties.Resources.Preview_separated_16x16_32;
|
||||
this.RibbonBtnVorschauSepparat.Text = "Eigenes Fenster";
|
||||
this.RibbonBtnVorschauSepparat.Click += new System.EventHandler(this.RibbonBtnVorschauSepparat_Click);
|
||||
//
|
||||
// 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_32x32_32;
|
||||
this.ribbonButton1.LargeImage = global::OnDoc.Properties.Resources.Pprofil_32x32_32;
|
||||
this.ribbonButton1.Name = "ribbonButton1";
|
||||
this.ribbonButton1.SmallImage = global::OnDoc.Properties.Resources.Pprofil_16x16_32;
|
||||
this.ribbonButton1.Visible = false;
|
||||
this.ribbonButton1.Click += new System.EventHandler(this.ribbonButton1_Click);
|
||||
//
|
||||
// ribbonPannelDiverseVorlagen
|
||||
//
|
||||
this.ribbonPannelDiverseVorlagen.Items.Add(this.ribbonButtonNativ);
|
||||
@@ -754,6 +770,7 @@
|
||||
this.RibbonTabAdmin.Name = "RibbonTabAdmin";
|
||||
this.RibbonTabAdmin.Panels.Add(this.ribbonPanel1);
|
||||
this.RibbonTabAdmin.Panels.Add(this.ribbonPanel3);
|
||||
this.RibbonTabAdmin.Panels.Add(this.RibbonPanelDiverses);
|
||||
this.RibbonTabAdmin.Text = "Administration";
|
||||
//
|
||||
// ribbonPanel1
|
||||
@@ -810,6 +827,21 @@
|
||||
this.RibbonButtonBerechtigungsgruppe.Text = "Berechtigungsgruppe";
|
||||
this.RibbonButtonBerechtigungsgruppe.Click += new System.EventHandler(this.RibbonButtonBerechtigungsgruppe_Click);
|
||||
//
|
||||
// RibbonPanelDiverses
|
||||
//
|
||||
this.RibbonPanelDiverses.Items.Add(this.ribbonButtonBCK);
|
||||
this.RibbonPanelDiverses.Name = "RibbonPanelDiverses";
|
||||
this.RibbonPanelDiverses.Text = "Diverse Funktionen";
|
||||
//
|
||||
// ribbonButtonBCK
|
||||
//
|
||||
this.ribbonButtonBCK.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButtonBCK.Image")));
|
||||
this.ribbonButtonBCK.LargeImage = ((System.Drawing.Image)(resources.GetObject("ribbonButtonBCK.LargeImage")));
|
||||
this.ribbonButtonBCK.Name = "ribbonButtonBCK";
|
||||
this.ribbonButtonBCK.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButtonBCK.SmallImage")));
|
||||
this.ribbonButtonBCK.Text = "BCK";
|
||||
this.ribbonButtonBCK.Click += new System.EventHandler(this.ribbonButton3_Click);
|
||||
//
|
||||
// RibbonButtonCreateNewDoc
|
||||
//
|
||||
this.RibbonButtonCreateNewDoc.Image = global::OnDoc.Properties.Resources.NewDoc_32x32_32;
|
||||
@@ -850,14 +882,12 @@
|
||||
this.cbboxMitarbeiter.TabStop = false;
|
||||
this.cbboxMitarbeiter.SelectedValueChanged += new System.EventHandler(this.cbboxMitarbeiter_SelectedValueChanged);
|
||||
//
|
||||
// docPreview1
|
||||
// wordInterOPEditToolStripMenuItem
|
||||
//
|
||||
this.docPreview1.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.docPreview1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.docPreview1.Location = new System.Drawing.Point(0, 0);
|
||||
this.docPreview1.Name = "docPreview1";
|
||||
this.docPreview1.Size = new System.Drawing.Size(1709, 347);
|
||||
this.docPreview1.TabIndex = 0;
|
||||
this.wordInterOPEditToolStripMenuItem.Name = "wordInterOPEditToolStripMenuItem";
|
||||
this.wordInterOPEditToolStripMenuItem.Size = new System.Drawing.Size(279, 22);
|
||||
this.wordInterOPEditToolStripMenuItem.Text = "Word InterOP Edit";
|
||||
this.wordInterOPEditToolStripMenuItem.Click += new System.EventHandler(this.wordInterOPEditToolStripMenuItem_Click);
|
||||
//
|
||||
// DokList
|
||||
//
|
||||
@@ -871,6 +901,7 @@
|
||||
this.Name = "DokList";
|
||||
this.Size = new System.Drawing.Size(1709, 847);
|
||||
this.Load += new System.EventHandler(this.DokList_Load);
|
||||
this.DockChanged += new System.EventHandler(this.DokList_DockChanged);
|
||||
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).EndInit();
|
||||
this.ctxMenuDokList.ResumeLayout(false);
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
@@ -969,5 +1000,8 @@
|
||||
private System.Windows.Forms.Timer timer1;
|
||||
private System.Windows.Forms.RibbonButton ribbonButtonRefresh_Bewilligungen;
|
||||
private Syncfusion.WinForms.ListView.SfComboBox cbboxMitarbeiter;
|
||||
private System.Windows.Forms.RibbonPanel RibbonPanelDiverses;
|
||||
private System.Windows.Forms.RibbonButton ribbonButtonBCK;
|
||||
private System.Windows.Forms.ToolStripMenuItem wordInterOPEditToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,6 +39,8 @@ using BroadcastListener.Classes;
|
||||
using System.Resources;
|
||||
using NLog.Config;
|
||||
using OnDoc.Versandstrasse;
|
||||
using Windows.UI.Input.Preview.Injection;
|
||||
using Windows.UI.WebUI;
|
||||
|
||||
|
||||
|
||||
@@ -48,7 +50,7 @@ namespace OnDoc.UICintrols
|
||||
{
|
||||
public int partnernr { get; set; } = 0;
|
||||
public int forMaNr { get; set; } = 0;
|
||||
public int docartnr { get; set; }
|
||||
public int docartnr { get; set; }
|
||||
|
||||
public int profilnr { get; set; }
|
||||
public int mitarbeiternr { get; set; }
|
||||
@@ -64,26 +66,31 @@ namespace OnDoc.UICintrols
|
||||
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("de-DE");
|
||||
InitializeComponent();
|
||||
Broadcaster().AddListener(this);
|
||||
//Theaming.FormTheaming(ref this);
|
||||
//t_functions();
|
||||
pos_elements();
|
||||
|
||||
}
|
||||
public void OnListen(string message, SenderInfo sender)
|
||||
{
|
||||
if (sender.SenderName is "PreviewWindow")
|
||||
{
|
||||
if (sender.Function == "WindowClosed") {
|
||||
if (sender.Function == "WindowClosed")
|
||||
{
|
||||
this.Separate_Vorschau_offen = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
private void DokList_Load(object sender, EventArgs e)
|
||||
{
|
||||
tsrbvorschau.SelectedIndex = 0;
|
||||
sfDataGrid1.AllowDraggingColumns = true;
|
||||
// Helper.Security security = new Helper.Security();
|
||||
// security.set_security(this);
|
||||
//Refresh_Bewilligungen();
|
||||
|
||||
|
||||
}
|
||||
|
||||
public void load_Profile()
|
||||
@@ -125,19 +132,19 @@ namespace OnDoc.UICintrols
|
||||
|
||||
public void refresh_dokumente()
|
||||
{
|
||||
if (datafilter!="")
|
||||
if (datafilter != "")
|
||||
{
|
||||
refresh_dokumente_filtered();
|
||||
return;
|
||||
}
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
int selectedIndex = RibbonCBProfil.SelectedIndex;
|
||||
|
||||
|
||||
profilnr = Convert.ToInt32(RibbonCBProfil.SelectedItem.Tag.ToString());
|
||||
|
||||
// profilnr = Convert.ToInt32(RibbonCBProfil.SelectedItem.Tag.ToString());
|
||||
// profilnr = Convert.ToInt32(RibbonCBProfil.SelectedItem.Tag.ToString());
|
||||
System.Data.DataTable dokumente = new System.Data.DataTable();
|
||||
dokumente = db.Get_Dokumente(partnernr, docartnr, profilnr,forMaNr, false);
|
||||
dokumente = db.Get_Dokumente(partnernr, docartnr, profilnr, forMaNr, false);
|
||||
// TableHelper.SetColumnsOrder(dokumente, "trefferliste");
|
||||
TableHelper.FormatTable(ref dokumente, "trefferliste_relaunch", ref this.sfDataGrid1);
|
||||
|
||||
@@ -181,13 +188,13 @@ namespace OnDoc.UICintrols
|
||||
selected_cellvalue = dataRow[e.DataColumn.ColumnIndex].ToString();
|
||||
if (dataRow["Bearbeitung_Zwingend"].ToString() == "1")
|
||||
{
|
||||
RibbonButtonArchivToOnBase.Enabled=false;
|
||||
archivierenToolStripMenuItem.Enabled=false;
|
||||
RibbonButtonArchivToOnBase.Enabled = false;
|
||||
archivierenToolStripMenuItem.Enabled = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
RibbonButtonArchivToOnBase.Enabled=true;
|
||||
archivierenToolStripMenuItem.Enabled= true;
|
||||
RibbonButtonArchivToOnBase.Enabled = true;
|
||||
archivierenToolStripMenuItem.Enabled = true;
|
||||
}
|
||||
}
|
||||
catch
|
||||
@@ -256,7 +263,7 @@ namespace OnDoc.UICintrols
|
||||
}
|
||||
else
|
||||
{
|
||||
Logging.Logging.Error(URL + ": " + response.StatusCode.ToString() + " / " + response.StatusDescription, "Clinet - DokList GetDocument", "");
|
||||
Logging.Logging.Error(URL + ": " + response.StatusCode.ToString() + " / " + response.StatusDescription, "Clinet - DokList GetDocument", "");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -281,7 +288,7 @@ namespace OnDoc.UICintrols
|
||||
return dok;
|
||||
|
||||
}
|
||||
private void OpenDoc(clsdok dok, bool editdoc)
|
||||
private void OpenDoc(clsdok dok, bool editdoc, bool interop = false)
|
||||
{
|
||||
|
||||
switch (dok.extension.ToUpper().Substring(0, 1))
|
||||
@@ -291,7 +298,16 @@ namespace OnDoc.UICintrols
|
||||
string tempfilename = "";
|
||||
tempfilename = fh.save_temp_file(dok.dokument, selected_dokumentid, AppParams.tempdir, dok.extension);
|
||||
//System.Diagnostics.Process.Start(tempfilename);
|
||||
System.Diagnostics.Process.Start("winword.exe", "/w "+tempfilename);
|
||||
if (interop == true)
|
||||
{
|
||||
OnDocOffice.clsWordEdit WordInterOP = new OnDocOffice.clsWordEdit(AppParams.connectionstring, tempfilename, selected_dokumentid);
|
||||
WordInterOP.Edit_Document();
|
||||
WordInterOP = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
System.Diagnostics.Process.Start("winword.exe", "/w " + tempfilename);
|
||||
}
|
||||
|
||||
if (editdoc == true)
|
||||
{
|
||||
@@ -302,8 +318,17 @@ namespace OnDoc.UICintrols
|
||||
case "X":
|
||||
clsFileHelper fh2 = new clsFileHelper();
|
||||
tempfilename = fh2.save_temp_file(dok.dokument, selected_dokumentid, AppParams.tempdir, dok.extension);
|
||||
//System.Diagnostics.Process.Start(tempfilename);
|
||||
System.Diagnostics.Process.Start("excel.exe", "/x "+tempfilename);
|
||||
if (interop == true)
|
||||
{
|
||||
OnDocOffice.clsExcelEdit ExcelInterOP = new OnDocOffice.clsExcelEdit(AppParams.connectionstring, tempfilename, selected_dokumentid);
|
||||
ExcelInterOP.Edit_Document();
|
||||
ExcelInterOP = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
System.Diagnostics.Process.Start("excel.exe", " " + tempfilename);
|
||||
}
|
||||
//System.Diagnostics.Process.Start("excel.exe", "/x " + tempfilename);
|
||||
if (editdoc == true)
|
||||
{
|
||||
clsProcessWatch.AddToList(selected_dokumentid, tempfilename, "Excel");
|
||||
@@ -371,7 +396,8 @@ namespace OnDoc.UICintrols
|
||||
this.splitContainer1.SplitterDistance = this.Height;
|
||||
this.splitContainer1.Orientation = Orientation.Horizontal;
|
||||
docPreview1.Visible = false;
|
||||
if (Separate_Vorschau_offen) {
|
||||
if (Separate_Vorschau_offen)
|
||||
{
|
||||
Broadcaster().Broadcast(selected_dokumentid, new SenderInfo("Doklist", "UpdateView", ""));
|
||||
}
|
||||
else
|
||||
@@ -415,7 +441,7 @@ namespace OnDoc.UICintrols
|
||||
}
|
||||
private void RibbonBtnVorschauSepparat_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (tsrbvorschau.SelectedIndex==3 && Separate_Vorschau_offen==false)
|
||||
if (tsrbvorschau.SelectedIndex == 3 && Separate_Vorschau_offen == false)
|
||||
{
|
||||
tsrbvorschau_SelectedIndexChanged(sender, e);
|
||||
return;
|
||||
@@ -427,7 +453,7 @@ namespace OnDoc.UICintrols
|
||||
{
|
||||
createnewdoc(0, 0);
|
||||
}
|
||||
public void createnewdoc(int partnernr, int dokumenttypnr, bool Favoriten=false, string interaktion="Yes",string showdoc="Yes")
|
||||
public void createnewdoc(int partnernr, int dokumenttypnr, bool Favoriten = false, string interaktion = "Yes", string showdoc = "Yes")
|
||||
{
|
||||
|
||||
if (dokumenttypnr == 0)
|
||||
@@ -455,7 +481,7 @@ namespace OnDoc.UICintrols
|
||||
}
|
||||
else
|
||||
{
|
||||
frmnewdok.ShowDialog();
|
||||
frmnewdok.ShowDialog();
|
||||
}
|
||||
switch (frmnewdok.DocFunction)
|
||||
{
|
||||
@@ -481,62 +507,62 @@ namespace OnDoc.UICintrols
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void RibbonButtonRefresh_Click(object sender, EventArgs e)
|
||||
{
|
||||
refresh_dokumente();
|
||||
}
|
||||
|
||||
private void RibbonButtonEditDelete_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
var records = sfDataGrid1.View.GetSelectedRecords();
|
||||
if (records.Count < 1) { return; }
|
||||
if (MessageBox.Show("Gewählte Dokument(e) löschen", "Dokument löschen", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes) { return; }
|
||||
|
||||
foreach (var record in records)
|
||||
{
|
||||
var datarow = record as DataRowView;
|
||||
string documentid = datarow["dokumentid"].ToString();
|
||||
dokument_loeschen(documentid);
|
||||
}
|
||||
refresh_dokumente();
|
||||
}
|
||||
|
||||
private void dokument_loeschen(string dokumentid)
|
||||
{
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
db.Exec_SQL("Delete from dokument where dokumentid='" + dokumentid + "'");
|
||||
db.Exec_SQL("Delete from dokument_trefferliste where dokumentid='" + dokumentid + "'");
|
||||
db = null;
|
||||
}
|
||||
private void RibbonButtonRefresh_Click(object sender, EventArgs e)
|
||||
{
|
||||
refresh_dokumente();
|
||||
}
|
||||
|
||||
private void ribbonButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
MitarbeiterProfil map = new MitarbeiterProfil(AppParams.CurrentMitarbieter);
|
||||
map.ShowDialog();
|
||||
load_Profile();
|
||||
}
|
||||
private void RibbonButtonEditDelete_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
private void dokumentLöschenToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
RibbonButtonEditDelete_Click(sender, e);
|
||||
}
|
||||
var records = sfDataGrid1.View.GetSelectedRecords();
|
||||
if (records.Count < 1) { return; }
|
||||
if (MessageBox.Show("Gewählte Dokument(e) löschen", "Dokument löschen", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes) { return; }
|
||||
|
||||
|
||||
foreach (var record in records)
|
||||
{
|
||||
var datarow = record as DataRowView;
|
||||
string documentid = datarow["dokumentid"].ToString();
|
||||
dokument_loeschen(documentid);
|
||||
}
|
||||
refresh_dokumente();
|
||||
}
|
||||
|
||||
private void dokument_loeschen(string dokumentid)
|
||||
{
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
db.Exec_SQL("Delete from dokument where dokumentid='" + dokumentid + "'");
|
||||
db.Exec_SQL("Delete from dokument_trefferliste where dokumentid='" + dokumentid + "'");
|
||||
db = null;
|
||||
}
|
||||
|
||||
private void ribbonButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
MitarbeiterProfil map = new MitarbeiterProfil(AppParams.CurrentMitarbieter);
|
||||
map.ShowDialog();
|
||||
load_Profile();
|
||||
}
|
||||
|
||||
private void dokumentLöschenToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
RibbonButtonEditDelete_Click(sender, e);
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void RibbonButtonZuweisen_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmDocPreview dpv = new frmDocPreview();
|
||||
dpv.Show();
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void RibbonButtonZuweisen_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmDocPreview dpv = new frmDocPreview();
|
||||
dpv.Show();
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void RibbonButtonCreateNewPaket_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -557,32 +583,32 @@ namespace OnDoc.UICintrols
|
||||
createnewdoc(0, 0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void hide_panels()
|
||||
{
|
||||
this.RibbonPanelExit.Visible = false;
|
||||
this.RibbonPanelProfil.Visible=false;
|
||||
this.RibbonPanelCreate.Visible=false;
|
||||
this.RibbonPanelProfil.Visible = false;
|
||||
this.RibbonPanelCreate.Visible = false;
|
||||
this.RibbonTabAdmin.Visible = false;
|
||||
this.sfDataGrid1.AllowGrouping=false;
|
||||
this.sfDataGrid1.ShowGroupDropArea=false;
|
||||
this.sfDataGrid1.AllowGrouping = false;
|
||||
this.sfDataGrid1.ShowGroupDropArea = false;
|
||||
this.lblTitel.Text = "";
|
||||
this.RibbonButtonNewDoc.Visible=false;
|
||||
this.RibbonPanelDoklist.Visible=false;
|
||||
this.RibbonButtonNewDoc.Visible = false;
|
||||
this.RibbonPanelDoklist.Visible = false;
|
||||
this.RibbonBtnVorschauNo.Visible = false;
|
||||
this.RibbonButtonVorschauRechts.Visible=false;
|
||||
this.RibbonBtnVorschauUnten.Visible=false
|
||||
this.RibbonButtonVorschauRechts.Visible = false;
|
||||
this.RibbonBtnVorschauUnten.Visible = false
|
||||
;
|
||||
}
|
||||
|
||||
private void sfDataGrid1_DrawCell(object sender, DrawCellEventArgs e)
|
||||
{
|
||||
|
||||
|
||||
if (e.Column.MappingName == "fileext")
|
||||
{
|
||||
try
|
||||
{
|
||||
e.Column.CellStyle.HorizontalAlignment= HorizontalAlignment.Center;
|
||||
e.Column.CellStyle.HorizontalAlignment = HorizontalAlignment.Center;
|
||||
e.Handled = true;
|
||||
var selectedItem = e.DataRow;
|
||||
var dataRow = (e.DataRow.RowData as DataRowView).Row;
|
||||
@@ -591,7 +617,8 @@ namespace OnDoc.UICintrols
|
||||
if (dataRow[11].ToString() != "1")
|
||||
{
|
||||
e.Graphics.DrawImage(OnDoc.Properties.Resources.Word_24x24_32, e.Bounds.X + 20, e.Bounds.Y);
|
||||
}else
|
||||
}
|
||||
else
|
||||
{
|
||||
e.Graphics.DrawImage(OnDoc.Properties.Resources.Word_Edit_24x24_32, e.Bounds.X + 20, e.Bounds.Y);
|
||||
}
|
||||
@@ -645,18 +672,18 @@ namespace OnDoc.UICintrols
|
||||
clsdok dok = new clsdok("", "", "");
|
||||
dok = gd.GetDoc(selected_dokumentid);
|
||||
gd.Print_Doc(dok.dokument);
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void RibbonButtonTest1_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
DOCGEN.print print = new DOCGEN.print();
|
||||
print.printWord();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void ribbonPartnerSuche_Click(object sender, EventArgs e)
|
||||
@@ -676,7 +703,7 @@ namespace OnDoc.UICintrols
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
this.partnernr= Convert.ToInt32(ribbonTextPartner.TextBoxText.Trim());
|
||||
this.partnernr = Convert.ToInt32(ribbonTextPartner.TextBoxText.Trim());
|
||||
refresh_dokumente();
|
||||
}
|
||||
}
|
||||
@@ -689,7 +716,7 @@ namespace OnDoc.UICintrols
|
||||
|
||||
private void ribbonButton2_Click(object sender, EventArgs e)
|
||||
{
|
||||
Verbindungseditor ve = new Verbindungseditor("Relaunch_Berechtigungsgruppe","Mitarbeiter", "Relaunch_Berechtigungsgruppe_Mitarbeiter");
|
||||
Verbindungseditor ve = new Verbindungseditor("Relaunch_Berechtigungsgruppe", "Mitarbeiter", "Relaunch_Berechtigungsgruppe_Mitarbeiter");
|
||||
ve.Show();
|
||||
}
|
||||
|
||||
@@ -727,7 +754,7 @@ namespace OnDoc.UICintrols
|
||||
|
||||
private void RibbonButtonArchivToOnBase_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void ribbonButtonVersandstrasse_Click(object sender, EventArgs e)
|
||||
@@ -772,7 +799,7 @@ namespace OnDoc.UICintrols
|
||||
|
||||
private void ribbonButtonApproval_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.lblToApprove.Text=="") { MessageBox.Show("Es sind keine Bewilligungen ausstehend.", "Bewilligung", MessageBoxButtons.OK, MessageBoxIcon.Information);return; }
|
||||
if (this.lblToApprove.Text == "") { MessageBox.Show("Es sind keine Bewilligungen ausstehend.", "Bewilligung", MessageBoxButtons.OK, MessageBoxIcon.Information); return; }
|
||||
frmBewilligung bw = new frmBewilligung();
|
||||
bw.Show();
|
||||
}
|
||||
@@ -780,7 +807,7 @@ namespace OnDoc.UICintrols
|
||||
private void ribbonButtonToApproval_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmToApproval fa = new frmToApproval();
|
||||
fa.dokumentid=selected_dokumentid;
|
||||
fa.dokumentid = selected_dokumentid;
|
||||
fa.ShowDialog();
|
||||
}
|
||||
|
||||
@@ -812,14 +839,15 @@ namespace OnDoc.UICintrols
|
||||
|
||||
private void ribbon2_Click(object sender, EventArgs e)
|
||||
{
|
||||
pos_elements();
|
||||
if (ribbon2.ActiveTab.Text != "Funktionen")
|
||||
{
|
||||
lblToApprove.Visible= false;
|
||||
cbboxMitarbeiter.Visible= false;
|
||||
lblToApprove.Visible = false;
|
||||
cbboxMitarbeiter.Visible = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
lblToApprove.Visible= true;
|
||||
lblToApprove.Visible = true;
|
||||
cbboxMitarbeiter.Visible = true;
|
||||
}
|
||||
}
|
||||
@@ -829,5 +857,54 @@ namespace OnDoc.UICintrols
|
||||
this.forMaNr = Convert.ToInt32(cbboxMitarbeiter.SelectedValue);
|
||||
refresh_dokumente();
|
||||
}
|
||||
|
||||
private void pos_elements()
|
||||
{
|
||||
System.Windows.Forms.Application.DoEvents();
|
||||
int posx = ribbonButtonApproval.Bounds.X;
|
||||
int width = RibbonPannelAproval.Bounds.Width;
|
||||
if (RibbonPannelAproval.Visible == true && ribbonButtonApproval.Visible == true)
|
||||
{
|
||||
//lblToApprove.Visible = true;
|
||||
lblToApprove.Left = posx + (width / 2);
|
||||
}
|
||||
else { lblToApprove.Visible = false; }
|
||||
posx = ribbonTextPartner.Bounds.X;
|
||||
cbboxMitarbeiter.Left = posx;
|
||||
}
|
||||
private void ribbonButton3_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
BarcodeLib.Barcode bck = new BarcodeLib.Barcode();
|
||||
bck.Gen_BCK(AppParams.connectionstring);
|
||||
|
||||
}
|
||||
|
||||
public void set_functions()
|
||||
{
|
||||
|
||||
Security security = new Security();
|
||||
security.set_security(this);
|
||||
//pos_elements();
|
||||
}
|
||||
|
||||
private void ribbon2_DockChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void DokList_DockChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void wordInterOPEditToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
clsdok dok = GetDoc(false);
|
||||
if (dok.dokument == "") return;
|
||||
OpenDoc(dok, true,true);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -447,6 +447,24 @@
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="ribbonButtonBCK.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="ribbonButtonBCK.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="ribbonButtonBCK.SmallImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="pdfConfig1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
|
||||
@@ -12,7 +12,6 @@ using System.Windows.Forms;
|
||||
using Helper;
|
||||
using OnDoc.Helper;
|
||||
using Syncfusion.WinForms.DataGrid;
|
||||
using Microsoft.Office.Interop.Word;
|
||||
using System.Web.UI.WebControls;
|
||||
using Syncfusion.Data;
|
||||
using Syncfusion.WinForms.DataGrid.Interactivity;
|
||||
|
||||
@@ -222,6 +222,7 @@
|
||||
this.rbEditlater.TabIndex = 11;
|
||||
this.rbEditlater.Text = "Dokument später bearbeiten";
|
||||
this.rbEditlater.UseVisualStyleBackColor = true;
|
||||
this.rbEditlater.Visible = false;
|
||||
//
|
||||
// rbasPDFarchivieren
|
||||
//
|
||||
|
||||
@@ -26,6 +26,7 @@ namespace OnDoc.UIControls
|
||||
public int partnernr { get; set; }
|
||||
public bool checkpartner { get; set; } = true;
|
||||
public clsdocgendata docgendata { get; set; }
|
||||
|
||||
|
||||
public UCAllgemeineDokumentParam()
|
||||
{
|
||||
@@ -86,6 +87,11 @@ namespace OnDoc.UIControls
|
||||
this.cbfaksimile.Enabled = Convert.ToBoolean(dr["unterschrift_faksimile"]) == true;
|
||||
this.cbfaksimile.Checked = false;
|
||||
this.cbformularohneunterschrfit.Checked = false;
|
||||
if (dr["Versandstrasse_moeglich"].ToString() == "") { docgendata.versandstrasse_moeglich = false; }
|
||||
else
|
||||
{
|
||||
docgendata.versandstrasse_moeglich = Convert.ToBoolean(dr["Versandstrasse_moeglich"].ToString());
|
||||
}
|
||||
if (Convert.ToInt32(dr["Unterschrift_Standard"].ToString()) == 1) { cbfaksimile.Checked = true; }
|
||||
if (Convert.ToInt32(dr["Unterschrift_Standard"].ToString()) == 2) { cbformularohneunterschrfit.Checked = true; }
|
||||
|
||||
@@ -250,6 +256,7 @@ namespace OnDoc.UIControls
|
||||
if (rbEditlater.Checked) { docgendata.erstellungsart = Erstellungsart.DokumentSpäterBearbeiten; }
|
||||
if (rbasPDF.Checked) { docgendata.erstellungsart = Erstellungsart.DokumentAlsPDF; }
|
||||
if (rbasPDFarchivieren.Checked) { docgendata.erstellungsart = Erstellungsart.DokumentAlsPDFArchivieren; }
|
||||
|
||||
//XXXXXdocgendata.dokumentwerte = gridDokwertlist.DataSource;
|
||||
}
|
||||
|
||||
|
||||
115
Client/Versandstrasse/Versandstrasse.Designer.cs
generated
115
Client/Versandstrasse/Versandstrasse.Designer.cs
generated
@@ -32,25 +32,24 @@
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Versandstrasse));
|
||||
this.treeViewAdv1 = new Syncfusion.Windows.Forms.Tools.TreeViewAdv();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.tsbtnDruckPaketNew = new System.Windows.Forms.ToolStripButton();
|
||||
this.tsbtnVersenden = new System.Windows.Forms.ToolStripButton();
|
||||
this.GrpPaketDetails = new System.Windows.Forms.GroupBox();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.lbgasadresse = new System.Windows.Forms.ListBox();
|
||||
this.chkGAS = new System.Windows.Forms.CheckBox();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.txtnachrichtankunde = new System.Windows.Forms.TextBox();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.rbversandoption3 = new System.Windows.Forms.RadioButton();
|
||||
this.rbversandoption2 = new System.Windows.Forms.RadioButton();
|
||||
this.rbversandoption1 = new System.Windows.Forms.RadioButton();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.tsbtnDruckPaketNew = new System.Windows.Forms.ToolStripButton();
|
||||
this.tsbtnVersenden = new System.Windows.Forms.ToolStripButton();
|
||||
this.radioButton1 = new System.Windows.Forms.RadioButton();
|
||||
this.radioButton2 = new System.Windows.Forms.RadioButton();
|
||||
((System.ComponentModel.ISupportInitialize)(this.treeViewAdv1)).BeginInit();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
this.GrpPaketDetails.SuspendLayout();
|
||||
this.groupBox3.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
@@ -140,12 +139,28 @@
|
||||
this.toolStrip1.TabIndex = 8;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
// tsbtnDruckPaketNew
|
||||
//
|
||||
this.tsbtnDruckPaketNew.Image = global::OnDoc.Properties.Resources.add_32x32_32;
|
||||
this.tsbtnDruckPaketNew.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.tsbtnDruckPaketNew.Name = "tsbtnDruckPaketNew";
|
||||
this.tsbtnDruckPaketNew.Size = new System.Drawing.Size(123, 34);
|
||||
this.tsbtnDruckPaketNew.Text = "Neues Druckpaket";
|
||||
this.tsbtnDruckPaketNew.Click += new System.EventHandler(this.tsbtnDruckPaketNew_Click);
|
||||
//
|
||||
// tsbtnVersenden
|
||||
//
|
||||
this.tsbtnVersenden.Image = global::OnDoc.Properties.Resources.Letter_24x24_32;
|
||||
this.tsbtnVersenden.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.tsbtnVersenden.Name = "tsbtnVersenden";
|
||||
this.tsbtnVersenden.Size = new System.Drawing.Size(244, 34);
|
||||
this.tsbtnVersenden.Text = "Dokumente an Versandstrasse übergeben";
|
||||
//
|
||||
// GrpPaketDetails
|
||||
//
|
||||
this.GrpPaketDetails.Controls.Add(this.button1);
|
||||
this.GrpPaketDetails.Controls.Add(this.groupBox3);
|
||||
this.GrpPaketDetails.Controls.Add(this.groupBox2);
|
||||
this.GrpPaketDetails.Controls.Add(this.groupBox1);
|
||||
this.GrpPaketDetails.Controls.Add(this.button1);
|
||||
this.GrpPaketDetails.Location = new System.Drawing.Point(495, 39);
|
||||
this.GrpPaketDetails.Name = "GrpPaketDetails";
|
||||
this.GrpPaketDetails.Size = new System.Drawing.Size(437, 502);
|
||||
@@ -153,13 +168,23 @@
|
||||
this.GrpPaketDetails.TabStop = false;
|
||||
this.GrpPaketDetails.Text = "Details zum Druckpaket";
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(6, 454);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||
this.button1.TabIndex = 3;
|
||||
this.button1.Text = "Speichern";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// groupBox3
|
||||
//
|
||||
this.groupBox3.Controls.Add(this.label1);
|
||||
this.groupBox3.Controls.Add(this.lbgasadresse);
|
||||
this.groupBox3.Controls.Add(this.chkGAS);
|
||||
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.groupBox3.Location = new System.Drawing.Point(3, 230);
|
||||
this.groupBox3.Location = new System.Drawing.Point(3, 130);
|
||||
this.groupBox3.Name = "groupBox3";
|
||||
this.groupBox3.Size = new System.Drawing.Size(431, 192);
|
||||
this.groupBox3.TabIndex = 2;
|
||||
@@ -197,29 +222,11 @@
|
||||
this.chkGAS.Text = "GAS-Rückantwort";
|
||||
this.chkGAS.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Controls.Add(this.txtnachrichtankunde);
|
||||
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.groupBox2.Location = new System.Drawing.Point(3, 130);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Size = new System.Drawing.Size(431, 100);
|
||||
this.groupBox2.TabIndex = 1;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "Nachricht an Kunde";
|
||||
//
|
||||
// txtnachrichtankunde
|
||||
//
|
||||
this.txtnachrichtankunde.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.txtnachrichtankunde.Location = new System.Drawing.Point(3, 16);
|
||||
this.txtnachrichtankunde.Multiline = true;
|
||||
this.txtnachrichtankunde.Name = "txtnachrichtankunde";
|
||||
this.txtnachrichtankunde.Size = new System.Drawing.Size(425, 81);
|
||||
this.txtnachrichtankunde.TabIndex = 0;
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.radioButton2);
|
||||
this.groupBox1.Controls.Add(this.rbversandoption3);
|
||||
this.groupBox1.Controls.Add(this.radioButton1);
|
||||
this.groupBox1.Controls.Add(this.rbversandoption2);
|
||||
this.groupBox1.Controls.Add(this.rbversandoption1);
|
||||
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
@@ -237,7 +244,6 @@
|
||||
this.rbversandoption3.Name = "rbversandoption3";
|
||||
this.rbversandoption3.Size = new System.Drawing.Size(207, 17);
|
||||
this.rbversandoption3.TabIndex = 2;
|
||||
this.rbversandoption3.TabStop = true;
|
||||
this.rbversandoption3.Text = "Hauptadresse, Postversand erzwingen";
|
||||
this.rbversandoption3.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@@ -248,7 +254,6 @@
|
||||
this.rbversandoption2.Name = "rbversandoption2";
|
||||
this.rbversandoption2.Size = new System.Drawing.Size(197, 17);
|
||||
this.rbversandoption2.TabIndex = 1;
|
||||
this.rbversandoption2.TabStop = true;
|
||||
this.rbversandoption2.Text = "Hauptadresse, E-Banking erzwingen";
|
||||
this.rbversandoption2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@@ -259,36 +264,30 @@
|
||||
this.rbversandoption1.Name = "rbversandoption1";
|
||||
this.rbversandoption1.Size = new System.Drawing.Size(166, 17);
|
||||
this.rbversandoption1.TabIndex = 0;
|
||||
this.rbversandoption1.TabStop = true;
|
||||
this.rbversandoption1.Text = "Hauptadresse und Versandart";
|
||||
this.rbversandoption1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button1
|
||||
// radioButton1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(6, 454);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||
this.button1.TabIndex = 3;
|
||||
this.button1.Text = "Speichern";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
this.radioButton1.AutoSize = true;
|
||||
this.radioButton1.Location = new System.Drawing.Point(332, 52);
|
||||
this.radioButton1.Name = "radioButton1";
|
||||
this.radioButton1.Size = new System.Drawing.Size(56, 17);
|
||||
this.radioButton1.TabIndex = 3;
|
||||
this.radioButton1.Text = "A-Post";
|
||||
this.radioButton1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// tsbtnDruckPaketNew
|
||||
// radioButton2
|
||||
//
|
||||
this.tsbtnDruckPaketNew.Image = global::OnDoc.Properties.Resources.add_32x32_32;
|
||||
this.tsbtnDruckPaketNew.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.tsbtnDruckPaketNew.Name = "tsbtnDruckPaketNew";
|
||||
this.tsbtnDruckPaketNew.Size = new System.Drawing.Size(123, 34);
|
||||
this.tsbtnDruckPaketNew.Text = "Neues Druckpaket";
|
||||
this.tsbtnDruckPaketNew.Click += new System.EventHandler(this.tsbtnDruckPaketNew_Click);
|
||||
//
|
||||
// tsbtnVersenden
|
||||
//
|
||||
this.tsbtnVersenden.Image = global::OnDoc.Properties.Resources.Letter_24x24_32;
|
||||
this.tsbtnVersenden.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.tsbtnVersenden.Name = "tsbtnVersenden";
|
||||
this.tsbtnVersenden.Size = new System.Drawing.Size(244, 34);
|
||||
this.tsbtnVersenden.Text = "Dokumente an Versandstrasse übergeben";
|
||||
this.radioButton2.AutoSize = true;
|
||||
this.radioButton2.Checked = true;
|
||||
this.radioButton2.Location = new System.Drawing.Point(332, 29);
|
||||
this.radioButton2.Name = "radioButton2";
|
||||
this.radioButton2.Size = new System.Drawing.Size(56, 17);
|
||||
this.radioButton2.TabIndex = 4;
|
||||
this.radioButton2.TabStop = true;
|
||||
this.radioButton2.Text = "B-Post";
|
||||
this.radioButton2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// Versandstrasse
|
||||
//
|
||||
@@ -311,8 +310,6 @@
|
||||
this.GrpPaketDetails.ResumeLayout(false);
|
||||
this.groupBox3.ResumeLayout(false);
|
||||
this.groupBox3.PerformLayout();
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.groupBox2.PerformLayout();
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
@@ -325,7 +322,6 @@
|
||||
private System.Windows.Forms.ToolStripButton tsbtnDruckPaketNew;
|
||||
private System.Windows.Forms.ToolStripButton tsbtnVersenden;
|
||||
private System.Windows.Forms.GroupBox GrpPaketDetails;
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.RadioButton rbversandoption3;
|
||||
private System.Windows.Forms.RadioButton rbversandoption2;
|
||||
@@ -334,7 +330,8 @@
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.ListBox lbgasadresse;
|
||||
private System.Windows.Forms.CheckBox chkGAS;
|
||||
private System.Windows.Forms.TextBox txtnachrichtankunde;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.RadioButton radioButton2;
|
||||
private System.Windows.Forms.RadioButton radioButton1;
|
||||
}
|
||||
}
|
||||
@@ -234,8 +234,7 @@ namespace OnDoc.Versandstrasse
|
||||
default:
|
||||
break;
|
||||
}
|
||||
txtnachrichtankunde.Text = "";
|
||||
txtnachrichtankunde.Text=paket.Mitteilung.ToString();
|
||||
|
||||
if (paket.GAS.ToString() == "1"){
|
||||
chkGAS.Checked= true;
|
||||
lbgasadresse.SelectedIndex = Convert.ToInt32(paket.GASAdresse.ToString());
|
||||
@@ -250,7 +249,7 @@ namespace OnDoc.Versandstrasse
|
||||
if (rbversandoption1.Checked) { paket.Versandoption = "1"; }
|
||||
if (rbversandoption2.Checked) { paket.Versandoption = "2"; }
|
||||
if (rbversandoption3.Checked) { paket.Versandoption = "3"; }
|
||||
paket.Mitteilung = txtnachrichtankunde.Text;
|
||||
|
||||
if (chkGAS.Checked) { paket.GAS = "1"; } else { paket.GAS = "0"; }
|
||||
try { paket.GASAdresse = lbgasadresse.SelectedIndex.ToString(); } catch { paket.GASAdresse= "0"; }
|
||||
paket.verified = true;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -4,7 +4,7 @@
|
||||
<name>DOCGEN</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="M:DOCGEN.Klassen.SynFWord.DocToPDF(System.String)">
|
||||
<member name="M:DOCGEN.Klassen.SyncFWord.DocToPDF(System.String)">
|
||||
<summary>Word to PDF-Konverter</summary>
|
||||
<remarks>Das sind die Remarks</remarks>
|
||||
<param name="dokument">Base64-Dokument</param>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
BIN
Client/bin/Debug/FastReport.Bars.dll
Normal file
BIN
Client/bin/Debug/FastReport.Bars.dll
Normal file
Binary file not shown.
BIN
Client/bin/Debug/FastReport.Compat.dll
Normal file
BIN
Client/bin/Debug/FastReport.Compat.dll
Normal file
Binary file not shown.
BIN
Client/bin/Debug/FastReport.DataVisualization.dll
Normal file
BIN
Client/bin/Debug/FastReport.DataVisualization.dll
Normal file
Binary file not shown.
BIN
Client/bin/Debug/FastReport.Editor.dll
Normal file
BIN
Client/bin/Debug/FastReport.Editor.dll
Normal file
Binary file not shown.
BIN
Client/bin/Debug/FastReport.dll
Normal file
BIN
Client/bin/Debug/FastReport.dll
Normal file
Binary file not shown.
57644
Client/bin/Debug/FastReport.xml
Normal file
57644
Client/bin/Debug/FastReport.xml
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Client/bin/Debug/OnDocOffice.dll
Normal file
BIN
Client/bin/Debug/OnDocOffice.dll
Normal file
Binary file not shown.
BIN
Client/bin/Debug/OnDocOffice.pdb
Normal file
BIN
Client/bin/Debug/OnDocOffice.pdb
Normal file
Binary file not shown.
14
Client/bin/Debug/bck/Herma_4611.frx
Normal file
14
Client/bin/Debug/bck/Herma_4611.frx
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" DoublePass="true" ReportInfo.Created="09/23/2024 14:02:41" ReportInfo.Modified="09/23/2024 14:49:37" ReportInfo.CreatorVersion="2024.1.0.0">
|
||||
<Dictionary>
|
||||
<TableDataSource Name="Barcodes" ReferenceName="Data.Barcodes" DataType="System.Int32" Enabled="true">
|
||||
<Column Name="barcode" DataType="System.String"/>
|
||||
</TableDataSource>
|
||||
</Dictionary>
|
||||
<ReportPage Name="Page1" PaperWidth="210.0072" PaperHeight="297.0022" LeftMargin="0" TopMargin="4.826" RightMargin="0" BottomMargin="0" Columns.Count="3" Columns.Width="70.104" Columns.Positions="0,70.104,140.208" Watermark.Font="Arial, 60pt" Duplex="Simplex">
|
||||
<DataBand Name="Data1" Width="264.99" Height="64.26" DataSource="Barcodes">
|
||||
<BarcodeObject Name="Barcode1" Left="56.7" Top="9.45" Width="141.17" Height="28.35" AutoSize="false" Text="[Barcodes.barcode]" ShowText="false" AllowExpressions="true" Barcode="2/5 Interleaved"/>
|
||||
<TextObject Name="Text1" Left="56.7" Top="37.8" Width="141.75" Height="18.9" Text="[Barcodes.barcode]" HorzAlign="Center" Font="Arial, 10pt"/>
|
||||
</DataBand>
|
||||
</ReportPage>
|
||||
</Report>
|
||||
14
Client/bin/Debug/bck/QR.frx
Normal file
14
Client/bin/Debug/bck/QR.frx
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" DoublePass="true" ReportInfo.Created="09/23/2024 14:02:41" ReportInfo.Modified="09/23/2024 14:22:08" ReportInfo.CreatorVersion="2024.1.0.0">
|
||||
<Dictionary>
|
||||
<TableDataSource Name="Barcodes" ReferenceName="Data.Barcodes" DataType="System.Int32" Enabled="true">
|
||||
<Column Name="barcode" DataType="System.String"/>
|
||||
</TableDataSource>
|
||||
</Dictionary>
|
||||
<ReportPage Name="Page1" PaperWidth="210.0072" PaperHeight="297.0022" LeftMargin="0" TopMargin="4.826" RightMargin="0" BottomMargin="0" Columns.Count="3" Columns.Width="70.104" Columns.Positions="0,70.104,140.208" Watermark.Font="Arial, 60pt" Duplex="Simplex">
|
||||
<DataBand Name="Data1" Width="264.99" Height="64.26" DataSource="Barcodes">
|
||||
<BarcodeObject Name="Barcode2" Top="4.45" Width="59.3" Height="59.3" AutoSize="false" Text="[Barcodes.barcode]" ShowText="false" AllowExpressions="true" Barcode="QR Code" Barcode.ErrorCorrection="L" Barcode.Encoding="UTF8" Barcode.QuietZone="true" Barcode.ShowMarker="true"/>
|
||||
<TextObject Name="Text1" Left="66.15" Top="37.8" Width="94.5" Height="18.9" Text="[Barcodes.barcode]" Font="Arial, 10pt"/>
|
||||
</DataBand>
|
||||
</ReportPage>
|
||||
</Report>
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -1 +1 @@
|
||||
10c62e54c2b330e094790e3129f622d67b22cc97c99804ad2b12700f329862fd
|
||||
944eef1b4599a2ae0c3ecce3daf63741cc7f200139514a40b8adfdffce2c01de
|
||||
|
||||
@@ -239,3 +239,11 @@ E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\Syncfusion.Tools.Base.xml
|
||||
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\Syncfusion.Tools.Windows.xml
|
||||
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\Syncfusion.XlsIO.Base.xml
|
||||
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\Syncfusion.Grid.Windows.XmlSerializers.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\FastReport.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\FastReport.Compat.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\FastReport.Bars.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\FastReport.DataVisualization.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\FastReport.Editor.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\FastReport.xml
|
||||
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\OnDocOffice.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\OnDocOffice.pdb
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user