473,508 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How would I make an if statement detect a keystroke in a txtbox on a WPF Application?

1 New Member
So I am making a program that calculates some numbers in a WPF Application. I am however having trouble detecting a keystroke in either of the text boxes. I figured I would be using an if statement, but I'm not sure how to get it working. I basically want the program to hide a few things when the user starts to enter a new set of data. I know the text to set the objects back to hidden. Any hint or bit of information would be greatly appreciated.
Dec 4 '10 #1
0 1021

Sign in to post your reply or Sign up for a free account.

Similar topics

33
15831
by: aa | last post by:
I am migrating to PHP from ASP where there are the Application Scope variables which are accessible from any page on a website and which are used, in particular, for hit counters. Is there a similar...
0
308
by: Martin Ivan | last post by:
Hello, I have a console application, which running rather sensitive code, which needs to be finished/closed properly. The code is wrapped in a class, which implements IDisposable. I need to make...
5
1278
by: Cat | last post by:
Hello. Let's say there is a simple Windows executable, app.exe When app.exe is executed, I would like to check if the app.exe is modified by others than me. Creating CRC data would be a right...
6
3626
by: Andrea | last post by:
I need to detect when another application is launched. I'd need to know also when a new folder is opened in explorer. I'm developing an application to speed up access to frequently used...
0
1159
by: Mark Kamoski | last post by:
Hi-- How can one detect, programmatically, if an application is set to "work offline"? The situation is this. I have a project hosted at a site on the web. When I am developing locally, I...
12
17024
by: Patrick Dugan | last post by:
I have an vb.net application that is a module that uses a "application.run" in the sub main to start. There is no form involved (just a system tray icon) How can you detect when the application...
16
48405
by: eflatunn | last post by:
Hi all, my problem is that the application doesn't terminate when I close the form using the close box on the caption bar. Actually it seems as if the program is closed but task manager's process...
3
1290
by: =?Utf-8?B?WHltb3g=?= | last post by:
I'm developing apps in WindowsXP which calls IBM's Websphere MQ Client. This client is a .NET application. My app is using an ActiveX wrapper in native Windows XP. When the application calls the...
1
10782
by: Kate77 | last post by:
Hello, Im trying to detect in my application what OS it is running. I found this code: // Get the Operating System From Environment Class OperatingSystem os = Environment.OSVersion; // Get...
0
7225
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7124
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7326
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7498
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5629
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5053
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.