|
put a breakpoint on the first line in the paint event, I doubt splitter dont fire paint event
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
|
well i checked the code and its working
here is the code
void Panel1_Paint(object sender, PaintEventArgs e)
{
Graphics Graphics = e.Graphics;
Rectangle Bounds = new Rectangle(Point.Empty, splitContainer1.Panel1.Size);
if (Bounds.Width > 0 && Bounds.Height > 0)
{
using (Brush GradientBrush = new LinearGradientBrush(Bounds, Color.FromArgb
(183, 214, 183), Color.FromArgb(221, 235, 221),
LinearGradientMode.BackwardDiagonal))
{
Graphics.FillRectangle(GradientBrush, Bounds);
}
}
}
private void Form1_Load(object sender, EventArgs e)
{
splitContainer1.Panel1.Paint += new PaintEventHandler(Panel1_Paint);
}
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
The way you hook up the event looks odd. Try using Splitter.Panel1.Paint += OnPaintPanel1 instead. It may be possible that you're replacing another method hooked up to that event
|
|
|
|
|
hi all
i have a question for you guys.
im making a webcam application with screen Capture, i can take a screenshot of the whole webcam but now i want to take a picture from a part of the webcam.
please look at this pciture i made to understand what i mean.
http://img54.imageshack.us/my.php?image=webcamapplication.png[^]
i added a new form (Capture Screen) so i can drag it to a place on the webcam where i want to make a picture with the size of Capture Screen Form
so how can i do that?
i added a picturebox to it and use this code:
pictureBox1.Image.Save("c:\\test.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
i thought that would mabey work beceaus i see the things behind this Capture Screen form in that picturebox but to bad
i hope you guys can help me out.
|
|
|
|
|
|
Hi
I have defined client class namely Client.cs and a server class Server.cs..Both the server and client are able to communicate...
I want the Client.cs to be called and executed with a button click event...I have defined Client.cs in a separate file in the same project..I think that it is not possible to call the class Client.cs....
How should i proceed with this?Please help me with this..
Thanks for any help in advance...
|
|
|
|
|
You can't call a class. You can call a static method on a class, or a normal method of an instance of the class.
You probably want to new up the class and call an entry point in it.
Regards,
Rob Philpott.
|
|
|
|
|
I suggest mruthula to go through some basics of OOPs and programming constructs!!!!!!!!
|
|
|
|
|
Good idea.
Regards,
Rob Philpott.
|
|
|
|
|
In your form(the one that contains the button), from the button click event handler, you may create an instance of Client , but make sure the Client class has the public modifier, and also include the namespace (if its not the same):
Client client = new Client();
Calin
|
|
|
|
|
Hi,
I have used a new file in the same project for the Client.cs..
If i create an object for the Client.cs in the Button click event, which is located
in the form will i be able to access it?
|
|
|
|
|
|
Hello sir/madam
can any one help how to select an image from web randomly and store in another form.
For example:
when i type red rose in textbox i get a list of red roses in the listbox. This images are been retrieved from the web. Now my problem is to select randomly 10 images and store in another listbox.
|
|
|
|
|
The answer to this is google. Both for the images, and how to get them.
|
|
|
|
|
You may use the Random class to get random numbers. Use these numbers as indexes for your already created list, but make sure the random indexes are lower then images count.
Calin
|
|
|
|
|
I'm retrieving images from web in a listbox. I have to fillter the images that is been retrieved and store in another form.
|
|
|
|
|
If not even Google itlsef managed to determine the content of an image from the internet without the description, why do you think it should easy enough for you to do?
The best is to use Google mage search with the passed phrase (in this case "red rose"), then temporarily save a number of the pictures. (I don't know how to connect to google and retrieve images programmatically).
Next you calculate the random number and pick the 10 (or whatever number) images accordingly and throw the rest away.
Finally, you use PictureBox es to display the kept images on your form.
|
|
|
|
|
Hi,
I am using one c# dll.I want to use it or say register it.
But when I run my site thru iis ,it is not reading my dll functionality.
I think i have register my dll.
I followed following step :
1. Made rdkey.snk in my bin folder
2.Registered my dll through gacutil .In commmand prompt it say successfully registered though dll do not get copied in assembly folder.
where I am wrong ?
Can someone repeat the steps involve to register dll?
Thanks.
|
|
|
|
|
Member 3669889 wrote: where I am wrong ?
I have no idea, as I really don't know what you are actually trying to achieve.
What is it that you are trying to do? And I mean at a higher level because you have obviously got your self stuck thinking at too low a level.
|
|
|
|
|
Hi,
See,I have a dll that I am using in my web application(asp.net 2.0).
It is working ok in localhost but its not function in iis server.
I want it to function from iis server too.
What should i do ?
Can someone repeat all those step involve?
I have tried following steps:
1.my working folder is in d:\web1
2. i am publishng my project in c:\inetpub\wwwroot\test.
3.my iis\Home Directory\ is directed to this test folder.
Before this:
i) made rdkey.snk in d:\web1\bin
ii) through property page ,selecting rdkey.snk
but still its not working.
What should I do ?
Thanks
|
|
|
|
|
Member 3669889 wrote: It is working ok in localhost but its not function in iis server.
Do you mean you added a reference to an assembly in your project and it works okay through the Visual Studio web server, but not when you upload the site to IIS?
Also, how exactly does it "not function in [the] IIS server"? Does it give an error message?
Member 3669889 wrote: my iis\Home Directory\ is directed to this test folder.
What does that mean?
|
|
|
|
|
Hi,
Yes it throw error."Woking access to the dll is denied",something like this.My IIS pick the publish folder.hope I am clear.
|
|
|
|
|
Member 3669889 wrote: something like this
If you get the exact error message you can do a search for it. As it is, "Woking" is a place in the south east of England near London.
Anyway, it sounds like a permissions problem. You have to ensure that all the files are accessible from the user account that your web application is running as. This will often be IUSR_.... But you can check that in IIS.
|
|
|
|
|
Hi All,
In MS SQL 2000, How can I check any row of database has updated or not through update query. My basic problem is that, same user has logged on two different system when they login at same time. I want to restrict the second user for login with same name.
Regards
|
|
|
|