35 lines
No EOL
945 B
C#
35 lines
No EOL
945 B
C#
// This code was written for the OpenTK library and has been released
|
|
// to the Public Domain.
|
|
// It is provided "as is" without express or implied warranty of any kind.
|
|
|
|
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")]
|
|
public partial class MultipleGLControlsForm : Form
|
|
{
|
|
public MultipleGLControlsForm()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public static void Main()
|
|
{
|
|
using (MultipleGLControlsForm example = new MultipleGLControlsForm())
|
|
{
|
|
Utilities.SetWindowTitle(example);
|
|
example.ShowDialog();
|
|
}
|
|
}
|
|
}
|
|
} |