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; } }
private void BTN_CLICK_IW(object sender, EventArgs e) { if (iw != null) { iw.Close(); iw.Dispose(); } iw = new ImageViewer(this, m_pApp.m_pPost); }