|
That would depend on what Alt-T does in your application.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
I want to open a topic using that
|
|
|
|
|
I am sorry, but you are using terminology with which I am not familiar.
What is a 'topic'?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi,
there are two easy ways:
1. create a menu item that does what you want ALT+T to do, then assign it ALT+T as a shortcut.
or
2. handle KeyDown (or KeyPress) event, check for the right key combination, and act on it.
|
|
|
|
|
hi all,
i m making a windows application in C#. i want to rotate a panel in this panel i am capturing a video, i want to rotate this panel so the video is also rotate with this panel can any one help me...
thanks in advance..
|
|
|
|
|
Not easily, no. The Panel control doesn't directly support being rotated to an arbitrary angle. WPF, on the other hand, will allow you to do this and render video in it. I suggest picking up a beginners book on WPF before proceeding. It's got quite a steep learning curve.
|
|
|
|
|
Hi peoples,
I am working in WPF screen,
i need to clear all the controls(values) in the screen at one stretch,
if win forms we can give as (foreach control in this.controls)
but here how can we do??
|
|
|
|
|
First of all, this is a WPF question.
Second, people here don't get paid to answer questions, so they may take some time to get to your question.
Third, it's bad form to repost a question just to bump it. It makes it less likely that you'll get an answer.
Fourth. I was writing a sample of the code for you to demonstrate how to do this, but now I don't want to finish it. You lost me when you posted this question.
"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
|
|
|
|
|
hi mr Pete O hanlon,
Actually, i didn't put again to bump my question here,and also i know that no body is getting paid for reply.
i already put the same in WPF message board, but i saw for the past two hours no reply for that..
but here in C# board lot of replies are coming, i thought no body is going for WPF forum,
so only i re posted here that's all.
|
|
|
|
|
Need 2 hour turnaround on your question? Pay someone to answer it. Otherwise, just wait patiently like everyone else does!
|
|
|
|
|
i dont want to give reply for ur post in common forum....
|
|
|
|
|
I have entered one question regarding WPF screen,in WPF message board, can any one reply for that?
|
|
|
|
|
yeah anyone that is a CodeProject member can reply to it. I would say wrong forum but i dont think there is a forum for question about who can reply to other questions...
Perhaps you should put in a request for one
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
but mr musefan, i think you are much genius among the genius..
i posted the question, but no reply there for more that two hours, so i asked these peoples to check that question and reply...
|
|
|
|
|
2 hours?? That's it?? That's all you waited??
We do this on a volunteer basis. We don't get paid to do this and just about all of us have real jobs we have to attend to. We answer questions when we can and for as long as we can spare the time. Your demanding of an answer is just going to get you ignored.
|
|
|
|
|
Hi all,
I have a textbox and one button in my form. After entering text in textbox I have to click on Ok button.
Insted of click on Ok button I want to press enter.
|
|
|
|
|
Register for the KeyDown-Event of your textbox. Within the handler check if the KeyCode equals Enter and call your OK-method.
|
|
|
|
|
What about using a KeyPreviewDown event handler for the text box, then you can use the same code you use in your button Click event handler
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
Hi,
You can do it like this.
textBox.PreviewKeyDown += new KeyEventHandler(textBox_PreviewKeyDown);
private void textBox_PreviewKeyDown(object sender, KeyEventArgs e)
{
if (e.Key == Key.Return && Keyboard.Modifiers == ModifierKeys.None)
{
DoSameThingAsOKButton();
e.Handled = true;
return;
}
}
Hope this helps,
Bart
|
|
|
|
|
I think you have replied to the wrong persona
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
You don't need any code for this, just:
- make sure TextBox.AcceptsReturn is false
- have an OK button with DialogResult not equal to None
- set your form's AcceptButton to that OK button.
|
|
|
|
|
Hi all.
I'm gonna send a file via local network for a specific IP !
How can I do it with C# ?
Could you guide me ?
Thanks a lot.
|
|
|
|
|
|
Thanks.
Is there a difference between wireless and normal networks ?
|
|
|
|
|
No... if you have the ISO/OSI stack in mind, TCP is a higher-level protocol than the protocol that will differ between wireless and "normal" networks.
|
|
|
|