![]() G. G.FillRectangle(blockstone, new Rectangle(start, layer, 10, 10)) SolidBrush blockcoal = new SolidBrush(Color.Black) SolidBrush blockstone = new SolidBrush(Color.Gray) Private void placeBlocks1ToolStripMenuItem_Click(object sender, EventArgs e) MessageBox.Show("Height: " + this.Height + ", Width: " + this.Width) Private void button2_Click(object sender, EventArgs e) Private async void button1_Click(object sender, EventArgs e) ![]() I was just wondering how to do something, how to save something that is drawn onto a form with Graphics to a bitmap file, everything I have tried so far hasn't worked, just a bit of a background of what I am doing, I am trying to create a random terrain generator, I have got the entire thing working and I just need to know how to save the Graphics as a bitmap, because after that the files will be loaded into another program and used to create a full terrain, at least that's the idea. Youll find this application in the Start menu listed under 'P' in the alphabetical listing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |