Example #1
0
        void PickFramework(object sender, EventArgs e)
        {
            var dlg = new PortableRuntimeSelectorDialog(target);

            try {
                var result = MessageService.RunCustomDialog(dlg, (Gtk.Window)Toplevel);
                if (result == (int)Gtk.ResponseType.Ok)
                {
                    TargetFramework = dlg.TargetFramework;
                }
            } finally {
                dlg.Destroy();
            }
        }
		void PickFramework (object sender, EventArgs e)
		{
			var dlg = new PortableRuntimeSelectorDialog (target);
			try {
				var result = MessageService.RunCustomDialog (dlg, (Gtk.Window)Toplevel);
				if (result == (int)Gtk.ResponseType.Ok) {
					TargetFramework = dlg.TargetFramework;
				}
			} finally {
				dlg.Destroy ();
			}
		}