private void ReqForm_Load(object sender, EventArgs e) { //提出人 this.TCR.Text = ConfigInfo.UserName; GlobalFunc.ProjectStaff_Load(TCR); tempRingsID = ConfigInfo.UserID + "_" + System.Guid.NewGuid().ToString("N"); this.dragAndDropBox1.onFileDrop += (file,shiftDown) => { ClassifyForm classifyForm = new ClassifyForm(file, tempRingsID); classifyForm.ShowDialog(); }; panel1.Visible = (parent == null); }