Exemplo n.º 1
0
 public Login OpenLogin()
 {
     HideWindows();
     if (_ucLogin == null)
     {
         _ucLogin = new Login();
     }
     _ucLogin.Show();
     _ucLogin.BringToFront();
     return _ucLogin;
 }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.windowLogin = ((AxiomIRISRibbon.Login)(target));
     return;
     case 2:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.btnOK = ((System.Windows.Controls.Button)(target));
     
     #line 14 "..\..\Login.xaml"
     this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 15 "..\..\Login.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.groupBox1 = ((Telerik.Windows.Controls.GroupBox)(target));
     return;
     case 6:
     this.bsyInd = ((Telerik.Windows.Controls.RadBusyIndicator)(target));
     return;
     case 7:
     this.tbUserName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.tbPassword = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 9:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.tbToken = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.lblLoginMessage = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.radComboDemoLogins = ((Telerik.Windows.Controls.RadComboBox)(target));
     
     #line 27 "..\..\Login.xaml"
     this.radComboDemoLogins.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radComboDemoLogins_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 15:
     this.lblDemoLogins = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.tbEndPoint = ((System.Windows.Controls.TextBox)(target));
     return;
     case 17:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.btnDemoLogins = ((System.Windows.Controls.Button)(target));
     
     #line 36 "..\..\Login.xaml"
     this.btnDemoLogins.Click += new System.Windows.RoutedEventHandler(this.button1_Click_1);
     
     #line default
     #line hidden
     return;
     case 19:
     this.cbLocal = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 20:
     this.themepick1 = ((Telerik.Windows.Controls.RadComboBox)(target));
     
     #line 41 "..\..\Login.xaml"
     this.themepick1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RadComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 21:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }