コード例 #1
0
        private void ButtonQurey_OnClick(object sender, RoutedEventArgs e)
        {
            DataGrid.ItemsSource = null;
            if (ComboBoxFirst.GetCategory() == null)
            {
                return;
            }

            DataGrid.ItemsSource = VideoDataMgr.Instance.GetVideoModels(this.TextVideoTitle.Text.Trim(), this.ComboBoxFirst.GetCategory().fc_id);
        }
コード例 #2
0
        private void ButtonQurey_OnClick(object sender, RoutedEventArgs e)
        {
            DataGrid.ItemsSource = null;
            if (ComboBoxFirst.GetCategory() == null)
            {
                return;
            }

            int num = -1;

            if (TextId.Text.Trim().Length > 0)
            {
                num = HelpFunction.ConvertToInt(TextId.Text.Trim());
            }
            DataGrid.ItemsSource = CrowFoundMgr.Instance.QueryCrowDatas(num, TextActorName.Text.Trim(), this.ComboBoxFirst.GetCategory().fc_id);
        }