Posts by Gabriel Arruda • 209 points
9 posts
- 
		0 votes2 answers314 viewsQ: How to restore a database backup from a c#application?I have searched how to restore a backup of BD through a c#application, but I had difficulty understanding the logic. I have already programmed a form that performs the backup and have no idea how a… 
- 
		3 votes1 answer1744 viewsA: How to Validate Maskedtextbox?solved my problem using: else if (!txtCPF.MaskCompleted) { MessageBox.Show("O campo CPF deve ser preenchido!"); txtCPF.BackColor = Color.LightSeaGreen; } I’ve learned I can use so much MaskCompleted… 
- 
		3 votes1 answer1744 viewsQ: How to Validate Maskedtextbox?I have a record field that mixes textbox common with maskedtextbox, created a validation code that does not allow the user to register if one of them is empty. But this only validates the textbox… 
- 
		2 votes1 answer432 viewsQ: How to return value to a Datetimepicker? C#I’m wanting to return data from a DataGridView for a DataTimePicker so that I can change this data and save it again, but I’m having a hard time doing so because the DataTimePicker does not accept… 
- 
		0 votes0 answers41 viewsQ: Dataset query showing last created ID giving errorI’m making a people registration form which when I finish entering the data it shows a MessageBox telling which ID the person was registered with. For that I use a query of my dataset(I’m using… 
- 
		3 votes2 answers351 viewsQ: progressbar reaches maximum value but visually does not fill c#I am working with a software in C#, in which after a login screen, appears a splashscreen with a progressbar that when it reaches its maximum value (100), she calls the main form of the program. The… 
- 
		1 votes3 answers944 viewsA: Add Text In textbox at a certain position C#I managed to solve my problem using System.Environment.Newline. string Texto = txtObservacao.Text; txtObservacao.Text += System.Environment.NewLine; txtObservacao.Text += "Segundo Molar… 
- 
		3 votes3 answers944 viewsQ: Add Text In textbox at a certain position C#Hello, I am developing a dental software which one of the functions is to select a tooth on a button and add the name of this tooth in a textbox. Until then no problem, but the point is that this… 
- 
		5 votes2 answers690 viewsQ: Change property of multiple Uttons simultaneouslyHello, I am developing a project of a dental clinic in c# in which uses several buttons inside a picturebox to select the teeth, so I decided to put several Buttons with certain opacity and the…