示例#1
0
 private void SetCurrentTypeInUI(NFOType ioType)
 {
     for (int index = 0; index < this.radioHandlers.Properties.Items.Count; index++)
     {
         RadioGroupItem type = this.radioHandlers.Properties.Items[index];
         var            t    = type.Value as IoInterface;
         if (ioType == t.Type)
         {
             this.radioHandlers.SelectedIndex = index;
         }
     }
 }
示例#2
0
 /// <summary>
 /// The set current settings.
 /// </summary>
 /// <param name="type">
 /// The NFOType type.
 /// </param>
 public void SetCurrentSettings(NFOType type)
 {
     this.IoType = type;
     this.CurrentMovieSaveSettings = this.MovieSaveSettings[type].Clone();
     this.CurrentTvSaveSettings = this.TvSaveSettings[type].Clone();
 }
示例#3
0
文件: InOut.cs 项目: yanfoe/YANFOE.v2
 /// <summary>
 /// The set current settings.
 /// </summary>
 /// <param name="type">
 /// The NFOType type.
 /// </param>
 public void SetCurrentSettings(NFOType type)
 {
     this.IoType = type;
     this.CurrentMovieSaveSettings = this.MovieSaveSettings[type].Clone();
     this.CurrentTvSaveSettings    = this.TvSaveSettings[type].Clone();
 }