예제 #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;
 }