How to set the size of the Quick Search box and complete automatic search?

Using Epicor’s customization feature, we can open the Quick Search box, but how can we set the size of the search box and make it automatically click OK to display search results?

	object selected = ProcessCaller.InvokeAdapterMethod
	(oTrans.EpiBaseForm, "QuickSearchAdapter", "ShowQuickSearchForm", new object[]{oTrans.EpiBaseForm, "qPP-JobHeadPartLot", false, new DataTable()});
	string JobNum;
	if (selected != null)
	{
		JobNum= selected.ToString();
		txtJob.Text=JobNum;
		txtJob.Focus();
		ButtJobHeadQS.Focus();
	}