コード例 #1
0
ファイル: Main.g.i.cs プロジェクト: WIND4IK/AGENTIK
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Main = ((Agent24.MainWindow)(target));
                return;

            case 2:
                this.MyNotifyIcon = ((Agent24.TaskbarNotification.TaskbarIcon)(target));

            #line 17 "..\..\Main.xaml"
                this.MyNotifyIcon.TrayMouseDoubleClick += new System.Windows.RoutedEventHandler(this.MyNotifyIcon_OnTrayMouseDoubleClick);

            #line default
            #line hidden
                return;

            case 3:

            #line 20 "..\..\Main.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnLoginClick);

            #line default
            #line hidden
                return;

            case 4:

            #line 21 "..\..\Main.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnLogoutClick);

            #line default
            #line hidden
                return;

            case 5:

            #line 25 "..\..\Main.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnRefreshClick);

            #line default
            #line hidden
                return;

            case 6:

            #line 31 "..\..\Main.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnExitClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: Main.g.cs プロジェクト: WIND4IK/AGENTIK
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Main = ((Agent24.MainWindow)(target));
     return;
     case 2:
     this.MyNotifyIcon = ((Agent24.TaskbarNotification.TaskbarIcon)(target));
     
     #line 17 "..\..\Main.xaml"
     this.MyNotifyIcon.TrayMouseDoubleClick += new System.Windows.RoutedEventHandler(this.MyNotifyIcon_OnTrayMouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 20 "..\..\Main.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnLoginClick);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 21 "..\..\Main.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnLogoutClick);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 25 "..\..\Main.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnRefreshClick);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 31 "..\..\Main.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnExitClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }