Questions tagged as 'c#'

1
answer

How to create a virtual keyboard?

I have a form (Form1) and when I click on a button I would like a new window with several buttons to appear that when I click on one of them would add a letter to a Form1 textbox. Is it possible to do this without having to create a new form? If...
asked by 22.08.2016 / 13:49
1
answer

Error connecting to ftp using proxy c #

I have an application that connects to an ftp, however when I try to connect using proxy authentication I get an error. O servidor remoto retornou um erro(514). Proxy retornou um erro. This is the method that gives the error. public strin...
asked by 22.07.2016 / 16:00
1
answer

C # in form 2 does not show string in label

I do not understand why but Form 2 does not show the label text in form 1. form 1 private void button1_Click(object sender, EventArgs e) { string Username = textBox1.Text; HelloForm HF = new HelloForm(); HF.S...
asked by 25.07.2016 / 15:53
2
answers

While the progressbar value does not reach 100 does not close the window

Before you start, it's not a virus, it's a game. I wish that while progressbar does not reach 100% could not close the window when clicking the button and popup appears to say that can not close is the code here: private void button1_Click(obj...
asked by 25.07.2016 / 19:57
1
answer

Assign href via jquery

I have an element in my Layout and I'm trying to set the href via jquery, but it will not. The code is in my index. Here is the code: Layout <div class="three wide column dindex"> <div class="ui left fixed vertical blue i...
asked by 03.06.2016 / 19:15
1
answer

Exporting the Listview to Excel (.xls) from a populated list by LINQ, WPF (C #) project?

Good ... I need to export the data of the Listview populated by the LINQ method of a SQL Database ... I can not get the Column Headers in Excel ... Can anyone help? Reference: link Export Class: using System; using System.Collecti...
asked by 17.07.2016 / 06:02
1
answer

How to keep the scroll always at the end of the WPF textbox

How can I keep scrolling at the end of the textbox? I have a textbox, but it receives a lot of content, and when it arrives at the end it does not follow and text that exceeds, stays in the same place.     
asked by 29.05.2016 / 18:26
1
answer

How to load the latitude and longitude pairs for a C # object and work them?

Good evening! I am developing a web page where the user can draw a route. I use google maps api. I need to get the latitude and longitude pairs from the route, load to a C # object and, after working latitude and longitude information, return th...
asked by 25.05.2016 / 23:11
2
answers

Inheritance in the Entity Framework

I'm now reading about cross-domain inheritance in EF. I came across this example: public abstract class BillingDetail { public int BillingDetailId { get; set; } public string Owner { get; set; } public string Number { get; set; } }...
asked by 28.05.2016 / 17:54
1
answer

Retrieving application state when selecting an item in GridView

Hello, I'm creating a universal application for Windows 10 in C #. On the home screen you have a GridView loading dozens of items. Would you like to know how to save the selected item without having to go back to the home screen, then scroll to...
asked by 08.06.2016 / 01:37