Exemplo n.º 1
0
        private void btnModifyAction_Click(object sender, EventArgs e)
        {
            if (dgActions.SelectedRows.Count > 0 && dgActions.SelectedRows[0].Tag != null)
            {
                ActionEditor ae = new ActionEditor(false);
                ae.Object = (Robot_Actions)dgActions.SelectedRows[0].Tag;
                ae.ShowDialog();
            }

            LoadActions();
            LoadQuestions();
        }