You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
952 B
42 lines
952 B
2 months ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.ComponentModel;
|
||
|
using System.Data;
|
||
|
using System.Drawing;
|
||
|
using System.Text;
|
||
|
using System.Windows.Forms;
|
||
|
|
||
|
namespace Stone.WinModule.BasicData
|
||
|
{
|
||
|
public partial class frmColorPart : Stone.WinModule.BasicData.frmBaseMain
|
||
|
{
|
||
|
public frmColorPart()
|
||
|
{
|
||
|
InitializeComponent();
|
||
|
}
|
||
|
|
||
|
private void frmColorPart_Load(object sender, EventArgs e)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
public override void Search(string code)
|
||
|
{
|
||
|
if (code == "")
|
||
|
{
|
||
|
strWhere = "1=1";
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
strWhere = " [Baumuster] like '%" + code + "%' or ";
|
||
|
strWhere += " [Color] like '%" + code + "%' or ";
|
||
|
strWhere += " [PartNumber] like '%" + code + "%' or ";
|
||
|
strWhere += " [CarType] like '%" + code + "%' ";
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|