コード例 #1
0
ファイル: PROBLEMS.cs プロジェクト: maestrofx/UVA-Arena
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            //load volume and problems data at once
            if (LocalDatabase.IsReady)
            {
                Interactivity.ProblemDatabaseUpdated();
            }

            Stylish.SetGradientBackground(plistPanel,
                                          new Stylish.GradientStyle(Color.LightCyan, Color.PaleTurquoise, -90F));
        }
コード例 #2
0
ファイル: PROBLEMS.cs プロジェクト: oneshadab/UVA-Arena
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            //load volume and problems data at once
            if (LocalDatabase.IsReady)
            {
                Interactivity.ProblemDatabaseUpdated();
                Interactivity.CategoryDataUpdated();
            }

            Stylish.SetGradientBackground(plistPanel,
                                          new Stylish.GradientStyle(Color.LightCyan, Color.PaleTurquoise, -90F));

            if (Properties.Settings.Default.ProblemViewExpandCollapse)
            {
                CollapsePanel2View();
            }
        }