private void GlControl_Load(object sender, EventArgs eArgs) { try { visual = new Visual(); } catch (Exception e) { errorLog.Text = "Error while creating visual (something is seriously wrong)!" + Environment.NewLine + e.Message; errorLog.Visible = true; } }
private void glControl_Load(object sender, EventArgs e) { visual = new Visual(); }