Beispiel #1
0
        /* ----------------------------------------------------------------- */
        ///
        /// RaiseAttach
        ///
        /// <summary>
        /// Attach イベントを発生させます。
        /// </summary>
        ///
        /* ----------------------------------------------------------------- */
        private void RaiseAttach()
        {
            if (!ToolsPanel.Enabled || !AttachButton.Enabled)
            {
                return;
            }
            var view = Views.CreateAttachView();

            if (view.ShowDialog() == DialogResult.Cancel)
            {
                return;
            }
            Aggregator?.GetEvents()?.Attach.Publish(view.FileNames);
        }