Ejemplo n.º 1
0
        private void btnOK_Click(object sender, EventArgs e)
        {
            if (txtChannelName.Text == "")
            {
                MessageBox.Show("Please add a channel name!", "Channel Information", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                return;
            }

            if (exist)
            {
                MessageBox.Show("Channel name is existing!", "Channel Information", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                return;
            }

            Save();
            parentForm.ShowChannelSetInformation();
            this.Close();
        }