Beispiel #1
0
        Xwt.Command ShowDialogWithParent(AddPackageSourceDialog dialog)
        {
            Xwt.WindowFrame parent = Xwt.Toolkit.CurrentEngine.WrapWindow(Toplevel);
            Xwt.Command     result = dialog.Run(parent);

            // Ensure dialog has focus after browsing for a folder.
            IdeServices.DesktopService.FocusWindow(parent);

            return(result);
        }
		Xwt.Command ShowDialogWithParent (AddPackageSourceDialog dialog)
		{
			Xwt.WindowFrame parent = Xwt.Toolkit.CurrentEngine.WrapWindow (Toplevel);
			return dialog.Run (parent);
		}
 Xwt.Command ShowDialogWithParent(AddPackageSourceDialog dialog)
 {
     Xwt.WindowFrame parent = Xwt.Toolkit.CurrentEngine.WrapWindow(Toplevel);
     return(dialog.Run(parent));
 }