public FormTextBox(string name) : base(name) { Content = ""; placeholder = ""; icon = FormIcon.NotSet;; readOnly = null; }
public FormDatePicker(string name, string dateFormat) : base(name) { Content = ""; placeholder = ""; icon = FormIcon.Calendar; DateFormat = dateFormat; readOnly = null; }
private IEnumerable <string> IconClass(FormIcon formIcon) { List <string> iconClass = new List <string>(); iconClass.Add("formIcon"); iconClass.Add("fa"); switch (formIcon) { default: iconClass.Add(string.Format("fa-{0}", formIcon.ToString().ToLower())); break; case FormIcon.IdCard: iconClass.Add("fa-id-card-o"); //iconClass.Add("fa-id-card"); break; case FormIcon.Facebook: iconClass.Add("fa-facebook-square"); //iconClass.Add("fa-facebook-official"); break; case FormIcon.Twitter: iconClass.Add("fa-twitter-square"); //iconClass.Add("fa-twitter"); break; case FormIcon.LinkedIn: iconClass.Add("fa-linkedin-square"); //iconClass.Add("fa-linkedin"); break; case FormIcon.YouTube: iconClass.Add("fa-youtube"); //iconClass.Add("fa-youtube-play"); break; case FormIcon.Globe: iconClass.Add("fa-globe"); break; case FormIcon.Info: iconClass.Add("fa-info"); break; case FormIcon.NotSet: iconClass.Clear(); break; } return(iconClass); }
public static void Dispose() { ((IDisposable)Logger)?.Dispose(); FormIcon?.Dispose(); ProgramIcon?.Dispose(); }