Questions tagged as 'wpf'

0
answers

Update ComboBox when changing the values of another ComboBox

such, I have a problem when I want to change the values of a combobox when other combos are changed and a button is clicked, and check and the sp that the information brings me is running well, but it is not it is reflected in the combo. I hope...
asked by 05.07.2017 / 01:52
2
answers

Close parent window from PopUp in WPF

How about, in my application I have a Cancel button, when you click on it, a Pop Up window appears that asks if you want to cancel or not, when you click on it, you must close the Pop Up window and the window in the one that was and send me to t...
asked by 12.07.2017 / 17:34
1
answer

How to get by using a button to make a rectangle (another controller) appear in Visual Studio WPF

I'm trying to perform an operation that is about once I click on a button another controller appears (rectangle) and when I click again it disappears, but for the moment it does not pay attention to me, what could it be? I leave my code here bel...
asked by 24.05.2017 / 11:00
0
answers

Add a new TextBox in CyrstalReport by code

Good morning, I am trying to insert a new text object to a crystal report outside the application, I have built a system in WPF where I have a textbox in which I want to write what I want to insert in the report and there is also a reportViewer...
asked by 07.06.2017 / 17:57
1
answer

with WPF in c # I'm new and I want an observable list with ObservableCollection

Private _ListaCategoria As New ObservableCollection(Of Categoria) This is Visual Basic. How would the statement in C # be an observable collection or a list?     
asked by 28.05.2017 / 18:20
1
answer

How to adjust different buttons on the grid of the Visual Studio screen?

Very good, I know that lately I ask many questions but every time I go inside more in Visual Studio, more questions and questions arise. Can someone tell me how I could do an auto-adjustment of different buttons or controllers rectangle with the...
asked by 29.05.2017 / 09:32
0
answers

Problem with Visual Studio C # project (MainWindow does something it should not)

My code is as follows and for some reason when the MainWindows does "InitializeComponent ();" Apart from the main window another "Kitchen" window opens which should not happen. public partial class MainWindow: Window     { private static...
asked by 29.04.2017 / 15:59
1
answer

How can I make a sound in a WPF app in Visual Studio using a controller?

very good, I'm trying to make a driver, specifically a button that when pressed, the WPF interface of Visual Studio gives me a simple sound (as if it is wav or mp3 format), however everything I've seen to do so they perform in Windows Forms and...
asked by 26.05.2017 / 11:17
1
answer

How to create a ListView in WPF with groupers and element counter in each group?

Based on this tutorial I created a ListView with different groupers. But I need to show the amount of elements within each group and the description of each, I am not allowed to use the generic word "Element (s)" in the groups, it has to be...
asked by 05.04.2017 / 03:15
1
answer

Modify the DatePicker style in WPF

In a Silverlight project I modified the visual design of all the controls by helping with Blend, ComboBox, TextBox, DatePicker, DataGrid, etc. and I saved it in a Dictionary of Resources.xaml and it works very well for the whole project. Now...
asked by 10.03.2017 / 16:50