コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 14 "..\..\..\..\OtherWindows\MainMenu.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.CloseMainMenu = ((DesktopClock.Custom.CustomButton)(target));
                return;

            case 3:
                this.SizeThumbScope = ((System.Windows.Shapes.Path)(target));
                return;

            case 4:
                this.SizeThumb = ((System.Windows.Controls.Primitives.Thumb)(target));

            #line 27 "..\..\..\..\OtherWindows\MainMenu.xaml"
                this.SizeThumb.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.SizeThumb_DragDelta);

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

#line 14 "..\..\..\..\OtherWindows\OptionsMenu.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown);

#line default
#line hidden
                return;

            case 2:
                this.CloseMainMenu = ((DesktopClock.Custom.CustomButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TestComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 50 "..\..\..\..\OtherWindows\TestWindow.xaml"
                this.TestComboBox.Loaded += new System.Windows.RoutedEventHandler(this.TestComboBox_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.HueBorder = ((System.Windows.Controls.Border)(target));
                return;

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

            case 4:
                this.SaturationBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 5:
                this.TestButton = ((DesktopClock.Custom.CustomButton)(target));
                return;

            case 6:
                this.border = ((System.Windows.Controls.Border)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 14 "..\..\..\..\OtherWindows\MainMenu.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.CloseMainMenu = ((DesktopClock.Custom.CustomButton)(target));
                return;

            case 3:
                this.SizeLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.SizeThumbScope = ((System.Windows.Shapes.Path)(target));
                return;

            case 5:
                this.SizeThumb = ((System.Windows.Controls.Primitives.Thumb)(target));

            #line 27 "..\..\..\..\OtherWindows\MainMenu.xaml"
                this.SizeThumb.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.SizeThumb_DragDelta);

            #line default
            #line hidden
                return;

            case 6:
                this.CornerLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.CornerThumbScope = ((System.Windows.Shapes.Path)(target));
                return;

            case 8:
                this.CornerThumb = ((System.Windows.Controls.Primitives.Thumb)(target));

            #line 34 "..\..\..\..\OtherWindows\MainMenu.xaml"
                this.CornerThumb.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.CornerThumb_DragDelta);

            #line default
            #line hidden
                return;

            case 9:
                this.FontComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 43 "..\..\..\..\OtherWindows\MainMenu.xaml"
                this.FontComboBox.Loaded += new System.Windows.RoutedEventHandler(this.FontComboBox_Loaded);

            #line default
            #line hidden

            #line 43 "..\..\..\..\OtherWindows\MainMenu.xaml"
                this.FontComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FontComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.TimeFormat_hms = ((System.Windows.Controls.RadioButton)(target));

            #line 47 "..\..\..\..\OtherWindows\MainMenu.xaml"
                this.TimeFormat_hms.Checked += new System.Windows.RoutedEventHandler(this.TimeFormat_hms_Checked);

            #line default
            #line hidden
                return;

            case 11:
                this.TimeFormat_hm = ((System.Windows.Controls.RadioButton)(target));

            #line 48 "..\..\..\..\OtherWindows\MainMenu.xaml"
                this.TimeFormat_hm.Checked += new System.Windows.RoutedEventHandler(this.TimeFormat_hm_Checked);

            #line default
            #line hidden
                return;

            case 12:
                this.DateFormat_ymd1 = ((System.Windows.Controls.RadioButton)(target));

            #line 52 "..\..\..\..\OtherWindows\MainMenu.xaml"
                this.DateFormat_ymd1.Checked += new System.Windows.RoutedEventHandler(this.DateFormat_ymd1_Checked);

            #line default
            #line hidden
                return;

            case 13:
                this.DateFormat_ymd2 = ((System.Windows.Controls.RadioButton)(target));

            #line 53 "..\..\..\..\OtherWindows\MainMenu.xaml"
                this.DateFormat_ymd2.Checked += new System.Windows.RoutedEventHandler(this.DateFormat_ymd2_Checked);

            #line default
            #line hidden
                return;

            case 14:
                this.DateFormat_ymd3 = ((System.Windows.Controls.RadioButton)(target));

            #line 54 "..\..\..\..\OtherWindows\MainMenu.xaml"
                this.DateFormat_ymd3.Checked += new System.Windows.RoutedEventHandler(this.DateFormat_ymd3_Checked);

            #line default
            #line hidden
                return;

            case 15:
                this.WeekFormat_l = ((System.Windows.Controls.RadioButton)(target));

            #line 58 "..\..\..\..\OtherWindows\MainMenu.xaml"
                this.WeekFormat_l.Checked += new System.Windows.RoutedEventHandler(this.WeekFormat_l_Checked);

            #line default
            #line hidden
                return;

            case 16:
                this.WeekFormat_s = ((System.Windows.Controls.RadioButton)(target));

            #line 59 "..\..\..\..\OtherWindows\MainMenu.xaml"
                this.WeekFormat_s.Checked += new System.Windows.RoutedEventHandler(this.WeekFormat_s_Checked);

            #line default
            #line hidden
                return;

            case 17:
                this.ResetSettings = ((DesktopClock.Custom.CustomButton)(target));
                return;

            case 18:
                this.SaveSettingsChange = ((DesktopClock.Custom.CustomButton)(target));
                return;

            case 19:
                this.CancelSettingsChange = ((DesktopClock.Custom.CustomButton)(target));
                return;

            case 20:
                this.TestLabel1 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dcMainWindow = ((DesktopClock.DcMainWindow)(target));

            #line 9 "..\..\..\DcMainWindow.xaml"
                this.dcMainWindow.StateChanged += new System.EventHandler(this.mainWindow_StateChanged);

            #line default
            #line hidden

            #line 9 "..\..\..\DcMainWindow.xaml"
                this.dcMainWindow.Activated += new System.EventHandler(this.mainWindow_Activated);

            #line default
            #line hidden
                return;

            case 2:
                this.Time = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.Date = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.MainBackground = ((System.Windows.Controls.Border)(target));

            #line 31 "..\..\..\DcMainWindow.xaml"
                this.MainBackground.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MainBackground_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 32 "..\..\..\DcMainWindow.xaml"
                this.MainBackground.MouseEnter += new System.Windows.Input.MouseEventHandler(this.MainBackground_MouseEnter);

            #line default
            #line hidden

            #line 32 "..\..\..\DcMainWindow.xaml"
                this.MainBackground.MouseLeave += new System.Windows.Input.MouseEventHandler(this.MainBackground_MouseLeave);

            #line default
            #line hidden

            #line 32 "..\..\..\DcMainWindow.xaml"
                this.MainBackground.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.MainBackground_MouseRightButtonUp);

            #line default
            #line hidden

            #line 32 "..\..\..\DcMainWindow.xaml"
                this.MainBackground.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MainBackground_MouseDown);

            #line default
            #line hidden
                return;

            case 5:
                this.LockButton = ((DesktopClock.Custom.CustomButton)(target));
                return;

            case 6:
                this.OptionsContent = ((System.Windows.Controls.Border)(target));
                return;

            case 7:
                this.OptionsOpenMainMenu = ((DesktopClock.Custom.CustomButton)(target));
                return;

            case 8:
                this.OptionsShutdown = ((DesktopClock.Custom.CustomButton)(target));
                return;

            case 9:
                this.Options = ((DesktopClock.Custom.CustomButton)(target));
                return;

            case 10:
                this.OptionsRotateTransform = ((System.Windows.Media.RotateTransform)(target));
                return;
            }
            this._contentLoaded = true;
        }