Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.u = ((MyWpf.Skin)(target));
                return;

            case 2:
                this.colorDock = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.MdPaletteButton = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 4:
                this.CustomPaletteButton = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 5:
                this.ColorPicker = ((MaterialDesignThemes.Wpf.ColorPicker)(target));
                return;

            case 6:
                this.item = ((System.Windows.Controls.ItemsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.picker = ((MaterialDesignThemes.Wpf.ColorPicker)(target));
         return;
     }
     this._contentLoaded = true;
 }
Exemple #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.loadedTags = ((System.Windows.Controls.ListView)(target));

            #line 22 "..\..\..\Assistant\TagWizard.xaml"
                this.loadedTags.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.loadedTags_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.tagColorPicker = ((MaterialDesignThemes.Wpf.ColorPicker)(target));
                return;

            case 3:

            #line 29 "..\..\..\Assistant\TagWizard.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Save);

            #line default
            #line hidden
                return;

            case 4:
                this.Path = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:

            #line 38 "..\..\..\Assistant\TagWizard.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Open);

            #line default
            #line hidden
                return;

            case 6:

            #line 40 "..\..\..\Assistant\TagWizard.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Add);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.asd = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.IsDarkMode = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 29 "..\..\..\..\PL\UserControls\Theme_Control.xaml"
                this.IsDarkMode.Checked += new System.Windows.RoutedEventHandler(this.IsDarkMode_Checked);

            #line default
            #line hidden

            #line 30 "..\..\..\..\PL\UserControls\Theme_Control.xaml"
                this.IsDarkMode.Unchecked += new System.Windows.RoutedEventHandler(this.IsDarkMode_Unchecked);

            #line default
            #line hidden
                return;

            case 3:
                this.PrimaryColor = ((MaterialDesignThemes.Wpf.ColorPicker)(target));

            #line 43 "..\..\..\..\PL\UserControls\Theme_Control.xaml"
                this.PrimaryColor.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.PrimaryColor_PreviewMouseMove);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 53 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.movefocus2visual);

            #line default
            #line hidden
                return;

            case 2:

            #line 65 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_standard_mode_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 82 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_keyboard_mode_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.Setting_Cat_Frame = ((System.Windows.Controls.Frame)(target));
                return;

            case 5:
                this.line = ((System.Windows.Shapes.Line)(target));
                return;

            case 6:

            #line 139 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.send_change_message);

            #line default
            #line hidden
                return;

            case 7:

            #line 146 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.send_change_message);

            #line default
            #line hidden
                return;

            case 8:
                this.textbox_fps = ((System.Windows.Controls.TextBox)(target));

            #line 160 "..\..\setting_cat.xaml"
                this.textbox_fps.LostFocus += new System.Windows.RoutedEventHandler(this.fps_null2zero);

            #line default
            #line hidden

            #line 160 "..\..\setting_cat.xaml"
                this.textbox_fps.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.tb_PreviewTextInput);

            #line default
            #line hidden

            #line 160 "..\..\setting_cat.xaml"
                this.textbox_fps.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_fps_Num_limite);

            #line default
            #line hidden

            #line 160 "..\..\setting_cat.xaml"
                this.textbox_fps.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.fps_return);

            #line default
            #line hidden
                return;

            case 9:

            #line 167 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_background_color);

            #line default
            #line hidden
                return;

            case 10:

            #line 184 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.open_resources_files);

            #line default
            #line hidden
                return;

            case 11:

            #line 196 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.open_config_json);

            #line default
            #line hidden
                return;

            case 12:
                this.pop_colorpicker = ((System.Windows.Controls.Primitives.Popup)(target));

            #line 207 "..\..\setting_cat.xaml"
                this.pop_colorpicker.Closed += new System.EventHandler(this.popyoclose);

            #line default
            #line hidden

            #line 207 "..\..\setting_cat.xaml"
                this.pop_colorpicker.Opened += new System.EventHandler(this.popupopen);

            #line default
            #line hidden
                return;

            case 13:
                this.colorPicker = ((MaterialDesignThemes.Wpf.ColorPicker)(target));
                return;

            case 14:
                this.sliderR = ((System.Windows.Controls.Slider)(target));
                return;

            case 15:
                this.sliderG = ((System.Windows.Controls.Slider)(target));
                return;

            case 16:
                this.sliderB = ((System.Windows.Controls.Slider)(target));
                return;

            case 17:

            #line 221 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.button_bgcolor_white);

            #line default
            #line hidden
                return;

            case 18:

            #line 222 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.button_bgcolor_blue);

            #line default
            #line hidden
                return;

            case 19:

            #line 223 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.button_bgcolor_green);

            #line default
            #line hidden
                return;

            case 20:

            #line 224 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.button_bgcolor_red);

            #line default
            #line hidden
                return;

            case 21:

            #line 225 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.button_bgcolor_magenta);

            #line default
            #line hidden
                return;

            case 22:

            #line 226 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.button_saveBgColor);

            #line default
            #line hidden
                return;

            case 23:
                this.movefocus = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lyricsEchoWin = ((MusicPlayerWithLyrics.LyricsWindow)(target));
                return;

            case 2:
                this.LyricsContent = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.lyricsListBox = ((System.Windows.Controls.ListBox)(target));

            #line 235 "..\..\LyricsWindow.xaml"
                this.lyricsListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LyricsListBox_SelectionChanged);

            #line default
            #line hidden

            #line 235 "..\..\LyricsWindow.xaml"
                this.lyricsListBox.MouseMove += new System.Windows.Input.MouseEventHandler(this.LyricsListBox_PreviewMouseMove);

            #line default
            #line hidden

            #line 235 "..\..\LyricsWindow.xaml"
                this.lyricsListBox.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.LyricsListBox_PreviewMouseMove);

            #line default
            #line hidden
                return;

            case 4:
                this.drawerHost = ((MaterialDesignThemes.Wpf.DrawerHost)(target));
                return;

            case 5:
                this.titleBar = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 6:
                this.MenuToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 7:

            #line 243 "..\..\LyricsWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Move_window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 8:

            #line 248 "..\..\LyricsWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ToggleButton_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 251 "..\..\LyricsWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Close_Button_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 266 "..\..\LyricsWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenSetting_Button_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.ColorChooseDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));

            #line 274 "..\..\LyricsWindow.xaml"
                this.ColorChooseDialog.DialogClosing += new MaterialDesignThemes.Wpf.DialogClosingEventHandler(this.Color_DialogHost_OnDialogClosing);

            #line default
            #line hidden
                return;

            case 12:
                this.FoneColorPicker = ((MaterialDesignThemes.Wpf.ColorPicker)(target));
                return;

            case 13:
                this.SettingPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 14:

            #line 299 "..\..\LyricsWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Move_window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 15:
                this.LyricsParagraph = ((System.Windows.Controls.ListBox)(target));

            #line 305 "..\..\LyricsWindow.xaml"
                this.LyricsParagraph.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LyricsParagraph_SelectionChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.SettingFontStyle = ((System.Windows.Controls.ListBox)(target));

            #line 318 "..\..\LyricsWindow.xaml"
                this.SettingFontStyle.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.FontStyle_MouseUp);

            #line default
            #line hidden
                return;

            case 17:
                this.ChooseFontSize = ((System.Windows.Controls.ComboBox)(target));

            #line 329 "..\..\LyricsWindow.xaml"
                this.ChooseFontSize.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ChooseFontSize_SelectionChanged);

            #line default
            #line hidden
                return;

            case 18:

            #line 334 "..\..\LyricsWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenColorDialogButton);

            #line default
            #line hidden
                return;

            case 19:
                this.FontColorPreview = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 20:
                this.SettingStackPanel = ((System.Windows.Controls.ListBox)(target));

            #line 343 "..\..\LyricsWindow.xaml"
                this.SettingStackPanel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SettingStackPanel_SelectionChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.selectedLyricsStyle = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 22:
                this.defaultLyricsStyle = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 23:
                this.desktopLyrics1Style = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 24:
                this.desktopLyrics2Style = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 25:
                this.SettingToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 26:
                this.SettingStackPanelHeight = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }