예제 #1
0
        protected override void OnAfterRender(bool firstRender)
        {
            if (firstRender)
            {
                cmd.AddCommand(new OSCommand().Command);
                cmd.AddCommand(new VersionCommand().Command);
                foreach (var baseCommand in Commands)
                {
                    cmd.AddCommand(baseCommand.Command);
                }

                cmd.Init();
            }
        }