Example #1
0
        private void PIMAttributeTextBox_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
        {
#if SILVERLIGHT
#else
            if (PIMAttribute != null)
            {
                PIMClassDialog d = new PIMClassDialog();
                d.Initialize(Current.Controller, PIMAttribute.PIMClass, PIMAttribute);
                d.Topmost = true;
                d.Show();
                e.Handled = true;
            }
#endif
        }
Example #2
0
        public void OpenPIMClassDialog()
        {
#if SILVERLIGHT
            //PIMClassDialog dialog = new PIMClassDialog();
            //dialog.Initialize(Current.Controller, PIMClass);
            //Current.MainWindow.FloatingWindowHost.Add(dialog);
            //dialog.ShowModal();
#else
            PIMClassDialog dialog = new PIMClassDialog();
            dialog.Topmost = true;
            dialog.Initialize(Current.Controller, PIMClass);
            dialog.Show();
            dialog.Focus();
#endif
        }