Update 20250206

This commit is contained in:
Stefan Hutter
2025-02-06 22:23:45 +01:00
parent 678e0622fd
commit c316b40507
87 changed files with 995 additions and 576 deletions

View File

@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<StartArguments>ondoc:%3fpartnernr=1000208&amp;struktur=Verträge&amp;funktion=createdoc&amp;id=OFFEDK0082025002488929</StartArguments>
<StartArguments>
</StartArguments>
</PropertyGroup>
<PropertyGroup>
<PublishUrlHistory>publish\</PublishUrlHistory>

View File

@@ -43,6 +43,7 @@
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(349, 20);
this.textBox1.TabIndex = 0;
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown);
//
// label1

View File

@@ -140,5 +140,10 @@ namespace OnDoc.Diverses
{
btnok.Enabled = true;
}
private void textBox1_TextChanged(object sender, EventArgs e)
{
if (textBox1.Text.Trim().Length > 0) btnok.Enabled = true; else btnok.Enabled = false;
}
}
}

View File

@@ -64,7 +64,7 @@
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(165, 26);
this.label2.TabIndex = 2;
this.label2.Text = "5. Februar 2025";
this.label2.Text = "6. Februar 2025";
//
// SplashScreen
//

View File

@@ -103,7 +103,6 @@ namespace OnDoc.Klassen
}
}
private static void Remove_Dok_in_Bearbeitung(string dokumentid)
{

File diff suppressed because it is too large Load Diff

View File

@@ -1025,6 +1025,7 @@ namespace OnDoc.UICintrols
this.RibbonPannelAproval.Visible = false;
this.RibbonPanelExit.Visible = false;
this.RibbonPanelProfil.Visible = false;
this.RibbonPanelCreate.Visible = false;
@@ -1594,6 +1595,8 @@ namespace OnDoc.UICintrols
ribbonVorlagen.Visible = AppParams.isSysadmin;
ribbonBerechtigung.Visible = AppParams.isSysadmin;
ribbonpanelanalyse.Visible = AppParams.isSysadmin;
RibbonPanelDiverses.Visible = AppParams.isSysadmin;
RibbonTabAdmin.Visible = false;
RibbonTabAdmin.Visible = true;
ribbonSaveGridView.Enabled = AppParams.isSysadmin;
@@ -2381,7 +2384,7 @@ namespace OnDoc.UICintrols
}
if (records.Count > 1)
{
if (MessageBox.Show("Mehrere Dokumente zum Bearbeiten öffnen?", "Dokument bearbeiten", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes) { return; }
if (MessageBox.Show("Mehrere Dokumente unterzeichnen", "Dokument unterzeichnen", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes) { return; }
}
foreach (var record in records)
@@ -2405,6 +2408,12 @@ namespace OnDoc.UICintrols
{
dokumentAnzeigenToolStripMenuItem_Click(sender, e);
}
private void ribbonButtonDokinBearbeitung_Click(object sender, EventArgs e)
{
TableEditor te = new TableEditor("DokInBearbeitung");
te.Show();
}
}

View File

@@ -495,6 +495,24 @@
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vAAADrwBlbxySQAAABJJREFUOE9jYBgFo2AUjAIIAAAEEAABTLtGVQAAAABJRU5ErkJggg==
</value>
</data>
<data name="ribbonButtonDokinBearbeitung.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vAAADrwBlbxySQAAABpJREFUWEftwQEBAAAAgiD/r25IQAEAAADvBhAgAAHBYCyfAAAAAElFTkSuQmCC
</value>
</data>
<data name="ribbonButtonDokinBearbeitung.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vAAADrwBlbxySQAAABpJREFUWEftwQEBAAAAgiD/r25IQAEAAADvBhAgAAHBYCyfAAAAAElFTkSuQmCC
</value>
</data>
<data name="ribbonButtonDokinBearbeitung.SmallImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vAAADrwBlbxySQAAABJJREFUOE9jYBgFo2AUjAIIAAAEEAABTLtGVQAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="pdfConfig1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">

View File

@@ -118,6 +118,8 @@ namespace OnDoc.UIControls
{
this.ribbonbuttonGeprueft.Enabled = enable;
this.ribbonbuttonAbgelehnt.Enabled = enable;
this.ctxmenuEmpfaenger.Enabled = enable;
this.ctxmenutree.Enabled= enable;
}
public void dispose()
{
@@ -1316,7 +1318,7 @@ namespace OnDoc.UIControls
System.Data.DataTable vorlagendaten = new System.Data.DataTable();
private void RibbonButtonGenerateSB_Click(object sender, EventArgs e)
{
if (cbdigitaleunterschrfiten.Checked)
if (cbdigitaleunterschrfiten.Checked && sb.approved!=1)
{
sb.toapproval = 1;
sb.approved = 0;
@@ -2380,6 +2382,7 @@ namespace OnDoc.UIControls
private void cbdigitaleunterschrfiten_CheckedChanged(object sender, EventArgs e)
{
if (sb.approved == 1) { return; }
if (cbdigitaleunterschrfiten.Checked)
{
cbboxunterschriftlinks.Enabled = true;

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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.