Questions tagged as 'windows-forms'

2
answers

Print PDF filled in with .text

I am creating an offer creator where there is a standard form and only replaces price and customer data. So my intention is to print that filled form with the variables captured in the Textbox.text If someone could explain or give me an examp...
asked by 14.08.2018 / 11:55
1
answer

Problem with IsMdiContainer

I have 1 parent form (so to speak the menu) and a child form (employees form) using the property in the parent IsMdiContainer = true and coding in the tab used (click event) the following code: Ventana_empleados ir_a_emplead = new Vent...
asked by 28.02.2018 / 02:53
1
answer

Error "c # object reference not set as instance of an object"

in my Windows forms application, I have a list of strings saved in User Settings, which is called FileList. The problem is that I see an error, the code is as follows: private void HomeForm_Load_2(object sender, EventArgs e) {...
asked by 01.07.2018 / 20:41
1
answer

MenuStrip, get where I am

I am doing a desktop application in c #, it has a MenuStrip and I would like to make an Activity Log, that is, write down in a table the user's information and what activities he did. I have the method that is executed when you click o...
asked by 26.07.2016 / 12:35
1
answer

How can I get the location from which my program is running? - C #

I would like to know how I can obtain the location from which my program is running. For example: I created a text editor and I want that if I put my program to start by default in a txt file, that the program when opening it tells me the add...
asked by 30.04.2017 / 20:08
1
answer

novice in c # and in general [closed]

How about? I just registered in this great forum, and wanted to say hello and ask for ideas about the creation of a rural house management program in c #. Create the database in MySql (nothing of the other world), I was wondering if to make an a...
asked by 06.04.2016 / 21:51
3
answers

Program to calculate powers using while in C # (Windows Form)

I have to do a program that calculates the powers of the numbers entered by the user. The problem is that I have to do it using the while cycle and I really do not know what my condition must be inside the while. Any suggestions?     
asked by 25.09.2018 / 03:20
1
answer

How to increase the value of a number in a textbox?

I have this code private void mas_Click(object sender, EventArgs e) { bpm++; bpm_textbox.Text = bpm.ToString(); } but I want to directly increase the string without having to convert from integer to string, since I...
asked by 08.05.2018 / 21:09
1
answer

Embed the Internet explorer browser in a form using c #? [closed]

I'm trying to get the browser into a form but there's no way someone tells me how to do it. I'm new in this language: c # public partial class Form1 : Form { public Form1() { InitializeComponent(); WebBrowser web =...
asked by 19.07.2018 / 20:52