public RFTPA02Frm(UserInfo loginuser, tpa00_res.Utility tpa00res, string toloc, Dictionary<string, string> packkeylist) { InitializeComponent(); this.loginuser = loginuser; this.toloc1.Text = toloc; this.tpa00res = tpa00res; this.lpnlist.Items.Clear(); this.packkeylist = packkeylist; databind(); this.lpn.SetFocus(); }
public void OpenRFTPA02(UserInfo userinfo, tpa00_res.Utility tpa00res, string toloc) { RFTPA02Frm frm = new RFTPA02Frm(userinfo, tpa00res, toloc,this.packkeylist); DialogResult result = frm.ShowDialog(); if (result == DialogResult.OK) { string tolocstr = frm.ToLoc; string reason = frm.Reason; Dictionary<string, tpa00_res.UtilityHeader> headerlist = frm.HeaderList; call_NSPRFTPA02( headerlist,tolocstr, reason); } this.submitbtn.Enabled = true; }