Example #1
0
        public void MakeWWCT(object sender, RoutedEventArgs e)
        {
            viewModel.SetWWCT(new WWCTFile());
            WWCTString strin = new WWCTString(Common.WWCTType.WWEV, "", 0);

            viewModel.AddString(strin);
        }
Example #2
0
 private void AddEntry(object sender, RoutedEventArgs e)
 {
     try
     {
         WWCTString strin = new WWCTString(Common.WWCTType.WWEV, "", 0);
         viewModel.AddString(strin);
     }
     catch (NullReferenceException)
     {
         MessageBox.Show("WWCT File not Loaded!");
     }
 }
Example #3
0
 public void AddString(WWCTString newStr)
 {
     wwct.wwctStrings.Add(newStr);
     OnPropertyChanged("entries");
 }