ArcStrabo10.ButtonShowStraboHome.OnClick C# (CSharp) Method

OnClick() protected method

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