private void MetroWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     instance = null;
 }
 public static UpdateWindow GetInstance()
 {
     if (instance == null)
         instance = new UpdateWindow();
     return instance;
 }