private void Window_Closed(object sender, EventArgs e)
 {
     DatabaseCheck.Dispose();
     Stop();
     ServerStateTimer.Change(Timeout.Infinite, Timeout.Infinite);
     Project.Dispose();
 }
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     Project.Dispose();
 }