I had another question on my PictureBox calls giving me 3 kinds of errors, some great answers came in particularly from Conrad Frix. So it led me to figure out where my problem is, but now to fix it I am not 100% sure on.
Basically I have a Windows Form timer that is checking for some event to be true, if it is, then it tells the sys...
What would be a good way to do it? I don't need code, just ideas.
Thanks.
...
With VB6 PictureBox, how do I save to the png format?
...
An exception is thrown in a user control based on a picture box, causing it to show the typical error image (red X). Since the GUI thread caught and handled the exception itself, I cannot easily find out where the exception occurred and debug.
I'm currently wrapping the whole OnPaint code in a try-catch, and was able to debug the code, ...
hello friends, i hope you will help me :))
i want to Block/Enable PictureBox to receive events, i cant do myself, plase help me :)
thans beforehand :*
...
Hello.
I'm making a winform .NET app. It must show a graphic in bars format. I'm using a picturebox because it's the only way I know how to do it (if someone knows a better way, please tell me).
I'm adding dynamically the lines (the bars of the graphic) with this code:
int currentX = this.lineAmmount * (lineWidth + lineMargin);
pictur...
Hi,
I want to be able to allow users of my program to click on a button, for example, a button for freehand rectangles to be drawn onto a picturebox. I need code for allowing me to first draw on the picturebox, and secondly for all the shapes that can possibly be drawn free hand in c#, e.g. line, ellipse, freehand drawing, text.
Thanks...
I have a picture in jpg format and size 765X368.
I need to use this picture for button and pictureBox on my form.
When I use for pictureBox I use Sizemode = StretchImage and I see it excellent, but when I use it for my button, it's very big and bad!!!
How I can make smaller this picture (automatic) when I load it to my button?
...
How can I assign an external image into the PictureBox in Visual Studio 2008 ?
Typically, When we use ChooseImage in PictureBox , Visual Studio adds the image to the exe file and it causes increasing exe file's volume, I wanna add the image from a directory beside the exe file.
Is it possible in Visual Studio 2008?
P.S:
I don't want add...
How can I set a picture to a picturebox in code?
This code gives me the error:
Cannot implicitly convert Bitmap to
String.
private void ptbLocalidadAdd_MouseEnter(object sender, EventArgs e)
{
ptbLocalidadAdd.ImageLocation = Properties.Resources.addg;
}
...
Hey All,
I have searched and searched, and could only find very, very lenghy VB articles on this.
Is there any way at all, in C#, to make a picturebox semi-transparent so that you can actually see through the PictureBox and see what's behind it?
Thanks
Any help at all is appreciated.
...
I need to load 101 bitmaps from the filesystem (they can't be built into the app as a resource as they will be changed for each run of the program) into a windows form application picturebox sequentially based on short duration timer events (500ms give or take) .
Essentially it should work like a slow animation but it is critical that e...
I am having a problem displaying some pictures (more than one) in a picturebox.
<div id="salary_total" style="display: block;"><table style="border: 3px solid rgb(71, 5, 6); padding-right: 1px;" bgcolor="#ffffff" cellpadding="0" cellspacing="0"><tbody><tr><td><img src="./images/counter/b.gif"></td>
<td><img src="./images/counter/3.gif"...
I'm having trouble displaying a PictureBox in C#. I have two forms. In my main form I'm calling the other form, where the PictureBox is located.
This is how I am calling the second form:
frmODeck oDeck = new frmODeck();
oDeck.Show();
Now, this is my second form, where the PictureBox is located from main form
namespac...