Ejemplo n.º 1
0
 public FormProject(sql3238345Entities context)
 {
     InitializeComponent();
     this.context     = context;
     project          = new project();
     this.DataContext = project;
 }
 public FormRole(sql3238345Entities context)
 {
     InitializeComponent();
     this.context     = context;
     role             = new role();
     this.DataContext = role;
 }
 public FormRole(role role, sql3238345Entities context)
 {
     InitializeComponent();
     this.role        = role;
     this.context     = context;
     this.DataContext = role;
     update           = true;
 }
 public FormTask(task task, sql3238345Entities context)
 {
     InitializeComponent();
     this.task        = task;
     this.context     = context;
     this.DataContext = task;
     update           = true;
 }
Ejemplo n.º 5
0
 public FormProject(project project, sql3238345Entities context)
 {
     InitializeComponent();
     this.project     = project;
     this.context     = context;
     this.DataContext = project;
     update           = true;
 }
 public FormTask(project project, sql3238345Entities context)
 {
     InitializeComponent();
     this.project     = project;
     this.context     = context;
     task             = new task();
     task.project_id  = project.id;
     this.DataContext = task;
 }
 public FormUser(user user, sql3238345Entities context)
 {
     this.user    = user;
     this.context = context;
     InitializeComponent();
     this.DataContext = user;
     this.update      = true;
     OpenImage();
 }
 public FormUser(sql3238345Entities context)
 {
     InitializeComponent();
     this.context     = context;
     User             = new user();
     this.DataContext = User;
     CheckBoxChangePassword.IsChecked  = true;
     CheckBoxChangePassword.Visibility = Visibility.Hidden;
 }
Ejemplo n.º 9
0
 public FormContact(contact contact, sql3238345Entities context)
 {
     InitializeComponent();
     this.contact     = contact;
     this.context     = context;
     this.DataContext = this.contact;
     contact_typesComboBox.ItemsSource = context.contact_types.Local;
     //contact_typesComboBox.SelectedValue = contact.type_id;
     update = true;
 }
Ejemplo n.º 10
0
 public FormContact(user user, sql3238345Entities context)
 {
     InitializeComponent();
     this.user        = user;
     this.context     = context;
     contact          = new contact();
     contact.user     = user;
     contact.user_id  = user.id;
     this.DataContext = contact;
     contact_typesComboBox.ItemsSource   = context.contact_types.Local;
     contact_typesComboBox.SelectedIndex = 0;
 }