private void pictureBox_MouseDown(object sender, MouseEventArgs e) { if (bpEditMode.Checked) { bitmapCpc.SetPixelCpc(offsetX + (e.X / zoom), offsetY + (e.Y / zoom), numCol); Render(); } }
public void SetPixelCpc(int pixelX, int pixelY, int pix) { bitmapCpc.SetPixelCpc(pixelX, pixelY, pix); }