<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>winforms on Neolisk's Tech Blog</title><link>/tags/winforms/</link><description>Recent content in winforms on Neolisk's Tech Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>neolisk@gmail.com (Victor Zakharov)</managingEditor><webMaster>neolisk@gmail.com (Victor Zakharov)</webMaster><copyright>©2020-2024 Victor Zakharov. All Rights Reserved</copyright><lastBuildDate>Fri, 21 Sep 2012 00:00:00 +0000</lastBuildDate><atom:link href="/tags/winforms/index.xml" rel="self" type="application/rss+xml"/><item><title>.NET Winforms - App loses focus when a window is closed</title><link>/posts/2012-09-21-dotnet-winforms-app-loses-focus/</link><pubDate>Fri, 21 Sep 2012 00:00:00 +0000</pubDate><author>neolisk@gmail.com (Victor Zakharov)</author><atom:modified>Sat, 05 Jun 2021 11:36:56 -0400</atom:modified><guid>/posts/2012-09-21-dotnet-winforms-app-loses-focus/</guid><description>I have a main form which is an MDI parent and a modal form, which is a progress dialog. When loading is completed, an MDI child is opened. If it cannot be completed, an error message shows up with user prompt. Problem is if user takes action, and the modal form is closed, the focus is switched to the application, which was active before my application was started. In my case it was Visual Studio 2010.</description><dc:creator>Victor Zakharov</dc:creator><category>dotnet</category><category>winforms</category></item><item><title>Visual Studio 2010 RC - Switch Back To Mouse Pointer After Drawing Controls</title><link>/posts/2010-03-12-vs-2010-rc-switch-to-mouse-cursor-after-drawing/</link><pubDate>Fri, 12 Mar 2010 00:00:00 +0000</pubDate><author>neolisk@gmail.com (Victor Zakharov)</author><atom:modified>Mon, 12 Oct 2020 11:17:44 -0400</atom:modified><guid>/posts/2010-03-12-vs-2010-rc-switch-to-mouse-cursor-after-drawing/</guid><description>Speaking about WinForms, there is usually a mouse pointer (cursor) on top of each logical control group in the toolbox. You use it to cancel control drawing mode and go back to control selection mode (default).
There is a bug in VS 2010 RC, when you do not have this pseudo-control visible at the first launch. And it looks like you are doomed to drawing controls forever. The solution is simple: close and reopen VS.</description><dc:creator>Victor Zakharov</dc:creator><category>development</category><category>winforms</category></item></channel></rss>