Ok let me get this right. I must have understood custom controls completely. Is this how it it works. I create a different user control with a textbox and place that new textbox with the added functionalities in place of the existing control. Is this how it works.
I do know inheritance and I understood that from your pseudo code that the custom textbox is inheriting actual textbox control. But I dont know stuff like how does it work. Because in c++ and java when u inherit from a class, u still need to call the new class with a object of its own. But here...
I am trying to implement this. But my knowledge in C# is limited to the basic programming that is present in c++, java etc. So these topics are new to me. So i have to learn them to implement them. Can you suggest me what all I have to know or what all I have to learn to implement this. I...
I have created a simple program that has a texbox which accepts text from scanning a qr code. This is the textbox.
<TextBox x:Name="LearnTextBox" HorizontalAlignment="Left" Height="23" Margin="83,173,0,0" VerticalAlignment="Top" Width="620" Cursor="Pen" MaxLength="39" AcceptsReturn="True"...
I also want to say the above problem is when I set AcceptsReturn ="False". When I set it to True then multiline is allowed. Then the key down event handler is not working as I can just see the multiple line in the textbox and nothing else is happening.
string lines = unio_mod2.Text.Split('\n');
I just used this code inside the keydown event handler. So remember I told you the output from scanning the qr code is
So I expect this to happen
lines = SAR41-d1A3
Also I want to tell you that I am using key down event for the textbox and when I scan the QR code, I am getting different lines one at a time and not all together and that is causing problems with key down handler because i think it is getting executed when each line is inserted.
No, still I am not getting it. I scan the QR code and this is what I get in the textbox.
But what I want is SAR41-d1A35701/014Cpa01.04.2020 in the textbox. Unfortunately I cannot get it, till now. Kindly do help me.
I have a wpf application that has a textbox to which value is inserted using a scanner. At one time when I scan a single data, multiple lines comes into textbox which can be scrolled down to see. But I dont want them as multiple lines. I want to combine all lines into a single line and see...
Thank You. I corrected it, I created a folder in the project in Visual Studio and called it also Manuel Eingabe and that is why the namespace was Datenbank Interface. Manuel Eingabe. I completely redid it by creating a new folder called Manuel and then the namespace is DatenbankInterface.Manuel...