Example #1
0
 public void Remove(string key, IMyUC uc)
 {
     if (userControl.ContainsKey(key))
     {
         this.userControl.Remove(key);
     }
 }
Example #2
0
 public void Add(string key, IMyUC uc)
 {
     if (!userControl.ContainsKey(key))
     {
         this.userControl.Add(key, uc);
     }
 }