I have a class that I use to monitor a windows service. When the service's status changes it raises an event. In my main form when the event is raised I create a new window to show the user the status has changed. For some reason it freezes my form (the newly created one). The form works...
I have a program that has to draw the mouse whenever it is moved.. as the mouse is snaped to a grid. I hide the mouse cursor by setting it to be a transparent .cur file. Then for my mouse move code I have the following:
private void Map_MouseMove ( object sender, MouseEventArgs e )
{
if (...
Hey all,
I have created a custom control. During my repaint function I am drawing a grid. My thoughts were that instead of drawing the grid I could just save the graphics after the first time, and then redraw the saved image.
I tried two seperate things. First was using
graphics.Save ( ) /...
Hey, im having a problem with a calculation. This is a sample of the code:
void main()
{
double a = 1.16 / 1.45 * 1000.0;
double b = 800.0;
if ( a == b )
printf("a equals b");
}
Now.. if you calculate this.. a = 800. and b = 800.
However.... the statement if ( a == b )...
I was just wondering how I would go about loading a pdf file in C#. Does any of the dot net framework deal with this? If anyone could point me in the right direction that would be cool.
I have a problem where for some reason my database is not working within my server.
This is my main function:
static void Main ( string [ ] args )
{
server.start ( PORT, MAXCONNECTIONS );
// Let the program quit when they press enter
Console.WriteLine ( "Press Enter to exit" )...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.