24,962 questions with .NET-related tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

WPF C# Desktop App - Multilingualism, opportunities

Hello, Which possibilities do I have to deliver an application multilingual? Switching during runtime. Read out when the app starts With language identifier? Textfile? Thanks for good tips with examples. Greetings Markus

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
asked 2020-08-04T05:47:26.847+00:00
Markus Freitag 3,786 Reputation points
accepted 2020-08-05T18:32:22.35+00:00
Markus Freitag 3,786 Reputation points
2 answers

Find Window Form App design view on Visual Studio

Hi, Months ago, I downloaded a sample project from github, then I make a few changes to the UI of a WFA in that project (add some buttons, labels, ...). The problem is: I'm trying to re open the WFA design view to make some modification to that UI, but…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,870 questions
asked 2020-08-04T04:18:07.057+00:00
SalimMuvak 11 Reputation points
commented 2020-08-05T01:47:53.103+00:00
Charles He-MSFT 96 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

How do I install multiple clickonce(online only) apps from one clickOnce app? Preferably silently because i don't want a prompt for each installing app

My company has several ClickOnce(online only) apps that are actively in use and my job is to make an app that installs the necessary apps from one location(my app). All of which run from our local intranet server. I have found a way to silently install…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,919 questions
asked 2020-07-28T02:28:40.113+00:00
Enkhbold Munkhbold 136 Reputation points
accepted 2020-08-04T03:13:04.243+00:00
Enkhbold Munkhbold 136 Reputation points
1 answer

How can i display selected cell on datagrid, when modal is displayed

Hello, We have a Datagrid, which display a Modal window for each cell(a cell is product o x features filled inside modal). We have a requirement that when modal is displayed, the datagrid should highlit corresponding cell. The problem which we have is,…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
asked 2020-08-03T08:51:36.157+00:00
Lawniczak, Kamil 1 Reputation point
answered 2020-08-04T03:03:45.35+00:00
DaisyTian-1203 11,621 Reputation points
0 answers

Rendering issues when embedding a Win32 window inside WPF

Hello, We have a pretty big WPF application, and the task in hand is to embed a Win32 window (with C++ (QT) content in it) onto one of the WPF pages. Since this is a classic Win32/WPF interoperation, the natural way of implementing this is to use a…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
asked 2020-07-29T18:26:23.46+00:00
CB 9 1 Reputation point
commented 2020-08-03T20:51:29.507+00:00
CB 9 1 Reputation point
0 answers

Are there alternatives to MSIX packages for .NETCore 3.1 Desktop WPF Apps hosting EFCore

I have created a .NET Core 3.1 desktop WPF app that hosts EntityFrameworkCore. The application runs in debug mode without error. My application requires the following Nuget packages: microsoft.entityframeworkcore,…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
asked 2020-07-31T20:11:44.53+00:00
Michael 81 Reputation points
commented 2020-08-03T15:45:08.88+00:00
Michael 81 Reputation points
2 answers

Internal mouse handling in WPF app

Hello, I am building a game in wpf for a school project and I have noticed that the UI thread clogs up when I move the mouse over any window within the application (DispatcherTimer ticks are less frequent, which casues my game to lag and tear). Is…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
asked 2020-04-24T16:39:44.287+00:00
Gabor Fazekas 1 Reputation point
answered 2020-08-03T08:40:35.16+00:00
Mouad Cherkaoui 6 Reputation points
1 answer One of the answers was accepted by the question author.

HD Camera Desktop Application on Windows 10

Hi, I've tested some older applications and camera library with HD camera on Windows 10. But it does not work properly, it has a delay on preview. However Camera application on same Windows 10 machine works normal without delay. I suppose the…

Universal Windows Platform (UWP)
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
asked 2020-07-31T13:14:27.087+00:00
iz111 86 Reputation points
accepted 2020-08-03T06:51:03.857+00:00
iz111 86 Reputation points
2 answers One of the answers was accepted by the question author.

WPF - C# Desktop App - XAML Window from left, top corner

Hello, The goal is to make it easy to place controls. I do something wrong, but what? As soon as I select a control, move it, the margins go into the code. Then nothing can be understood. What is the procedure for this simple…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
asked 2020-07-30T10:07:04.28+00:00
Markus Freitag 3,786 Reputation points
commented 2020-08-02T14:39:36.587+00:00
Markus Freitag 3,786 Reputation points
2 answers One of the answers was accepted by the question author.

Looking for a good way to check which button was pressed with the command pattern.

Hello, I'm looking for a good way to check which button was pressed with the command pattern. Maybe you can make s sample with more buttons OK Cancel Yes No Wait public partial class MessageBoxTest : Window { public…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
asked 2020-07-31T06:57:23.35+00:00
Markus Freitag 3,786 Reputation points
commented 2020-08-01T14:56:44.097+00:00
Andy ONeill 361 Reputation points
0 answers

