Questions tagged as 'usercontrol'

1
answer

Pass data between different UserControls

I have the following schema mounted in Visual Studio (C # .net) The idea is to be able to bring the data from the Textbox to the UserControl2. I have tried instantiating UserControl1 and changing the level of protection of the Textbox to p...
asked by 02.08.2018 / 19:26
0
answers

Custom FlowLayoutPanel: Get inside elements posotion and / or Rectangle

I have created a customized user control from the FlowLayoutPanel control that contains customized Panels inside, added dynamically. I want to get the position of the controls within this FlowLayoutPanel to complete the isPointOverPanel method....
asked by 15.03.2018 / 22:52
1
answer

Change the contents of the columns in DataGridView [closed]

I am developing an application for a tag calculation within the C # language. Annex photo: What I intend to do is insert a DataGridview but according to the option that is selected: Child, Lady, Gentleman the name of the column headers...
asked by 08.08.2018 / 23:02
1
answer

How do I access the event clik of a button that is in a User Control from a Form?

I have a UserControl with a button (and several other things, but the important thing here is that button). In execution, for some action, the program places this UserControl in a FlowLayoutPanel of Form , once set thi...
asked by 11.06.2018 / 08:44
0
answers

Store values in variables when changing UserControl

Good morning, I am working on an application which is a form, I have worked on C # using Windows Forms and User Controls. Here is an example: This acts as the Windows Form Main, in which the center is a panel where you link the Us...
asked by 23.11.2018 / 01:59
1
answer

Duplicate UserControl in C # WindowsForms

I have a UserControl, but I need to create several of those, I tried to make an instance, but it shows me an error. Code: 'MyControl Control = new MyControl (); The error is In Both MyControl and it is as follows:    Error CS0246 The type o...
asked by 20.05.2018 / 20:36
0
answers

wix with a wpf application using usercontrols

I have a WPF application of which I am doing an installer with wix, the installer is generated without problems but when I click to open it simply does not open as it was installed and it is, I have the reference of one project to another and ot...
asked by 21.05.2018 / 19:19
1
answer

Launch event in the form from a user control

I have a form that will contain several copies of a user control, what I want to do is that when within one of those user controls a button is clicked, an event of the form that contains it is launched. I thought about saving a reference of t...
asked by 06.02.2018 / 16:35
1
answer

Property: Show / Hide controls within a User Control

I am trying to create a Categoría for controles (components) within a Control de Usuario so that they are reflected in Propiedades of Visual Studio, to make visible / not visible a PictureBox , between other opt...
asked by 12.01.2018 / 19:16