Exemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.LoginPage = ((WpfApplication2.Workspace)(target));
     
     #line 9 "..\..\LoginForm.xaml"
     this.LoginPage.Loaded += new System.Windows.RoutedEventHandler(this.LoginPage_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Close = ((System.Windows.Controls.Button)(target));
     
     #line 25 "..\..\LoginForm.xaml"
     this.Close.Click += new System.Windows.RoutedEventHandler(this.OnCloseButtonClick);
     
     #line default
     #line hidden
     return;
     case 4:
     this.LoginForm = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.Login = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.Password = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 7:
     this.Submit = ((System.Windows.Controls.Button)(target));
     
     #line 69 "..\..\LoginForm.xaml"
     this.Submit.Click += new System.Windows.RoutedEventHandler(this.OnLoginButtonClick);
     
     #line default
     #line hidden
     return;
     case 8:
     this.Cancel = ((System.Windows.Controls.Button)(target));
     
     #line 76 "..\..\LoginForm.xaml"
     this.Cancel.Click += new System.Windows.RoutedEventHandler(this.OnCancelButtonClick);
     
     #line default
     #line hidden
     return;
     case 9:
     this.Progress = ((System.Windows.Controls.ProgressBar)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.WorkspacePage = ((WpfApplication2.Workspace)(target));
     return;
     case 2:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Close = ((System.Windows.Controls.Button)(target));
     return;
     case 4:
     this.LoginForm = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.Submit = ((System.Windows.Controls.Button)(target));
     return;
     case 6:
     this.Cancel = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.Status = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }