2007-11-04 15:33:43 +00:00
|
|
|
|
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.OpenGL;
|
|
|
|
|
|
|
|
|
|
namespace Examples.WinForms
|
|
|
|
|
{
|
2008-01-22 14:54:11 +00:00
|
|
|
|
[Example("Multiple GLControls test", ExampleCategory.WinForms, 4)]
|
|
|
|
|
public partial class W04_Multiple_GLControls : Form
|
2007-11-04 15:33:43 +00:00
|
|
|
|
{
|
|
|
|
|
public W04_Multiple_GLControls()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
|
|
|
|
|
2008-01-22 14:54:11 +00:00
|
|
|
|
public static void Main()
|
2007-11-04 15:33:43 +00:00
|
|
|
|
{
|
2008-01-22 14:54:11 +00:00
|
|
|
|
using (W04_Multiple_GLControls example = new W04_Multiple_GLControls())
|
|
|
|
|
{
|
|
|
|
|
Utilities.SetWindowTitle(example);
|
|
|
|
|
example.ShowDialog();
|
|
|
|
|
}
|
2007-11-04 15:33:43 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|