private void btnNewItem_Click(object sender, RoutedEventArgs e)
        {
            UCAddNewsAndBulletinNew addNews = new UCAddNewsAndBulletinNew(Window);

            addNews.dialog = Window.ShowDialog(ResNewsInfo.Title_AddNewsAndBulletinNew, addNews, (obj, args) =>
            {
                if (args.DialogResult == DialogResultType.OK)
                {
                    QueryResultGrid.Bind();
                }
            });
        }
        private void hyperlinkEdit_Click(object sender, RoutedEventArgs e)
        {
            dynamic news = this.QueryResultGrid.SelectedItem as dynamic;

            if (news != null)
            {
                UCAddNewsAndBulletinNew editNews = new UCAddNewsAndBulletinNew(Window);
                editNews.entity.SysNo = news.SysNo;
                editNews.dialog       = Window.ShowDialog(ResNewsInfo.Title_EditNews, editNews, (obj1, args1) =>
                {
                    if (args1.DialogResult == DialogResultType.OK)
                    {
                        QueryResultGrid.Bind();
                    }
                });
            }
        }