Simple windowed application: Difference between revisions

Content added Content deleted
m (Modula-3 (added pragma to supress unhandled exception warning))
Line 134: Line 134:


=={{header|C sharp|C#}}==
=={{header|C sharp|C#}}==

{{works with|C sharp|C#|2.0+}}
{{libheader|System.Windows.Forms}}
<lang csharp>
<lang csharp>
using System.Windows.Forms;
using System.Windows.Forms;
Line 141: Line 140:
namespace RosettaCode.SimpleWindowedApplication
namespace RosettaCode.SimpleWindowedApplication
{
{
public class RosettaForm:Form
public class RosettaForm : Form
{
{
private Label label = new Label();
private Label label = new Label();