void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.element = ((Time_Owner.ModeChanger)(target));
                return;

            case 2:
                this.leftBtn = ((Time_Owner.ButtonImage)(target));
                return;

            case 3:
                this.rightBtn = ((Time_Owner.ButtonImage)(target));
                return;

            case 4:
                this.elipseOutside_Left = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 5:
                this.elipseOutside_Right = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 6:
                this.rectangleCenter = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 7:
                this.elipseInside = ((System.Windows.Shapes.Ellipse)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnImage = ((Time_Owner.ButtonImage)(target));
                return;

            case 2:
                this.btn = ((System.Windows.Controls.Button)(target));

            #line 10 "..\..\ButtonImage.xaml"
                this.btn.Click += new System.Windows.RoutedEventHandler(this.btn_Click);

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

            #line 8 "..\..\MainWindow.xaml"
                this.window.SizeChanged += new System.Windows.SizeChangedEventHandler(this.WindowResize);

            #line default
            #line hidden
                return;

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

            case 3:
                this.rowDescription = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 4:
                this.contentDays = ((System.Windows.Controls.ListView)(target));
                return;

            case 5:
                this.taskDescription = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

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

            case 8:
                this.gridInfoPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.textTimerStage = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.textTimerTime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.textTimerTotalTime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.textTimerTotalTimeMode = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.btnPlay = ((Time_Owner.ButtonImage)(target));
                return;

            case 14:
                this.btnStop = ((Time_Owner.ButtonImage)(target));
                return;

            case 15:
                this.calendar = ((System.Windows.Controls.Calendar)(target));

            #line 60 "..\..\MainWindow.xaml"
                this.calendar.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.CalendarSelectedDatesChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.hand = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.PART_TITLEBAR = ((System.Windows.Controls.Border)(target));

            #line 66 "..\..\MainWindow.xaml"
                this.PART_TITLEBAR.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.moveRectangle_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 18:
                this.dockModePanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 19:
                this.comboboxMode = ((System.Windows.Controls.ComboBox)(target));

            #line 71 "..\..\MainWindow.xaml"
                this.comboboxMode.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboboxModeChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.gridProfile = ((System.Windows.Controls.Grid)(target));
                return;

            case 21:
                this.labelProfile = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.dockPanelProfile = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 23:
                this.gridProfileData = ((System.Windows.Controls.Grid)(target));
                return;

            case 24:
                this.textBlockExperience = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.tasksPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 26:
                this.btnDelete = ((Time_Owner.ButtonImage)(target));
                return;

            case 27:
                this.btnEdit = ((Time_Owner.ButtonImage)(target));
                return;

            case 28:
                this.labelTasks = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.underHead = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 30:

            #line 127 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnClickCalendar);

            #line default
            #line hidden
                return;

            case 31:
                this.toolbarDockPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 32:

            #line 130 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenContextMenuWithLeftClick);

            #line default
            #line hidden
                return;

            case 33:

            #line 133 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ClickOpenInfo);

            #line default
            #line hidden
                return;

            case 34:

            #line 134 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ClickExit);

            #line default
            #line hidden
                return;

            case 35:

            #line 138 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnProfileClick);

            #line default
            #line hidden
                return;

            case 36:

            #line 139 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StatisticsClick);

            #line default
            #line hidden
                return;

            case 37:

            #line 140 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenContextMenuWithLeftClick);

            #line default
            #line hidden
                return;

            case 38:

            #line 153 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SettingsClick);

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