Questions tagged as 'c#'

0
answers

System.speech in Portuguese-Brazil [duplicate]

I wonder if using the System.speech I can use it in Portuguese - Brazilian. My operating system is in the English language. I've already downloaded all the necessary packages, and if I put it in English (en-US), my program works perfectly...
asked by 22.02.2018 / 23:03
1
answer

How to start the ASP.NET State Service?

I set up my Web.config with the following statement: <sessionState timeout="30" mode="StateServer" /> But when I run the application (an ASP.NET site), I get the following error:    Can not make the session state request to...
asked by 09.09.2017 / 17:52
1
answer

Loading reportviewer through an object

I'm using the Report Viewer to do some reporting, but I'm not able to access some data from my object. instead of making a direct connection to the database I pass a DataTable as a reference, and already in the ReportViewer I add a DataSet Objec...
asked by 12.08.2017 / 15:38
1
answer

Error starting WPF application

When I start my application, an error message is displayed. The problem is that I can not find the source of the problem. Before, it did not start today. I thought it might be some configuration, but I did not change anything in Visual Studio, w...
asked by 11.08.2017 / 15:44
1
answer

InitializeComponent does not exist in the current context

I have this code, where I have the error [XamlCompilation(XamlCompilationOptions.Compile)] public partial class AprovarPopup : PopupPage { public AprovarPopup() { InitializeComponent(); } pr...
asked by 31.10.2017 / 09:55
1
answer

Object reference not set to an instance of an object

I'm learning to do App using Xamarin 2017 , and when I try to connect to the database I created via SQLite , the application has this error:    Object reference not set to an instance of an object. How could I fix this?...
asked by 29.09.2017 / 23:12
0
answers

Change background color of a selected item in the listview of a menu on a Master Detail Page with Xamarin.Forms

When I select an item in the menu, it has a background color pre-defined by Xamarin, but I would like to change that color. I'm using a MasterDetailPage in Xamarin.Forms     
asked by 02.10.2017 / 09:37
1
answer

Configuration many to many code fast migration

Good afternoon! I have this many-to-many configuration in my project. public class Usuario { public Usuario() { this.LocalTrabalho = new HashSet<LocalAtendimento>(); } public virtual ICollection<LocalAtendim...
asked by 30.09.2017 / 17:37
1
answer

Visual Inheritance Doubt between Windows in WPF

I'm new to WPF and would like to clarify a question that I think most people have but can not clarify right, which is the visual inheritance of windows. Imagine that all my registration screens should have the same appearance and the same but...
asked by 08.11.2017 / 10:06
1
answer

Dynamic PictureBox

I have a table called "Subordinate" where users with their respective photos are registered. I have a form and I need to display the photos of all the registered users. For this I have the following method: private void ListarImagens() {...
asked by 08.11.2017 / 20:32