private void ShowDetail(string custBar) { HistoryWindow hw = new HistoryWindow(dal) { WindowStartupLocation = WindowStartupLocation.CenterScreen }; hw.custCode.Text = custBar; hw.Show(); hw.Query(); hw.Activate(); }
private void ShowDetail(string custBar) { HistoryWindow hw = new HistoryWindow(dal) { WindowStartupLocation = WindowStartupLocation.CenterScreen }; hw.custCode.Text = custBar; hw.Show(); hw.Query(); hw.Activate(); }