Example #1
0
        public bool OpenEditorWindows(Window parent)
        {
            var dlg = new SeriesEditorWindow(this.Source)
            {
                Owner = parent
            };

            if (dlg.ShowDialog() == true)
            {
                this.RefreshProperties();
                return(true);
            }
            return(false);
        }
Example #2
0
        public bool OpenEditorWindows(Window parent)
        {
            if (this.TestVersionObsolete(parent))
            {
                return(false);
            }

            var dlg = new SeriesEditorWindow()
            {
                Owner = parent
            }.Initialize(this);

            if (dlg.ShowDialog() == true)
            {
                this.RefreshProperties();
                return(true);
            }
            return(false);
        }