Ejemplo n.º 1
0
 public CustomTreeViewItem(string title)
 {
     bdd            = new mediametrieEntities();
     req            = new requete();
     Title.Text     = title;
     chkBox.Content = Title;
     Title.AddHandler(TextBlock.MouseDownEvent, new MouseButtonEventHandler(change_label));
     chkBox.AddHandler(CheckBox.CheckedEvent, new RoutedEventHandler(chkBox_Checked));
     Header = chkBox;
 }
Ejemplo n.º 2
0
 public MainWindow()
 {
     InitializeComponent();
     m_containers = new List <Container>();
     bdd          = new mediametrieEntities();
     req          = new requete();
     checkTaskDay();
     LoadDB();
     comboBox.SelectedIndex = 0;
     remContainer.IsEnabled = true;
     currentIndex           = 0;
     treeView.ItemsSource   = m_containers[0].m_Tasks;
 }
Ejemplo n.º 3
0
 public Container()
 {
     bdd          = new mediametrieEntities();
     req          = new requete();
     this.m_Tasks = new ObservableCollection <CustomTreeViewItem>();
 }