Questions tagged as 'winforms'

0
answers

How to get part of an image using bitmap C # [closed]

Well, I'm studying bitmaps, and I downloaded a pdf which said that an image was an array of pixels. Since it is an array (which is quite logical) there is how to define points within the image, mark a region so to speak. The bitmap class as well...
asked by 24.07.2017 / 13:25
0
answers

Error connecting to MySql database using C # application in Visual Studio [closed]

Hello, I created the registration form and at the time I am going to save the text box items in the database the following error 'Host' DESKTOP_R70LLO is not allowed to connect to this MySql server '. By my diligence to try to solve the error an...
asked by 19.07.2017 / 23:04
1
answer

Error connecting to the database [WinForm / C # / SQL Server]

My C # course teacher taught a new technique for us today, one need not tell ConnectionString itself, the program would go to the documents folder and get the .mdf file (SQL Server) and open the connection with it, but I have the following error...
asked by 20.07.2017 / 01:08
1
answer

Change TabIndex

How do I get the TabIndex from a Form to a given position? I tried using this.ActiveControl.TabIndex = 0; , but it did not work.     
asked by 16.08.2017 / 14:27
0
answers

Move buttons on a form in Visual Studio by means of a fixed control [closed]

I want to add buttons to my form and be able to move it when the application is running, how to do this? I would also like to apply a control button that defines whether they are in fixed or floating mode. What I need are buttons that can...
asked by 22.05.2017 / 18:59
1
answer

How to simulate mouse clicks in a background program

I'm having a problem with using the SendMessage and PostMessage functions in C # to simulate mouse clicks in a minimized (background) program. I used this code but it did not work, I believe it is makeparam . public enu...
asked by 24.04.2017 / 03:47
1
answer

Test Expression as user type

I'm having problems, trying to test an expression as the user types. I have TreeList where the user will enter a code, this code has the template: XXXX-XXXX-XXX That is, it can be anything like: A216-0450-001 X515-0477-A44...
asked by 25.04.2017 / 01:49
0
answers

UI and .NET desktop development [closed]

I'm beginning to develop a commercial application in C #, however, I have my doubts about how I'll do the visual part of the application (UI). I have worked with Windows Forms and WPF. In the Microsoft Build event in 2014, it was said that Wi...
asked by 28.01.2017 / 12:45
2
answers

Maximize borderless screen without hiding the Windows taskbar

When I put the window to FormBorderStyle = None and maximize it, it pops up, hiding the taskbar. I'd like to know how to make it maximized, but not hide the taskbar.     
asked by 22.03.2017 / 15:20
0
answers

LicenseManager.UsageMode C #

I have a% base% base that everyone else inherits. I picked it up from a question here from the same site. This is form : public BaseForm() { if (LicenseManager.UsageMode == LicenseUsageMode.Designtime) return; this.Load += Bas...
asked by 30.01.2017 / 12:52