Beispiel #1
0
        public SettingsForm()
        {
            InitializeComponent();
            ToggleButton.Tag          = ToggleDeleteButton.Tag = KeybindSettings.ToggleZoom;
            ZoomInButton.Tag          = ZoomInDeleteButton.Tag = KeybindSettings.ZoomIn;
            ZoomOutButton.Tag         = ZoomOutDeleteButton.Tag = KeybindSettings.ZoomOut;
            HideOptionsButton.Tag     = HideOptionsDeleteButton.Tag = KeybindSettings.HideOptions;
            HideThumbnailsButton.Tag  = HideThumbnailsDeleteButton.Tag = KeybindSettings.HideThumbnails;
            CloseProgramButton.Tag    = CloseProgramDeleteButton.Tag = KeybindSettings.QuitProgram;
            NextImageButton.Tag       = NextImageDeleteButton.Tag = KeybindSettings.NextImage;
            PrevImageButton.Tag       = PrevImageDeleteButton.Tag = KeybindSettings.PrevImage;
            ToggleSlideshowButton.Tag = ToggleSlideshowDeleteButton.Tag = KeybindSettings.ToggleSlideshow;

            SettingsData = new KeybindSettingsData();
            LoadTextboxes();
        }