public Stars(int IdForType, string NewText, Question.TypeOfQuestion TypeOfQuestion, int Order, int NumberOfStars) { try { this.NewText = NewText; this.NumberOfStars = NumberOfStars; this.Order = Order; this.TypeOfQuestion = TypeOfQuestion; this.IdForType = IdForType; } catch (Exception ex) { GenralVariables.Errors.Log(ex.Message); } }
public Slider(string NewText, Question.TypeOfQuestion TypeOfQuestion, int IdForType, int Order, int StartValue, int EndValue, string StartCaption, string EndCaption) { try { this.NewText = NewText; this.Order = Order; this.StartValue = StartValue; this.EndValue = EndValue; this.StartCaption = StartCaption; this.EndCaption = EndCaption; this.TypeOfQuestion = TypeOfQuestion; this.IdForType = IdForType; } catch (Exception ex) { GenralVariables.Errors.Log(ex.Message); } }