예제 #1
0
        // 开始具体的调试操作
        private static void DoSomething(Application vsoApp)
        {
            Document doc = vsoApp.ActiveDocument;

            if (doc != null)
            {
                frm_CurveParameter f = frm_CurveParameter.GetUniqueInstance(vsoApp);
                //  Form1 f = new Form1();
                f.ShowDialog();
            }
        }
예제 #2
0
        private void button_FunctionCurve_Click(object sender, RibbonControlEventArgs e)
        {
            frm_CurveParameter f = frm_CurveParameter.GetUniqueInstance(Globals.ThisAddIn.Application);

            f.Show(null);
        }