Questions tagged as 'c#'

0
answers

TCP android client does not work

Good afternoon, I'm creating an application in android studio to send a string from smartphone to pc. My application has the following code: public void Send_Command(View v) { testClass(); Toast.makeText(getApplicationContext(), "C...
asked by 03.10.2018 / 20:05
0
answers

How to block the application from minimizing C #

I have a windows form app that after opening a new screen it minimizes itself and I can not figure out why. All the screens I call as follows Home PagHome = new Home(); PagHome.Show(); this.Close(); And when I start the forms, I put in t...
asked by 06.10.2018 / 15:10
2
answers

Prevent the user from using the mainwindow window while another window is open

I have an application in WPF following the MVVM standard and in a certain part of the application I show a ProgressBar that I implemented in a separate view for the user and, while this progressBar is running, I would need the user to be unable...
asked by 08.10.2018 / 18:33
1
answer

Do I need in a select to add and multiply columns with variables? Mysql

I need to add and multiply variables with columns and show the result with a select will look like the encoding below but because it needs strings, such as "user", and variables of the decimal type select will not work, the coding? Or if the onl...
asked by 07.10.2018 / 02:56
0
answers

How to write build script for different projects inside a solution (C #)?

I have an empty solution in the DDD standard, where each layer is a standard library project and I have also got my test project in a separate project. More or less like the image below: I'd like to generate a build script in order to c...
asked by 07.10.2018 / 15:14
0
answers

Could not load file or assembly 'System.Web.Mvc, Version = 5.2.4.0, Culture = neutral

I'm trying to create this project link but after opening the project for the first time and compiling, the error occurs:    Could not load file or assembly 'System.Web.Mvc,   Version = 5.2.4.0, Culture = neutral, PublicKeyToken = 31bf3856ad...
asked by 16.10.2018 / 14:25
0
answers

Filter a dataset with the value of another dataset in Report Viewer

In my Report Viewer I have two datasets, the main dataset I made a grouping and I'm going to display it in a table, in one of the table fields I would insert another table with that second dataset, but I would need to make a filter to only retur...
asked by 11.10.2018 / 20:12
0
answers

Syntax in parameter passing = [duplicate]

I have this syntax: deleteCommand = new RelayCommand (param => this.Delete (), param => this.CodeDelete ()); The arguments passed to the RelayCommand constructor are of the Action and Predicate type, normally I could not pass the Delete...
asked by 14.10.2018 / 00:16
1
answer

Picking up data in the entity framework database (taking the discount coupons)

Good evening, I would like to know how I can do ajax for him to go through my bank and see and there is a discount code: DAO: public void Adiciona(Desconto desconto) { using (var context = new LojaContext()) {...
asked by 03.10.2018 / 02:49
1
answer

Including files in Visual Studio projects

Good evening. I would like to know if it is possible to include a file in a Visual Studio project programmatically at runtime?     
asked by 02.10.2018 / 03:49