コード例 #1
0
        //        WizardDialog wizard;
        //        Pixbuf backGround = null;
        //        FontDescription normalFont;
        public CurrentPanelPanel(WizardDialog wizard)
        {
            //			normalFont = Style.FontDescription;

            //			this.wizard = wizard;
            //backGround = resourceService.GetBitmap("GeneralWizardBackground");
            //RequestSize = new Size (wizard.Width - 220, 30);
        }
コード例 #2
0
        public StatusPanel(WizardDialog wizard)
        {
            smallFont  = Style.FontDescription;
            smallFont.Size = (int) (smallFont.Size * 0.75);
            //			normalFont = Style.FontDescription;
            boldFont   = Style.FontDescription;
            boldFont.Weight = Pango.Weight.Bold;

            this.wizard = wizard;
            SetSizeRequest (198, 400);

            bitmap = Runtime.Gui.Resources.GetBitmap ("GeneralWizardBackground");

            AddEvents ((int) (Gdk.EventMask.ExposureMask));
            ExposeEvent += new Gtk.ExposeEventHandler (OnPaint);
            Realized += new EventHandler (OnRealized);
        }