..
This commit is contained in:
2553
SubProject/FCM0000/dsMSSQL.Designer.cs
generated
2553
SubProject/FCM0000/dsMSSQL.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -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 <> '취소'";
|
||||
|
||||
Reference in New Issue
Block a user