/// <summary>
        /// 
        /// </summary>
        /// <param name="vm_"></param>
        public SequenceParametersWindow(FlowGraphControlViewModel vm_ = null, IsValidInputNameDelegate callback_ = null)
        {
            InitializeComponent();

            IsValidInputNameCallback = callback_;

            if (vm_ == null)
            {
                Title = "New Graph parameters";
            }
            else
            {
                Title = "Graph " + vm_.Name + " parameters";
                textBoxName.Text = vm_.Name;
                textBoxDescription.Text = vm_.Description;
            }

            Closing += new CancelEventHandler(OnClosing);
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="vm_"></param>
        public SequenceParametersWindow(FlowGraphControlViewModel vm_ = null, IsValidInputNameDelegate callback_ = null)
        {
            InitializeComponent();

            IsValidInputNameCallback = callback_;

            if (vm_ == null)
            {
                Title = "New Graph parameters";
            }
            else
            {
                Title                   = "Graph " + vm_.Name + " parameters";
                textBoxName.Text        = vm_.Name;
                textBoxDescription.Text = vm_.Description;
            }

            Closing += new CancelEventHandler(OnClosing);
        }