public newPackageForm(Dictionary <string, ExportInfo> info, FguiToolkitForm parentform) { InitializeComponent(); this.FormClosing += Form1_Closing; this.exportInfoDict = info; _parentform = parentform; KeyPreview = true; this.KeyDown += new KeyEventHandler(Form1_KeyDown); }
public modifyPackageForm(string iName, ExportInfo info, FguiToolkitForm parentform) { InitializeComponent(); this.FormClosing += Form1_Closing; this.exportInfo = info; this._iName = iName; _parentform = parentform; txtGroupName.Text = iName; txtPkgName.Text = this.exportInfo.PackageName; txtExpPath.Text = this.exportInfo.ExportPath; txtBrExpPath.Text = this.exportInfo.ExportPath_Branch; txtGroupName.Enabled = false; KeyPreview = true; this.KeyDown += new KeyEventHandler(Form1_KeyDown); }