void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.WindowFrame = ((System.Windows.Controls.Border)(target));
     return;
     case 2:
     this.HeaderRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 3:
     this.BodyRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 4:
     this.FooterRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 5:
     this.WrapPanel1 = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 6:
     this.DockTLW = ((System.Windows.Controls.Button)(target));
     
     #line 25 "..\..\AddTaskWindow.xaml"
     this.DockTLW.Click += new System.Windows.RoutedEventHandler(this.DockTLW_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.CloseTLW = ((System.Windows.Controls.Button)(target));
     
     #line 26 "..\..\AddTaskWindow.xaml"
     this.CloseTLW.Click += new System.Windows.RoutedEventHandler(this.CloseTLW_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 28 "..\..\AddTaskWindow.xaml"
     ((System.Windows.Controls.TextBlock)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MouseDragAddTitle);
     
     #line default
     #line hidden
     return;
     case 9:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.TSevLevelCB = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 11:
     this.AnyTimeTaskLI = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 12:
     this.LowTaskLI = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 13:
     this.MediumTaskLI = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 14:
     this.HighTaskLI = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 15:
     this.CriticalTaskLI = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 16:
     this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 17:
     this.TRank = ((X_Hub.CustNumericUpDown)(target));
     return;
     case 18:
     this.textBlock3 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 19:
     this.DueDateTxt = ((System.Windows.Controls.TextBox)(target));
     return;
     case 20:
     this.textBlock4 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 21:
     this.StatusTxt = ((System.Windows.Controls.TextBox)(target));
     return;
     case 22:
     this.textBlock5 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 23:
     this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 24:
     this.NoAlerts = ((System.Windows.Controls.CheckBox)(target));
     
     #line 46 "..\..\AddTaskWindow.xaml"
     this.NoAlerts.Unchecked += new System.Windows.RoutedEventHandler(this.AllowAlerts);
     
     #line default
     #line hidden
     
     #line 46 "..\..\AddTaskWindow.xaml"
     this.NoAlerts.Checked += new System.Windows.RoutedEventHandler(this.ClearAlerts);
     
     #line default
     #line hidden
     return;
     case 25:
     this.EmailAlrt = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 26:
     this.PopupAlrt = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 27:
     this.CmdAlrt = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 28:
     this.SoundAlrt = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 29:
     this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 30:
     this.textBlock6 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 31:
     this.EmailInput = ((System.Windows.Controls.TextBox)(target));
     return;
     case 32:
     this.textBlock7 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 33:
     this.CmdInput = ((System.Windows.Controls.TextBox)(target));
     return;
     case 34:
     this.wrapPanel1 = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 35:
     this.AddBTN = ((System.Windows.Controls.Button)(target));
     
     #line 60 "..\..\AddTaskWindow.xaml"
     this.AddBTN.Click += new System.Windows.RoutedEventHandler(this.AddBTN_Click);
     
     #line default
     #line hidden
     return;
     case 36:
     this.ClearBTN = ((System.Windows.Controls.Button)(target));
     
     #line 61 "..\..\AddTaskWindow.xaml"
     this.ClearBTN.Click += new System.Windows.RoutedEventHandler(this.ClearBTN_Click);
     
     #line default
     #line hidden
     return;
     case 37:
     this.TaskDescripTxt = ((System.Windows.Controls.TextBox)(target));
     return;
     case 38:
     this.textBlock8 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 39:
     this.TaskSummary = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.WindowFrame = ((System.Windows.Controls.Border)(target));
                return;

            case 2:
                this.HeaderRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

            case 4:
                this.FooterRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 5:
                this.WrapPanel1 = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 6:
                this.DockTLW = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\AddTaskWindow.xaml"
                this.DockTLW.Click += new System.Windows.RoutedEventHandler(this.DockTLW_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.CloseTLW = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\AddTaskWindow.xaml"
                this.CloseTLW.Click += new System.Windows.RoutedEventHandler(this.CloseTLW_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 28 "..\..\AddTaskWindow.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MouseDragAddTitle);

            #line default
            #line hidden
                return;

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

            case 10:
                this.TSevLevelCB = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 11:
                this.AnyTimeTaskLI = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 12:
                this.LowTaskLI = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 13:
                this.MediumTaskLI = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 14:
                this.HighTaskLI = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 15:
                this.CriticalTaskLI = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 16:
                this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.TRank = ((X_Hub.CustNumericUpDown)(target));
                return;

            case 18:
                this.textBlock3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.DueDateTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.textBlock4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.StatusTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.textBlock5 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 24:
                this.NoAlerts = ((System.Windows.Controls.CheckBox)(target));

            #line 46 "..\..\AddTaskWindow.xaml"
                this.NoAlerts.Unchecked += new System.Windows.RoutedEventHandler(this.AllowAlerts);

            #line default
            #line hidden

            #line 46 "..\..\AddTaskWindow.xaml"
                this.NoAlerts.Checked += new System.Windows.RoutedEventHandler(this.ClearAlerts);

            #line default
            #line hidden
                return;

            case 25:
                this.EmailAlrt = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 26:
                this.PopupAlrt = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 27:
                this.CmdAlrt = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 28:
                this.SoundAlrt = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 29:
                this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 30:
                this.textBlock6 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 31:
                this.EmailInput = ((System.Windows.Controls.TextBox)(target));
                return;

            case 32:
                this.textBlock7 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 33:
                this.CmdInput = ((System.Windows.Controls.TextBox)(target));
                return;

            case 34:
                this.wrapPanel1 = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 35:
                this.AddBTN = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\AddTaskWindow.xaml"
                this.AddBTN.Click += new System.Windows.RoutedEventHandler(this.AddBTN_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.ClearBTN = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\AddTaskWindow.xaml"
                this.ClearBTN.Click += new System.Windows.RoutedEventHandler(this.ClearBTN_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.TaskDescripTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 38:
                this.textBlock8 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.TaskSummary = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }