예제 #1
0
        private void LoadListViewEdits()
        {
            this.lvGames.Items.Clear();
            DummyGame newItem = new DummyGame {
                Title         = "DUMMY GAME",
                Region        = "DUMMY REGION",
                Serial        = "DUMMY SERIAL",
                Compatibility = 5,
                ImagePath     = ""
            };

            this.lvGames.Items.Add(newItem);
            DummyGame game2 = new DummyGame {
                Title         = "DUMMY GAME",
                Region        = "DUMMY REGION",
                Serial        = "DUMMY SERIAL",
                Compatibility = 5,
                ImagePath     = ""
            };

            this.lvGames.Items.Add(game2);
            DummyGame game3 = new DummyGame {
                Title         = "DUMMY GAME",
                Region        = "DUMMY REGION",
                Serial        = "DUMMY SERIAL",
                Compatibility = 5,
                ImagePath     = ""
            };

            this.lvGames.Items.Add(game3);
            DummyGame game4 = new DummyGame {
                Title         = "DUMMY GAME",
                Region        = "DUMMY REGION",
                Serial        = "DUMMY SERIAL",
                Compatibility = 5,
                ImagePath     = ""
            };

            this.lvGames.Items.Add(game4);
            this.AddItem("", "Common", "");
            this.AddItem("Image Height:", this.Theme.ListViewImageHeight, "ListViewImageHeight");
            this.AddItem("Image Width:", this.Theme.ListViewImageHeight, "ListViewImageWidth");
            this.AddItem("Tile Image Height:", this.Theme.TileViewImageHeight, "TileViewImageHeight");
            this.AddItem("Time Image Width:", this.Theme.TileViewImageWidth, "TileViewImageWidth");
            this.AddItem("Back Color:", this.Theme.ListViewBackgroundBrush, "ListViewBackgroundBrush");
            this.AddItem("Selection Color:", this.Theme.ListViewSelectionBrush, "ListViewSelectionBrush");
            this.AddItem("Alternate Row Color:", this.Theme.ListViewAlternateRowBrush, "ListViewAlternateRowBrush");
            this.AddItem("", "Font", "");
            this.AddItem("Font Family:", this.Theme.ListViewFontFamily, "ListViewFontFamily");
            this.AddItem("Font Weight:", this.Theme.ListViewFontWeight, "ListViewFontWeight");
            this.AddItem("Font Size:", this.Theme.ListViewFontSize, "ListViewFontSize");
            this.AddItem("Fore Color:", this.Theme.ListViewFontBrush, "ListViewFontBrush");
            this.AddItem("Mouse Over Color:", this.Theme.ListViewFontMouseOverBrush, "ListViewFontMouseOverBrush");
            this.AddItem("Selection Color:", this.Theme.ListViewFontSelectionBrush, "ListViewFontSelectionBrush");
            this.AddItem("", "Column", "");
            this.AddItem("Back Color:", this.Theme.GridViewHeaderBackgroundBrush, "GridViewHeaderBackgroundBrush");
            this.AddItem("Border Color:", this.Theme.GridViewHeaderBorderBrush, "GridViewHeaderBorderBrush");
            this.AddItem("Border Thickness:", this.Theme.GridViewHeaderBorderThickness, "GridViewHeaderBorderThickness");
            this.AddItem("", "Column Font", "");
            this.AddItem("Font Family:", this.Theme.GridViewHeaderFontFamily, "GridViewHeaderFontFamily");
            this.AddItem("Font Weight:", this.Theme.GridViewHeaderFontWeight, "GridViewHeaderFontWeight");
            this.AddItem("Font Size:", this.Theme.GridViewHeaderFontSize, "GridViewHeaderFontSize");
            this.AddItem("Fore Color:", this.Theme.GridViewHeaderFontBrush, "GridViewHeaderFontBrush");
            this.AddItem("Mouse Over Color:", this.Theme.GridViewMouseOverBrush, "GridViewMouseOverBrush");
        }
