Beispiel #1
0
 private void viewToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (_selectedTexture != null)
     {
         using (GLTextureWindow w = new GLTextureWindow())
             w.ShowDialog(this, _selectedTexture.Texture);
     }
 }
 private void viewToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (_selectedTexture != null)
         using (GLTextureWindow w = new GLTextureWindow())
         {
             _mainWindow.ModelPanel.Release();
             w.ShowDialog(this, _selectedTexture.Texture);
             _mainWindow.ModelPanel.Capture();
         }
 }