Form that presents the login fields and handles the login process.
Inheritance: System.Windows.Controls.StackPanel
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ERP;component/Views/Login/LoginRegistrationWindow.xaml", System.UriKind.Relative));
     this.childWindow = ((System.Windows.Controls.ChildWindow)(this.FindName("childWindow")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.loginForm = ((ERP.LoginUI.LoginForm)(this.FindName("loginForm")));
     this.registrationForm = ((ERP.LoginUI.RegistrationForm)(this.FindName("registrationForm")));
 }
Ejemplo n.º 2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ERP;component/Views/Login/LoginRegistrationWindow.xaml", System.UriKind.Relative));
     this.childWindow      = ((System.Windows.Controls.ChildWindow)(this.FindName("childWindow")));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.loginForm        = ((ERP.LoginUI.LoginForm)(this.FindName("loginForm")));
     this.registrationForm = ((ERP.LoginUI.RegistrationForm)(this.FindName("registrationForm")));
 }