Questions tagged as 'c#'

0
answers

Condition for running alarms in Windows Phone 8.0

When creating an alarm for Windows Phone 8.0 via the following code: Alarm alarm = new Alarm(nome) { BeginTime = dateValue, ExpirationTime = dateValue2, Content = "Horário!!!", RecurrenceType = RecurrenceInterval.Daily, };...
asked by 05.03.2016 / 19:11
0
answers

Insert in Mysql file txt

I am trying to insert a C # table into MySQL. For this I am using a txt file filled with the table information and then inserting into MySQL, but it does not insert even though the file is created correctly. > Below is the code I'm using: pu...
asked by 07.03.2016 / 00:50
7
answers

Best data type to work with money?

I'm developing a project for commercial automation, using PAF-ECF and everything else. What would be the best data type to work with SQL Server and C # for money issues? Especially in relation to rounding and truncations. I imagine the bes...
asked by 13.02.2014 / 23:33
1
answer

Manipulating what will be displayed in the DisplayMember of a CheckListBox

I have a class Model: class pessoaModel { int id; DateTime data; TimeSpan hora; CliModel ID_Cliente = new CliModel (); public string Nome { get { return nome; } set { nome = value; } } pub...
asked by 24.02.2016 / 14:50
1
answer

ClickOnce does not receive last update

I have an application in WinForms, published on my app server. When I try to install the latest version ex. 1.1 by ClickOnce, the client machine installs version 1.0, which in this case is the version currently installed on the client machine...
asked by 24.02.2016 / 15:17
0
answers

Error: The type or namespace name 'Logic' does not exist in the namespace 'Game.Logic.AI.Game'

   Error 12 The type or namespace name 'Logic' does not exist in the   namespace 'Game.Logic.AI.Game' (are you missing an assembly   reference?) How can I solve it? I already have a project named Game.Logic and my code looks like this...
asked by 14.02.2016 / 19:24
2
answers

The referenced component "System.Core" was not found?

The referenced component "System.Core" could not be found? I'm having this error how can I resolve it? link     
asked by 14.02.2016 / 18:34
1
answer

Crystal Reports Displaying Strings

I'm starting in CR and I'm having a hard time generating a report in Visual Studio 2008's Crystal Reports. It's not displaying the values in my database table. The datasource I'm using in the report is the Dataset of the application, that is,...
asked by 18.03.2016 / 21:10
1
answer

How to create a file filter when dragging in C #

I'm implementing the Drag Files function to populate a Listbox with the path of the files. It works fine, but I would like to put a "filter" making it possible only txt to be imported. If it is not txt, an Error MessageBox should appear to...
asked by 16.03.2016 / 20:03
0
answers

Instances Slow C #

I'm creating an instance of a certain class, and it's taking too long to instantiate. Anyone know how I can solve this? The applications were slow to instantiate class code that is taking a while to start public class Email {...
asked by 16.03.2016 / 14:51