Questions tagged as 'c#'

1
answer

How to convert decimal to binary with large numbers?

I'm creating a C # language program to perform conversions right now I'm implementing the binary - > decimal and decimal - > binary. How can I do the conversion if the user types large numbers how should I handle this? Buttons priv...
asked by 02.12.2015 / 12:07
1
answer

Null reference, I made a check before inserting the values and the error continues

I'm having this error when in my program we have two classes with methods referenced.    System.NullReferenceException was unhandled             HResult = -2147467261             Message = Object reference not set to an instance of an object....
asked by 29.11.2015 / 01:11
2
answers

Windows Forms and Panels

How do I use a single form to display several screens, such as login, registration, administration, etc.? It is possible to use the panel component, but the rendering of the panel is slow, as well as being unpleasant to develop in this way....
asked by 29.10.2015 / 10:31
1
answer

A 'tremble' effect with while?

I'm using the following code inside a Timer: void dt_Tick(object sender, EventArgs e) { double x, y; int cont = 0; x = tt.X; y = tt.Y; while(cont < 5) {...
asked by 09.09.2015 / 06:29
2
answers

Filling Table with List

Is there a function in Visual Studio where it is possible to fill a table with values of a List<> without a certain number of positions?     
asked by 25.08.2015 / 20:06
1
answer

Error Unity Development of an Online Project

How do I fix this error?    Assets / Online / Online.cs (139,25): error CS0246: The type or namespace name 'PlayerBehaviour' could not be found. Are you missing a using directive or an assembly reference? My script is the second way P...
asked by 13.10.2015 / 20:15
2
answers

Foreach in Foreach

I need to make a foreach inside another but are two tables one is called categories and the other is a galerya, I need to return all galeryas within each category only the category name only appears once, here's my code (var db = new DBContext...
asked by 25.08.2015 / 22:05
1
answer

Working with image in C #

I have two images: Atruntime,Ineedtomergethetwoimagestogether.Candeterminethepositionofthedollontheladder.Bothimagesareondisk.Theresultwouldbeimagesliketheseinbase64:    Are there any libraries that can help me with this? Which are the...
asked by 10.11.2015 / 14:21
1
answer

JObject.Parse returning null

I'm not very adapted to Youtube Api V3. But I watched a google developers live where the google operator shows how to list the activity of a particular channel. Based on this I executed via GET at the following address: https://www.go...
asked by 11.11.2015 / 21:09
2
answers

How to extract data from an XML url to Visual Studio labels [closed]

[! [Detail of the question] [1]] [1] I want to do a search button by ISBN code using Virtual Studio 2013, in which it would return data from the ISBNDB.com site in XML format, which would be inserted directly into the corresponding labels...
asked by 13.11.2015 / 01:54