ArcStrabo.ButtonShowStraboHome.OnClick C# (CSharp) 메소드

OnClick() 보호된 메소드

protected OnClick ( ) : void
리턴 void
        protected override void OnClick()
        {
            string straboPath = Environment.GetEnvironmentVariable(ArcStrabo2Extension.EnvironmentVariableSTRABO_HOME, EnvironmentVariableTarget.User);
            if (!string.IsNullOrEmpty(straboPath))
            {
                ArcMap.Application.CurrentTool = null;
                MessageBox.Show(straboPath);
            }
            else
                MessageBox.Show(ArcStrabo2Extension.ErrorMsgNoStraboHome);
        }
ButtonShowStraboHome