You can use the LicenceUsageMode enumeration in the System.ComponentModel
namespace:
bool designMode = (LicenseManager.UsageMode == LicenseUsageMode.Designtime);
More Related Contents:
- Interaction between forms — How to change a control of a form from another form?
- How do I make an Event in the Usercontrol and have it handled in the Main Form?
- how to run a winform from console application?
- How to change the color of progressbar in C# .NET 3.5?
- How do you show animated GIFs on a Windows Form (c#)
- Translate Rectangle Position in Zoom Mode Picturebox
- C# Form.Close vs Form.Dispose
- How to Fix the Memory Leak in IE WebBrowser Control?
- Run two winform windows simultaneously
- Why do I get “System.Data.DataRowView” instead of real values in my WinForms Listbox?
- How can I make a ComboBox non-editable in .NET?
- How can SynchronizationContext.Current of the main thread become null in a Windows Forms application?
- Check if a record exists in the database
- Setting a Windows form to be bottommost
- Convert System.Drawing.Icon to System.Media.ImageSource
- C#: multiline text in DataGridView control
- DataGridView keydown event not working in C#
- Detect change of resolution c# WinForms
- How to recursively populate a TreeView with JSON data
- How do I center a window on the screen in C# & WinForms?
- Windows Forms application like Google Chrome with multiple processes
- Resize borderless window on bottom right corner
- Custom browsable property for Form at design time
- Prevent AutoSelect behavior of a System.Window.Forms.ComboBox (C#)
- How to setup the starting form of a winforms project in Visual Studio 2010
- Make a form’s background transparent
- Fire Form KeyPress event
- Prevent Winforms Designer from Generating Property Values for Inherited Controls
- Region.IsVisible(PointF) has very slow performance for large floating point values
- Prevent users from resizing the window/form size