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;
        }
 public AddCommandImpl(MainWindowVM viewModel)
 {
     this.viewModel = viewModel;
 }