Home > Net >  How to realize the mouse operate other controls, the textbox control have been get focus?
How to realize the mouse operate other controls, the textbox control have been get focus?

Time:11-04

Need to do a meeting record program, the conference speech into text input into the textbox control automatically, but the mouse still need to control other interface to demonstrate the data, what method can be implemented in asking the great spirit guide?
I baidu once someone recommended hook procedure, but I'm a little look not to understand, there are other ways to achieve?

CodePudding user response:

No direct assignment, textbox. Text +="voice conversion of words"

CodePudding user response:

Emm...
Will change the way of thinking: the transformed data save a string attribute of the background, such as the Result, and the Result after the change, update the TextBox Text attribute values.
In fact this is WPF binding simplified logic, if you like deep can learn WPF and the MVVM design pattern.

CodePudding user response:

refer to the second floor ziqi0716 response:
emm...
Will change the way of thinking: the transformed data save a string attribute of the background, such as the Result, and the Result after the change, update the TextBox Text attribute values.
In fact this is WPF binding simplified logic, if you like deep can learn WPF and the MVVM design pattern.

Now is this kind of situation, voice conversion of words I use directly input method's own function, real-time conversion, a conversion to say, so you need to always get focus textbox, if docking API as fees, or other great god have to do to realize the transformation with recording the meeting then?

CodePudding user response:

The Binding can, WPF and winform is fine

CodePudding user response:

reference bigQ666 reply: 3/f
Quote: refer to the second floor ziqi0716 response:
emm...
Will change the way of thinking: the transformed data save a string attribute of the background, such as the Result, and the Result after the change, update the TextBox Text attribute values.
In fact this is WPF binding simplified logic, if you like deep can learn WPF and the MVVM design pattern.

Now is this kind of situation, voice conversion of words I use directly input method's own function, real-time conversion, a conversion to say, so you need to always get focus textbox, if docking API as fees, or other great god have to do to realize the transformation with recording the meeting then?

You can try https://github.com/xxbb1234021/speech_recognition
If you want to use the.net development program, may have a look at ML.NET

CodePudding user response:

Can use the mouse events to bind him,
  •  Tags:  
  • C#
  • Related