public void addCustomJS(customJSevent JSevent, string JS)
 {
     if (customJS.Count == 0)
     {
         customJS = new Dictionary <customJSevent, string>();
     }
     customJS.Add(JSevent, JS);
 }
 internal string takeCustomJS(customJSevent JSevent)
 {
     return customJS.ContainsKey(JSevent) ? customJS[JSevent] : string.Empty;
 }
 public void addCustomJS(customJSevent JSevent, string JS)
 {
     if (customJS.Count == 0)
     {
         customJS = new Dictionary<customJSevent, string>();
     }
     customJS.Add(JSevent, JS);
 }
 internal string takeCustomJS(customJSevent JSevent)
 {
     return(customJS.ContainsKey(JSevent) ? customJS[JSevent] : string.Empty);
 }