Questions tagged as 'c#'

1
answer

Using Factory and Controller to handle Json

On this site Andrew McGivery I found this very interesting example: .controller('UserCtrl', function($scope, $stateParams, userService) { var user = userService.getUser($scope.id); }) .factory('userService', function($http) {...
asked by 23.09.2015 / 15:12
1
answer

How to get values from a listview on another page.xaml

   I have this class that fills the values in the listview. public Lista() { this.InitializeComponent(); carregaLista(); } protected override void OnNavigatedTo(NavigationEventArgs e) { } public async void carregaLista() { va...
asked by 01.11.2015 / 23:28
0
answers

I want to put a background music in my project C #

This is the code I created, but when I press the button, the form simply hangs and nothing else works, I can only close it by the Task Manager, but in the project no error is shown ... public Form1() { InitializeCo...
asked by 02.11.2015 / 14:01
0
answers

Problems with ObjectStateManager when updating a Model

I'm having trouble updating a model, the code below is working correctly when I give GET in a context model edit on the screen (View) and give a submit all ok but when I have a data grid where I load several messages and for example I will check...
asked by 01.10.2015 / 07:26
1
answer

StackOverflow in System.Windows.Forms.dll

Hello. I am developing a desktop application in C # that performs a Serial Port routine (Writing, Reading, Capturing Information, Displaying this information). However, there are times when a Stack Overflow error appears, but each time it is on...
asked by 30.09.2015 / 22:54
1
answer

Modal in controller

I'm working on a page that has a Model OrderPosition and there is a button that when pressed opens a modal of products, with a table with all products. As I click on a line of a product the product selected in the modal is added to the OrderP...
asked by 01.10.2015 / 21:46
1
answer

WebDriverException when not finding elements with FIndElements

When I try to check whether or not an element exists on my web page, and if the element does not exist, my IWebDriver launches a WebDriverException , and all methods in my driver stop working, I continue to run the test even doing the treatment...
asked by 02.09.2015 / 23:16
0
answers

Error selecting text with mouse, Forms inside tabcontrol

I found an elegant solution on how to work with MDI Tabbed Interface, I'm creating at runtime a tabcontrol inside my MDI form, and I'm creating a new tab for each form. of the form quoted below! form.TopLevel = false; superTabControlPanel.Cont...
asked by 04.09.2015 / 16:57
0
answers

C # windows appication Event: CLR20r3 when starting the application

I created a windows forms application c # .net 4.5, in my development environment it works perfectly, but when I put the release in the client environment, it gives the following error when starting: Descrição Stopped working Assinatura d...
asked by 04.09.2015 / 14:01
0
answers

Webservice in C # Reading Xml

Good afternoon, I'm building a WebService in C #, I created a method that reads an XML sent as a request and should return the student's name ... The problem I'm facing is actually when I try to perform the test using SoapUI, when I send the XML...
asked by 09.09.2015 / 20:41