/* * Loading image into memory requires the user to specify what kind of image (tile, bitmap, sprite). * What address location in video RAM. */ private void LoadImageToolStripMenuItem_Click(object sender, EventArgs e) { BitmapLoader loader = new BitmapLoader { StartPosition = FormStartPosition.CenterParent, Memory = kernel.CPU.MemMgr, ResChecker = ResChecker }; loader.ShowDialog(this); }
/* * Loading image into memory requires the user to specify what kind of image (tile, bitmap, sprite). * What address location in video RAM. */ private void LoadImageToolStripMenuItem_Click(object sender, EventArgs e) { BitmapLoader loader = new BitmapLoader { StartPosition = FormStartPosition.CenterParent, Memory = system.CPU.memoryManager, ResChecker = ResChecker }; loader.OnTileLoaded += NewTileLoaded; loader.ShowDialog(this); }