예제 #1
0
 internal void createImageViewer(ShaderResourceTexture srt)
 {
     if ((iw != null) && (!iw.closed))
     {
         iw.Texture = srt;
         if (iw.WindowState == FormWindowState.Minimized)
             iw.WindowState = FormWindowState.Normal;
     }
     else
     {
         iw = new ImageViewer(this, m_pApp.m_pPost);
         iw.Texture = srt;
     }
 }
예제 #2
0
 private void BTN_CLICK_IW(object sender, EventArgs e)
 {
     if (iw != null)
     {
         iw.Close();
         iw.Dispose();
     }
     iw = new ImageViewer(this, m_pApp.m_pPost);
 }