Esempio n. 1
0
 private void TeamLeader_Load(object sender, EventArgs e)
 {
     //user profile
     GlobalStyle.SetProfile(profile1);
     GlobalStyle.SetStyleForm(Controls);
     GlobalStyle.setAccessibility(accessibility1);
     GlobalStyle.SetSizeForm(this);
 }
 private void CompanyWorker_Load(object sender, EventArgs e)
 {
     //user profile-set user controller
     GlobalStyle.SetProfile(profile1);
     GlobalStyle.SetStyleForm(Controls);
     GlobalStyle.setClock(radClock1);
     GlobalStyle.setAccessibility(accessibility1);
     GlobalStyle.SetSizeForm(this);
 }
        private void GraphHoursStatus_Load(object sender, EventArgs e)
        {
            GlobalStyle.SetStyleForm(Controls);
            GlobalStyle.SetMiddle(gb_graf_hours);
            List <Project> projects = TaskRequests.GetProjectsManager(GlobalProp.CurrentUser.UserId);

            if (projects != null)
            {
                dropDown_projects.Items.AddRange(projects.Select(p => new RadListDataItem()
                {
                    Tag = p, Text = p.ProjectName
                }));
                if (project != null && project.ProjectId != 0)
                {
                    dropDown_projects.SelectedIndex = projects.FindIndex(p => p.ProjectId == project.ProjectId);
                }
            }
        }
Esempio n. 4
0
 public void AddStyle()
 {
     GlobalStyle.SetStyleForm(Controls);
     GlobalStyle.SetMiddle(gb_preccence);
 }
Esempio n. 5
0
 public AddProject()
 {
     InitializeComponent();
     GlobalStyle.SetStyleForm(Controls);
 }
Esempio n. 6
0
 public void Style()
 {
     GlobalStyle.SetStyleForm(Controls);
     grid_worker_project.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
 }
Esempio n. 7
0
 public void AddStyle()
 {
     GlobalStyle.SetStyleForm(Controls);
     GlobalStyle.SetMiddle(graph_status_hours_for_projects);
 }
 public void AddStyle()
 {
     GlobalStyle.SetStyleForm(Controls);
     GlobalStyle.SetMiddle(dvg_worker_projects);
 }
Esempio n. 9
0
 public void Style()
 {
     GlobalStyle.SetMiddle(gb_hours_worker);
     GlobalStyle.SetStyleForm(Controls);
     dgv_projectHours.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
 }
Esempio n. 10
0
 public void AddStyle()
 {
     GlobalStyle.SetStyleForm(Controls);
     GlobalStyle.SetMiddle(gb_email);
 }
Esempio n. 11
0
 private void AddWorker_Load(object sender, EventArgs e)
 {
     //get all departments
     FillComboxDepartments();
     GlobalStyle.SetStyleForm(Controls);
 }