コード例 #1
0
        public override void Execute(object @object)
        {
            if (!Enabled)
            {
                return;
            }

            if (EditorObserver.ActiveEditor == null)
            {
                return;
            }

            if (EditorObserver.ActiveEditor.IsSelection)
            {
                return;
            }

            using (var ed = new EquationDialog())
            {
                if (ed.ShowDialog(EditorObserver.DialogOwner) == DialogResult.OK)
                {

                }
            }
        }
コード例 #2
0
        public override void Execute(object @object)
        {
            if (!Enabled)
            {
                return;
            }

            //if (EditorObserver.ActiveEditor.IsSelection)
            //{
            //    return;
            //}

            using (var ed = new EquationDialog())
            {
                ed.InitializeData();

                if (ed.ShowDialog(EditorObserver.DialogOwner) == DialogResult.OK)
                {

                }
            }
        }