public OpenGLWindow()
     : base()
 {
     this.InitializeContexts();//初始化simpleopenglcontrol1
     PlotSub.SelectFont(22, "Times New Roman");
     this.MouseControl = new MouseControl(this);
     this.SizeChanged += simpleOpenGlControl1_SizeChanged;
 }
Beispiel #2
0
 public OpenGLWindow()
     : base()
 {
     this.InitializeContexts();//初始化simpleopenglcontrol1
     PlotSub.SelectFont(22, "Times New Roman");
     this.MouseControl = new MouseControl(this);
     this.SizeChanged += simpleOpenGlControl1_SizeChanged;
 }