Opentk/Source/Examples/OpenTK/GLControl/MultipleGLControls.cs

31 lines
777 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using OpenTK;
using OpenTK.Graphics.OpenGL;
namespace Examples.WinForms
{
[Example("Multiple GLControls", ExampleCategory.OpenTK, "GLControl", 3, Documentation="MultipleGLControls.cs")]
public partial class MultipleGLControlsForm : Form
{
public MultipleGLControlsForm()
{
InitializeComponent();
}
public static void Main()
{
using (MultipleGLControlsForm example = new MultipleGLControlsForm())
{
Utilities.SetWindowTitle(example);
example.ShowDialog();
}
}
}
2007-11-04 15:33:43 +00:00
}