Beispiel #1
0
 private void exit_Click(object sender, RoutedEventArgs e)
 {
     //zapis
     Write.SaveSettings(SettingsPanel.Path);
     Write.SaveServerData(ServerControlPanel.GetServers());
     Application.Current.Shutdown();
 }
 public ServerControl(Server server, ServerControlPanel cp, ConsolePanel console)
 {
     Console     = console;
     this.Server = server;
     InitializeComponent();
     this.ServerName.Content = server.Name;
     this.cp = cp;
 }