|
i am begginer in programming and i get this code to understand the logic of simulation.
no problem , but when you reply you must be polite
CS
|
|
|
|
|
It's very rude to delete your original message.
|
|
|
|
|
Look at his posts and go look at the Dec 1 2007.
|
|
|
|
|
Aah. another looney. Great, always fun to laugh at.
|
|
|
|
|
Yes, I think he needs to be added to my list.
|
|
|
|
|
s/he's already on there:
cs.it.tech: delete message; do my homework!
Add "has some weird anti-israel views which he's too chicken-sh*t to not delete"
Just reading your blog (bored at work). Any piccies of your cats on there? I'm a bit cat obsessed!
|
|
|
|
|
I need to scan some. I don't have any of the newest one except one for Stuff and Cats in which I piled a bunch of laundry on her. I forgot I added this user late last night.
|
|
|
|
|
To quote SpacixOne:
using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.IO;
namespace CarWasherOrParkingSimulation
{
class Program
{
static void Main(string[] args)
{
throw new Exception("The program code needs to be implemented.");
}
}
}
"Run for your life from any man who tells you that money is evil. That sentence is the leper's bell of an approaching looter." --Ayn Rand
|
|
|
|
|
|
Thanks... I'll have to start a changelog for that one.
Scott P
"Run for your life from any man who tells you that money is evil. That sentence is the leper's bell of an approaching looter." --Ayn Rand
|
|
|
|
|
Can we expect it to be in the next itteration?
|
|
|
|
|
Yes, as a matter of fact, you can post comments about the new code on my codeproject blog[^]. It could use a good review.
"Run for your life from any man who tells you that money is evil. That sentence is the leper's bell of an approaching looter." --Ayn Rand
|
|
|
|
|
Touché,
You may have won this round, but I shall win the war!
|
|
|
|
|
This question doesn't really seem to fit in to any specific forum, so I'll post it here, and hope for the best. I'm using NDoc to document a library I'm writing that contains several .js files that I'd also like to document, and include in the CHM. I saw that there was a AdditionalContentResourceDirectory property, but can't find any documentation on it. Will this property compile .xml files in to the CHM if I create one for my javascript? If not, does anybody know how I might go about doing this without manually modifying the hhp file directly in HTML Help Workshop?
Thanks in advance for any input.
Kyosa Jamie Nordmeyer - Taekwondo Yi (2nd) Dan
Portland, Oregon, USA
|
|
|
|
|
I didnt find ILDASM in VS 2008..
Cant I run it from inside VS 2008?
Well I did find ways to run it from VS Command Prompt..
But in 2005 it used to..
Where's ILDASM inside the IDE in 2008?
|
|
|
|
|
On my machine it's in:
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\ildasm.exe
"Run for your life from any man who tells you that money is evil. That sentence is the leper's bell of an approaching looter." --Ayn Rand
|
|
|
|
|
Windows Explorer does have a search facility. It isn't Google, but it knows how to locate a file
by name...
|
|
|
|
|
Tools -> External Tools -> Add
Enter the details for ILDasm. If you include the target path variable in the arguments it'll automatically open with the disassembly of the current project.
Now it will appear on your tools menu.
Simon
|
|
|
|
|
Thanks, did not know that!
Scott P
"Run for your life from any man who tells you that money is evil. That sentence is the leper's bell of an approaching looter." --Ayn Rand
|
|
|
|
|
Simon Stevens wrote: it'll automatically open with the disassembly of the current project.
It dosent do so(open the current project assembly).. although it has been added to my tools list..
|
|
|
|
|
You have to add the target directory to the arguments text box.
Just click on the little arrow next to the box, and click on Target Dir.
Simon
|
|
|
|
|
You can find ILDASM here[^], only it's been improved a little... it's called Reflector
|
|
|
|
|
I have build a custom control,
it allows the user to drag a small circle
over the background of the control.
if the user drags the control i only
invalidate the rectangle containing the "previous circle"
invalidate the rectangle containing the "new circle"
(in that order)
so the program only has to redraw that area of the background
(way faster)
everything works ... until i drag the circle at higher speeds
for example : if i drag it fast to the right, the right edge of the circle is "cut off"
so i think it is not the previous area that gets refreshed after the current
(i would see artifacts on thel left then)
i tried Update(); just after invalidating both areas and i tried it after a single area got invalidated.
(double buffering is enabled)
has anyone a solution for it?
|
|
|
|
|
It shouldn't matter in what order the regions would be updated. The Paint event should draw that part of the control as it currently looks.
What does your code for the Paint event look like?
Despite everything, the person most likely to be fooling you next is yourself.
modified on Wednesday, April 30, 2008 4:50 PM
|
|
|
|
|
this is the code OnPaint eventhandler:
all the painting is in this eventhandler
protected override void OnPaint(PaintEventArgs pe)
{
base.OnPaint(pe);
Graphics g = pe.Graphics;
if (bmp_background == null)
{
RenderBackGround();
}
Rectangle R = pe.ClipRectangle;
g.DrawImage(bmp_background, R.X, R.Y, R, GraphicsUnit.Pixel);
DrawPoint(g,DrawingArea);
}
|
|
|
|