Exemple #1
0
        public ReaderView(BookItem B, Chapter C)
            : this()
        {
            BindChapter = C;

            Anchors = new AutoAnchor(B);
            CL      = new ChapterLoader(B, SetContent);
            OverrideParams(B);
        }
Exemple #2
0
 public void Dispose()
 {
     try
     {
         CL   = null;
         Data = null;
     }
     catch (Exception) { }
 }
Exemple #3
0
        public static void Main(string[] v)
        {
            log.Debug("In Main");

            ConsoleManager.ShowConsoleWindow();

            window = WindowInterface.inst;

            log.Debug("Setting title");
            window.Title = "HOOOOO BOY";
            log.Debug("Title Set");

            log.Debug("Setting body");
            window.Body = "hErE wE gO";
            log.Debug("Body Set");

            ChapterLoader.Test();
        }
Exemple #4
0
 public void Dispose()
 {
     try
     {
         AppSettings.PropertyChanged -= AppSettings_PropertyChanged;
         foreach ( Paragraph P in Data ) P.Dispose();
         CL = null;
         BS = null;
         Data = null;
     }
     catch ( Exception ) { }
 }
Exemple #5
0
 public ReaderView( BookItem B, Chapter C )
     :this()
 {
     BindChapter = C;
     Anchors = new CustomAnchor( B );
     CL = new ChapterLoader( B, SetContent );
 }