public override void Show(ZuHeTool tool, string searchInput) { if (!string.IsNullOrEmpty(searchInput) && Text1.ToLower().Contains(searchInput.ToLower())) { MyCreate.Box_Hei(() => { tool.SelectTextText_B(Text1, Text2); }); } else { tool.SelectTextText(Text1, Text2); } }
public override void Show(ZuHeTool tool, string searchInput) { if (string.IsNullOrEmpty(searchInput)) { TextShow(tool); } else { if (Text1.ToLower().Contains(searchInput.ToLower())) { MyCreate.Box_Hei(() => { TextShow(tool); }); } } }
public override void Show(ZuHeTool tool, string searchInput) { if (!string.IsNullOrEmpty(searchInput)) { string input = searchInput.ToLower(); if (Text1.ToLower().Contains(input) || Text2.Contains(input)) { MyCreate.Box(() => { tool.TextText_OY(Text1, Text2); }); } } else { tool.TextText_BL(Text1, Text2); } }