Esempio n. 1
0
        private void btnOK_Click(object sender, EventArgs e)
        {
            try
            {
                dataManager.SetFilmPrice(filmPrice);

                this.Hide();
                DialogResult = DialogResult.OK;
            }
            catch (Exception error)
            {
                MessageBox.Show(error.Message, "信息提示", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }