update 20250111
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo2 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
|
||||
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo1 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AdminDokTypGenerierung));
|
||||
this.groupBox7 = new System.Windows.Forms.GroupBox();
|
||||
this.TreeDokumenttyp = new Syncfusion.Windows.Forms.Tools.TreeViewAdv();
|
||||
@@ -40,20 +40,23 @@
|
||||
this.rbNr = new System.Windows.Forms.RadioButton();
|
||||
this.label15 = new System.Windows.Forms.Label();
|
||||
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
||||
this.chkinterop = new System.Windows.Forms.CheckBox();
|
||||
this.chkbearbeitungdirekt = new System.Windows.Forms.CheckBox();
|
||||
this.cbPDFDirekteArchivierung = new System.Windows.Forms.CheckBox();
|
||||
this.cbPDFDokument = new System.Windows.Forms.CheckBox();
|
||||
this.cbOfficeDokument = new System.Windows.Forms.CheckBox();
|
||||
this.label18 = new System.Windows.Forms.Label();
|
||||
this.chkfilloffice = new System.Windows.Forms.CheckBox();
|
||||
this.cbboxcompatibilitymode = new System.Windows.Forms.ComboBox();
|
||||
this.chkboxInOffice = new System.Windows.Forms.CheckBox();
|
||||
this.chkinterop = new System.Windows.Forms.CheckBox();
|
||||
this.chkbearbeitungdirekt = new System.Windows.Forms.CheckBox();
|
||||
this.cbbearbeitungzwingend = new System.Windows.Forms.CheckBox();
|
||||
this.cbPDFDirekteArchivierung = new System.Windows.Forms.CheckBox();
|
||||
this.cbPDFDokument = new System.Windows.Forms.CheckBox();
|
||||
this.cbOfficeDokument = new System.Windows.Forms.CheckBox();
|
||||
this.sfButton1 = new Syncfusion.WinForms.Controls.SfButton();
|
||||
this.btnerstellen = new System.Windows.Forms.Button();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.cbboxfachverantwortung = new System.Windows.Forms.ComboBox();
|
||||
this.btnFilterDelete = new System.Windows.Forms.Button();
|
||||
this.groupBox7.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.TreeDokumenttyp)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
@@ -67,26 +70,26 @@
|
||||
this.groupBox7.Controls.Add(this.TreeDokumenttyp);
|
||||
this.groupBox7.Controls.Add(this.panel1);
|
||||
this.groupBox7.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.groupBox7.Location = new System.Drawing.Point(0, 0);
|
||||
this.groupBox7.Location = new System.Drawing.Point(2, 2);
|
||||
this.groupBox7.Name = "groupBox7";
|
||||
this.groupBox7.Size = new System.Drawing.Size(282, 446);
|
||||
this.groupBox7.Size = new System.Drawing.Size(369, 349);
|
||||
this.groupBox7.TabIndex = 2;
|
||||
this.groupBox7.TabStop = false;
|
||||
this.groupBox7.Text = "Dokumenttypen";
|
||||
//
|
||||
// TreeDokumenttyp
|
||||
//
|
||||
treeNodeAdvStyleInfo2.CheckBoxTickThickness = 1;
|
||||
treeNodeAdvStyleInfo2.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
|
||||
treeNodeAdvStyleInfo2.EnsureDefaultOptionedChild = true;
|
||||
treeNodeAdvStyleInfo2.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
|
||||
treeNodeAdvStyleInfo2.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
|
||||
treeNodeAdvStyleInfo2.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
|
||||
treeNodeAdvStyleInfo2.ShowCheckBox = false;
|
||||
treeNodeAdvStyleInfo2.TextColor = System.Drawing.Color.Black;
|
||||
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.ShowCheckBox = false;
|
||||
treeNodeAdvStyleInfo1.TextColor = System.Drawing.Color.Black;
|
||||
this.TreeDokumenttyp.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] {
|
||||
new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo2)});
|
||||
this.TreeDokumenttyp.BeforeTouchSize = new System.Drawing.Size(273, 356);
|
||||
new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo1)});
|
||||
this.TreeDokumenttyp.BeforeTouchSize = new System.Drawing.Size(363, 234);
|
||||
this.TreeDokumenttyp.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
//
|
||||
//
|
||||
@@ -98,11 +101,11 @@
|
||||
this.TreeDokumenttyp.HelpTextControl.TabIndex = 0;
|
||||
this.TreeDokumenttyp.HelpTextControl.Visible = true;
|
||||
this.TreeDokumenttyp.InactiveSelectedNodeForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.TreeDokumenttyp.Location = new System.Drawing.Point(3, 87);
|
||||
this.TreeDokumenttyp.Location = new System.Drawing.Point(3, 112);
|
||||
this.TreeDokumenttyp.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
|
||||
this.TreeDokumenttyp.Name = "TreeDokumenttyp";
|
||||
this.TreeDokumenttyp.SelectedNodeForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
this.TreeDokumenttyp.Size = new System.Drawing.Size(273, 356);
|
||||
this.TreeDokumenttyp.Size = new System.Drawing.Size(363, 234);
|
||||
this.TreeDokumenttyp.SortWithChildNodes = true;
|
||||
this.TreeDokumenttyp.TabIndex = 11;
|
||||
this.TreeDokumenttyp.Text = "treeViewAdv1";
|
||||
@@ -121,6 +124,9 @@
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.btnFilterDelete);
|
||||
this.panel1.Controls.Add(this.cbboxfachverantwortung);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Controls.Add(this.chkboxaktive);
|
||||
this.panel1.Controls.Add(this.txtFilter);
|
||||
this.panel1.Controls.Add(this.rbBezeichnung);
|
||||
@@ -130,7 +136,7 @@
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(3, 16);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(276, 71);
|
||||
this.panel1.Size = new System.Drawing.Size(363, 96);
|
||||
this.panel1.TabIndex = 10;
|
||||
//
|
||||
// chkboxaktive
|
||||
@@ -138,25 +144,26 @@
|
||||
this.chkboxaktive.AutoSize = true;
|
||||
this.chkboxaktive.Checked = true;
|
||||
this.chkboxaktive.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkboxaktive.Location = new System.Drawing.Point(205, 43);
|
||||
this.chkboxaktive.Location = new System.Drawing.Point(303, 11);
|
||||
this.chkboxaktive.Name = "chkboxaktive";
|
||||
this.chkboxaktive.Size = new System.Drawing.Size(55, 17);
|
||||
this.chkboxaktive.TabIndex = 10;
|
||||
this.chkboxaktive.Text = "aktive";
|
||||
this.chkboxaktive.UseVisualStyleBackColor = true;
|
||||
this.chkboxaktive.Visible = false;
|
||||
//
|
||||
// txtFilter
|
||||
//
|
||||
this.txtFilter.Location = new System.Drawing.Point(69, 12);
|
||||
this.txtFilter.Location = new System.Drawing.Point(118, 15);
|
||||
this.txtFilter.Name = "txtFilter";
|
||||
this.txtFilter.Size = new System.Drawing.Size(191, 20);
|
||||
this.txtFilter.Size = new System.Drawing.Size(153, 20);
|
||||
this.txtFilter.TabIndex = 6;
|
||||
this.txtFilter.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtFilter_KeyDown);
|
||||
//
|
||||
// rbBezeichnung
|
||||
//
|
||||
this.rbBezeichnung.AutoSize = true;
|
||||
this.rbBezeichnung.Location = new System.Drawing.Point(111, 42);
|
||||
this.rbBezeichnung.Location = new System.Drawing.Point(160, 73);
|
||||
this.rbBezeichnung.Name = "rbBezeichnung";
|
||||
this.rbBezeichnung.Size = new System.Drawing.Size(87, 17);
|
||||
this.rbBezeichnung.TabIndex = 9;
|
||||
@@ -176,7 +183,7 @@
|
||||
//
|
||||
this.rbNr.AutoSize = true;
|
||||
this.rbNr.Checked = true;
|
||||
this.rbNr.Location = new System.Drawing.Point(69, 42);
|
||||
this.rbNr.Location = new System.Drawing.Point(117, 73);
|
||||
this.rbNr.Name = "rbNr";
|
||||
this.rbNr.Size = new System.Drawing.Size(36, 17);
|
||||
this.rbNr.TabIndex = 8;
|
||||
@@ -187,7 +194,7 @@
|
||||
// label15
|
||||
//
|
||||
this.label15.AutoSize = true;
|
||||
this.label15.Location = new System.Drawing.Point(12, 44);
|
||||
this.label15.Location = new System.Drawing.Point(12, 71);
|
||||
this.label15.Name = "label15";
|
||||
this.label15.Size = new System.Drawing.Size(26, 13);
|
||||
this.label15.TabIndex = 7;
|
||||
@@ -200,13 +207,58 @@
|
||||
this.groupBox4.Controls.Add(this.cbPDFDirekteArchivierung);
|
||||
this.groupBox4.Controls.Add(this.cbPDFDokument);
|
||||
this.groupBox4.Controls.Add(this.cbOfficeDokument);
|
||||
this.groupBox4.Location = new System.Drawing.Point(301, 166);
|
||||
this.groupBox4.Location = new System.Drawing.Point(386, 123);
|
||||
this.groupBox4.Name = "groupBox4";
|
||||
this.groupBox4.Size = new System.Drawing.Size(351, 73);
|
||||
this.groupBox4.Size = new System.Drawing.Size(303, 56);
|
||||
this.groupBox4.TabIndex = 25;
|
||||
this.groupBox4.TabStop = false;
|
||||
this.groupBox4.Text = "Generierung ohne Office";
|
||||
//
|
||||
// chkinterop
|
||||
//
|
||||
this.chkinterop.Location = new System.Drawing.Point(141, 0);
|
||||
this.chkinterop.Name = "chkinterop";
|
||||
this.chkinterop.Size = new System.Drawing.Size(127, 24);
|
||||
this.chkinterop.TabIndex = 11;
|
||||
this.chkinterop.Text = "Bearbeitung InterOP";
|
||||
this.chkinterop.Visible = false;
|
||||
//
|
||||
// chkbearbeitungdirekt
|
||||
//
|
||||
this.chkbearbeitungdirekt.Location = new System.Drawing.Point(11, 24);
|
||||
this.chkbearbeitungdirekt.Name = "chkbearbeitungdirekt";
|
||||
this.chkbearbeitungdirekt.Size = new System.Drawing.Size(257, 24);
|
||||
this.chkbearbeitungdirekt.TabIndex = 10;
|
||||
this.chkbearbeitungdirekt.Text = "Nach der Generierung direkt bearbeiten";
|
||||
this.chkbearbeitungdirekt.CheckedChanged += new System.EventHandler(this.chkbearbeitungdirekt_CheckedChanged);
|
||||
//
|
||||
// cbPDFDirekteArchivierung
|
||||
//
|
||||
this.cbPDFDirekteArchivierung.Location = new System.Drawing.Point(392, 69);
|
||||
this.cbPDFDirekteArchivierung.Name = "cbPDFDirekteArchivierung";
|
||||
this.cbPDFDirekteArchivierung.Size = new System.Drawing.Size(280, 24);
|
||||
this.cbPDFDirekteArchivierung.TabIndex = 8;
|
||||
this.cbPDFDirekteArchivierung.Text = "Direkte OnBase-Archvierung";
|
||||
this.cbPDFDirekteArchivierung.Visible = false;
|
||||
//
|
||||
// cbPDFDokument
|
||||
//
|
||||
this.cbPDFDokument.Location = new System.Drawing.Point(392, 50);
|
||||
this.cbPDFDokument.Name = "cbPDFDokument";
|
||||
this.cbPDFDokument.Size = new System.Drawing.Size(280, 24);
|
||||
this.cbPDFDokument.TabIndex = 6;
|
||||
this.cbPDFDokument.Text = "Generierng als PDF";
|
||||
this.cbPDFDokument.Visible = false;
|
||||
//
|
||||
// cbOfficeDokument
|
||||
//
|
||||
this.cbOfficeDokument.Location = new System.Drawing.Point(392, 29);
|
||||
this.cbOfficeDokument.Name = "cbOfficeDokument";
|
||||
this.cbOfficeDokument.Size = new System.Drawing.Size(240, 24);
|
||||
this.cbOfficeDokument.TabIndex = 4;
|
||||
this.cbOfficeDokument.Text = "Office-Dokument";
|
||||
this.cbOfficeDokument.Visible = false;
|
||||
//
|
||||
// label18
|
||||
//
|
||||
this.label18.AutoSize = true;
|
||||
@@ -245,23 +297,7 @@
|
||||
this.chkboxInOffice.Size = new System.Drawing.Size(187, 24);
|
||||
this.chkboxInOffice.TabIndex = 26;
|
||||
this.chkboxInOffice.Text = "Erstellung mit Office";
|
||||
//
|
||||
// chkinterop
|
||||
//
|
||||
this.chkinterop.Location = new System.Drawing.Point(238, 19);
|
||||
this.chkinterop.Name = "chkinterop";
|
||||
this.chkinterop.Size = new System.Drawing.Size(127, 24);
|
||||
this.chkinterop.TabIndex = 11;
|
||||
this.chkinterop.Text = "Bearbeitung InterOP";
|
||||
this.chkinterop.Visible = false;
|
||||
//
|
||||
// chkbearbeitungdirekt
|
||||
//
|
||||
this.chkbearbeitungdirekt.Location = new System.Drawing.Point(11, 24);
|
||||
this.chkbearbeitungdirekt.Name = "chkbearbeitungdirekt";
|
||||
this.chkbearbeitungdirekt.Size = new System.Drawing.Size(257, 24);
|
||||
this.chkbearbeitungdirekt.TabIndex = 10;
|
||||
this.chkbearbeitungdirekt.Text = "Nach der Generierung direkt bearbeiten";
|
||||
this.chkboxInOffice.CheckedChanged += new System.EventHandler(this.chkboxInOffice_CheckedChanged);
|
||||
//
|
||||
// cbbearbeitungzwingend
|
||||
//
|
||||
@@ -273,46 +309,19 @@
|
||||
this.cbbearbeitungzwingend.Text = "Bearbeitung zwingend";
|
||||
this.cbbearbeitungzwingend.CheckedChanged += new System.EventHandler(this.cbbearbeitungzwingend_CheckedChanged);
|
||||
//
|
||||
// cbPDFDirekteArchivierung
|
||||
//
|
||||
this.cbPDFDirekteArchivierung.Location = new System.Drawing.Point(392, 69);
|
||||
this.cbPDFDirekteArchivierung.Name = "cbPDFDirekteArchivierung";
|
||||
this.cbPDFDirekteArchivierung.Size = new System.Drawing.Size(280, 24);
|
||||
this.cbPDFDirekteArchivierung.TabIndex = 8;
|
||||
this.cbPDFDirekteArchivierung.Text = "Direkte OnBase-Archvierung";
|
||||
this.cbPDFDirekteArchivierung.Visible = false;
|
||||
//
|
||||
// cbPDFDokument
|
||||
//
|
||||
this.cbPDFDokument.Location = new System.Drawing.Point(392, 50);
|
||||
this.cbPDFDokument.Name = "cbPDFDokument";
|
||||
this.cbPDFDokument.Size = new System.Drawing.Size(280, 24);
|
||||
this.cbPDFDokument.TabIndex = 6;
|
||||
this.cbPDFDokument.Text = "Generierng als PDF";
|
||||
this.cbPDFDokument.Visible = false;
|
||||
//
|
||||
// cbOfficeDokument
|
||||
//
|
||||
this.cbOfficeDokument.Location = new System.Drawing.Point(392, 29);
|
||||
this.cbOfficeDokument.Name = "cbOfficeDokument";
|
||||
this.cbOfficeDokument.Size = new System.Drawing.Size(240, 24);
|
||||
this.cbOfficeDokument.TabIndex = 4;
|
||||
this.cbOfficeDokument.Text = "Office-Dokument";
|
||||
this.cbOfficeDokument.Visible = false;
|
||||
//
|
||||
// sfButton1
|
||||
//
|
||||
this.sfButton1.Font = new System.Drawing.Font("Segoe UI Semibold", 9F);
|
||||
this.sfButton1.Location = new System.Drawing.Point(301, 312);
|
||||
this.sfButton1.Location = new System.Drawing.Point(377, 257);
|
||||
this.sfButton1.Name = "sfButton1";
|
||||
this.sfButton1.Size = new System.Drawing.Size(96, 28);
|
||||
this.sfButton1.Size = new System.Drawing.Size(136, 28);
|
||||
this.sfButton1.TabIndex = 26;
|
||||
this.sfButton1.Text = "Speichern";
|
||||
this.sfButton1.Click += new System.EventHandler(this.sfButton1_Click);
|
||||
//
|
||||
// btnerstellen
|
||||
//
|
||||
this.btnerstellen.Location = new System.Drawing.Point(301, 386);
|
||||
this.btnerstellen.Location = new System.Drawing.Point(377, 312);
|
||||
this.btnerstellen.Name = "btnerstellen";
|
||||
this.btnerstellen.Size = new System.Drawing.Size(136, 23);
|
||||
this.btnerstellen.TabIndex = 27;
|
||||
@@ -324,9 +333,9 @@
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.chkboxInOffice);
|
||||
this.groupBox1.Controls.Add(this.chkfilloffice);
|
||||
this.groupBox1.Location = new System.Drawing.Point(301, 220);
|
||||
this.groupBox1.Location = new System.Drawing.Point(386, 177);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(331, 74);
|
||||
this.groupBox1.Size = new System.Drawing.Size(303, 74);
|
||||
this.groupBox1.TabIndex = 29;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "Office";
|
||||
@@ -336,18 +345,46 @@
|
||||
this.groupBox2.Controls.Add(this.label18);
|
||||
this.groupBox2.Controls.Add(this.cbboxcompatibilitymode);
|
||||
this.groupBox2.Controls.Add(this.cbbearbeitungzwingend);
|
||||
this.groupBox2.Location = new System.Drawing.Point(301, 60);
|
||||
this.groupBox2.Location = new System.Drawing.Point(386, 17);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Size = new System.Drawing.Size(351, 100);
|
||||
this.groupBox2.Size = new System.Drawing.Size(303, 100);
|
||||
this.groupBox2.TabIndex = 30;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "Allgemein";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(12, 44);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(99, 13);
|
||||
this.label1.TabIndex = 11;
|
||||
this.label1.Text = "Fachverantwortung";
|
||||
//
|
||||
// cbboxfachverantwortung
|
||||
//
|
||||
this.cbboxfachverantwortung.FormattingEnabled = true;
|
||||
this.cbboxfachverantwortung.Location = new System.Drawing.Point(117, 40);
|
||||
this.cbboxfachverantwortung.Name = "cbboxfachverantwortung";
|
||||
this.cbboxfachverantwortung.Size = new System.Drawing.Size(154, 21);
|
||||
this.cbboxfachverantwortung.TabIndex = 12;
|
||||
this.cbboxfachverantwortung.SelectedIndexChanged += new System.EventHandler(this.cbboxfachverantwortung_SelectedIndexChanged);
|
||||
//
|
||||
// btnFilterDelete
|
||||
//
|
||||
this.btnFilterDelete.Location = new System.Drawing.Point(280, 34);
|
||||
this.btnFilterDelete.Name = "btnFilterDelete";
|
||||
this.btnFilterDelete.Size = new System.Drawing.Size(80, 23);
|
||||
this.btnFilterDelete.TabIndex = 13;
|
||||
this.btnFilterDelete.Text = "Filter löschen";
|
||||
this.btnFilterDelete.UseVisualStyleBackColor = true;
|
||||
this.btnFilterDelete.Click += new System.EventHandler(this.btnFilterDelete_Click);
|
||||
//
|
||||
// AdminDokTypGenerierung
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(661, 446);
|
||||
this.ClientSize = new System.Drawing.Size(692, 353);
|
||||
this.Controls.Add(this.groupBox2);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Controls.Add(this.btnerstellen);
|
||||
@@ -356,6 +393,8 @@
|
||||
this.Controls.Add(this.groupBox7);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "AdminDokTypGenerierung";
|
||||
this.Style.MdiChild.IconHorizontalAlignment = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.Style.MdiChild.IconVerticalAlignment = System.Windows.Forms.VisualStyles.VerticalAlignment.Center;
|
||||
this.Text = "AdminDokumentGenerierung";
|
||||
this.Load += new System.EventHandler(this.AdminDokTypGenerierung_Load);
|
||||
this.groupBox7.ResumeLayout(false);
|
||||
@@ -397,5 +436,8 @@
|
||||
private System.Windows.Forms.Button btnerstellen;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.ComboBox cbboxfachverantwortung;
|
||||
private System.Windows.Forms.Button btnFilterDelete;
|
||||
}
|
||||
}
|
||||
@@ -38,6 +38,12 @@ namespace OnDoc.UIControls.Administrator
|
||||
|
||||
private void AdminDokTypGenerierung_Load(object sender, EventArgs e)
|
||||
{
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
db.Get_Tabledata("select distinct fachverantwortung from dbo.view_dokumenttypen_relaunch order by fachverantwortung asc", false, true);
|
||||
foreach (System.Data.DataRow dr in db.dsdaten.Tables[0].Rows)
|
||||
{
|
||||
cbboxfachverantwortung.Items.Add(dr[0].ToString());
|
||||
}
|
||||
update_tree();
|
||||
|
||||
return;
|
||||
@@ -49,20 +55,29 @@ namespace OnDoc.UIControls.Administrator
|
||||
|
||||
|
||||
TreeDokumenttyp.Nodes.Clear();
|
||||
string sql = "";
|
||||
sql = "Select dokumenttypnr as ID, Bezeichnung, Aktiv from dokumenttyp";
|
||||
string sql = " Select dokumenttypnr as ID, Bezeichnung from view_dokumenttypen_relaunch ";
|
||||
string where = "";
|
||||
//sql = "Select dokumenttypnr as ID, Bezeichnung, Aktiv from dokumenttyp";
|
||||
if (txtFilter.Text.Trim().Length > 0)
|
||||
{
|
||||
sql = sql + " where bezeichnung like '%" + txtFilter.Text.Replace(" ", "%") + "%'";
|
||||
if (where.Length > 0) { where = where + " and "; } else { where = "where "; }
|
||||
where = where + " bezeichnung like '%" + txtFilter.Text.Replace(" ", "%") + "%'";
|
||||
}
|
||||
else
|
||||
if (cbboxfachverantwortung.Text != "")
|
||||
{
|
||||
sql = sql + " where dokumenttypnr > 0";
|
||||
if (where.Length > 0) { where = where + " and "; } else { where = "where "; }
|
||||
where = where + " fachverantwortung ='"+cbboxfachverantwortung.Text+"'" ;
|
||||
}
|
||||
if (chkboxaktive.Checked) { sql = sql + " and aktiv=1"; }
|
||||
|
||||
if (where.Trim().Length > 0) { sql = sql + where; }
|
||||
//else
|
||||
//{
|
||||
// sql = sql + " where dokumenttypnr > 0";
|
||||
//}
|
||||
// if (chkboxaktive.Checked) { sql = sql + " and aktiv=1"; }
|
||||
if (rbNr.Checked)
|
||||
{
|
||||
sql = sql + " order by id";
|
||||
sql = sql + " order by dokumenttypnr";
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -78,10 +93,10 @@ namespace OnDoc.UIControls.Administrator
|
||||
TreeNodeAdv nodeAdv = new TreeNodeAdv();
|
||||
nodeAdv.Text = r["id"].ToString() + " " + r["Bezeichnung"].ToString();
|
||||
nodeAdv.Tag = r["id"].ToString();
|
||||
if (Convert.ToBoolean(r["aktiv"]) == false)
|
||||
{
|
||||
nodeAdv.Font = new System.Drawing.Font(nodeAdv.Font, FontStyle.Strikeout);
|
||||
}
|
||||
//if (Convert.ToBoolean(r["aktiv"]) == false)
|
||||
//{
|
||||
// nodeAdv.Font = new System.Drawing.Font(nodeAdv.Font, FontStyle.Strikeout);
|
||||
//}
|
||||
TreeDokumenttyp.Nodes.Add(nodeAdv);
|
||||
}
|
||||
}
|
||||
@@ -158,6 +173,40 @@ namespace OnDoc.UIControls.Administrator
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void chkboxInOffice_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (chkboxInOffice.Checked) {
|
||||
chkbearbeitungdirekt.Checked = false;
|
||||
chkfilloffice.Checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void chkbearbeitungdirekt_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (chkbearbeitungdirekt.Checked)
|
||||
{
|
||||
chkboxInOffice.Checked = false;
|
||||
chkfilloffice.Checked = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void toolstripCombobox_Fachverantwortung_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void cbboxfachverantwortung_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
update_tree();
|
||||
}
|
||||
|
||||
private void btnFilterDelete_Click(object sender, EventArgs e)
|
||||
{
|
||||
cbboxfachverantwortung.Text = "";
|
||||
txtFilter.Text = "";
|
||||
update_tree();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -21,8 +21,7 @@ using Syncfusion.Windows.Forms;
|
||||
using Syncfusion.Windows.Forms.Tools;
|
||||
using Syncfusion.WinForms.Controls;
|
||||
using VBFileManagement;
|
||||
using Windows.Devices.Sensors;
|
||||
using Windows.Media.Audio;
|
||||
|
||||
|
||||
namespace OnDoc.UIControls.Administrator
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user