When an assembly uses Windows Forms (classes and interfaces from the ``System.Windows.Forms`` namespace) its entry point should be marked with the ``STAThreadAttribute`` to indicate that the threading model should be "Single-Threaded Apartment" (STA) which is the only one supported by Windows Forms.