void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.@this = ((TaskTimeLineLab.MainWindow)(target)); #line 8 "..\..\MainWindow.xaml" [email protected] += new System.EventHandler(this.MainWindow_OnLocationChanged); #line default #line hidden return; case 2: #line 9 "..\..\MainWindow.xaml" ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.UIElement_OnMouseLeftButtonDown); #line default #line hidden return; case 3: this.TaskTimeLineLab = ((TaskTimeLineLab.Control.TaskTimeLine)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.@this = ((TaskTimeLineDemo.MainWindow)(target)); return; case 2: this.TaskTimeLineLab = ((TaskTimeLineLab.Control.TaskTimeLine)(target)); #line 11 "..\..\MainWindow.xaml" this.TaskTimeLineLab.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TaskTimeLineLab_OnMouseLeftButtonDown); #line default #line hidden #line 11 "..\..\MainWindow.xaml" this.TaskTimeLineLab.TaskBarStart += new System.Windows.RoutedEventHandler(this.TaskTimeLineLab_TaskBarStart); #line default #line hidden #line 11 "..\..\MainWindow.xaml" this.TaskTimeLineLab.TaskBarEnd += new System.Windows.RoutedEventHandler(this.TaskTimeLineLab_TaskBarEnd); #line default #line hidden #line 11 "..\..\MainWindow.xaml" this.TaskTimeLineLab.TaskItemSelectChanged += new System.Windows.RoutedEventHandler(this.TaskTimeLineLab_TaskItemSelectChanged); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.@this = ((TaskTimeLineLab.Control.TaskTimeLine)(target)); return; case 2: this.editStackPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 3: this.Add = ((System.Windows.Controls.Button)(target)); #line 53 "..\..\..\Control\TaskTimeLine.xaml" this.Add.Click += new System.Windows.RoutedEventHandler(this.Add_OnClick); #line default #line hidden return; case 4: this.Del = ((System.Windows.Controls.Button)(target)); #line 58 "..\..\..\Control\TaskTimeLine.xaml" this.Del.Click += new System.Windows.RoutedEventHandler(this.Del_OnClick); #line default #line hidden return; case 5: this.PlayStackPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 6: this.Decelerate = ((System.Windows.Controls.Button)(target)); #line 65 "..\..\..\Control\TaskTimeLine.xaml" this.Decelerate.Click += new System.Windows.RoutedEventHandler(this.Decelerate_OnClick); #line default #line hidden return; case 7: this.Play_Stop = ((System.Windows.Controls.CheckBox)(target)); #line 70 "..\..\..\Control\TaskTimeLine.xaml" this.Play_Stop.Checked += new System.Windows.RoutedEventHandler(this.Play_Stop_OnChecked); #line default #line hidden #line 70 "..\..\..\Control\TaskTimeLine.xaml" this.Play_Stop.Unchecked += new System.Windows.RoutedEventHandler(this.Play_Stop_OnUnchecked); #line default #line hidden return; case 8: this.Accelerate = ((System.Windows.Controls.Button)(target)); #line 71 "..\..\..\Control\TaskTimeLine.xaml" this.Accelerate.Click += new System.Windows.RoutedEventHandler(this.Accelerate_OnClick); #line default #line hidden return; case 9: this.Stop = ((System.Windows.Controls.Button)(target)); #line 76 "..\..\..\Control\TaskTimeLine.xaml" this.Stop.Click += new System.Windows.RoutedEventHandler(this.Stop_OnClick); #line default #line hidden return; case 10: this.Enlarge = ((System.Windows.Controls.Button)(target)); #line 81 "..\..\..\Control\TaskTimeLine.xaml" this.Enlarge.Click += new System.Windows.RoutedEventHandler(this.Enlarge_OnClick); #line default #line hidden return; case 11: this.Shrink = ((System.Windows.Controls.Button)(target)); #line 86 "..\..\..\Control\TaskTimeLine.xaml" this.Shrink.Click += new System.Windows.RoutedEventHandler(this.Shrink_OnClick); #line default #line hidden return; case 12: this.CollapsedAndExpander = ((System.Windows.Controls.CheckBox)(target)); #line 93 "..\..\..\Control\TaskTimeLine.xaml" this.CollapsedAndExpander.Checked += new System.Windows.RoutedEventHandler(this.CollapsedAndExpander_OnChecked); #line default #line hidden #line 93 "..\..\..\Control\TaskTimeLine.xaml" this.CollapsedAndExpander.Unchecked += new System.Windows.RoutedEventHandler(this.CollapsedAndExpander_OnUnchecked); #line default #line hidden return; case 13: this.MaxAndMin = ((System.Windows.Controls.CheckBox)(target)); #line 94 "..\..\..\Control\TaskTimeLine.xaml" this.MaxAndMin.Checked += new System.Windows.RoutedEventHandler(this.MaxAndMin_OnChecked); #line default #line hidden #line 94 "..\..\..\Control\TaskTimeLine.xaml" this.MaxAndMin.Unchecked += new System.Windows.RoutedEventHandler(this.MaxAndMin_OnUnchecked); #line default #line hidden return; case 14: this.Close = ((System.Windows.Controls.Button)(target)); #line 95 "..\..\..\Control\TaskTimeLine.xaml" this.Close.Click += new System.Windows.RoutedEventHandler(this.Close_OnClick); #line default #line hidden return; case 15: this.ScaleBarScrollViewer = ((System.Windows.Controls.ScrollViewer)(target)); return; case 16: this.ticksPanel = ((System.Windows.Controls.StackPanel)(target)); #line 108 "..\..\..\Control\TaskTimeLine.xaml" this.ticksPanel.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.TicksPanel_OnMouseWheel); #line default #line hidden #line 108 "..\..\..\Control\TaskTimeLine.xaml" this.ticksPanel.MouseLeave += new System.Windows.Input.MouseEventHandler(this.TicksPanel_OnMouseLeave); #line default #line hidden #line 108 "..\..\..\Control\TaskTimeLine.xaml" this.ticksPanel.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TicksPanel_OnMouseLeftButtonDown); #line default #line hidden #line 108 "..\..\..\Control\TaskTimeLine.xaml" this.ticksPanel.MouseMove += new System.Windows.Input.MouseEventHandler(this.TicksPanel_OnMouseMove); #line default #line hidden #line 108 "..\..\..\Control\TaskTimeLine.xaml" this.ticksPanel.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.TicksPanel_OnMouseLeftButtonUp); #line default #line hidden return; case 17: this.taskNameGrid = ((System.Windows.Controls.Grid)(target)); return; case 18: this.TaskName_ListBox_ScrollViewer = ((System.Windows.Controls.ScrollViewer)(target)); return; case 19: this.TaskName_ListBox = ((System.Windows.Controls.ListBox)(target)); #line 112 "..\..\..\Control\TaskTimeLine.xaml" this.TaskName_ListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TaskName_ListBox_OnSelectionChanged); #line default #line hidden return; case 21: this.GridSplitter = ((System.Windows.Controls.GridSplitter)(target)); return; case 22: this.ticksGrid = ((System.Windows.Controls.Grid)(target)); return; case 23: this.TimeLineScrollViewer = ((System.Windows.Controls.ScrollViewer)(target)); #line 131 "..\..\..\Control\TaskTimeLine.xaml" this.TimeLineScrollViewer.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.TimeLineScrollViewer_OnScrollChanged); #line default #line hidden return; case 24: this.Task_ListBox = ((System.Windows.Controls.ListBox)(target)); #line 132 "..\..\..\Control\TaskTimeLine.xaml" this.Task_ListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Task_ListBox_OnSelectionChanged); #line default #line hidden return; case 26: this.TrendLine = ((TaskTimeLineLab.Control.TrendLine)(target)); return; } this._contentLoaded = true; }