public MainWindow()
 {
     InitializeComponent();
     myDataContext = new MyDataContext();
     folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
     this.DataContext = myDataContext;
     MinimizeToTray.Enable(this);
 }
Exemplo n.º 2
0
        public MainWindow()
        {
            InitializeComponent();
            myDataContext       = new MyDataContext();
            folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
            this.DataContext    = myDataContext;
            MinimizeToTray.Enable(this);

            this.Closed += MainWindow_Closed;
        }