public void OpenPSMClassDialog() { #if SILVERLIGHT #else PSMClassDialog dialog = new PSMClassDialog(); dialog.Topmost = true; dialog.Initialize(Current.Controller, PSMClass); dialog.Show(); #endif }
private void PSMAttributeTextBox_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e) { #if SILVERLIGHT #else if (PSMAttribute != null) { PSMClassDialog d = new PSMClassDialog(); d.Topmost = true; d.Initialize(Current.Controller, PSMAttribute.PSMClass, PSMAttribute); d.Show(); e.Handled = true; } #endif }