Updaet 20240730
This commit is contained in:
@@ -60,7 +60,6 @@
|
||||
this.cbUnterschriftrechts = new System.Windows.Forms.CheckBox();
|
||||
this.cbUnterschriftlinks = new System.Windows.Forms.CheckBox();
|
||||
this.Grp1 = new System.Windows.Forms.GroupBox();
|
||||
this.cbboxFachverantwortung = new Syncfusion.WinForms.ListView.SfComboBox();
|
||||
this.cbboxOwner = new Syncfusion.WinForms.ListView.SfComboBox();
|
||||
this.cbboxofficevorlage = new Syncfusion.WinForms.ListView.SfComboBox();
|
||||
this.txtFachverantwortung = new System.Windows.Forms.TextBox();
|
||||
@@ -73,6 +72,7 @@
|
||||
this.TxTBezeichnung = new System.Windows.Forms.TextBox();
|
||||
this.Label1 = new System.Windows.Forms.Label();
|
||||
this.tabPageAdv2 = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
|
||||
this.cbboxFachverantwortung = new Syncfusion.WinForms.ListView.SfComboBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tabControlAdv1)).BeginInit();
|
||||
this.tabControlAdv1.SuspendLayout();
|
||||
this.tabPageAdv1.SuspendLayout();
|
||||
@@ -81,9 +81,9 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.TreeDokumentArt)).BeginInit();
|
||||
this.GroupBox2.SuspendLayout();
|
||||
this.Grp1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.cbboxFachverantwortung)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.cbboxOwner)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.cbboxofficevorlage)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.cbboxFachverantwortung)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tabControlAdv1
|
||||
@@ -446,16 +446,6 @@
|
||||
this.Grp1.TabStop = false;
|
||||
this.Grp1.Text = "Vorlage";
|
||||
//
|
||||
// cbboxFachverantwortung
|
||||
//
|
||||
this.cbboxFachverantwortung.DropDownPosition = Syncfusion.WinForms.Core.Enums.PopupRelativeAlignment.Center;
|
||||
this.cbboxFachverantwortung.Location = new System.Drawing.Point(120, 140);
|
||||
this.cbboxFachverantwortung.Name = "cbboxFachverantwortung";
|
||||
this.cbboxFachverantwortung.Size = new System.Drawing.Size(334, 21);
|
||||
this.cbboxFachverantwortung.Style.TokenStyle.CloseButtonBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.cbboxFachverantwortung.TabIndex = 28;
|
||||
this.cbboxFachverantwortung.TabStop = false;
|
||||
//
|
||||
// cbboxOwner
|
||||
//
|
||||
this.cbboxOwner.DropDownPosition = Syncfusion.WinForms.Core.Enums.PopupRelativeAlignment.Center;
|
||||
@@ -559,6 +549,17 @@
|
||||
this.tabPageAdv2.Text = "Voralgenfelder";
|
||||
this.tabPageAdv2.ThemesEnabled = false;
|
||||
//
|
||||
// cbboxFachverantwortung
|
||||
//
|
||||
this.cbboxFachverantwortung.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
this.cbboxFachverantwortung.DropDownPosition = Syncfusion.WinForms.Core.Enums.PopupRelativeAlignment.Center;
|
||||
this.cbboxFachverantwortung.Location = new System.Drawing.Point(120, 136);
|
||||
this.cbboxFachverantwortung.Name = "cbboxFachverantwortung";
|
||||
this.cbboxFachverantwortung.Size = new System.Drawing.Size(336, 25);
|
||||
this.cbboxFachverantwortung.Style.TokenStyle.CloseButtonBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.cbboxFachverantwortung.TabIndex = 28;
|
||||
this.cbboxFachverantwortung.TabStop = false;
|
||||
//
|
||||
// Dokumenttyp
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
@@ -581,9 +582,9 @@
|
||||
this.GroupBox2.PerformLayout();
|
||||
this.Grp1.ResumeLayout(false);
|
||||
this.Grp1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.cbboxFachverantwortung)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.cbboxOwner)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.cbboxofficevorlage)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.cbboxFachverantwortung)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -621,8 +622,8 @@
|
||||
internal System.Windows.Forms.CheckBox cbPDFDirekteArchivierung;
|
||||
internal System.Windows.Forms.CheckBox checkBox3;
|
||||
private Syncfusion.WinForms.ListView.SfComboBox cbboxofficevorlage;
|
||||
private Syncfusion.WinForms.ListView.SfComboBox cbboxFachverantwortung;
|
||||
private Syncfusion.WinForms.ListView.SfComboBox cbboxOwner;
|
||||
internal System.Windows.Forms.CheckBox checkBox1;
|
||||
private Syncfusion.WinForms.ListView.SfComboBox cbboxFachverantwortung;
|
||||
}
|
||||
}
|
||||
@@ -36,6 +36,17 @@ namespace OnDoc.UIControls.Administrator
|
||||
cbboxofficevorlage.DataSource = db.dsdaten.Tables[0];
|
||||
cbboxofficevorlage.DisplayMember = "Bezeichnung";
|
||||
cbboxofficevorlage.ValueMember = "office_vorlagenr";
|
||||
db.Get_Tabledata("select mitarbeiternr as id, name+' '+vorname+', '+tgnummer as MA from mitarbeiter where aktiv=1 order by name", false, true);
|
||||
cbboxFachverantwortung.DataSource = db.dsdaten.Tables[0];
|
||||
cbboxFachverantwortung.DisplayMember = "MA";
|
||||
cbboxFachverantwortung.ValueMember = "id";
|
||||
|
||||
db.Get_Tabledata("Select * from dokumenttyp where dokumenttypnr = "+dokumenttypnr.ToString(),false,true);
|
||||
DataRow r = db.dsdaten.Tables[0].Rows[0];
|
||||
this.TxTBezeichnung.Text = r["bezeichnung"].ToString();
|
||||
this.TxTBeschreibung.Text = r["beschreibung"].ToString() ;
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void groupBox3_Enter(object sender, EventArgs e)
|
||||
|
||||
519
Client/UIControls/Administrator/OfficeVorlage.Designer.cs
generated
Normal file
519
Client/UIControls/Administrator/OfficeVorlage.Designer.cs
generated
Normal file
@@ -0,0 +1,519 @@
|
||||
namespace OnDoc.UIControls.Administrator
|
||||
{
|
||||
partial class OfficeVorlage
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo1 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.tsbtnClose = new System.Windows.Forms.ToolStripButton();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.TreeOfficeVorlagen = new Syncfusion.Windows.Forms.Tools.TreeViewAdv();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.rbBezeichnung = new System.Windows.Forms.RadioButton();
|
||||
this.rbNr = new System.Windows.Forms.RadioButton();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.txtFilter = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.lblBezeichnung = new System.Windows.Forms.Label();
|
||||
this.lblBeschreibung = new System.Windows.Forms.Label();
|
||||
this.txtBezeichnung = new System.Windows.Forms.TextBox();
|
||||
this.txtBeschreibung = new System.Windows.Forms.TextBox();
|
||||
this.txtVersion = new System.Windows.Forms.TextBox();
|
||||
this.lblVersion = new System.Windows.Forms.Label();
|
||||
this.txtPräfix = new System.Windows.Forms.TextBox();
|
||||
this.lblPräfix = new System.Windows.Forms.Label();
|
||||
this.lblKopfzeile = new System.Windows.Forms.Label();
|
||||
this.chkKopfzeile = new System.Windows.Forms.CheckBox();
|
||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.cbboxBarcodeType = new System.Windows.Forms.ComboBox();
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.txtBcHeigth = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.txtBcWidth = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.txtBcLeft = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.txtBcTop = new System.Windows.Forms.TextBox();
|
||||
this.PicBarcodeExample = new System.Windows.Forms.PictureBox();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
this.groupBox1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.TreeOfficeVorlagen)).BeginInit();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.groupBox3.SuspendLayout();
|
||||
this.groupBox4.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.PicBarcodeExample)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.tsbtnClose});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(2, 2);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(1411, 25);
|
||||
this.toolStrip1.TabIndex = 0;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
// tsbtnClose
|
||||
//
|
||||
this.tsbtnClose.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.tsbtnClose.Image = global::OnDoc.Properties.Resources.CloseApplication_24x24_32;
|
||||
this.tsbtnClose.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.tsbtnClose.Name = "tsbtnClose";
|
||||
this.tsbtnClose.Size = new System.Drawing.Size(23, 22);
|
||||
this.tsbtnClose.Text = "toolStripButton1";
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.TreeOfficeVorlagen);
|
||||
this.groupBox1.Controls.Add(this.groupBox2);
|
||||
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.groupBox1.Location = new System.Drawing.Point(2, 27);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(273, 873);
|
||||
this.groupBox1.TabIndex = 1;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "Office-Vorlagen";
|
||||
//
|
||||
// TreeOfficeVorlagen
|
||||
//
|
||||
treeNodeAdvStyleInfo1.CheckBoxTickThickness = 1;
|
||||
treeNodeAdvStyleInfo1.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
|
||||
treeNodeAdvStyleInfo1.EnsureDefaultOptionedChild = true;
|
||||
treeNodeAdvStyleInfo1.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
|
||||
treeNodeAdvStyleInfo1.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
|
||||
treeNodeAdvStyleInfo1.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
|
||||
treeNodeAdvStyleInfo1.TextColor = System.Drawing.Color.Black;
|
||||
this.TreeOfficeVorlagen.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] {
|
||||
new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo1)});
|
||||
this.TreeOfficeVorlagen.BeforeTouchSize = new System.Drawing.Size(267, 790);
|
||||
this.TreeOfficeVorlagen.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.TreeOfficeVorlagen.HelpTextControl.BaseThemeName = null;
|
||||
this.TreeOfficeVorlagen.HelpTextControl.Location = new System.Drawing.Point(0, 0);
|
||||
this.TreeOfficeVorlagen.HelpTextControl.Name = "";
|
||||
this.TreeOfficeVorlagen.HelpTextControl.Size = new System.Drawing.Size(392, 112);
|
||||
this.TreeOfficeVorlagen.HelpTextControl.TabIndex = 0;
|
||||
this.TreeOfficeVorlagen.HelpTextControl.Visible = true;
|
||||
this.TreeOfficeVorlagen.InactiveSelectedNodeForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.TreeOfficeVorlagen.Location = new System.Drawing.Point(3, 80);
|
||||
this.TreeOfficeVorlagen.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
|
||||
this.TreeOfficeVorlagen.Name = "TreeOfficeVorlagen";
|
||||
this.TreeOfficeVorlagen.SelectedNodeForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
this.TreeOfficeVorlagen.Size = new System.Drawing.Size(267, 790);
|
||||
this.TreeOfficeVorlagen.SortWithChildNodes = true;
|
||||
this.TreeOfficeVorlagen.TabIndex = 0;
|
||||
this.TreeOfficeVorlagen.Text = "treeViewAdv1";
|
||||
this.TreeOfficeVorlagen.ThemeStyle.TreeNodeAdvStyle.CheckBoxTickThickness = 0;
|
||||
this.TreeOfficeVorlagen.ThemeStyle.TreeNodeAdvStyle.EnsureDefaultOptionedChild = true;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.TreeOfficeVorlagen.ToolTipControl.BaseThemeName = null;
|
||||
this.TreeOfficeVorlagen.ToolTipControl.Location = new System.Drawing.Point(0, 0);
|
||||
this.TreeOfficeVorlagen.ToolTipControl.Name = "";
|
||||
this.TreeOfficeVorlagen.ToolTipControl.Size = new System.Drawing.Size(392, 112);
|
||||
this.TreeOfficeVorlagen.ToolTipControl.TabIndex = 0;
|
||||
this.TreeOfficeVorlagen.ToolTipControl.Visible = true;
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Controls.Add(this.rbBezeichnung);
|
||||
this.groupBox2.Controls.Add(this.rbNr);
|
||||
this.groupBox2.Controls.Add(this.label2);
|
||||
this.groupBox2.Controls.Add(this.txtFilter);
|
||||
this.groupBox2.Controls.Add(this.label1);
|
||||
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.groupBox2.Location = new System.Drawing.Point(3, 16);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Size = new System.Drawing.Size(267, 64);
|
||||
this.groupBox2.TabIndex = 1;
|
||||
this.groupBox2.TabStop = false;
|
||||
//
|
||||
// rbBezeichnung
|
||||
//
|
||||
this.rbBezeichnung.AutoSize = true;
|
||||
this.rbBezeichnung.Location = new System.Drawing.Point(105, 41);
|
||||
this.rbBezeichnung.Name = "rbBezeichnung";
|
||||
this.rbBezeichnung.Size = new System.Drawing.Size(87, 17);
|
||||
this.rbBezeichnung.TabIndex = 4;
|
||||
this.rbBezeichnung.Text = "Bezeichnung";
|
||||
this.rbBezeichnung.UseVisualStyleBackColor = true;
|
||||
this.rbBezeichnung.Click += new System.EventHandler(this.rbBezeichnung_Click);
|
||||
//
|
||||
// rbNr
|
||||
//
|
||||
this.rbNr.AutoSize = true;
|
||||
this.rbNr.Checked = true;
|
||||
this.rbNr.Location = new System.Drawing.Point(63, 40);
|
||||
this.rbNr.Name = "rbNr";
|
||||
this.rbNr.Size = new System.Drawing.Size(36, 17);
|
||||
this.rbNr.TabIndex = 3;
|
||||
this.rbNr.TabStop = true;
|
||||
this.rbNr.Text = "Nr";
|
||||
this.rbNr.UseVisualStyleBackColor = true;
|
||||
this.rbNr.Click += new System.EventHandler(this.rbNr_Click);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(6, 38);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(26, 13);
|
||||
this.label2.TabIndex = 2;
|
||||
this.label2.Text = "Sort";
|
||||
//
|
||||
// txtFilter
|
||||
//
|
||||
this.txtFilter.Location = new System.Drawing.Point(63, 13);
|
||||
this.txtFilter.Name = "txtFilter";
|
||||
this.txtFilter.Size = new System.Drawing.Size(139, 20);
|
||||
this.txtFilter.TabIndex = 1;
|
||||
this.txtFilter.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtFilter_KeyDown);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(6, 16);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(29, 13);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "Filter";
|
||||
//
|
||||
// lblBezeichnung
|
||||
//
|
||||
this.lblBezeichnung.AutoSize = true;
|
||||
this.lblBezeichnung.Location = new System.Drawing.Point(17, 26);
|
||||
this.lblBezeichnung.Name = "lblBezeichnung";
|
||||
this.lblBezeichnung.Size = new System.Drawing.Size(69, 13);
|
||||
this.lblBezeichnung.TabIndex = 2;
|
||||
this.lblBezeichnung.Text = "Bezeichnung";
|
||||
//
|
||||
// lblBeschreibung
|
||||
//
|
||||
this.lblBeschreibung.AutoSize = true;
|
||||
this.lblBeschreibung.Location = new System.Drawing.Point(17, 55);
|
||||
this.lblBeschreibung.Name = "lblBeschreibung";
|
||||
this.lblBeschreibung.Size = new System.Drawing.Size(72, 13);
|
||||
this.lblBeschreibung.TabIndex = 3;
|
||||
this.lblBeschreibung.Text = "Beschreibung";
|
||||
//
|
||||
// txtBezeichnung
|
||||
//
|
||||
this.txtBezeichnung.Location = new System.Drawing.Point(106, 22);
|
||||
this.txtBezeichnung.Name = "txtBezeichnung";
|
||||
this.txtBezeichnung.Size = new System.Drawing.Size(318, 20);
|
||||
this.txtBezeichnung.TabIndex = 4;
|
||||
//
|
||||
// txtBeschreibung
|
||||
//
|
||||
this.txtBeschreibung.Location = new System.Drawing.Point(106, 52);
|
||||
this.txtBeschreibung.Multiline = true;
|
||||
this.txtBeschreibung.Name = "txtBeschreibung";
|
||||
this.txtBeschreibung.Size = new System.Drawing.Size(318, 41);
|
||||
this.txtBeschreibung.TabIndex = 5;
|
||||
//
|
||||
// txtVersion
|
||||
//
|
||||
this.txtVersion.Location = new System.Drawing.Point(106, 105);
|
||||
this.txtVersion.Name = "txtVersion";
|
||||
this.txtVersion.Size = new System.Drawing.Size(318, 20);
|
||||
this.txtVersion.TabIndex = 7;
|
||||
//
|
||||
// lblVersion
|
||||
//
|
||||
this.lblVersion.AutoSize = true;
|
||||
this.lblVersion.Location = new System.Drawing.Point(17, 108);
|
||||
this.lblVersion.Name = "lblVersion";
|
||||
this.lblVersion.Size = new System.Drawing.Size(42, 13);
|
||||
this.lblVersion.TabIndex = 6;
|
||||
this.lblVersion.Text = "Version";
|
||||
//
|
||||
// txtPräfix
|
||||
//
|
||||
this.txtPräfix.Location = new System.Drawing.Point(106, 131);
|
||||
this.txtPräfix.Name = "txtPräfix";
|
||||
this.txtPräfix.Size = new System.Drawing.Size(318, 20);
|
||||
this.txtPräfix.TabIndex = 9;
|
||||
//
|
||||
// lblPräfix
|
||||
//
|
||||
this.lblPräfix.AutoSize = true;
|
||||
this.lblPräfix.Location = new System.Drawing.Point(17, 134);
|
||||
this.lblPräfix.Name = "lblPräfix";
|
||||
this.lblPräfix.Size = new System.Drawing.Size(33, 13);
|
||||
this.lblPräfix.TabIndex = 8;
|
||||
this.lblPräfix.Text = "Präfix";
|
||||
//
|
||||
// lblKopfzeile
|
||||
//
|
||||
this.lblKopfzeile.AutoSize = true;
|
||||
this.lblKopfzeile.Location = new System.Drawing.Point(17, 172);
|
||||
this.lblKopfzeile.Name = "lblKopfzeile";
|
||||
this.lblKopfzeile.Size = new System.Drawing.Size(50, 13);
|
||||
this.lblKopfzeile.TabIndex = 10;
|
||||
this.lblKopfzeile.Text = "Kopfzeile";
|
||||
//
|
||||
// chkKopfzeile
|
||||
//
|
||||
this.chkKopfzeile.AutoSize = true;
|
||||
this.chkKopfzeile.Location = new System.Drawing.Point(106, 172);
|
||||
this.chkKopfzeile.Name = "chkKopfzeile";
|
||||
this.chkKopfzeile.Size = new System.Drawing.Size(15, 14);
|
||||
this.chkKopfzeile.TabIndex = 11;
|
||||
this.chkKopfzeile.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// groupBox3
|
||||
//
|
||||
this.groupBox3.Controls.Add(this.txtPräfix);
|
||||
this.groupBox3.Controls.Add(this.chkKopfzeile);
|
||||
this.groupBox3.Controls.Add(this.lblBezeichnung);
|
||||
this.groupBox3.Controls.Add(this.lblKopfzeile);
|
||||
this.groupBox3.Controls.Add(this.lblBeschreibung);
|
||||
this.groupBox3.Controls.Add(this.txtBezeichnung);
|
||||
this.groupBox3.Controls.Add(this.lblPräfix);
|
||||
this.groupBox3.Controls.Add(this.txtBeschreibung);
|
||||
this.groupBox3.Controls.Add(this.txtVersion);
|
||||
this.groupBox3.Controls.Add(this.lblVersion);
|
||||
this.groupBox3.Location = new System.Drawing.Point(281, 30);
|
||||
this.groupBox3.Name = "groupBox3";
|
||||
this.groupBox3.Size = new System.Drawing.Size(535, 210);
|
||||
this.groupBox3.TabIndex = 12;
|
||||
this.groupBox3.TabStop = false;
|
||||
this.groupBox3.Text = "Allgemein";
|
||||
//
|
||||
// groupBox4
|
||||
//
|
||||
this.groupBox4.Controls.Add(this.PicBarcodeExample);
|
||||
this.groupBox4.Controls.Add(this.label8);
|
||||
this.groupBox4.Controls.Add(this.cbboxBarcodeType);
|
||||
this.groupBox4.Controls.Add(this.checkBox1);
|
||||
this.groupBox4.Controls.Add(this.label6);
|
||||
this.groupBox4.Controls.Add(this.label7);
|
||||
this.groupBox4.Controls.Add(this.txtBcHeigth);
|
||||
this.groupBox4.Controls.Add(this.label5);
|
||||
this.groupBox4.Controls.Add(this.txtBcWidth);
|
||||
this.groupBox4.Controls.Add(this.label4);
|
||||
this.groupBox4.Controls.Add(this.txtBcLeft);
|
||||
this.groupBox4.Controls.Add(this.label3);
|
||||
this.groupBox4.Controls.Add(this.txtBcTop);
|
||||
this.groupBox4.Location = new System.Drawing.Point(281, 246);
|
||||
this.groupBox4.Name = "groupBox4";
|
||||
this.groupBox4.Size = new System.Drawing.Size(535, 291);
|
||||
this.groupBox4.TabIndex = 13;
|
||||
this.groupBox4.TabStop = false;
|
||||
this.groupBox4.Text = "Barcode";
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(18, 95);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(25, 13);
|
||||
this.label8.TabIndex = 20;
|
||||
this.label8.Text = "Typ";
|
||||
//
|
||||
// cbboxBarcodeType
|
||||
//
|
||||
this.cbboxBarcodeType.FormattingEnabled = true;
|
||||
this.cbboxBarcodeType.Items.AddRange(new object[] {
|
||||
"2of5",
|
||||
"Datamatrix",
|
||||
"QR"});
|
||||
this.cbboxBarcodeType.Location = new System.Drawing.Point(77, 92);
|
||||
this.cbboxBarcodeType.Name = "cbboxBarcodeType";
|
||||
this.cbboxBarcodeType.Size = new System.Drawing.Size(211, 21);
|
||||
this.cbboxBarcodeType.TabIndex = 19;
|
||||
this.cbboxBarcodeType.SelectedIndexChanged += new System.EventHandler(this.cbboxBarcodeType_SelectedIndexChanged);
|
||||
//
|
||||
// checkBox1
|
||||
//
|
||||
this.checkBox1.AutoSize = true;
|
||||
this.checkBox1.Location = new System.Drawing.Point(365, 21);
|
||||
this.checkBox1.Name = "checkBox1";
|
||||
this.checkBox1.Size = new System.Drawing.Size(15, 14);
|
||||
this.checkBox1.TabIndex = 13;
|
||||
this.checkBox1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(162, 44);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(38, 13);
|
||||
this.label6.TabIndex = 18;
|
||||
this.label6.Text = "Height";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(305, 21);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(54, 13);
|
||||
this.label7.TabIndex = 12;
|
||||
this.label7.Text = "Horizontal";
|
||||
//
|
||||
// txtBcHeigth
|
||||
//
|
||||
this.txtBcHeigth.Location = new System.Drawing.Point(222, 41);
|
||||
this.txtBcHeigth.Name = "txtBcHeigth";
|
||||
this.txtBcHeigth.Size = new System.Drawing.Size(66, 20);
|
||||
this.txtBcHeigth.TabIndex = 17;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(162, 18);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(35, 13);
|
||||
this.label5.TabIndex = 16;
|
||||
this.label5.Text = "Width";
|
||||
//
|
||||
// txtBcWidth
|
||||
//
|
||||
this.txtBcWidth.Location = new System.Drawing.Point(222, 15);
|
||||
this.txtBcWidth.Name = "txtBcWidth";
|
||||
this.txtBcWidth.Size = new System.Drawing.Size(66, 20);
|
||||
this.txtBcWidth.TabIndex = 15;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(17, 48);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(25, 13);
|
||||
this.label4.TabIndex = 14;
|
||||
this.label4.Text = "Left";
|
||||
//
|
||||
// txtBcLeft
|
||||
//
|
||||
this.txtBcLeft.Location = new System.Drawing.Point(77, 45);
|
||||
this.txtBcLeft.Name = "txtBcLeft";
|
||||
this.txtBcLeft.Size = new System.Drawing.Size(66, 20);
|
||||
this.txtBcLeft.TabIndex = 13;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(17, 22);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(26, 13);
|
||||
this.label3.TabIndex = 12;
|
||||
this.label3.Text = "Top";
|
||||
//
|
||||
// txtBcTop
|
||||
//
|
||||
this.txtBcTop.Location = new System.Drawing.Point(77, 19);
|
||||
this.txtBcTop.Name = "txtBcTop";
|
||||
this.txtBcTop.Size = new System.Drawing.Size(66, 20);
|
||||
this.txtBcTop.TabIndex = 0;
|
||||
//
|
||||
// PicBarcodeExample
|
||||
//
|
||||
this.PicBarcodeExample.Location = new System.Drawing.Point(294, 92);
|
||||
this.PicBarcodeExample.Name = "PicBarcodeExample";
|
||||
this.PicBarcodeExample.Size = new System.Drawing.Size(231, 85);
|
||||
this.PicBarcodeExample.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.PicBarcodeExample.TabIndex = 22;
|
||||
this.PicBarcodeExample.TabStop = false;
|
||||
//
|
||||
// OfficeVorlage
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1415, 902);
|
||||
this.Controls.Add(this.groupBox4);
|
||||
this.Controls.Add(this.groupBox3);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Name = "OfficeVorlage";
|
||||
this.Style.MdiChild.IconHorizontalAlignment = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.Style.MdiChild.IconVerticalAlignment = System.Windows.Forms.VisualStyles.VerticalAlignment.Center;
|
||||
this.Text = "OfficeVorlage";
|
||||
this.Load += new System.EventHandler(this.OfficeVorlage_Load);
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.TreeOfficeVorlagen)).EndInit();
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.groupBox2.PerformLayout();
|
||||
this.groupBox3.ResumeLayout(false);
|
||||
this.groupBox3.PerformLayout();
|
||||
this.groupBox4.ResumeLayout(false);
|
||||
this.groupBox4.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.PicBarcodeExample)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripButton tsbtnClose;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private Syncfusion.Windows.Forms.Tools.TreeViewAdv TreeOfficeVorlagen;
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
private System.Windows.Forms.TextBox txtFilter;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.RadioButton rbBezeichnung;
|
||||
private System.Windows.Forms.RadioButton rbNr;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label lblBezeichnung;
|
||||
private System.Windows.Forms.Label lblBeschreibung;
|
||||
private System.Windows.Forms.TextBox txtBezeichnung;
|
||||
private System.Windows.Forms.TextBox txtBeschreibung;
|
||||
private System.Windows.Forms.TextBox txtVersion;
|
||||
private System.Windows.Forms.Label lblVersion;
|
||||
private System.Windows.Forms.TextBox txtPräfix;
|
||||
private System.Windows.Forms.Label lblPräfix;
|
||||
private System.Windows.Forms.Label lblKopfzeile;
|
||||
private System.Windows.Forms.CheckBox chkKopfzeile;
|
||||
private System.Windows.Forms.GroupBox groupBox3;
|
||||
private System.Windows.Forms.GroupBox groupBox4;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.TextBox txtBcHeigth;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox txtBcWidth;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.TextBox txtBcLeft;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.TextBox txtBcTop;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.ComboBox cbboxBarcodeType;
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.PictureBox PicBarcodeExample;
|
||||
}
|
||||
}
|
||||
118
Client/UIControls/Administrator/OfficeVorlage.cs
Normal file
118
Client/UIControls/Administrator/OfficeVorlage.cs
Normal file
@@ -0,0 +1,118 @@
|
||||
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;
|
||||
using System.Xml.Linq;
|
||||
using Barcoded.qr;
|
||||
using OnDoc.Klassen;
|
||||
using Syncfusion.Windows.Forms;
|
||||
using Syncfusion.Windows.Forms.Tools;
|
||||
using Syncfusion.WinForms.Controls;
|
||||
using Windows.Devices.Sensors;
|
||||
using Windows.Media.Audio;
|
||||
|
||||
namespace OnDoc.UIControls.Administrator
|
||||
{
|
||||
public partial class OfficeVorlage : SfForm
|
||||
{
|
||||
DataTable treedata = new DataTable();
|
||||
public OfficeVorlage()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.Style.TitleBar.BackColor = Theaming.Titelbar();
|
||||
this.Style.TitleBar.ForeColor = Theaming.TitelFontColor();
|
||||
}
|
||||
|
||||
private void OfficeVorlage_Load(object sender, EventArgs e)
|
||||
{
|
||||
Refresh_Tree();
|
||||
}
|
||||
private void Refresh_Tree()
|
||||
{
|
||||
TreeOfficeVorlagen.Nodes.Clear();
|
||||
if (treedata.Rows.Count < 1)
|
||||
{
|
||||
Database.DB dB = new Database.DB(AppParams.connectionstring);
|
||||
dB.Get_Tabledata("Select * from office_vorlage order by bezeichnung", false, true);
|
||||
treedata = dB.dsdaten.Tables[0].Copy();
|
||||
dB = null;
|
||||
}
|
||||
|
||||
string _sqlWhere = " Bezeichnung like '%" + txtFilter.Text + "%'";
|
||||
string _sqlOrder = "Bezeichnung ";
|
||||
if (rbNr.Checked)
|
||||
{
|
||||
_sqlOrder = "Office_Vorlagenr ";
|
||||
}
|
||||
|
||||
DataTable _newDataTable = treedata.Select(_sqlWhere, _sqlOrder).CopyToDataTable();
|
||||
//DataView dv = new DataView(treedata);
|
||||
//dv.RowFilter = "bezeichnung like '%"+txtFilter.Text+"%'";
|
||||
foreach (DataRow r in _newDataTable.Rows)
|
||||
{
|
||||
TreeNodeAdv nodeAdv = new TreeNodeAdv();
|
||||
nodeAdv.Text = r["office_vorlagenr"].ToString() + " " + r["Bezeichnung"].ToString();
|
||||
nodeAdv.Tag = r["office_vorlagenr"].ToString();
|
||||
if (Convert.ToBoolean(r["aktiv"]) == false)
|
||||
{
|
||||
nodeAdv.Font = new Font(nodeAdv.Font, FontStyle.Strikeout);
|
||||
}
|
||||
TreeOfficeVorlagen.Nodes.Add(nodeAdv);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void txtFilter_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
Refresh_Tree();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void rbNr_Click(object sender, EventArgs e)
|
||||
{
|
||||
Refresh_Tree();
|
||||
}
|
||||
|
||||
private void rbBezeichnung_Click(object sender, EventArgs e)
|
||||
{
|
||||
Refresh_Tree();
|
||||
}
|
||||
|
||||
|
||||
private void cbboxBarcodeType_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
switch (cbboxBarcodeType.Text)
|
||||
{
|
||||
case "2of5":
|
||||
BarcodeLib.Barcode barcode = new BarcodeLib.Barcode();
|
||||
|
||||
System.Drawing.Image barcodeimage = barcode.Get_LinerBarcode(Barcoded.Symbology.I2of5C, "1234567890123456", "1234567890123456", "Below", "Arial", 8, 0);
|
||||
PicBarcodeExample.Image = barcodeimage;
|
||||
|
||||
break;
|
||||
case "Datamatrix":
|
||||
BarcodeLib.Barcode dmcode = new BarcodeLib.Barcode();
|
||||
string qr = "imaq$0002024002033986$0006$1001020854$29825487$104690562$104690562$";
|
||||
string qrvisible = "1001020854\r\n000202400203398 U";
|
||||
barcodeimage = dmcode.Get_Datamatrix(DataMatrix.net.DmtxScheme.DmtxSchemeAscii, qr, 6, 6, 0, "Right", qrvisible, "Futura Book", 11);
|
||||
PicBarcodeExample.Image = barcodeimage;
|
||||
break;
|
||||
case "QR":
|
||||
BarcodeLib.Barcode qrcode = new BarcodeLib.Barcode();
|
||||
qrcode.Get_QRCode()
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
123
Client/UIControls/Administrator/OfficeVorlage.resx
Normal file
123
Client/UIControls/Administrator/OfficeVorlage.resx
Normal file
@@ -0,0 +1,123 @@
|
||||
<?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>
|
||||
</root>
|
||||
@@ -12,6 +12,7 @@ using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Syncfusion.Windows.Forms.Tools;
|
||||
using Syncfusion.WinForms.Controls;
|
||||
using Microsoft.Toolkit.Uwp.Notifications;
|
||||
|
||||
namespace OnDoc.UIControls.Administrator
|
||||
{
|
||||
@@ -50,9 +51,10 @@ namespace OnDoc.UIControls.Administrator
|
||||
|
||||
private void toolStripButton2_Click(object sender, EventArgs e)
|
||||
{
|
||||
db.Update_Data();
|
||||
db.Update_Data();
|
||||
ToastMessage.ShowToast("Speichern", "Daten erfolgreich gespeichert");
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void sfDataGrid1_AddNewRowInitiating(object sender, Syncfusion.WinForms.DataGrid.Events.AddNewRowInitiatingEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user