stackoverflowexeption in form designer?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hd95
    New Member
    • Nov 2008
    • 24

    stackoverflowexeption in form designer?

    I'm using VS 2008

    the project builds fine but when i try to debug it crashes when building the form on this line

    Code:
                this.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    I've been toying with different font settings hoping VS will reset and fix it but no luck

    thanks for any help
  • hd95
    New Member
    • Nov 2008
    • 24

    #2
    ok i screwed up
    <chris farley>smacking head "IDIOT!"</chris farley>
    Code:
            public Form1()
            {
                InitializeComponent();
                Form1 form1 = new Form1();
                form1.Show();
            }

    Comment

    Working...