Пример #1
0
 public MainWindow()
 {
     LoadStyle("Style.xaml");
     InitializeComponent();
     _manager = new DoItManager();
     DataContext = new DoItDataProvider(_manager);
     ((DoItDataProvider)DataContext).PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(MainWindow_PropertyChanged);
 }
Пример #2
0
 public DoItDataProvider(DoItManager manager)
 {
     _manager = manager;
 }
Пример #3
0
 static void Main(string[] args)
 {
     DoItManager dm = new DoItManager(false);
     dm.Index();
     dm.Save();
 }