ArcStrabo10.ButtonShowStraboHome.OnClick C# (CSharp) Метод

OnClick() защищенный Метод

protected OnClick ( ) : void
Результат 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