private void menuItemServers_Click(object sender, RoutedEventArgs e) { if (serversWindow == null) { serversWindow = new ServersWindow(); serversWindow.Show(); } }
// Tools private void MenuToolsFtpServerList_Click(object sender, EventArgs e) { var serversWindow = new ServersWindow(); serversWindow.Show(this); }
// Tools private void menuToolsWebServerList_Click(object sender, EventArgs e) { var servers = new ServersWindow(); servers.ShowDialog(this); }