Ejemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();

            this.DoubleBuffered = true;
            mainWindow = this;

            paletteData = new PaletteData(PaletteFormat.FORMAT_2BPP, PaletteOrder.BGR);
            graphicsData = new GraphicsData(paletteData);           

            this.Icon = new Icon(this.GetType().Assembly.GetManifestResourceStream("TiledGGD.program_icon.ico"));

            updateMenu();
        }