Example #1
0
        /**
         * Handler for the Console.AddMessage event.
         */
        protected void handle_add_message(object sender, EventArgs e)
        {
            CUTS.Web.UI.Console console = (CUTS.Web.UI.Console)sender;

            if (!console.Visible)
            {
                console.Visible = true;
            }
        }
Example #2
0
        /**
         * Handler for the Consol.ClearMessages event.
         */
        protected void handle_clear_message(object sender, EventArgs e)
        {
            CUTS.Web.UI.Console console = (CUTS.Web.UI.Console)sender;

            if (console.Visible)
            {
                console.Visible = false;
            }
        }