示例#1
0
        private void ShowDetail(string custBar)
        {
            HistoryWindow hw = new HistoryWindow(dal)
            {
                WindowStartupLocation = WindowStartupLocation.CenterScreen
            };

            hw.custCode.Text = custBar;
            hw.Show();
            hw.Query();
            hw.Activate();
        }