Exemplo n.º 1
0
        private void volumeButton_Click(object sender, EventArgs e)
        {
            VolumeDBDialog dialog = new VolumeDBDialog(m_ElementList, m_Project);

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

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

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