Inheritance: ThreadedBackgroundTask
Ejemplo n.º 1
0
 /// <summary>
 /// A simple constructor the initializes the object with the given values.
 /// </summary>
 /// <param name="p_vmlViewModel">The view model that provides the data and operations for this view.</param>
 public LoginForm(LoginFormVM p_vmlViewModel, LoginFormTask p_lftLoginTask)
 {
     InitializeComponent();
     lblError.Visible      = true;
     lblError.TextChanged += new EventHandler(lblError_TextChanged);
     this.FormClosed      += new FormClosedEventHandler(LoginForm_FormClosed);
     m_lftLoginTask        = p_lftLoginTask;
     ViewModel             = p_vmlViewModel;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// A simple constructor the initializes the object with the given values.
 /// </summary>
 /// <param name="viewModel">The view model that provides the data and operations for this view.</param>
 /// <param name="loginTask"></param>
 public LoginForm(LoginFormVM viewModel, LoginFormTask loginTask)
 {
     InitializeComponent();
     lblError.Visible      = true;
     lblError.TextChanged += lblError_TextChanged;
     FormClosed           += LoginForm_FormClosed;
     _loginTask            = loginTask;
     ViewModel             = viewModel;
 }
Ejemplo n.º 3
0
		/// <summary>
		/// A simple constructor the initializes the object with the given values.
		/// </summary>
		/// <param name="p_vmlViewModel">The view model that provides the data and operations for this view.</param>
		public LoginForm(LoginFormVM p_vmlViewModel, LoginFormTask p_lftLoginTask)
        {
			InitializeComponent();
			lblError.Visible = true;
			lblError.TextChanged += new EventHandler(lblError_TextChanged);
            this.FormClosed += new FormClosedEventHandler(LoginForm_FormClosed);
            m_lftLoginTask = p_lftLoginTask;
			ViewModel = p_vmlViewModel;
		}