44 lines
981 B
C#
44 lines
981 B
C#
using SanSystem.Einstellungen;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace SanSystem
|
|
{
|
|
public partial class frmSettings : Form
|
|
{
|
|
SoftwareConfiguration softwareConfiguration = null;
|
|
public frmSettings()
|
|
{
|
|
InitializeComponent();
|
|
softwareConfiguration = new SoftwareConfiguration();
|
|
|
|
txt_anlageIP.Text = softwareConfiguration.GetAnlageIP();
|
|
}
|
|
|
|
void makeBindings()
|
|
{
|
|
|
|
}
|
|
|
|
void speichern()
|
|
{
|
|
softwareConfiguration.SetAnlageIP(txt_anlageIP.Text);
|
|
|
|
}
|
|
|
|
private void btn_save_Click(object sender, EventArgs e)
|
|
{
|
|
speichern();
|
|
softwareConfiguration.SaveSettings();
|
|
this.Close();
|
|
}
|
|
}
|
|
}
|