public void Save() { Gdip.AutoSaveDIBAs(m_ScannerPath, this.Text, bmpptr, pixptr); menuItemSave.Visible = false; if (m_bAutoScanNext) { this.Close(); } }