|
sinanju wrote: But, I want to display it for some button's click event, like exactly that of MSN messenger. Any idea?
They are done in Macromedia Flash.
|
|
|
|
|
Thank you leppie, for you reply.
Here how can i manage to display it, some threading will do the trick, so that i can move the form around while the animation is on?
|
|
|
|
|
I've searched a link
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=530668&SiteID=1
It seems to me relevant, I'll try it later.
|
|
|
|
|
Hi the NewbProgrammer is back!
Im making a simple for a video game. What this program has is a lable in which the current time is displayed using DateTime.Now.ToString();. How do i get it to auto update. Thank you for taking the time to read this.
|
|
|
|
|
Create a Timer with and interval of 1000ms.
Sample
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Use a System.Windows.Forms.Timer, hook the Tick event, in there set the label's text.
:josh:
My WPF Blog[^]
|
|
|
|
|
Redraw the time. In fact you probably don't need a label for it either. Graphics.DrawString might consume less resources than a label.
A man said to the universe:
"Sir I exist!"
"However," replied the Universe, "The fact has not created in me A sense of obligation."
-- Stephen Crane
|
|
|
|
|
Thanks a lot you guys it was really helpful
MWA HAHAHAHA I AM A NOOB AND WE NOOBS WILL KILL YOU ALL. JK
|
|
|
|
|
I have this RichTextBox. At some point, the RichTextBox might have a little image in it. When the image is selected, the myRichTextBox.Copy() method doesn't properly copy the image data to the clipboard. I know this because MS Paint complains when I try to paste it therein.
Can someone please show me how to get a selected image (in a RichTextBox) copied properly to the clipboard? I assume I'll have to use the Clipboard class, right? I'm not sure how...
-Daniel
Typing too fast fro my owngood
|
|
|
|
|
Hi,
Anyone know how to create a .NET form control with MAC style.
Here is a sample what I mean: http://www.econtechvn.com/en/macuisuite_detail.htm but is has to be bought. I'm looking for any code or free resources to help me acomplish it myself
-- modified at 13:36 Tuesday 18th July, 2006
|
|
|
|
|
Override OnPaint. That's what I would do...
-Daniel
Typing too fast fro my owngood
|
|
|
|
|
Buying a 3rd party UI set will almost certainly cost less than writing the same controls yourself.
|
|
|
|
|
dan neely wrote: Buying a 3rd party UI set will almost certainly cost less than writing the same controls yourself.
I agree. Especially if you're going into it with no idea of if/how it can be done.
:josh:
My WPF Blog[^]
|
|
|
|
|
Thanks for your comment, but still I want to do it myself, I'm almost intermediate in C# I could be able to get through of it. plus once I had seen an article with source code on the web but I forgot the address at this time and I went no where by searching the web.
Please for those who know anything about the soulution let me know.
Thanks.
-- modified at 14:22 Tuesday 18th July, 2006
|
|
|
|
|
Hi guys,
Is there a way to save checkbox setting, i.e. checked/unchecked. When the application is installed make it unchecked and then once the user checks it then keep it checked until the setting is changed again in the future.
Is this possible?
sasa
|
|
|
|
|
A man said to the universe:
"Sir I exist!"
"However," replied the Universe, "The fact has not created in me A sense of obligation."
-- Stephen Crane
|
|
|
|
|
|
Store the state of the checkbox somewhere, like in an xml config file or in the registry. When opening the window with the checkbox, get the value. When the window is closed (or the checkstate is changed) save the value.
:josh:
My WPF Blog[^]
|
|
|
|
|
Thank you for your help. I went with the saving of the setting in an XML file and loading the setting upon form load.
sasa
sasa
|
|
|
|
|
You could bind the checkbox to the settings in the app.config and supply a setting that is initially unchecked.
|
|
|
|
|
Thank you for your help. I went with the saving of the setting in an XML file and loading the setting upon form load.
|
|
|
|
|
app.config is a XML file. IMO it's a whole lot easier to use make some settings in the designer and config file then write and maintain the necessary methods to support a custome xml configuration file.
|
|
|
|
|
Hi
I want to Handle right-clicks in a TreeView. I did it with MouseDown event but i dont know how to get the TreeNode which was clicked.
any idea?
thanks
|
|
|
|
|
|