Beispiel #1
0
        public PrestigeCustomizationViewerVertical(PrestigeCustomizationsViewerAdministrator admin, bool prestige)
        {
            InitializeComponent();
            this.MaxHeight = SystemParameters.MaximizedPrimaryScreenHeight;
            LoadStyle();
            _admin    = admin;
            _prestige = prestige;

            _admin.LoadPrestigeCustomizations += _admin_LoadPrestigeCustomizations;

            this.MouseDown += Window_MouseDown;
            this.Closed    += PrestigeCustomizationViewerVertical_Closed;

            this.bg_customs.MouseWheel += Bg_customs_MouseWheel;
        }
        public PrestigeCustomizationsViewerHorizontal(PrestigeCustomizationsViewerAdministrator admin, bool prestige)
        {
            InitializeComponent();
            this.MaxHeight = SystemParameters.MaximizedPrimaryScreenHeight;
            _admin         = admin;
            _prestige      = prestige;

            _admin.LoadPrestigeCustomizations += LoadPrestigeCustomizations;

            this.MouseDown += Window_MouseDown;
            this.Closed    += PrestigeCustomizationsViewer_Closed;
            LoadStyle();

            this.btn_unlock.MouseLeftButtonDown += Btn_unlock_MouseLeftButtonDown;

            this.bg_customs.MouseWheel += Bg_customs_MouseWheel;
        }