示例#1
0
        private void EditItem(Action item)
        {
            EditActionForm form = new EditActionForm(item);

            if (form.ShowDialog() == DialogResult.OK)
            {
                FillDataGridView();
            }
        }
示例#2
0
        private void actionsMenuItem_AddButtonClick(object sender, EventArgs e)
        {
            var form = new EditActionForm();

            if (form.ShowDialog() == DialogResult.OK)
            {
                ShowActionsPanel();
                actionsControlPanel.UpdateControl();
            }
        }