예제 #2
0
 private void LoadListViewEdits()
 {
     this.lvGames.Items.Clear();
     DummyGame newItem = new DummyGame {
         Title = "DUMMY GAME",
         Region = "DUMMY REGION",
         Serial = "DUMMY SERIAL",
         Compatibility = 5,
         ImagePath = ""
     };
     this.lvGames.Items.Add(newItem);
     DummyGame game2 = new DummyGame {
         Title = "DUMMY GAME",
         Region = "DUMMY REGION",
         Serial = "DUMMY SERIAL",
         Compatibility = 5,
         ImagePath = ""
     };
     this.lvGames.Items.Add(game2);
     DummyGame game3 = new DummyGame {
         Title = "DUMMY GAME",
         Region = "DUMMY REGION",
         Serial = "DUMMY SERIAL",
         Compatibility = 5,
         ImagePath = ""
     };
     this.lvGames.Items.Add(game3);
     DummyGame game4 = new DummyGame {
         Title = "DUMMY GAME",
         Region = "DUMMY REGION",
         Serial = "DUMMY SERIAL",
         Compatibility = 5,
         ImagePath = ""
     };
     this.lvGames.Items.Add(game4);
     this.AddItem("", "Common", "");
     this.AddItem("Image Height:", this.Theme.ListViewImageHeight, "ListViewImageHeight");
     this.AddItem("Image Width:", this.Theme.ListViewImageHeight, "ListViewImageWidth");
     this.AddItem("Tile Image Height:", this.Theme.TileViewImageHeight, "TileViewImageHeight");
     this.AddItem("Time Image Width:", this.Theme.TileViewImageWidth, "TileViewImageWidth");
     this.AddItem("Back Color:", this.Theme.ListViewBackgroundBrush, "ListViewBackgroundBrush");
     this.AddItem("Selection Color:", this.Theme.ListViewSelectionBrush, "ListViewSelectionBrush");
     this.AddItem("Alternate Row Color:", this.Theme.ListViewAlternateRowBrush, "ListViewAlternateRowBrush");
     this.AddItem("", "Font", "");
     this.AddItem("Font Family:", this.Theme.ListViewFontFamily, "ListViewFontFamily");
     this.AddItem("Font Weight:", this.Theme.ListViewFontWeight, "ListViewFontWeight");
     this.AddItem("Font Size:", this.Theme.ListViewFontSize, "ListViewFontSize");
     this.AddItem("Fore Color:", this.Theme.ListViewFontBrush, "ListViewFontBrush");
     this.AddItem("Mouse Over Color:", this.Theme.ListViewFontMouseOverBrush, "ListViewFontMouseOverBrush");
     this.AddItem("Selection Color:", this.Theme.ListViewFontSelectionBrush, "ListViewFontSelectionBrush");
     this.AddItem("", "Column", "");
     this.AddItem("Back Color:", this.Theme.GridViewHeaderBackgroundBrush, "GridViewHeaderBackgroundBrush");
     this.AddItem("Border Color:", this.Theme.GridViewHeaderBorderBrush, "GridViewHeaderBorderBrush");
     this.AddItem("Border Thickness:", this.Theme.GridViewHeaderBorderThickness, "GridViewHeaderBorderThickness");
     this.AddItem("", "Column Font", "");
     this.AddItem("Font Family:", this.Theme.GridViewHeaderFontFamily, "GridViewHeaderFontFamily");
     this.AddItem("Font Weight:", this.Theme.GridViewHeaderFontWeight, "GridViewHeaderFontWeight");
     this.AddItem("Font Size:", this.Theme.GridViewHeaderFontSize, "GridViewHeaderFontSize");
     this.AddItem("Fore Color:", this.Theme.GridViewHeaderFontBrush, "GridViewHeaderFontBrush");
     this.AddItem("Mouse Over Color:", this.Theme.GridViewMouseOverBrush, "GridViewMouseOverBrush");
 }