コード例 #1
0
 public void initAttBgk()
 {
     attBgk = new CBackgroundAtt();
     attBgk.BackgrHeight  = defaultH;
     attBgk.BackgrWidth   = defaultW;
     attBgk.BackgroundURL = "";
 }
コード例 #2
0
        //load bacground
        void loadNewsPaperBackgr()
        {
            Stream s   = this.GetType().Assembly.GetManifestResourceStream("NewspaperDesigner.frame.png");
            Bitmap bmp = new Bitmap(s);

            panelInnerScreen.BackgroundImage = bmp;
            attBgk = new CBackgroundAtt();
        }
コード例 #3
0
        public CNewspaper()
        {
            kindOfNews = "Tuổi trẻ";
            number     = 1;
            datetime   = "";
            numPages   = 1;
            defaultH   = 405;
            defaultW   = 276;
            LPages     = new List <CPage>();
            attBgk     = new CBackgroundAtt();

            initAttBgk();
        }