Ejemplo n.º 1
0
        public ScrollView(ShellView mainWindow, PersonModel person)
        {
            this.parent = mainWindow;

            this.person = person;

            InitializeComponent();

            this.lastNameTextBlock.Text = this.person.last_name;

            personIcon.Foreground = RandomColor();
            personIcon.Text       = SetDepartmentText(person.department);
        }
Ejemplo n.º 2
0
        public ReportPageView(ShellView mainWindow, PersonModel person)
        {
            parent = mainWindow;

            FullInfo(person);

            InitializeComponent();

            idTextBlock.Text         = id;
            emailTextBlock.Text      = email;
            salaryTextBlock.Text     = salary;
            dateTextBlock.Text       = hire_date;
            firstTextBlock.Text      = first_name;
            lastTextBlock.Text       = last_name;
            ICOTextBlock.Text        = SetDepartmentText(department);
            departmentTextBlock.Text = department;
        }
Ejemplo n.º 3
0
 public HomePageView(ShellView mainWindow)
 {
     this.parent = mainWindow;
     InitializeComponent();
 }