private void VaToggle_Toggled(object sender, RoutedEventArgs e) { ToggleSwitch o = e.OriginalSource as ToggleSwitch; GlobSetting g = GlobSetting.getInstance(); g.text_speech = o.IsOn; }
public static GlobSetting getInstance() { if(inst_ == null) { inst_ = new GlobSetting(); } return inst_; }