This commit is contained in:
chi
2023-08-25 16:35:28 +09:00
parent afbe5725e3
commit 80613d1095
9 changed files with 1650 additions and 1539 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -16,16 +16,19 @@ namespace FCM0000
string keyword = string.Empty;
string keyword2 = string.Empty;
public fLovProject(string search_, string stat_ = "")
bool layoutmode = false;
public fLovProject(string search_, string stat_ = "", bool layout = false)
{
InitializeComponent();
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
Title = string.Empty;
Index = -1;
layoutmode = layout;
this.keyword = search_;
this.keyword2 = stat_;
if (this.keyword2.isEmpty()) keyword2 = "%";
this.KeyPreview = true;
this.KeyDown += (s1, e1) =>
{
@@ -38,10 +41,22 @@ namespace FCM0000
{
//search data
// var dt = this.ta.GetSearch(this.keyword);
this.ta.FillSearch(this.dsMSSQL.Projects,
var statekey = this.keyword2;
if(layoutmode)
{
this.ta.FillByLayout(this.dsMSSQL.Projects,
"%" + this.keyword + "%",
FCOMMON.info.Login.gcode);
}
else
{
this.ta.FillSearch(this.dsMSSQL.Projects,
"%" + this.keyword + "%",
FCOMMON.info.Login.gcode,
"%" + this.keyword2 + "%");
this.keyword2);
}
this.StartPosition = FormStartPosition.CenterScreen;
bs.Filter = "status <> '취소'";