public MainWindow()
        {
            //            MessageBox.Show(System.Environment.CurrentDirectory);
            //            System.Configuration.Configuration  configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.PerUserRoamingAndLocal);
            //            MessageBox.Show("Local user config path: " + configuration.FilePath);

            config = new EDOConfig();
            ChangeLanguage();
            InitializeComponent();

            viewModel = new MainWindowVM(config);
            viewModel.Window = this;
            this.DataContext = viewModel;
        }
Example #2
0
 public AddCommandImpl(MainWindowVM viewModel)
 {
     this.viewModel = viewModel;
 }