private void button9_Click(object sender, EventArgs e) { //picB2.Image = ImgeTool.circle((Bitmap)(picB1.Image), 100); ImgeTool.delDisplayImg delDiplay = new ImgeTool.delDisplayImg(displayPicBox); ImgeTool.displayCircle((Bitmap)(picB1.Image), delDiplay, true, 50, 50); //picB2.Image = ImgeTool.displayCircle((Bitmap)(picB1.Image), 100); }
private void button4_Click(object sender, EventArgs e) { //picB2.Image = ImgeTool.BlindWindow((Bitmap)picB1.Image, 10, "H", 10); ImgeTool.delDisplayImg delDiplay = new ImgeTool.delDisplayImg(displayPicBox); ImgeTool.displayBlindWindow((Bitmap)picB1.Image, delDiplay, "V", 10); //Bitmap bmp = (Bitmap)(picB1.Image); ////picB2.Image = //Graphics g = picB2.CreateGraphics(); //g.DrawImage(ImgeTool.getSubImage(bmp, 0, 0, bmp.Width, bmp.Height),0,0); }
private void button6_Click(object sender, EventArgs e) { ImgeTool.delDisplayImg delDiplay = new ImgeTool.delDisplayImg(displayPicBox); ImgeTool.displayZoom((Bitmap)(picB1.Image), delDiplay, !true, 50, 50); }
private void button12_Click(object sender, EventArgs e) { //picB2.Image = ImgeTool.sector((Bitmap)(picB1.Image), 99,15,45); ImgeTool.delDisplayImg delDiplay = new ImgeTool.delDisplayImg(displayPicBox); ImgeTool.displayRadar((Bitmap)(picB1.Image), delDiplay, true, 10, 20); }
private void button10_Click(object sender, EventArgs e) { ImgeTool.delDisplayImg delDiplay = new ImgeTool.delDisplayImg(displayPicBox); ImgeTool.displaySquare((Bitmap)(picB1.Image), delDiplay, true, 50, 60); }