# \#NET

**URL:** https://community.interop.io/tag/net/28.md

[Latest](https://community.interop.io/latest.md) · [Categories](https://community.interop.io/categories.md) · [Tags](https://community.interop.io/tags.md)

---

## [\[FAQ\] WinForms Dialog Closes Immediately When Registered as an io.Connect Flyer Window](https://community.interop.io/t/faq-winforms-dialog-closes-immediately-when-registered-as-an-io-connect-flyer-window/699)

<div class="topic-metadata">

**Author:** [@toni.petrov](https://community.interop.io/u/toni.petrov)\
**Replies:** 0\
**Last updated:** [October 7, 2026, 2:28pm UTC](https://community.interop.io/t/faq-winforms-dialog-closes-immediately-when-registered-as-an-io-connect-flyer-window/699 "2026-10-07T14:28:23Z")

</div>

Problem A WinForms view is opened as a modal dialog with Form.ShowDialog(IWin32Window owner). After the dialog is shown, it is registered as an io.Connect flyer window with: Task\<IGlueWindow\> RegisterWindow(IntPtr handl…

---

## [How to Set Default Window Size for a .NET App on First Opening](https://community.interop.io/t/how-to-set-default-window-size-for-a-net-app-on-first-opening/618)

<div class="topic-metadata">

**Author:** [@toni.petrov](https://community.interop.io/u/toni.petrov)\
**Replies:** 0\
**Last updated:** [July 8, 2026, 11:39am UTC](https://community.interop.io/t/how-to-set-default-window-size-for-a-net-app-on-first-opening/618 "2026-07-08T11:39:41Z")

</div>

When registering .NET applications programmatically with io.Connect Desktop, you can control the initial window size on first launch, while still allowing users to resize the window freely afterward, with their custom si…

---

## [\[Code template\] WPF window registration](https://community.interop.io/t/code-template-wpf-window-registration/605)

<div class="topic-metadata">

**Author:** [@toni.petrov](https://community.interop.io/u/toni.petrov)\
**Replies:** 0\
**Last updated:** [June 19, 2026, 7:51am UTC](https://community.interop.io/t/code-template-wpf-window-registration/605 "2026-06-19T07:51:43Z")

</div>

We’re starting to publish reusable code templates for common io.Connect patterns. The idea: small, self-contained snippets you can adapt to reproduce issues or test integration scenarios without stripping down your whole…

---

## [\[FAQ\] Resizing Windows Programmatically](https://community.interop.io/t/faq-resizing-windows-programmatically/535)

<div class="topic-metadata">

**Author:** [@toni.petrov](https://community.interop.io/u/toni.petrov)\
**Replies:** 0\
**Last updated:** [March 23, 2026, 7:41am UTC](https://community.interop.io/t/faq-resizing-windows-programmatically/535 "2026-03-23T07:41:09Z")

</div>

Question I’m setting \_glueWindow.Bounds in my .NET app, but the visual size of the Glue window doesn’t update, even though the value changes in the debugger. Why? Answer Use MoveResize, which will work in both Web and C…
