public void DoCommand(object commandTag) { if (ExprCommands.Expression.Equals(commandTag)) { var mgr = m_documentRegistry.GetMostRecentDocument <ExpressionManager>(); using (ExpressionDlg dlg = new ExpressionDlg(mgr)) { dlg.ShowDialog(); } } }
public void DoCommand(object commandTag) { if (ExprCommands.Expression.Equals(commandTag)) { var mgr = m_documentRegistry.GetMostRecentDocument<ExpressionManager>(); using (ExpressionDlg dlg = new ExpressionDlg(mgr)) { dlg.ShowDialog(); } } }