示例#1
0
 private void resourceTree_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
 {
     if (e.Node.Text.EndsWith(".bmp", StringComparison.OrdinalIgnoreCase))
     {
         TextureViewer t = new TextureViewer();
         t.DisplayGk3Bitmap(e.Node.Text);
         t.Show();
     }
 }