Man kann jetzt einen Offset eingeben

This commit is contained in:
HuskyTeufel
2020-03-25 13:00:28 +01:00
parent bb59ec3665
commit a9320eb1f6
11 changed files with 305 additions and 21 deletions

30
SanSystem/frmOffsetSet.cs Normal file
View File

@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SanSystem
{
public partial class frmOffsetSet : Form
{
public DateTime Offset;
public frmOffsetSet(string Uhrzeit = null)
{
InitializeComponent();
if(Uhrzeit != null)
txt_offset.Text = Uhrzeit;
}
private void Btn_save_Click(object sender, EventArgs e)
{
Offset = DateTime.Parse(txt_offset.Text);
this.Close();
}
}
}