示例#1
0
        void btnChangeTrailerType_Click(object sender, EventArgs e)
        {
            List <int> instructionIDs = new List <int>();

            foreach (Entities.Instruction instruction in this.Instrutions)
            {
                instructionIDs.Add(instruction.InstructionID);
            }
            Facade.IInstruction facInstruction = new Facade.Instruction();
            facInstruction.AssignPlanningCategory(instructionIDs, this.JobID, int.Parse(cboType.SelectedValue), DateTime.Now, Page.User.Identity.Name);
            this.ReturnValue = "changetrailertype";
            this.Close();
        }