Exemplo n.º 1
0
        private void addNewFunctionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormAddFunction addFunction = new FormAddFunction();

            addFunction.EventNotifyAddFunction += GetNewFunction;
            addFunction.Show();
        }
Exemplo n.º 2
0
        private void dataGridViewFunctions_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            DataGridView    data = sender as DataGridView;
            DataGridViewRow row  = data.SelectedRows?[0];

            if (row != null)
            {
                FormAddFunction form = new FormAddFunction(dictionary[row.Index]);
                indexUpdateFunction          = row.Index;
                form.EventNotifyAddFunction += GetNewFunction;
                form.Show();
            }
        }