Man kann jetzt einen Offset eingeben
This commit is contained in:
30
SanSystem/frmOffsetSet.cs
Normal file
30
SanSystem/frmOffsetSet.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user