예제 #1
0
        //================================================================================
        void butDisableShadowsClick(object sender, EventArgs e)
        {
            const string text = "This 'disable shadows' method " +
                                "imports 'shadows.ffx' file from app\\data\\ folder." +
                                "\nGGG could change its format during major patches " +
                                "so make sure you have backup for import if something will go wrong." +
                                "\n\nDo you really want to do it?";
            const string caption = "Disable Shadows - import";

            if (MessageBox.Show(text, caption, MessageBoxButtons.YesNo) != DialogResult.Yes)
            {
                return;
            }

            CajApp.disableShadows_v32();
        }