private void UpdateMaterialSiteListBox()
        {
            List <string> MaterialSiteNameList;

            EditingMaterialSiteSpace.GetMaterialSiteList cmd = new EditingMaterialSiteSpace.GetMaterialSiteList();
            ReceiverOfViewModel.CommandViewModelTo(cmd);

            MaterialSiteNameList = cmd.MaterialSiteList;

            MaterialSiteListBox.Items.Clear();

            foreach (var MaterialSiteName in MaterialSiteNameList)
            {
                ListBoxItem listItem = new ListBoxItem();
                listItem.Content = MaterialSiteName;
                MaterialSiteListBox.Items.Add(listItem);
            }
        }
 public void CommandViewModelTo(GetMaterialSiteList cmd)
 {
     cmd.MaterialSiteList = ActiveProjectData.GetInstance().MaterialSiteListData.GetMaterialList();
 }