Ejemplo n.º 1
0
 public void StoreValues(Data data, string path)
 {
     data.SetValue(@"" + path + @"Enabled", Enabled.ToString());
     data.SetValue(@"" + path + @"File", Data.EscapeString(File));
     data.SetValue(@"" + path + @"OnAttachment", OnAttachment.ToString());
     data.SetValue(@"" + path + @"OnCover", OnCover.ToString());
     data.SetValue(@"" + path + @"Repetition", Repetition.ToString());
 }
Ejemplo n.º 2
0
 public void StoreValues(Data data, string path)
 {
     data.SetValue(@"" + path + @"Enabled", Enabled.ToString());
     data.SetValue(@"" + path + @"File", Data.EscapeString(File));
     data.SetValue(@"" + path + @"FitToPage", FitToPage.ToString());
     data.SetValue(@"" + path + @"OnAttachment", OnAttachment.ToString());
     data.SetValue(@"" + path + @"OnCover", OnCover.ToString());
     data.SetValue(@"" + path + @"Opacity", Opacity.ToString(System.Globalization.CultureInfo.InvariantCulture));
     data.SetValue(@"" + path + @"Repetition", Repetition.ToString());
 }
Ejemplo n.º 3
0
        public override string ToString()
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("Enabled=" + Enabled.ToString());
            sb.AppendLine("File=" + File.ToString());
            sb.AppendLine("OnAttachment=" + OnAttachment.ToString());
            sb.AppendLine("OnCover=" + OnCover.ToString());
            sb.AppendLine("Repetition=" + Repetition.ToString());

            return(sb.ToString());
        }