private void MenuItem_Click_1(object sender, RoutedEventArgs e)
        {
            // view statistics
            ViewStatisticsWindow viewStatisticsWindow = new ViewStatisticsWindow(xlTag, xlTextNote);

            viewStatisticsWindow.WindowState = System.Windows.WindowState.Normal;
            viewStatisticsWindow.ShowDialog();
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.viewStatistics = ((ViewNoteWindow.ViewStatisticsWindow)(target));
                return;

            case 2:
                this.wordCloud = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
        private void menuStatistics_Click(object sender, RoutedEventArgs e)
        {
            ViewStatisticsWindow viewStatisticsWindow = new ViewStatisticsWindow(xlTag, xlTextNote);

            viewStatisticsWindow.ShowDialog();
        }