Questions tagged as 'c#'

1
answer

nHibernate save string in upper case

Hello, is there any nHibernate mapping option to save the string fields in uppercase mode? Thank you.     
asked by 02.09.2015 / 22:49
1
answer

Error loading Antlr3.Runtime [closed]

Today I had a power failure problem and a full scan was performed when the computer was restarted. It has apparently generated some errors and I believe one of them is related to the problem that occurred next. I opened my project in Visual S...
asked by 20.08.2015 / 16:49
1
answer

Remove white space from chart

I'm facing a problem that I can not solve. I have a page, and it has 2 charts , but the problem is that these charts are small, with lots of white space around them. I have tried to set the Position and InnerPlotPosition propert...
asked by 21.09.2015 / 15:22
1
answer

How to convert a Decimal value to Datetime?

Can anyone help me with the following question? I have two return variables. Examples: 1st - type decimal ( vdecTotalHoras ) and a 2nd - also of type decimal ( vdecMediaAnalise ), both return date and time valu...
asked by 04.08.2015 / 17:24
1
answer

How to convert string to double without rounding error?

Because the following command: Convert.ToDouble("199998,99") Results in:    199998.98999999999 Already the command: Convert.ToDouble("199998,98") Results in:    199998.98000000001 ?     
asked by 31.07.2015 / 14:47
1
answer

CheckBox with External CheckBox

I have a Form with a DropDownlist with CheckBox inside, and I have an external CheckBox that selects and unchecks all. My question is the following. When I unselect one of the items in the DropDown the "Select All" CheckBox should be unche...
asked by 04.08.2015 / 15:38
0
answers

Error creating a method in a WFA application in inheritance and polymorphism

I created a WFA project that will serve as the basis for the rest, as follows: I created a FormBase that has public control variables such as the operator name, date and time of access to the systems; I created a FormBasePrincipal, which...
asked by 04.08.2015 / 21:00
0
answers

Animation with dependency property

I am studying dependency properties in WPF. In all the articles I read the use of this feature in the animations is mentioned, but I could not find any applications. What is the advantage of using a dependency property if I can do the animati...
asked by 27.07.2015 / 16:44
1
answer

OnMouseUp () method does not work on unity4

Hello! I'm new to Unity and I can not do the OnMouseUp () method; work using UnityEngine; using System.Collections; public class touch : MonoBehaviour { void OnMouseUp() { Debug.Log("Drag ended!"); }} I've already assigne...
asked by 06.08.2015 / 02:27
2
answers

Doubt about application database made in C #

I'm creating an application in C #, but I had a question. Which database is used so that it is not necessary to install the database on the client system? For example: If I were to use Postgresql how could I integrate the application with the da...
asked by 28.06.2015 / 19:24