예제 #1
0
        private void AddMethod(object sender, EventArgs e)
        {
            if (SolutionCommon.Dte == null)
            {
                SolutionCommon.Dte = (DTE)(GetService(typeof(DTE)));
            }

            FormAddMethod frmAdd = new FormAddMethod();

            frmAdd.Show();
        }
        private void AddMethod(object sender, EventArgs e)
        {
            if (CommonContainer.CommonServer == null)
            {
                CommonContainer.CommonServer = (DTE)(GetService(typeof(DTE)));
            }

            FormAddMethod frmAdd = new FormAddMethod();

            frmAdd.Show();
        }