Questions tagged as 'wpf'

1
answer

How do I fill a combo I fill in the Value of it with wpf and c #

I made this code to populate a combobox. It works perfectly, however I need beyond the text to be presented in the combo, you also need to load a kind of Value, as we do on the web where we have Name and Value. I use WPF. If I fill the combo in...
asked by 15.08.2017 / 18:56
3
answers

Problem saving accent with Entity Framework and PostgreSQL

I need to migrate a system with SQLSERVER database to a PostGreSQL 9.3. I have never worked with PostGre before so I'm using Entity Framework 6 with model-first to make the process easier. The migration application is being developed in WPF. My...
asked by 28.06.2016 / 22:23
2
answers

Doubt on using in Visual Studio

I create a new project but I can not put those using as in this example below. It appears as in the other code below ... Please help me = / using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtim...
asked by 10.04.2015 / 19:10
2
answers

Synchronize items in comboboxes at run time

I've tried for some time to figure out how to synchronize one combobox with another. I am wanting to sync comboboxes at runtime. When the user selects a category in the combobox, depending on their choice, the combobox subcategory will display t...
asked by 17.11.2015 / 23:22
1
answer

How to do an update in my application in WPF after it is installed?

I already found several programs that create an installer for my application, but I'm worried when I need to make updates to the system, I needed it to be something automatic, when the user logs in, the system would check if there are any update...
asked by 05.08.2014 / 17:02
1
answer

Move files between folders with C #

I have an application that checks and downloads a file as soon as it runs through Window_Loaded . Here is the method that accomplishes this task: XmlDocument doc = new XmlDocument(); doc.Load("http://www.meusite.com.br...
asked by 03.04.2014 / 18:35
1
answer

How do I expect a bool to be true?

I have this async method that currently expects a time declared by me. The program first restarts the boolean of result and then sends commands to a serial that after a certain time returns in my program the results in that same...
asked by 15.06.2018 / 19:25
1
answer

How to equally divide the space of the StackPanel between the children

I have a Stack Panel with some buttons inside, I want the Stack's available space to be equally divided between the buttons. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center"> <Button Content="USUÁRIOS" Hei...
asked by 15.07.2018 / 21:12
1
answer

Fill LineChart (Line Chart) wpf with data from a sql server query

Hello, I'm having trouble finding a solution to fill my linechart with data from a query, my connection class is complete and working, but I do not know how to apply it in the chart, I do not know how to create it automatically, I just insert val...
asked by 09.11.2017 / 18:36
1
answer

Mahapps and WPF - How to apply "highlight" effect when I hover the Mouse over a Tile

I'm using a Framework named Mahapps in my project WPF and would like to apply a highlighting effect to Tile when I hover over it. Does anyone know how to do it? <Pagex:Class="SistemaComercial.Presentation.WP...
asked by 04.08.2017 / 00:33