Beispiel #1
0
 public void Enabled()
 {
     SnapIn = new TennisSnapIn();
     if (!string.IsNullOrEmpty(Settings.LastTemplateFilter))
     {
         SnapIn.CurrentFilter = Settings.LastTemplateFilter;
     }
 }
Beispiel #2
0
 public void Disabled()
 {
     if (SnapIn.CurrentFilter == null)
     {
         Settings.LastTemplateFilter = null;
     }
     else
     {
         Settings.LastTemplateFilter = SnapIn.CurrentFilter;
     }
     SnapIn.Unload();
     SnapIn = null;
 }