예제 #1
0
        private void VaToggle_Toggled(object sender, RoutedEventArgs e)
        {
            ToggleSwitch o = e.OriginalSource as ToggleSwitch;
            GlobSetting  g = GlobSetting.getInstance();

            g.text_speech = o.IsOn;
        }
예제 #2
0
 public static GlobSetting getInstance()
 {
     if(inst_ == null)
     {
         inst_ = new GlobSetting();
     }
     return inst_;
 }