Update 20250117 12:30

This commit is contained in:
Stefan Hutter
2025-01-17 12:37:03 +01:00
parent 3e36dd541b
commit cfd7c00451
147 changed files with 89099 additions and 248 deletions

View File

@@ -73,6 +73,7 @@
this.lblVorname = new System.Windows.Forms.Label();
this.txtName = new System.Windows.Forms.TextBox();
this.lblName = new System.Windows.Forms.Label();
this.chkOndocMails = new System.Windows.Forms.CheckBox();
this.GrpBoxProfile.SuspendLayout();
this.GrpBoxDetails.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.cbboxTeam)).BeginInit();
@@ -331,6 +332,7 @@
//
// GrpBoxMitarbeiter
//
this.GrpBoxMitarbeiter.Controls.Add(this.chkOndocMails);
this.GrpBoxMitarbeiter.Controls.Add(this.button1);
this.GrpBoxMitarbeiter.Controls.Add(this.btnLoadImage);
this.GrpBoxMitarbeiter.Controls.Add(this.label12);
@@ -518,6 +520,16 @@
this.lblName.TabIndex = 0;
this.lblName.Text = "Name";
//
// chkOndocMails
//
this.chkOndocMails.AutoSize = true;
this.chkOndocMails.Location = new System.Drawing.Point(29, 257);
this.chkOndocMails.Name = "chkOndocMails";
this.chkOndocMails.Size = new System.Drawing.Size(128, 17);
this.chkOndocMails.TabIndex = 19;
this.chkOndocMails.Text = "OnDoc-Mails erhalten";
this.chkOndocMails.UseVisualStyleBackColor = true;
//
// MitarbeiterProfil
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -595,5 +607,6 @@
private System.Windows.Forms.Label label12;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.CheckBox chkOndocMails;
}
}

View File

@@ -216,6 +216,7 @@ namespace OnDoc.Diverses
txtfax.Text = db.dsdaten.Tables[0].Rows[0]["fax"].ToString();
txtunterschrift.Text = db.dsdaten.Tables[0].Rows[0]["unterschrift_text"].ToString();
txtfunktion.Text = db.dsdaten.Tables[0].Rows[0]["funktion"].ToString();
chkOndocMails.Checked = Convert.ToBoolean(db.dsdaten.Tables[0].Rows[0]["mailempfang"]) == true;
db = null;
// System.Drawing.Image image = System.Drawing.Image.FromFile(@"E:\Software-Projekte\OnDoc\Images\download.png");
//this.pictureBox1.Image = image;
@@ -320,6 +321,9 @@ namespace OnDoc.Diverses
db.Exec_SQL("Update mitarbeiter set name='" + txtName.Text + "', vorname='" + txtVorname.Text + "', email='" + txtmail.Text + "', telefon='" + txttelefon.Text + "' where mitarbeiternr=" + AppParams.CurrentMitarbeiter.ToString());
db.Exec_SQL("Update mitarbeiter set fax='" + txtfax.Text + "', unterschrift_text='" + txtunterschrift.Text + "', funktion='" + txtfunktion.Text + "', mutiert_am=getdate(), mutierer=" + AppParams.CurrentMitarbeiter.ToString() + " where mitarbeiternr = " + AppParams.CurrentMitarbeiter.ToString());
int mailempfang = 0;
if (chkOndocMails.Checked) { mailempfang = 1; }
db.Exec_SQL("Update mitarbeiter set mailempfang=" + mailempfang.ToString() + " where mitarbeiternr = " + AppParams.CurrentMitarbeiter.ToString());
db = null;
}
}

View File

@@ -64,7 +64,7 @@
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(168, 26);
this.label2.TabIndex = 2;
this.label2.Text = "13. Januar 2025";
this.label2.Text = "16. Januar 2025";
//
// SplashScreen
//