|
How to right-to-left and change language(i wanna persian Language for it) of MS Agent ?
|
|
|
|
|
|
I was fighting a similar issue yesterday night...
There is a memory leak happening. every time you create a curson, there is new object being created. Checkout in TaskManager... Number of GDIobjects and UserObjects go to a damn high.
check out this tutorial:
http://www.switchonthecode.com/tutorials/csharp-tutorial-how-to-use-custom-cursors[^]
In the comments, User: Aerdanel has sorted the memory leaks. Use the same method for your custom cursor.
Som
|
|
|
|
|
did you remove the message?
|
|
|
|
|
How to open tooltip in the bellow of textbox(I mean any control)?
|
|
|
|
|
Message Closed
modified 23-Nov-14 6:50am.
|
|
|
|
|
Thanks!
the site you sent has problem!
I want this for windows application?
So Help!
|
|
|
|
|
How to right to left the text in tooltip ?
my code is
ToolTip tpl = new ToolTip();
tpl.IsBalloon = true;
tpl.ToolTipIcon = ToolTipIcon.Error;
tpl.ToolTipTitle = "آيا رمز عبور خود را فراموش كرده ايد؟";
tpl.Show(" \n لطفاً دوباره امتحان نماييد. \n از كوچك و بزرگ بودن حروف رمز عبور مطمئن شويد.", txt, txt.Left-40, txt.Top-20, 3000);
|
|
|
|
|
Message Closed
modified 23-Nov-14 6:50am.
|
|
|
|
|
This site has problems!
How to right-to-left the tooltip !
|
|
|
|
|
Hi my friends. I was working on one of my application in C# and i was using the following code
MessageBox.Show("Are you sure", "Confirm", MessageBoxButtons.YesNo, MessageBoxIcon.Information);
after this line of code it comes a messagebox which says "Are you sure" ... and Yes and No buttons ... but I wanted to know which button was pressed ... .. i.e If the user presses yes ... I want to delete some thing from Database ... If not continue as it is ..... Can any body tell me how to operate on this question.
Thank you
|
|
|
|
|
Message Closed
modified 23-Nov-14 6:53am.
|
|
|
|
|
stancrm wrote: if (result == DialogResult.Yes)
//... do something here
else if(result == DialogResult.No)
//... do something here
I have been trying zis a lot and a lot ... but i didnt use ... this one ..
stancrm wrote: DialogResult result = MessageBox.Show("Are you sure", "Confirm", MessageBoxButtons.YesNo, MessageBoxIcon.Information);
So tnx a lot ma man ...
|
|
|
|
|
This is more tidy I guess.
if(MessageBox.Show("Are you sure", "Confirm", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes)
{
}
else
{
}
|
|
|
|
|
hello every one,
I think Timer class is not accurate when measuring in miliseconds. I want to update a windows form control (e.g. Label ) with 1-minute count-down timer in milliseconds .if it is not applicable , every 10 milliseconds .
I think the problem in TimerTick method when incrementing and calculating minutes, it takes time plus the winform update time ??
I hop some one can help.
Thanks so mych in advance
All You Need Is A Good Friend
|
|
|
|
|
Why? Any why would a user want it?
|
|
|
|
|
in BasketBall scoring application. Last minute should be in milliseconds
All You Need Is A Good Friend
|
|
|
|
|
I doubt it. Probably not achievable anyway. You should read Luc's article...
|
|
|
|
|
you rang, my Lord?
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that. [The QA section does it automatically now, I hope we soon get it on regular forums as well]
|
|
|
|
|
Hi,
you may want to read my timers article (Timer surprises, and how to avoid them[^]) then. It does not mention StopWatch, as that wasn't around at that time.
my conclusion would be it is hard to get events at a frequency of 1kHz, however it is rather easy to get an accurate time using either StopWatch or a multimedia timer.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that. [The QA section does it automatically now, I hope we soon get it on regular forums as well]
|
|
|
|
|
|
DateTime.Now.miliseconds;
|
|
|
|
|
That's somewhat like measuring a length rounded to the whole meter, and then converting it to inches with 2 decimal places.
|
|
|
|
|
Indeed. Here[^]'s a little write-up similar to that.
|
|
|
|
|
I've encountered a baffling problem with images, and I'm hoping someone who has seen something similar might suggest what's going wrong.
I'm working with CMYK bitmaps (not RGB) and generating separate cyan, magenta, yellow, and black bitmaps for printing. I'm adding some markup to the black plane before the bitmaps are generated.
The problem is the black markup is appearing on all four planes, and where it does appear, only every 4th column is written. It's almost as if the black markup is being diluted over the four planes.
Now for the baffling part: It only happens on SOME machines. It works correctly MOST OF the time. I've only seen this malfunction on three machines.
I've tried copying the same .EXE and .DLLs and the results are consistent on each machine, i.e. it appears to be machine-specific, not file-specific. On two machines that have the same service pack (3) of Windows XP, one exhibits the problem, and one doesn't.
Has anyone seen any behavior like this before, or have any idea what's causing the inconsistent results? Thanks!
|
|
|
|