Esempio n. 1
0
        void SetNmric(GPDIDs xID, TextBoxX xNum)
        {
            Setting x = xprof.UserGPD.GetSetting(xID, SettingType.UInt32);

            if (x != null)
            {
                xNum.Text = ((uint)x.Data).ToString();
            }
        }
Esempio n. 2
0
 void SetNmric(GPDIDs xID, TextBoxX xNum)
 {
     Setting x = xprof.UserGPD.GetSetting(xID, SettingType.UInt32);
     if (x != null)
         xNum.Text = ((uint)x.Data).ToString();
 }
Esempio n. 3
0
 internal Setting xGetSetting(GPDIDs xIDType)
 {
     foreach (Setting x in xUserSettings)
     {
         if ((long)x.IDType == (long)xIDType)
             return x;
     }
     return null;
 }
Esempio n. 4
0
 /// <summary>
 /// Grabs a setting via ID and Data type
 /// </summary>
 /// <param name="xIDType"></param>
 /// <param name="xDataType"></param>
 /// <returns></returns>
 public Setting GetSetting(GPDIDs xIDType, SettingType xDataType)
 {
     if (!ParseCheck())
         return null;
     Setting xReturn = xGetSetting(xIDType, xDataType);
     xActive = false;
     return xReturn;
 }
Esempio n. 5
0
 internal Setting xGetSetting(GPDIDs xIDType, SettingType xDataType)
 {
     if (!Enum.IsDefined(typeof(SettingType), xDataType))
         return null;
     foreach (Setting x in xUserSettings)
     {
         if ((long)x.IDType == (long)xIDType && x.ContentType == xDataType)
             return x;
     }
     return null;
 }