with GraphicsPath.AddEllipse i created ellipse,if i use GetBounds() i get the bounds of the ellipse,
now if i want to rotate the ellipse keeping the same bounding rectangle how do i calculate the new ellipse to create?
I have a problem, i have created a form and a user control. I have a database on SQL server. I have a combobox on my usercontrol and i would like to implement my combobox with my database. i've used the properties of the combobox to choose the datasource and choose my database and the right table but my combobox is empty.
Whereas if i create a combobox in my form and did the same things with my combobox i have the data inside.
I've tried lot of things but nothing is working , if someone know how to do this i would be very grateful
I don't have any error, it just that i have no data in my combobox.
For the code i'm using the wizard datasource in the combobox propriété in Visual Studio.
The wizard create a dataset ( with the name of my database), a Bindingsource and a TableAdapter ( with the name of the table i want)
I can show you some code of one of this composant if you want?
DoDragDrop() is the method you need to call to make this work. You can either put a string (of the filename of the image) into the drag drop object, or stuff the whole bitmap in, depending on whether you just want to drag between instances of your application, or with any app that supports dragdrop
Why not? You can store anything in an xml file. Just use your favourite flavour of XML serialization. Or just do it manually to make sure it works exactly the way you want it to work.
Your Select does not really make sense to me, why did you put that in?
Well no wonder, you first make it into base64, and then use that as raw bytes - that does not make any sense in any way.
If you want to use ReadAllBytes, then at least pass the bytes to the MD5 object as bytes. Or if you have to use base64, decode it first System.Security.Cryptography.MD5 has a ComputeHash which takes a Stream as argument.
Last Visit: 31-Dec-99 18:00 Last Update: 13-Apr-21 7:34