Example #1
0
 private void IncludeListOnExcludedWindowRemoving(ExcludedWindow includedWindow)
 {
     if (includedWindow.CheckWindow(_skinWindow.Parent))
     {
         _skinWindow.Dispose();
     }
 }
Example #2
0
 private void ExcludeListOnExcludedWindowRemoving(ExcludedWindow excludedWindow)
 {
     if (excludedWindow.CheckWindow(_skinWindow.Parent) && excludedWindow.HasSkin)
     {
         _skinWindow.Skin = Settings.Settings.Skin;
     }
 }
Example #3
0
 private void SettingsOnInclusionListAdded(ExcludedWindow newIncludedWindow)
 {
     if (!newIncludedWindow.CheckWindow(_skinWindow.Parent))
     {
         // This means that this is the first addition of included window, all non included windows should be diposed
         if (Settings.Settings.IncludeList.Count == 1){
             _skinWindow.Dispose();
         }
     }
     else
     {
         if (newIncludedWindow.HasSkin)
         {
             _skinWindow.Skin = newIncludedWindow.Skin;
         }
     }
 }
Example #4
0
 private void SettingsOnExclusionListAdded(ExcludedWindow excludedWindow)
 {
     if (excludedWindow.CheckWindow(_skinWindow.Parent))
     {
         if (excludedWindow.HasSkin)
         {
             _skinWindow.Skin = excludedWindow.Skin;
         }
         else
         {
             _skinWindow.Dispose();
         }
     }
 }