Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mainwindow_root = ((AMD.AMDPlayer.MainWindow)(target));
     
     #line 1080 "..\..\MainWindow.xaml"
     this.mainwindow_root.Loaded += new System.Windows.RoutedEventHandler(this.mainwindow_root_loaded);
     
     #line default
     #line hidden
     
     #line 1081 "..\..\MainWindow.xaml"
     this.mainwindow_root.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.mainwindow_toggle_fullscreen);
     
     #line default
     #line hidden
     
     #line 1082 "..\..\MainWindow.xaml"
     this.mainwindow_root.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.mainWindow_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 1083 "..\..\MainWindow.xaml"
     this.mainwindow_root.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.mainwindow_root_show_components);
     
     #line default
     #line hidden
     
     #line 1084 "..\..\MainWindow.xaml"
     this.mainwindow_root.MouseMove += new System.Windows.Input.MouseEventHandler(this.mainwindow_root_show_components);
     
     #line default
     #line hidden
     
     #line 1085 "..\..\MainWindow.xaml"
     this.mainwindow_root.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.mainwindow_root_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 1086 "..\..\MainWindow.xaml"
     this.mainwindow_root.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.mainwindow_root_KeyDown);
     
     #line default
     #line hidden
     
     #line 1087 "..\..\MainWindow.xaml"
     this.mainwindow_root.KeyUp += new System.Windows.Input.KeyEventHandler(this.mainwindow_root_KeyUp);
     
     #line default
     #line hidden
     
     #line 1088 "..\..\MainWindow.xaml"
     this.mainwindow_root.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.mainwindow_root_MouseWheel);
     
     #line default
     #line hidden
     
     #line 1088 "..\..\MainWindow.xaml"
     this.mainwindow_root.Closing += new System.ComponentModel.CancelEventHandler(this.mainwindow_root_Closing);
     
     #line default
     #line hidden
     return;
     case 3:
     this.border_main = ((System.Windows.Controls.Border)(target));
     return;
     case 4:
     this.root = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.grid_media = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.gs_main = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 7:
     this.lbl_title = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.component_state_flag = ((System.Windows.Controls.Border)(target));
     return;
     case 9:
     this.btn_exit = ((System.Windows.Controls.Button)(target));
     
     #line 1815 "..\..\MainWindow.xaml"
     this.btn_exit.Click += new System.Windows.RoutedEventHandler(this.btn_exit_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.border_media_element = ((System.Windows.Controls.Border)(target));
     
     #line 1826 "..\..\MainWindow.xaml"
     this.border_media_element.Drop += new System.Windows.DragEventHandler(this.ml_main_Drop);
     
     #line default
     #line hidden
     return;
     case 11:
     this.ml_main = ((System.Windows.Controls.MediaElement)(target));
     
     #line 1839 "..\..\MainWindow.xaml"
     this.ml_main.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ml_main_MouseDown);
     
     #line default
     #line hidden
     
     #line 1840 "..\..\MainWindow.xaml"
     this.ml_main.MediaOpened += new System.Windows.RoutedEventHandler(this.ml_main_MediaOpened);
     
     #line default
     #line hidden
     
     #line 1841 "..\..\MainWindow.xaml"
     this.ml_main.MediaFailed += new System.EventHandler<System.Windows.ExceptionRoutedEventArgs>(this.ml_main_MediaFailed);
     
     #line default
     #line hidden
     
     #line 1842 "..\..\MainWindow.xaml"
     this.ml_main.MediaEnded += new System.Windows.RoutedEventHandler(this.ml_main_MediaEnded);
     
     #line default
     #line hidden
     return;
     case 12:
     this.lv_playlist = ((System.Windows.Controls.ListView)(target));
     
     #line 1855 "..\..\MainWindow.xaml"
     this.lv_playlist.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lv_playlist_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 1856 "..\..\MainWindow.xaml"
     this.lv_playlist.KeyDown += new System.Windows.Input.KeyEventHandler(this.lv_playlist_KeyDown);
     
     #line default
     #line hidden
     
     #line 1857 "..\..\MainWindow.xaml"
     this.lv_playlist.Drop += new System.Windows.DragEventHandler(this.lv_playlist_Drop);
     
     #line default
     #line hidden
     return;
     case 13:
     this.lv_playlist_context_sort_by_lable = ((System.Windows.Controls.MenuItem)(target));
     
     #line 1861 "..\..\MainWindow.xaml"
     this.lv_playlist_context_sort_by_lable.Click += new System.Windows.RoutedEventHandler(this.lv_playlist_context_sort_by_lable_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.lv_playlist_context_sort_by_path = ((System.Windows.Controls.MenuItem)(target));
     
     #line 1862 "..\..\MainWindow.xaml"
     this.lv_playlist_context_sort_by_path.Click += new System.Windows.RoutedEventHandler(this.lv_playlist_context_sort_by_path_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.lv_context_clear_playlist = ((System.Windows.Controls.MenuItem)(target));
     
     #line 1865 "..\..\MainWindow.xaml"
     this.lv_context_clear_playlist.Click += new System.Windows.RoutedEventHandler(this.lv_context_clear_playlist_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.col1 = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 17:
     this.helperField = ((System.Windows.Controls.Grid)(target));
     return;
     case 18:
     this.grid_bottom_controls = ((System.Windows.Controls.Grid)(target));
     return;
     case 19:
     this.grid_sl_progress = ((System.Windows.Controls.Grid)(target));
     
     #line 1900 "..\..\MainWindow.xaml"
     this.grid_sl_progress.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.sl_progress_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 1901 "..\..\MainWindow.xaml"
     this.grid_sl_progress.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.sl_progress_PreviewMouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 1902 "..\..\MainWindow.xaml"
     this.grid_sl_progress.MouseMove += new System.Windows.Input.MouseEventHandler(this.grid_sl_progress_MouseMove);
     
     #line default
     #line hidden
     return;
     case 20:
     this.tt_sl_progress = ((System.Windows.Controls.ToolTip)(target));
     return;
     case 21:
     this.sl_progress = ((System.Windows.Controls.Slider)(target));
     
     #line 1916 "..\..\MainWindow.xaml"
     this.sl_progress.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.sl_progress_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 22:
     this.grid_btn_duration_volume = ((System.Windows.Controls.Grid)(target));
     return;
     case 23:
     this.panel_buttons = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 24:
     this.btn_open = ((System.Windows.Controls.Button)(target));
     
     #line 1933 "..\..\MainWindow.xaml"
     this.btn_open.Click += new System.Windows.RoutedEventHandler(this.btn_open_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.btn_prev = ((System.Windows.Controls.Button)(target));
     
     #line 1934 "..\..\MainWindow.xaml"
     this.btn_prev.Click += new System.Windows.RoutedEventHandler(this.btn_prev_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     this.btn_play = ((System.Windows.Controls.Button)(target));
     
     #line 1935 "..\..\MainWindow.xaml"
     this.btn_play.Click += new System.Windows.RoutedEventHandler(this.btn_play_Click);
     
     #line default
     #line hidden
     return;
     case 27:
     this.btn_stop = ((System.Windows.Controls.Button)(target));
     
     #line 1936 "..\..\MainWindow.xaml"
     this.btn_stop.Click += new System.Windows.RoutedEventHandler(this.btn_stop_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.btn_next = ((System.Windows.Controls.Button)(target));
     
     #line 1937 "..\..\MainWindow.xaml"
     this.btn_next.Click += new System.Windows.RoutedEventHandler(this.btn_next_Click);
     
     #line default
     #line hidden
     return;
     case 29:
     this.btn_playlist_toggle = ((System.Windows.Controls.Button)(target));
     
     #line 1938 "..\..\MainWindow.xaml"
     this.btn_playlist_toggle.Click += new System.Windows.RoutedEventHandler(this.btn_playlist_toggle_Click);
     
     #line default
     #line hidden
     return;
     case 30:
     this.grid_toggle_btn = ((System.Windows.Controls.Grid)(target));
     return;
     case 31:
     this.lbl_shuffle = ((System.Windows.Controls.Label)(target));
     return;
     case 32:
     this.lbl_auto_play_next_in_folder = ((System.Windows.Controls.Label)(target));
     return;
     case 33:
     this.btn_shuffle = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     return;
     case 34:
     this.btn_auto_play_next_in_folder = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     return;
     case 35:
     this.grid_duration_and_volume = ((System.Windows.Controls.Grid)(target));
     return;
     case 36:
     this.lbl_progress = ((System.Windows.Controls.Label)(target));
     
     #line 1994 "..\..\MainWindow.xaml"
     this.lbl_progress.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lbl_progress_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 37:
     this.lbl_devider = ((System.Windows.Controls.Label)(target));
     return;
     case 38:
     this.lbl_duration = ((System.Windows.Controls.Label)(target));
     return;
     case 39:
     this.sl_volume = ((System.Windows.Controls.Slider)(target));
     return;
     case 40:
     this.main_context = ((System.Windows.Controls.ContextMenu)(target));
     return;
     case 41:
     this.main_context_aspect_submenu = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 42:
     this.main_context_aspect_normal = ((System.Windows.Controls.MenuItem)(target));
     
     #line 2029 "..\..\MainWindow.xaml"
     this.main_context_aspect_normal.Click += new System.Windows.RoutedEventHandler(this.main_context_aspect_normal_Click);
     
     #line default
     #line hidden
     return;
     case 43:
     this.main_context_aspect_zoom = ((System.Windows.Controls.MenuItem)(target));
     
     #line 2035 "..\..\MainWindow.xaml"
     this.main_context_aspect_zoom.Click += new System.Windows.RoutedEventHandler(this.main_context_aspect_zoom_Click);
     
     #line default
     #line hidden
     return;
     case 44:
     this.main_context_aspect_stretch = ((System.Windows.Controls.MenuItem)(target));
     
     #line 2041 "..\..\MainWindow.xaml"
     this.main_context_aspect_stretch.Click += new System.Windows.RoutedEventHandler(this.main_context_aspect_stretch_Click);
     
     #line default
     #line hidden
     return;
     case 45:
     this.main_context_appearance_submenu = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 46:
     this.main_context_appearence_gb_colour = ((System.Windows.Controls.MenuItem)(target));
     
     #line 2048 "..\..\MainWindow.xaml"
     this.main_context_appearence_gb_colour.Click += new System.Windows.RoutedEventHandler(this.main_context_appearence_gb_colour_Click);
     
     #line default
     #line hidden
     return;
     case 47:
     this.main_context_appearence_txt_colour = ((System.Windows.Controls.MenuItem)(target));
     
     #line 2051 "..\..\MainWindow.xaml"
     this.main_context_appearence_txt_colour.Click += new System.Windows.RoutedEventHandler(this.main_context_appearence_txt_colour_Click);
     
     #line default
     #line hidden
     return;
     case 48:
     this.main_context_view_submenu = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 49:
     this.main_context_view_always_on_top = ((System.Windows.Controls.MenuItem)(target));
     
     #line 2061 "..\..\MainWindow.xaml"
     this.main_context_view_always_on_top.Checked += new System.Windows.RoutedEventHandler(this.main_context_view_always_on_top_Changed);
     
     #line default
     #line hidden
     
     #line 2062 "..\..\MainWindow.xaml"
     this.main_context_view_always_on_top.Unchecked += new System.Windows.RoutedEventHandler(this.main_context_view_always_on_top_Changed);
     
     #line default
     #line hidden
     return;
     case 50:
     this.main_context_view_always_on_top_when_playing = ((System.Windows.Controls.MenuItem)(target));
     
     #line 2068 "..\..\MainWindow.xaml"
     this.main_context_view_always_on_top_when_playing.Checked += new System.Windows.RoutedEventHandler(this.main_context_view_always_on_top_when_playing_Changed);
     
     #line default
     #line hidden
     
     #line 2069 "..\..\MainWindow.xaml"
     this.main_context_view_always_on_top_when_playing.Unchecked += new System.Windows.RoutedEventHandler(this.main_context_view_always_on_top_when_playing_Changed);
     
     #line default
     #line hidden
     return;
     case 51:
     this.main_context_view_expanded = ((System.Windows.Controls.MenuItem)(target));
     
     #line 2076 "..\..\MainWindow.xaml"
     this.main_context_view_expanded.Checked += new System.Windows.RoutedEventHandler(this.main_context_view_expanded_Checked);
     
     #line default
     #line hidden
     
     #line 2077 "..\..\MainWindow.xaml"
     this.main_context_view_expanded.Unchecked += new System.Windows.RoutedEventHandler(this.main_context_view_expanded_Unchecked);
     
     #line default
     #line hidden
     return;
     case 52:
     this.main_context_view_fullscreen = ((System.Windows.Controls.MenuItem)(target));
     
     #line 2083 "..\..\MainWindow.xaml"
     this.main_context_view_fullscreen.Checked += new System.Windows.RoutedEventHandler(this.main_context_view_fullscreen_Checked);
     
     #line default
     #line hidden
     
     #line 2084 "..\..\MainWindow.xaml"
     this.main_context_view_fullscreen.Unchecked += new System.Windows.RoutedEventHandler(this.main_context_view_fullscreen_Unchecked);
     
     #line default
     #line hidden
     return;
     case 53:
     this.main_context_exit = ((System.Windows.Controls.MenuItem)(target));
     
     #line 2090 "..\..\MainWindow.xaml"
     this.main_context_exit.Click += new System.Windows.RoutedEventHandler(this.btn_exit_Click);
     
     #line default
     #line hidden
     return;
     case 54:
     this.tbtn_prev = ((System.Windows.Shell.ThumbButtonInfo)(target));
     
     #line 2102 "..\..\MainWindow.xaml"
     this.tbtn_prev.Click += new System.EventHandler(this.tbtn_prev_Click);
     
     #line default
     #line hidden
     return;
     case 55:
     this.tbtn_play = ((System.Windows.Shell.ThumbButtonInfo)(target));
     
     #line 2107 "..\..\MainWindow.xaml"
     this.tbtn_play.Click += new System.EventHandler(this.tbtn_play_Click);
     
     #line default
     #line hidden
     return;
     case 56:
     this.tbtn_pause = ((System.Windows.Shell.ThumbButtonInfo)(target));
     
     #line 2112 "..\..\MainWindow.xaml"
     this.tbtn_pause.Click += new System.EventHandler(this.tbtn_pause_Click);
     
     #line default
     #line hidden
     return;
     case 57:
     this.tbtn_stop = ((System.Windows.Shell.ThumbButtonInfo)(target));
     
     #line 2117 "..\..\MainWindow.xaml"
     this.tbtn_stop.Click += new System.EventHandler(this.tbtn_stop_Click);
     
     #line default
     #line hidden
     return;
     case 58:
     this.tbtn_next = ((System.Windows.Shell.ThumbButtonInfo)(target));
     
     #line 2122 "..\..\MainWindow.xaml"
     this.tbtn_next.Click += new System.EventHandler(this.tbtn_next_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainwindow_root = ((AMD.AMDPlayer.MainWindow)(target));

            #line 1080 "..\..\MainWindow.xaml"
                this.mainwindow_root.Loaded += new System.Windows.RoutedEventHandler(this.mainwindow_root_loaded);

            #line default
            #line hidden

            #line 1081 "..\..\MainWindow.xaml"
                this.mainwindow_root.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.mainwindow_toggle_fullscreen);

            #line default
            #line hidden

            #line 1082 "..\..\MainWindow.xaml"
                this.mainwindow_root.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.mainWindow_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 1083 "..\..\MainWindow.xaml"
                this.mainwindow_root.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.mainwindow_root_show_components);

            #line default
            #line hidden

            #line 1084 "..\..\MainWindow.xaml"
                this.mainwindow_root.MouseMove += new System.Windows.Input.MouseEventHandler(this.mainwindow_root_show_components);

            #line default
            #line hidden

            #line 1085 "..\..\MainWindow.xaml"
                this.mainwindow_root.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.mainwindow_root_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 1086 "..\..\MainWindow.xaml"
                this.mainwindow_root.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.mainwindow_root_KeyDown);

            #line default
            #line hidden

            #line 1087 "..\..\MainWindow.xaml"
                this.mainwindow_root.KeyUp += new System.Windows.Input.KeyEventHandler(this.mainwindow_root_KeyUp);

            #line default
            #line hidden

            #line 1088 "..\..\MainWindow.xaml"
                this.mainwindow_root.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.mainwindow_root_MouseWheel);

            #line default
            #line hidden

            #line 1088 "..\..\MainWindow.xaml"
                this.mainwindow_root.Closing += new System.ComponentModel.CancelEventHandler(this.mainwindow_root_Closing);

            #line default
            #line hidden
                return;

            case 3:
                this.border_main = ((System.Windows.Controls.Border)(target));
                return;

            case 4:
                this.root = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.grid_media = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.gs_main = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 7:
                this.lbl_title = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.component_state_flag = ((System.Windows.Controls.Border)(target));
                return;

            case 9:
                this.btn_exit = ((System.Windows.Controls.Button)(target));

            #line 1815 "..\..\MainWindow.xaml"
                this.btn_exit.Click += new System.Windows.RoutedEventHandler(this.btn_exit_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.border_media_element = ((System.Windows.Controls.Border)(target));

            #line 1826 "..\..\MainWindow.xaml"
                this.border_media_element.Drop += new System.Windows.DragEventHandler(this.ml_main_Drop);

            #line default
            #line hidden
                return;

            case 11:
                this.ml_main = ((System.Windows.Controls.MediaElement)(target));

            #line 1839 "..\..\MainWindow.xaml"
                this.ml_main.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ml_main_MouseDown);

            #line default
            #line hidden

            #line 1840 "..\..\MainWindow.xaml"
                this.ml_main.MediaOpened += new System.Windows.RoutedEventHandler(this.ml_main_MediaOpened);

            #line default
            #line hidden

            #line 1841 "..\..\MainWindow.xaml"
                this.ml_main.MediaFailed += new System.EventHandler <System.Windows.ExceptionRoutedEventArgs>(this.ml_main_MediaFailed);

            #line default
            #line hidden

            #line 1842 "..\..\MainWindow.xaml"
                this.ml_main.MediaEnded += new System.Windows.RoutedEventHandler(this.ml_main_MediaEnded);

            #line default
            #line hidden
                return;

            case 12:
                this.lv_playlist = ((System.Windows.Controls.ListView)(target));

            #line 1855 "..\..\MainWindow.xaml"
                this.lv_playlist.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lv_playlist_SelectionChanged);

            #line default
            #line hidden

            #line 1856 "..\..\MainWindow.xaml"
                this.lv_playlist.KeyDown += new System.Windows.Input.KeyEventHandler(this.lv_playlist_KeyDown);

            #line default
            #line hidden

            #line 1857 "..\..\MainWindow.xaml"
                this.lv_playlist.Drop += new System.Windows.DragEventHandler(this.lv_playlist_Drop);

            #line default
            #line hidden
                return;

            case 13:
                this.lv_playlist_context_sort_by_lable = ((System.Windows.Controls.MenuItem)(target));

            #line 1861 "..\..\MainWindow.xaml"
                this.lv_playlist_context_sort_by_lable.Click += new System.Windows.RoutedEventHandler(this.lv_playlist_context_sort_by_lable_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.lv_playlist_context_sort_by_path = ((System.Windows.Controls.MenuItem)(target));

            #line 1862 "..\..\MainWindow.xaml"
                this.lv_playlist_context_sort_by_path.Click += new System.Windows.RoutedEventHandler(this.lv_playlist_context_sort_by_path_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.lv_context_clear_playlist = ((System.Windows.Controls.MenuItem)(target));

            #line 1865 "..\..\MainWindow.xaml"
                this.lv_context_clear_playlist.Click += new System.Windows.RoutedEventHandler(this.lv_context_clear_playlist_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.col1 = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 17:
                this.helperField = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.grid_bottom_controls = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.grid_sl_progress = ((System.Windows.Controls.Grid)(target));

            #line 1900 "..\..\MainWindow.xaml"
                this.grid_sl_progress.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.sl_progress_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 1901 "..\..\MainWindow.xaml"
                this.grid_sl_progress.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.sl_progress_PreviewMouseLeftButtonUp);

            #line default
            #line hidden

            #line 1902 "..\..\MainWindow.xaml"
                this.grid_sl_progress.MouseMove += new System.Windows.Input.MouseEventHandler(this.grid_sl_progress_MouseMove);

            #line default
            #line hidden
                return;

            case 20:
                this.tt_sl_progress = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 21:
                this.sl_progress = ((System.Windows.Controls.Slider)(target));

            #line 1916 "..\..\MainWindow.xaml"
                this.sl_progress.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sl_progress_ValueChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.grid_btn_duration_volume = ((System.Windows.Controls.Grid)(target));
                return;

            case 23:
                this.panel_buttons = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 24:
                this.btn_open = ((System.Windows.Controls.Button)(target));

            #line 1933 "..\..\MainWindow.xaml"
                this.btn_open.Click += new System.Windows.RoutedEventHandler(this.btn_open_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.btn_prev = ((System.Windows.Controls.Button)(target));

            #line 1934 "..\..\MainWindow.xaml"
                this.btn_prev.Click += new System.Windows.RoutedEventHandler(this.btn_prev_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.btn_play = ((System.Windows.Controls.Button)(target));

            #line 1935 "..\..\MainWindow.xaml"
                this.btn_play.Click += new System.Windows.RoutedEventHandler(this.btn_play_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.btn_stop = ((System.Windows.Controls.Button)(target));

            #line 1936 "..\..\MainWindow.xaml"
                this.btn_stop.Click += new System.Windows.RoutedEventHandler(this.btn_stop_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.btn_next = ((System.Windows.Controls.Button)(target));

            #line 1937 "..\..\MainWindow.xaml"
                this.btn_next.Click += new System.Windows.RoutedEventHandler(this.btn_next_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.btn_playlist_toggle = ((System.Windows.Controls.Button)(target));

            #line 1938 "..\..\MainWindow.xaml"
                this.btn_playlist_toggle.Click += new System.Windows.RoutedEventHandler(this.btn_playlist_toggle_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.grid_toggle_btn = ((System.Windows.Controls.Grid)(target));
                return;

            case 31:
                this.lbl_shuffle = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.lbl_auto_play_next_in_folder = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.btn_shuffle = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 34:
                this.btn_auto_play_next_in_folder = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 35:
                this.grid_duration_and_volume = ((System.Windows.Controls.Grid)(target));
                return;

            case 36:
                this.lbl_progress = ((System.Windows.Controls.Label)(target));

            #line 1994 "..\..\MainWindow.xaml"
                this.lbl_progress.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lbl_progress_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 37:
                this.lbl_devider = ((System.Windows.Controls.Label)(target));
                return;

            case 38:
                this.lbl_duration = ((System.Windows.Controls.Label)(target));
                return;

            case 39:
                this.sl_volume = ((System.Windows.Controls.Slider)(target));
                return;

            case 40:
                this.main_context = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 41:
                this.main_context_aspect_submenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 42:
                this.main_context_aspect_normal = ((System.Windows.Controls.MenuItem)(target));

            #line 2029 "..\..\MainWindow.xaml"
                this.main_context_aspect_normal.Click += new System.Windows.RoutedEventHandler(this.main_context_aspect_normal_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.main_context_aspect_zoom = ((System.Windows.Controls.MenuItem)(target));

            #line 2035 "..\..\MainWindow.xaml"
                this.main_context_aspect_zoom.Click += new System.Windows.RoutedEventHandler(this.main_context_aspect_zoom_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.main_context_aspect_stretch = ((System.Windows.Controls.MenuItem)(target));

            #line 2041 "..\..\MainWindow.xaml"
                this.main_context_aspect_stretch.Click += new System.Windows.RoutedEventHandler(this.main_context_aspect_stretch_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.main_context_appearance_submenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 46:
                this.main_context_appearence_gb_colour = ((System.Windows.Controls.MenuItem)(target));

            #line 2048 "..\..\MainWindow.xaml"
                this.main_context_appearence_gb_colour.Click += new System.Windows.RoutedEventHandler(this.main_context_appearence_gb_colour_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.main_context_appearence_txt_colour = ((System.Windows.Controls.MenuItem)(target));

            #line 2051 "..\..\MainWindow.xaml"
                this.main_context_appearence_txt_colour.Click += new System.Windows.RoutedEventHandler(this.main_context_appearence_txt_colour_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.main_context_view_submenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 49:
                this.main_context_view_always_on_top = ((System.Windows.Controls.MenuItem)(target));

            #line 2061 "..\..\MainWindow.xaml"
                this.main_context_view_always_on_top.Checked += new System.Windows.RoutedEventHandler(this.main_context_view_always_on_top_Changed);

            #line default
            #line hidden

            #line 2062 "..\..\MainWindow.xaml"
                this.main_context_view_always_on_top.Unchecked += new System.Windows.RoutedEventHandler(this.main_context_view_always_on_top_Changed);

            #line default
            #line hidden
                return;

            case 50:
                this.main_context_view_always_on_top_when_playing = ((System.Windows.Controls.MenuItem)(target));

            #line 2068 "..\..\MainWindow.xaml"
                this.main_context_view_always_on_top_when_playing.Checked += new System.Windows.RoutedEventHandler(this.main_context_view_always_on_top_when_playing_Changed);

            #line default
            #line hidden

            #line 2069 "..\..\MainWindow.xaml"
                this.main_context_view_always_on_top_when_playing.Unchecked += new System.Windows.RoutedEventHandler(this.main_context_view_always_on_top_when_playing_Changed);

            #line default
            #line hidden
                return;

            case 51:
                this.main_context_view_expanded = ((System.Windows.Controls.MenuItem)(target));

            #line 2076 "..\..\MainWindow.xaml"
                this.main_context_view_expanded.Checked += new System.Windows.RoutedEventHandler(this.main_context_view_expanded_Checked);

            #line default
            #line hidden

            #line 2077 "..\..\MainWindow.xaml"
                this.main_context_view_expanded.Unchecked += new System.Windows.RoutedEventHandler(this.main_context_view_expanded_Unchecked);

            #line default
            #line hidden
                return;

            case 52:
                this.main_context_view_fullscreen = ((System.Windows.Controls.MenuItem)(target));

            #line 2083 "..\..\MainWindow.xaml"
                this.main_context_view_fullscreen.Checked += new System.Windows.RoutedEventHandler(this.main_context_view_fullscreen_Checked);

            #line default
            #line hidden

            #line 2084 "..\..\MainWindow.xaml"
                this.main_context_view_fullscreen.Unchecked += new System.Windows.RoutedEventHandler(this.main_context_view_fullscreen_Unchecked);

            #line default
            #line hidden
                return;

            case 53:
                this.main_context_exit = ((System.Windows.Controls.MenuItem)(target));

            #line 2090 "..\..\MainWindow.xaml"
                this.main_context_exit.Click += new System.Windows.RoutedEventHandler(this.btn_exit_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.tbtn_prev = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 2102 "..\..\MainWindow.xaml"
                this.tbtn_prev.Click += new System.EventHandler(this.tbtn_prev_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.tbtn_play = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 2107 "..\..\MainWindow.xaml"
                this.tbtn_play.Click += new System.EventHandler(this.tbtn_play_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.tbtn_pause = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 2112 "..\..\MainWindow.xaml"
                this.tbtn_pause.Click += new System.EventHandler(this.tbtn_pause_Click);

            #line default
            #line hidden
                return;

            case 57:
                this.tbtn_stop = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 2117 "..\..\MainWindow.xaml"
                this.tbtn_stop.Click += new System.EventHandler(this.tbtn_stop_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.tbtn_next = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 2122 "..\..\MainWindow.xaml"
                this.tbtn_next.Click += new System.EventHandler(this.tbtn_next_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }