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