(String sLevels, Color cl)
| 174 | #region LOAD MANCINI |
| 175 | |
| 176 | private void LoadMancini(String sLevels, Color cl) |
| 177 | { |
| 178 | try |
| 179 | { |
| 180 | int i = 0; |
| 181 | string[] sb = sLevels.Split(", "); |
| 182 | string price = string.Empty; |
| 183 | foreach (string s in sb) |
| 184 | { |
| 185 | String sa = s.Replace("(major)", "").Trim(); |
| 186 | days a = new days(); |
| 187 | a.idx = i; |
| 188 | if (s.Contains("-")) |
| 189 | { |
| 190 | a.price = Convert.ToDecimal(sa.Split("-")[0].Trim()); |
| 191 | if (sa.Split("-")[1].Trim().Length == 2) |
| 192 | a.price2 = Convert.ToDecimal(sa.Substring(0, 2) + sa.Split("-")[1].Trim()); |
| 193 | else |
| 194 | a.price2 = Convert.ToDecimal(sa.Split("-")[1].Trim()); |
| 195 | } |
| 196 | else |
| 197 | { |
| 198 | a.price = Convert.ToDecimal(sa.Substring(0, 4).Trim()); |
| 199 | } |
| 200 | a.label = s.Contains("major") ? "Mancini MAJOR" : "Mancini"; |
| 201 | a.c = cl; |
| 202 | lsS.Add(a); |
| 203 | } |
| 204 | i++; |
| 205 | } |
| 206 | catch (Exception ex) |
| 207 | { |
| 208 | } |
| 209 | } |
| 210 | |
| 211 | #endregion |
| 212 |
nothing calls this directly
no outgoing calls
no test coverage detected