Home > Net >  The great god help sister and see how to solve this problem! ?????
The great god help sister and see how to solve this problem! ?????

Time:11-23

Sister now meet a problem, don't know where to begin, the great god, please help to check it out!

The problem is such,

Recently in reply to do a chat robot, which is when a customer coming, automatically identify customer hair news keyword in it, and then put together fine art sent out in advance!

But the chat window is like that, without any text input, there is no send button,



You just need enter text, send button!


I looked at, VX and peach treasure phone app is set it like that!

I developed this application is web version!

The development environment and tools are VS2015 + c # + cefsharp browser (webbrowser support HTML 5 is not very good)

I want to solve the problem is:
1. How to analog input text in the text dialog?
2. How to simulate click send button?


PS: I use cefsharp assignment directly to the page elements inside, but there was no send button,
Checked the online, to use JS, but don't know where to start, how to operate,

Have a great god can give directions, or send a similar tutorial article? Thank you very much!

CodePudding user response:

Found in developer mode button corresponding event, and then see what specific calls the method, need to be a parameter, so you can bypass the need to enter button can let didn't happen,

CodePudding user response:

The analog input is not very good, see the button to send the implementation process, the writing assignment in the past, the call by code calls rather than through the display window,

CodePudding user response:

Web page version need not bother, and not the APP

CodePudding user response:

reference 1st floor csdnFUCKINGSUCKS response:
found in developer mode button corresponding event, and then see what specific calls the method, need to be a parameter, so you can bypass the need to enter button can let didn't happen,
ok, I'll give it a try

CodePudding user response:

I want to solve the problem of inside is this post, just using the browser's cefsharp! Not that!

https://blog.csdn.net/seewp/article/details/40651351? Utm_medium=distribute. Pc_relevant. None - task - blog - BlogCommendFromMachineLearnPai2-1. Nonecase& Depth_1 - utm_source=distribute. Pc_relevant. None - task - blog - BlogCommendFromMachineLearnPai2-1. Nonecase

CodePudding user response:

Different front-end framework for text box, there are support input every word in a timely manner to modify text box MVVM binding values by the syntax (the default mechanism is only binding when focus left the text box), then you would be the "visible" button and the value of the text box is bound object's text bind is ok, don't need to code, and simply born under Ming 2, 10 seconds,

If you are not familiar with any kind of good with the front end of the framework, you can directly write js code to handle & lt; Input> Label the key event, to implement the same process,

CodePudding user response:

In.net BBS basically no HTML front end technology problem, develop such best to HTML BBS asked, actually Microsoft many years ago there was a powerful knockout framework is very love me, but unfortunately Microsoft itself is not to force, research and development of don't understand the importance of the front frame,
  •  Tags:  
  • C#
  • Related