public void OpenPopUp(BaseUserControl control, string title = "Testing Window", int width = 300, int height = 300)
 {
     TryCatch.BeginTryCatch(new Action(() => {
         PopUpWindow ne = new PopUpWindow(control, title, width, height);
         ne.ShowDialog();
     }));
     
 }