Пример #1
0
        private void tsmAddTag_Click(object sender, EventArgs e)
        {
            AddTag agf = new AddTag();

            agf.client = client;
            agf.ShowDialog();
            LoadComboBoxes();
        }
Пример #2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            if (!Functions.chkIfSelected(dgvTag))
            {
                return;
            }

            AddTag agf = new AddTag();

            agf.client = client;
            agf.T      = dgvTag.CurrentRow.DataBoundItem as Tag;
            agf.ShowDialog();
            LoadTags();
        }