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(); })); }
public void OpenPopUp(BaseUserControl control, string title = "Pop Up", int width = 300, int height = 300) { PopUpWindow ne = new PopUpWindow(control, title, width, height); ne.ShowDialog(); }