private void Add_Click(object sender, RoutedEventArgs e)
        {
            AddServer addServer = new AddServer();

            addServer.startWindow = this;
            addServer.Show();
        }
 public void EditContextMenu_OnClick(object sender, RoutedEventArgs e)
 {
     if (serverlist.SelectedItem != null)
     {
         Server    old = serverlist.SelectedItem as Server;
         AddServer add = new AddServer();
         add.ToModify = old;
         add.Show();
         add.startWindow = this;
     }
 }