Opentk/Source/Examples/WinForms/W04_Multiple_GLControls.cs
the_fiddler ec7315500e New sample browser with documentation and source code display.
Reduced example categories to OpenGL, OpenAL, OpenTK. Updated all samples to reflect this change.
Moved startup and loading code into separate files.
2009-04-20 07:20:25 +00:00

31 lines
747 B
C#

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 test", ExampleCategory.OpenTK, "GLControl", 4)]
public partial class W04_Multiple_GLControls : Form
{
public W04_Multiple_GLControls()
{
InitializeComponent();
}
public static void Main()
{
using (W04_Multiple_GLControls example = new W04_Multiple_GLControls())
{
Utilities.SetWindowTitle(example);
example.ShowDialog();
}
}
}
}