mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 06:45:30 +00:00
989be84c96
Made example source code visible for all examples in example browser. Updated Prebuild.exe to newest SVN version (resolves issues with resources). Added .rtf and .resx files to Examples project in Prebuild.xml.
31 lines
777 B
C#
31 lines
777 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", 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();
|
|
}
|
|
}
|
|
}
|
|
} |