/// <summary>
        /// method for opening the view for creating manager
        /// </summary>
        private void CreateManagerExecute()
        {
            CreateManagerView manager = new CreateManagerView();

            manager.ShowDialog();
        }
Beispiel #2
0
        private void CreateManagerExecute()
        {
            CreateManagerView view = new CreateManagerView();

            view.ShowDialog();
        }
 public CreateManagerViewModel(CreateManagerView mainOpen)
 {
     main    = mainOpen;
     Manager = new tblManager();
 }
 // constructor
 public CreateManagerViewModel(CreateManagerView managerOpen)
 {
     user              = new tblUser();
     manager           = new tblManager();
     createManagerView = managerOpen;
 }