|
Did you search the internet?
See here.
Me, I'm dishonest. And a dishonest man you can always trust to be dishonest. Honestly. It's the honest ones you want to watch out for...
|
|
|
|
|
|
Again, NO ONE is going to send you an entire application. Do your own work!
|
|
|
|
|
Hello,
I have a form on which i draw a rectangle with the help of the graphics.
During scrolling the rectangle is flickering.
My code is the following:
public Form1()
{
InitializeComponent();
AutoScrollMinSize = new Size(1000, 1000);
SetStyle(
ControlStyles.AllPaintingInWmPaint |
ControlStyles.UserPaint |
ControlStyles.OptimizedDoubleBuffer, true);
UpdateStyles();
}
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
e.Graphics.FillRectangle(Brushes.Red, new Rectangle(0, 0, 30, 30));
}
protected override void OnScroll(ScrollEventArgs se)
{
Invalidate();
base.OnScroll(se);
}
protected override void OnMouseWheel(MouseEventArgs e)
{
Invalidate();
base.OnMouseWheel(e);
}
What i don't understand is why the flickering appears when i move the scrollbar with the mouse, but on mouse wheel does't appear.
Why flickers the rectangle on scrolling?
What can i do to avoid flickering on scolling?
Thanks.
|
|
|
|
|
Try to add After this line
Noemi Katinka wrote: UpdateStyles();
this.DoubleBuffered = true;
|
|
|
|
|
please i need the complation of 4 queen only by my code for my doctor
we start
desgin from
node class
bfs class
to top expirt
please try to find by this method in simple code
by use my class and add to classes the miss code
i reach to do more but i didn't find any active help
they give you notice only and more words like you i don't understand
oh,dear code can't understand write code of solution
i try to write the completion but not finishe yet
and thank you at all to every 1
http://www.mediafire.com/?omzzgjimymn[^]
modified on Friday, April 9, 2010 2:31 PM
|
|
|
|
|
|
Did you think we wouldn't notice?
Why don't you do what Pete o'Hanlon suggested?
Google for a breadth first search algorthim and implement that.
The code you eventually posted is too complex for the problem it is solving AFAICS.
Dalek Dave: There are many words that some find offensive, Homosexuality, Alcoholism, Religion, Visual Basic, Manchester United, Butter.
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
|
|
|
|
|
Please read the responses to the first time you asked this, then work out why they were posted.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
|
|
|
|
|
and somehow you now expect this drivel to get an answer? If you can't learn from the posts below how on earth do you expect to understand... oh, forget it, you are an idiot.
me, me, me
"The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!"
Larry Niven
|
|
|
|
|
I am sure the problem is that English is not your native language, but I do not understand that at all. Please try to explain in better detail what you are having problems with, or find a site that understands your native language. Sorry.
You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace
C/C++ (I dont see a huge difference between them, and the 'benefits' of C++ are questionable, who needs inheritance when you have copy and paste) - fat_boy
|
|
|
|
|
Its very bad question....
|
|
|
|
|
sandympatil wrote: Its very bad question
Trying to gain points again, sandympatil?
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
Hi,
I'm afraid I can't really help you. The Kingdom of Belgium currently has two queens, and the prospects are rather good for getting a third one pretty soon, however I see no way to fit a fourth one. It simply will not happen.
|
|
|
|
|
|
Isn't your doctor happy with one queen?
|
|
|
|
|
:Hands Clapping: :Man Taking Off Hat to You:
Dalek Dave: There are many words that some find offensive, Homosexuality, Alcoholism, Religion, Visual Basic, Manchester United, Butter.
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
|
|
|
|
|
But I can fit four of them on one barstool.
|
|
|
|
|
i reach to do more but i didn't find any active help
they give you notice only and more words like you i don't understand
oh,dear code can't understand write code of solution
i try to write the completion but not finishe yet
and thank you at all to every 1
http://www.mediafire.com/?omzzgjimymn[^]
|
|
|
|
|
|
|
Did you know that reposting a stupid question isn't going to get you any better answers. You've been told what you should be looking for, but apparently you're dumber than a fly in cowshit.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
you are still dumb ,you should give solution or shutup
|
|
|
|
|
amrreko wrote: you are still dumb ,you should give solution or shutup
TO WHAT!? YOU HAVEN'T ASKED AN INTELLIGIBLE QUESTION!
And no, noone is just going to give you the code for your problem. If you're going for a degree, you damn well better have the ability to do research on problems like this, otherwise, quit now and save yourself the embarassment of failing in the front of the entire class.
|
|
|
|
|
sorry man i just became bored
|
|
|
|
|
Hey dumbshit, I already told you where to find your answer. Now, let's see - who does this for a living? Is it you? Ooh, no it isn't. Is it me? Why yes it is, and I'm good enough to even own a successful software company. How about you? How are you doing on this front?
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|