Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DlgHotkeys = ((PNotes.NET.WndHotkeys)(target));

            #line 18 "..\..\WndHotkeys.xaml"
                this.DlgHotkeys.Loaded += new System.Windows.RoutedEventHandler(this.DlgHotkeys_Loaded);

            #line default
            #line hidden

            #line 19 "..\..\WndHotkeys.xaml"
                this.DlgHotkeys.SourceInitialized += new System.EventHandler(this.DlgHotkeys_SourceInitialized);

            #line default
            #line hidden

            #line 20 "..\..\WndHotkeys.xaml"
                this.DlgHotkeys.Closed += new System.EventHandler(this.DlgHotkeys_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.tabHK = ((System.Windows.Controls.TabControl)(target));

            #line 28 "..\..\WndHotkeys.xaml"
                this.tabHK.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabHK_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.tbpHKMain = ((System.Windows.Controls.TabItem)(target));
                return;

            case 4:
                this.tvwHKMain = ((System.Windows.Controls.TreeView)(target));

            #line 30 "..\..\WndHotkeys.xaml"
                this.tvwHKMain.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.tvwHKMain_SelectedItemChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.tbpHKNote = ((System.Windows.Controls.TabItem)(target));
                return;

            case 6:
                this.tvwHKNote = ((System.Windows.Controls.TreeView)(target));

            #line 33 "..\..\WndHotkeys.xaml"
                this.tvwHKNote.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.tvwHKNote_SelectedItemChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.tbpHKEdit = ((System.Windows.Controls.TabItem)(target));
                return;

            case 8:
                this.tvwHKEdit = ((System.Windows.Controls.TreeView)(target));

            #line 36 "..\..\WndHotkeys.xaml"
                this.tvwHKEdit.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.tvwHKEdit_SelectedItemChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.tbpHKGroups = ((System.Windows.Controls.TabItem)(target));
                return;

            case 10:
                this.tvwHKGroups = ((System.Windows.Controls.TreeView)(target));

            #line 39 "..\..\WndHotkeys.xaml"
                this.tvwHKGroups.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.tvwHKGroups_SelectedItemChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.txtHotKey = ((System.Windows.Controls.TextBox)(target));

            #line 49 "..\..\WndHotkeys.xaml"
                this.txtHotKey.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtHotKey_PreviewKeyDown);

            #line default
            #line hidden

            #line 49 "..\..\WndHotkeys.xaml"
                this.txtHotKey.LostFocus += new System.Windows.RoutedEventHandler(this.txtHotKey_LostFocus);

            #line default
            #line hidden

            #line 49 "..\..\WndHotkeys.xaml"
                this.txtHotKey.GotFocus += new System.Windows.RoutedEventHandler(this.txtHotKey_GotFocus);

            #line default
            #line hidden

            #line 49 "..\..\WndHotkeys.xaml"
                this.txtHotKey.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtHotKey_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\WndHotkeys.xaml"
                this.txbWatermark.GotFocus += new System.Windows.RoutedEventHandler(this.txbWatermark_GotFocus);

            #line default
            #line hidden

            #line 50 "..\..\WndHotkeys.xaml"
                this.txbWatermark.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.txbWatermark_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 13:
                this.cmdDeleteHK = ((PNotes.NET.SmallButton)(target));
                return;

            case 14:
                this.cmdOK = ((System.Windows.Controls.Button)(target));

            #line 52 "..\..\WndHotkeys.xaml"
                this.cmdOK.Click += new System.Windows.RoutedEventHandler(this.cmdOK_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.cmdCancel = ((System.Windows.Controls.Button)(target));
                return;

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

            case 17:
                this.expDeterminated = ((System.Windows.Controls.Expander)(target));
                return;

            case 18:
                this.grdDefHotkeys = ((System.Windows.Controls.ListView)(target));

            #line 57 "..\..\WndHotkeys.xaml"
                this.grdDefHotkeys.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.grdDefHotkeys_MouseDoubleClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.DlgHotkeys = ((PNotes.NET.WndHotkeys)(target));
     
     #line 18 "..\..\WndHotkeys.xaml"
     this.DlgHotkeys.Loaded += new System.Windows.RoutedEventHandler(this.DlgHotkeys_Loaded);
     
     #line default
     #line hidden
     
     #line 19 "..\..\WndHotkeys.xaml"
     this.DlgHotkeys.SourceInitialized += new System.EventHandler(this.DlgHotkeys_SourceInitialized);
     
     #line default
     #line hidden
     
     #line 20 "..\..\WndHotkeys.xaml"
     this.DlgHotkeys.Closed += new System.EventHandler(this.DlgHotkeys_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.tabHK = ((System.Windows.Controls.TabControl)(target));
     
     #line 28 "..\..\WndHotkeys.xaml"
     this.tabHK.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabHK_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.tbpHKMain = ((System.Windows.Controls.TabItem)(target));
     return;
     case 4:
     this.tvwHKMain = ((System.Windows.Controls.TreeView)(target));
     
     #line 30 "..\..\WndHotkeys.xaml"
     this.tvwHKMain.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.tvwHKMain_SelectedItemChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.tbpHKNote = ((System.Windows.Controls.TabItem)(target));
     return;
     case 6:
     this.tvwHKNote = ((System.Windows.Controls.TreeView)(target));
     
     #line 33 "..\..\WndHotkeys.xaml"
     this.tvwHKNote.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.tvwHKNote_SelectedItemChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     this.tbpHKEdit = ((System.Windows.Controls.TabItem)(target));
     return;
     case 8:
     this.tvwHKEdit = ((System.Windows.Controls.TreeView)(target));
     
     #line 36 "..\..\WndHotkeys.xaml"
     this.tvwHKEdit.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.tvwHKEdit_SelectedItemChanged);
     
     #line default
     #line hidden
     return;
     case 9:
     this.tbpHKGroups = ((System.Windows.Controls.TabItem)(target));
     return;
     case 10:
     this.tvwHKGroups = ((System.Windows.Controls.TreeView)(target));
     
     #line 39 "..\..\WndHotkeys.xaml"
     this.tvwHKGroups.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.tvwHKGroups_SelectedItemChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.txtHotKey = ((System.Windows.Controls.TextBox)(target));
     
     #line 49 "..\..\WndHotkeys.xaml"
     this.txtHotKey.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtHotKey_PreviewKeyDown);
     
     #line default
     #line hidden
     
     #line 49 "..\..\WndHotkeys.xaml"
     this.txtHotKey.LostFocus += new System.Windows.RoutedEventHandler(this.txtHotKey_LostFocus);
     
     #line default
     #line hidden
     
     #line 49 "..\..\WndHotkeys.xaml"
     this.txtHotKey.GotFocus += new System.Windows.RoutedEventHandler(this.txtHotKey_GotFocus);
     
     #line default
     #line hidden
     
     #line 49 "..\..\WndHotkeys.xaml"
     this.txtHotKey.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtHotKey_TextChanged);
     
     #line default
     #line hidden
     return;
     case 12:
     this.txbWatermark = ((System.Windows.Controls.TextBlock)(target));
     
     #line 50 "..\..\WndHotkeys.xaml"
     this.txbWatermark.GotFocus += new System.Windows.RoutedEventHandler(this.txbWatermark_GotFocus);
     
     #line default
     #line hidden
     
     #line 50 "..\..\WndHotkeys.xaml"
     this.txbWatermark.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.txbWatermark_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 13:
     this.cmdDeleteHK = ((PNotes.NET.SmallButton)(target));
     return;
     case 14:
     this.cmdOK = ((System.Windows.Controls.Button)(target));
     
     #line 52 "..\..\WndHotkeys.xaml"
     this.cmdOK.Click += new System.Windows.RoutedEventHandler(this.cmdOK_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.cmdCancel = ((System.Windows.Controls.Button)(target));
     return;
     case 16:
     this.lblRestrictedHotkeys = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 17:
     this.expDeterminated = ((System.Windows.Controls.Expander)(target));
     return;
     case 18:
     this.grdDefHotkeys = ((System.Windows.Controls.ListView)(target));
     
     #line 57 "..\..\WndHotkeys.xaml"
     this.grdDefHotkeys.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.grdDefHotkeys_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.PnBaloon = ((PNotes.NET.Baloon)(target));
     
     #line 10 "..\..\Baloon.xaml"
     this.PnBaloon.SizeChanged += new System.Windows.SizeChangedEventHandler(this.PnBaloon_SizeChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 57 "..\..\Baloon.xaml"
     ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.Storyboard_Completed);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 68 "..\..\Baloon.xaml"
     ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.Storyboard_Completed);
     
     #line default
     #line hidden
     return;
     case 4:
     this.FadeIn_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 5:
     this.FadeBack_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 6:
     this.FadeBack_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 7:
     this.FadeOut_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 8:
     this.BaloonGrid = ((System.Windows.Controls.Grid)(target));
     
     #line 111 "..\..\Baloon.xaml"
     this.BaloonGrid.MouseEnter += new System.Windows.Input.MouseEventHandler(this.BaloonGrid_MouseEnter);
     
     #line default
     #line hidden
     return;
     case 9:
     this.BaloonImage = ((System.Windows.Controls.Image)(target));
     return;
     case 10:
     this.cmdCancel = ((PNotes.NET.SmallButton)(target));
     return;
     case 11:
     this.BaloonTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.BaloonTextRun = ((System.Windows.Documents.Run)(target));
     return;
     case 13:
     this.BaloonLinkRun = ((System.Windows.Documents.Run)(target));
     
     #line 153 "..\..\Baloon.xaml"
     this.BaloonLinkRun.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.BaloonLinkRun_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PnBaloon = ((PNotes.NET.Baloon)(target));

            #line 10 "..\..\Baloon.xaml"
                this.PnBaloon.SizeChanged += new System.Windows.SizeChangedEventHandler(this.PnBaloon_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:

            #line 57 "..\..\Baloon.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.Storyboard_Completed);

            #line default
            #line hidden
                return;

            case 3:

            #line 68 "..\..\Baloon.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.Storyboard_Completed);

            #line default
            #line hidden
                return;

            case 4:
                this.FadeIn_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 5:
                this.FadeBack_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 6:
                this.FadeBack_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 7:
                this.FadeOut_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

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

            #line 111 "..\..\Baloon.xaml"
                this.BaloonGrid.MouseEnter += new System.Windows.Input.MouseEventHandler(this.BaloonGrid_MouseEnter);

            #line default
            #line hidden
                return;

            case 9:
                this.BaloonImage = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.cmdCancel = ((PNotes.NET.SmallButton)(target));
                return;

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

            case 12:
                this.BaloonTextRun = ((System.Windows.Documents.Run)(target));
                return;

            case 13:
                this.BaloonLinkRun = ((System.Windows.Documents.Run)(target));

            #line 153 "..\..\Baloon.xaml"
                this.BaloonLinkRun.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.BaloonLinkRun_MouseLeftButtonDown);

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