コード例 #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
ファイル: Class1.cs プロジェクト: smitec/AutocadPreviewBox
        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;
        }