ASR.App.MainForm.OnLoad C# (CSharp) Method

OnLoad() protected method

protected OnLoad ( EventArgs args ) : void
args System.EventArgs
return void
        protected override void OnLoad(EventArgs args)
        {
            base.OnLoad(args);
            MyRibbon.CommandContext = this;
            if (Sitecore.Context.ClientPage.IsEvent) return;

            Current.ClearContext();

            ItemList.View = "Details";
            ItemList.DblClick = "OnOpen";

            string queryString = WebUtil.GetQueryString();
            if (!string.IsNullOrEmpty(queryString))
            {
                OpenReport(queryString);
            }
        }