display an intermediate screen in the transition from screen 1 to screen 2
How to display an intermediate screen in the transition from screen 1 to screen 2
Screen 2 contains a table with a database that takes some time to display. Switching between screen 1 and screen 2 The software disappears until Screen 2 opens. How can I post a message to the user "Please wait ..."
this my code:
this.Hide(); Form C = new Main(); C.ShowDialog(); this.Show();
i work on C# , WinForm
See also questions close to this topic
Using ConfigurationBuilder in C# .NET Framework where did my App Service settings go?
I'm trying to combine a environment-specific variables in source code to an existing configuration of an App.config-file and AppSettings and ConnectionStrings in Azure App Services for an Azure WebJob (.NET Framework). Having all environment variables in App Services can be quite time-consuming when making changes.
After going through a bunch of blogs and posts on the subject of App.config-tranformations and Azure WebJobs it seems like adding a ConfigurationBuilder is fairly recent way to override environment specific (non-secret) settings. If I'm not mistaken it was added in .NET 4.7.1. It seemed more promising than SlowCheetah and scripting.
But after adding a custom ConfigurationBuilder (similarly to mentioned on link 1) the app settings specified in app service were no longer included in the result. I ended up with only entries from app.config-file and custom ConfigurationBuilder. Do I need to retrieve these app setting while making custom entries in the configuration entries? Or should I expand the EnvironmentVariables and modify those XmlNode-entries?
How to sort an array without using built-in method
I want to know how to sort different values which are inserted in an array in ascending order. You may post code or only logic.
$(TargetDir) empty for Microsoft Word Add-In project in Visual Studio 2017
The $(TargetDir) property seems to be disabled for Word Add-In projects on Visual Studio 2017.
I'm creating a Microsoft Word Add-In project in Visual Studio 2017 using C# and .NET. I need my Add-In to access an XSD schema file in order to validate a user-loaded XML. My first thought was to copy the XSD file from my project directory to the target directory using the following post-build event:
xcopy "$(MSBuildProjectDirectory)TestSchema.xsd" "$(TargetDir)"
but this seems to be impossible since the $(TargetDir) property is an empty string.
Is there another way to achieve this behavior?
Am using winforms and I am using Microsoft Graph API (ADAL) to authenticate our users. Everthing was working good. Starting from yesterday I start getting this JS error and when you click Yes or No its still working fine, Can any one know why this start showing?
Upating a control in a busy UI thread in win forms
I have a win forms application that has loading times with about 10 seconds. I have a loading control which shows a nice loading animation. But my loading methods are blocking the main thread. How can I animate the loading control without executing my loading methods in another thread?
Simulate click on Windows Froms ToolStrip button in another process
I've found the handle of a Windows Forms ToolStrip in another application. (Window name is toolStrip1, class name is WindowsForms10.Window.8.app.0.378734a.)
Is there any way to enumerate the child buttons, find a button by caption and simulate a button click? The buttons are not child windows, so EnumChildWindows doesn't work.
Simulating a mouse click with constant coordinates on the ToolStrip itself is not a very good option as the available buttons and button captions may change.