Esempio n. 1
0
 public CreateMod(ContentControl control, ModMenu modmenu, Library library)
 {
     InitializeComponent();
     _contentControl = control;
     _modmenu        = modmenu;
     _library        = library;
 }
Esempio n. 2
0
        public ModControl(string modName, string gameName, string description, string zipUrl, string creator, GameProfile thisGame, ModMenu modmenu)
        {
            InitializeComponent();
            _modName     = modName;
            _gameName    = gameName;
            _description = description;
            _zipUrl      = zipUrl;
            _creator     = creator;
            _thisGame    = thisGame;
            _modMenu     = modmenu;

            labelGameName.Text     = _gameName;
            labelModName.Text      = _modName;
            buttonDescription.Text = _description;
            tbCreator.Text         = _creator;

            if (Lazydata.ParrotData.UiDarkMode)
            {
                uiGrid.Background            = new SolidColorBrush(System.Windows.Media.Color.FromArgb(0xFF, 0x36, 0x36, 0x36));
                buttonDescription.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(0xFF, 0x55, 0x55, 0x55));
            }
        }