Esempio n. 1
0
        public static void ShowExpressionEvaluator(string expression)
        {
            ExpressionEvaluatorDialog dlg = new ExpressionEvaluatorDialog();

            if (expression != null)
            {
                dlg.Expression = expression;
            }
            MessageService.ShowCustomDialog(dlg);
        }
Esempio n. 2
0
        public static void ShowExpressionEvaluator(string expression)
        {
            var dlg = new ExpressionEvaluatorDialog();

            if (expression != null)
            {
                dlg.Expression = expression;
            }
            dlg.TransientFor = MessageService.RootWindow;
            dlg.Show();
            MessageService.PlaceDialog(dlg, MessageService.RootWindow);
        }
Esempio n. 3
0
		public static void ShowExpressionEvaluator (string expression)
		{
			ExpressionEvaluatorDialog dlg = new ExpressionEvaluatorDialog ();
			if (expression != null)
				dlg.Expression = expression;
			MessageService.ShowCustomDialog (dlg);
		}