private void changeBTN_Click(object sender, EventArgs e)
        {
            int id = Convert.ToInt32(groupPhraseGV.SelectedRows[0].Cells["Id"].Value);

            if (groupRB.Checked)
            {
                AddGroupPhrase agf = new AddGroupPhrase(id, LUAttributes.groupPhrase.Group);
                agf.Show();
                this.Close();
            }
            else if (phraseRB.Checked)
            {
                AddGroupPhrase agf = new AddGroupPhrase(id, LUAttributes.groupPhrase.Phrase);
                agf.Show();
                this.Close();
            }
        }
Exemplo n.º 2
0
        private void addGroupPhraseBTN_Click(object sender, EventArgs e)
        {
            AddGroupPhrase agp = new AddGroupPhrase(-1, LUAttributes.groupPhrase.None);

            agp.Show();
        }