Exemple #1
0
        private void reverbButton_Click(object sender, EventArgs e)
        {
            ReverbDialog dialog = new ReverbDialog(m_ElementList, m_Project);

            if (dialog.ShowDialog(Parent) == DialogResult.OK)
            {
                dialog.UpdateAction();
                Actions.Actions.Instance.AddNew(dialog.Action, m_Project);
            }
        }
Exemple #2
0
        private void reverbToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var list = GetAllSelectedFileElements();

            if (list.Count == 0)
            {
                return;
            }
            ReverbDialog dialog = new ReverbDialog(list, m_Project);

            if (dialog.ShowDialog(Parent) == DialogResult.OK)
            {
                dialog.UpdateAction();
                Actions.Actions.Instance.AddNew(dialog.Action, m_Project);
            }
        }