Пример #1
0
        public void preview()
        {
            //Create the palette if we havent already
            if (myPal == null)
            {
                myPal        = new PaletteSet("My Palette", System.Guid.NewGuid());
                myPreviewBox = new PreviewBox();
                myPal.Add("Palette1", myPreviewBox);
            }

            //disply the palette
            myPal.Visible = true;
        }
Пример #2
0
        public void preview()
        {
            //Create the palette if we havent already
            if (myPal == null)
            {
                myPal = new PaletteSet("My Palette", System.Guid.NewGuid());
                myPreviewBox = new PreviewBox();
                myPal.Add("Palette1", myPreviewBox);
            }

            //disply the palette
            myPal.Visible = true;
        }