Inheritance: DevComponents.DotNetBar.Controls.SlidePanel
Beispiel #1
0
 private void setPage2()
 {
 SuspendLayout();
 pg2 = new Page2(themeColor, LANG, DPI);
 pg2.IsOpen = true;
 pg2.SetBounds(4, 8, pg2.Width, pg2.Height);
 pg2.Parent = this;
 pageSliderPage2.Controls.Add(pg2);
 pg2.cover_picturebox.DragDrop += cover_picturebox_DragDrop;
 pg2.cover_picturebox.DoubleClick += cover_picturebox_DoubleClick;
 pg2.cover_picturebox.MouseClick += cover_picturebox_MouseClick;
 pg2.TOC_export.Click += TOC_export_Click;
 pg2.TOC_import.Click += TOC_import_Click;
 pg2.TOC_clear.Click += TOC_clear_Click;
 pg2.TOC_list.DragDrop += TOC_list_DragDrop;
 pg2.radialMenu1.ItemClick += TOCRadialMenu1ItemClick;
 pg2.radialMenu2.ItemClick += TOCRadialMenu2ItemClick;
 pg2.radialMenu3.ItemClick += TOCRadialMenu3ItemClick;
 ResumeLayout(false);
 }
Beispiel #2
0
        private void resetPages()
        {
            pg2.Dispose();
            pg2 = null;		// Need to set it back to null!
            pg3.Dispose();
            pg3 = null;

            cqIDX = 0;
            bookAndAuthor.Clear();
            TOC.Clear();
            extraLinesInBeginning = false;
            extraLinesNotEmpty = false;
            titleLineNumbers.Clear();
            pictureHTMLs.Clear();
            TXTPath = null;
            CoverPath = null;
            CoverPathSlim = null;
            covers[0].Dispose();
            covers[1].Dispose();
            origCover = null;
            coverChanged = true;
            DocName = null;
            Intro = null;
            chapterNumber = 1;
            parchmentNeeded = false;
            embedFontPaths.Clear();
            ALLTITLETEXT.Clear();
            ALLBODYTEXT = new HashSet<Char>();
            IndexT = new List<UInt16>();
            IndexB = new List<UInt16>();
            titleFontPath = null;
            bodyFontPath = null;
            glyphTypefaceT = null;
            glyphTypefaceB = null;
            URIT = null;
            URIB = null;
            wordcount = 0;
            wordcountnr = 0;
            noNeedEmbed = false;
            mimetype = null;
            container = null;
            css.Clear();
            opf.Clear();
            ncx.Clear();
            coverHtml.Clear();
            picHtmlList.Clear();
            txtHtmlList.Clear();
            zipPath = null;
            processedIntro = null;
            stopWatch = null;
            DONE = false;
        }