Exemple #1
0
		public static void ShowFeedbackWindow ()
		{
			if (currentFeedbackDialog == null) {
				var p = FeedbackPositionGetter ();
				currentFeedbackDialog = new FeedbackDialog (p.X, p.Y);
				currentFeedbackDialog.Show ();
				currentFeedbackDialog.Destroyed += delegate {
					currentFeedbackDialog = null;
				};
			} else
				currentFeedbackDialog.Show ();
		}
		public static void ShowFeedbackWindow ()
		{
			if (string.IsNullOrEmpty (feedbackUrl.Value))
				return;

			if (currentFeedbackDialog == null) {
				var p = FeedbackPositionGetter ();
				currentFeedbackDialog = new FeedbackDialog (p.X, p.Y);
				currentFeedbackDialog.Show ();
				currentFeedbackDialog.Destroyed += delegate {
					currentFeedbackDialog = null;
				};
			} else
				currentFeedbackDialog.Show ();
		}
		public static void ShowFeedbackWidnow ()
		{
			var p = FeedbackPositionGetter ();
			FeedbackDialog d = new FeedbackDialog (p.X, p.Y);
			d.Show ();
		}