VAGSuite.frmPartnumberLookup.simpleButton4_Click C# (CSharp) Method

simpleButton4_Click() private method

private simpleButton4_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void simpleButton4_Click(object sender, EventArgs e)
        {
            // show a savefile dialog
            m_createNewFile = true;
            SaveFileDialog sfd = new SaveFileDialog();
            sfd.Filter = "Binary files|*.bin";
            if (sfd.ShowDialog() == DialogResult.OK)
            {
                // copt ori to
                m_fileNameToSave = sfd.FileName;
                m_createNewFile = true;
                this.Close();
            }
        }