allocate percentage to each selected user
-
Hi, I would like to get help on designing a .net 2.0 winform. One or more Users should be able to be assigned to one Assignment. A percentage of the Assignment is allocated to the selected user(s). Each assignment can have one or more users assigned to it. For example: A manager opens the form. Selects an assignment (AssignmentNo 5) from a combo box. From a Listbox control he then selects one or more users (User1, User2,...) to be assigned to that selected Assignment (AssignmentNo 5). AND then somewhere and somehow each selected user has to be given a percentage of the assignment (i.e. User1 to be given 80%, User2 to be given 20%) of AssignmentNo 5. Later on the manager may want to add User3 to the same assignment and to give the user3 10% of AssignmnetNo 5. Please note that there is no need to limit the percentages to add up to 100%. I can select the users from the listbox but not sure how to design the interface to allocate percentages for each user. Thanks
-
Hi, I would like to get help on designing a .net 2.0 winform. One or more Users should be able to be assigned to one Assignment. A percentage of the Assignment is allocated to the selected user(s). Each assignment can have one or more users assigned to it. For example: A manager opens the form. Selects an assignment (AssignmentNo 5) from a combo box. From a Listbox control he then selects one or more users (User1, User2,...) to be assigned to that selected Assignment (AssignmentNo 5). AND then somewhere and somehow each selected user has to be given a percentage of the assignment (i.e. User1 to be given 80%, User2 to be given 20%) of AssignmentNo 5. Later on the manager may want to add User3 to the same assignment and to give the user3 10% of AssignmnetNo 5. Please note that there is no need to limit the percentages to add up to 100%. I can select the users from the listbox but not sure how to design the interface to allocate percentages for each user. Thanks
a solution can be like, while entering the assignment into the system, also get the questions in that assignment to store them. so when the assignment will be divided into two or three different users in percentages, get the percentage based on the number of questions and then divide the assignment according to no of questions. like of u have 10 questions in an assignment, 80% will b 8 questions and 20% will be 2 questions. so then u can assign user1, 80% of the assignment, and user2 20% of the assignment. Regards Saqib
sAqIb "Our scientific power has outrun our spiritual power. We have guided missiles and misguided men." Dr. Martin Luther King Jr.