Example #1
0
        public SearchProject()
        {
            this._cond = new ProjectCondition();
            this._projects = new List<Project>();

            InitializeComponent();

            //基底クラスで実装したコールバック関数でイベントフック
            this.Load += base.Form_Load;
            this.btnNew.Click += base.NewEntryButton_Click;
            this.btnSearch.Click += base.SearchButton_Click;
            this.grdList.CellDoubleClick += base.DataGridView_CellDoubleClick;
        }
Example #2
0
 /// <summary>
 /// 案件一覧取得
 /// </summary>
 /// <param name="condition">検索条件</param>
 /// <returns>検索条件に合致した案件一覧</returns>
 public static List<Project> FindProjectsBy(ProjectCondition condition)
 {
     return ModelBase._db.ReadAny<Project, ProjectCondition>("Exec FindProjectsBy @ProjectID, @Name, @EnableFlag", condition);
 }
Example #3
0
 /// <summary>
 /// 案件一覧取得
 /// </summary>
 /// <param name="condition">検索条件</param>
 /// <returns>検索条件に合致した案件一覧</returns>
 public static List <Project> FindProjectsBy(ProjectCondition condition)
 {
     return(ModelBase._db.ReadAny <Project, ProjectCondition>("Exec FindProjectsBy @ProjectID, @Name, @EnableFlag", condition));
 }