31 lines
703 B
C#
31 lines
703 B
C#
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();
|
|
}
|
|
}
|
|
}
|