How can I handle two receive handlers correctly?

Hello, I have a control application that receives information from two handlers WPF - Desktop App ----- Handler1 ------- Handler2 If I'm in handler 1, handler 2 will have to wait and reverse. Is a locker object…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
asked 2020-07-30T13:20:12.913+00:00
Markus Freitag 3,786 Reputation points
commented 2020-07-31T06:01:54.163+00:00
Markus Freitag 3,786 Reputation points
6 answers One of the answers was accepted by the question author.

WPF - C# Desktop App - Is there a way to call a Windows form from C# WPF?

Hello, Is there a way to call a Windows form from C#WPF? The idea is to create a separate message box. Or a WPF message box. With best regards Markus

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
asked 2020-07-28T14:35:17.05+00:00
Markus Freitag 3,786 Reputation points
accepted 2020-07-30T18:52:48.013+00:00
Markus Freitag 3,786 Reputation points
2 answers

WPF getting started

I am new to WPF, i have a requirement at client to do some WPF. Can someone please advise how do I get started in WPF ? I have knowledge on c#. Please provide some links or videos that may help. Thank you in advance

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
asked 2020-06-16T14:49:19.95+00:00
Rock Hitman 46 Reputation points
commented 2020-07-30T12:58:36.457+00:00
Mouad Cherkaoui 6 Reputation points
3 answers One of the answers was accepted by the question author.

WPF - C# Desktop App - good way for layout, xaml

Hello, sometimes everything is moved, sometimes inexplicably. Is there a short instruction somewhere, when to take what and how. TextBlock, Stackpanel. I created this dialog, all at once there were rows and columns in it, then the layout was…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
asked 2020-07-29T13:34:27.607+00:00
Markus Freitag 3,786 Reputation points
commented 2020-07-30T11:48:35.777+00:00
Markus Freitag 3,786 Reputation points
3 answers One of the answers was accepted by the question author.

WPF - C# Desktop App - Condition, if textbox integer value is 0 than background red and content should be empty.

Hello, the goal is. If the value == 0 then backgroundcolor red and empty not zero. Can I use a converter to handle two conditions? My idea was via Trigger, but it is not work. Why?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
asked 2020-07-29T11:11:05.373+00:00
Markus Freitag 3,786 Reputation points
accepted 2020-07-30T09:06:58.757+00:00
Markus Freitag 3,786 Reputation points
7 answers One of the answers was accepted by the question author.

How can I access a vm object declared in main window in Wpf Page

Hai I have declared an object of my view model in my main window. I want to know how to access this in my xaml my code is Main window private void Button_Click(object sender, RoutedEventArgs e) { ViewModel VM =…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
asked 2020-05-30T11:47:51.4+00:00
Babu R 81 Reputation points
accepted 2020-07-30T05:52:40.587+00:00
Babu R 81 Reputation points
4 answers One of the answers was accepted by the question author.

WPF - C# Desktop App - set focus, how?

Hello, How can I get the focus to move to the text field xy after an event? How can I achieve that after an event the focus is automatically set on button A or button B? In case of success, move on or in case of error MessageBox and stay in the…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
asked 2020-07-28T10:55:57.01+00:00
Markus Freitag 3,786 Reputation points
accepted 2020-07-29T08:42:57.697+00:00
Markus Freitag 3,786 Reputation points
2 answers

Printing in C# WPF

I am writing a program in C# WPF so I am hoping this is the correct forum. I am having difficulty with xps creation. Please refer to the following link: …

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
asked 2020-07-28T18:08:28.26+00:00
Matthew Armshaw 21 Reputation points
answered 2020-07-29T06:56:45.433+00:00
DaisyTian-1203 11,621 Reputation points
0 answers

WPF - C# Desktop App bigger message box for touch screen

Hello, Is there a way, maybe a class, library where the message box can be displayed larger. Background is a touch screen operation?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
asked 2020-07-28T11:26:46.127+00:00
Markus Freitag 3,786 Reputation points
commented 2020-07-29T05:44:35.807+00:00
DaisyTian-1203 11,621 Reputation points
0 answers

I use hwndhost to embed a WPF - window. When the allowstransparency of the embedded window is "true", it will not be displayed under windows7

I use hwndhost to embed a window. When the allowstransparency of the window is "true", it will not be displayed under windows7. If the theme of windows7 is set to windows basic, the embedded window can be realized, but the display position will…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
asked 2020-07-24T02:04:22.887+00:00
陶陶 张 1 Reputation point
commented 2020-07-29T02:06:08.217+00:00
陶陶 张 1 Reputation point