Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1

    Default Automated Voting System in C#


    Guyz i need your help again...I need a little help with our thesis...It is an online student council voting system...So this is the status

    Info1: We have a table Candidate with all the candidate information like name
    and such

    Info2: On form load it should look like this



    I know how to access the database and get the details but i dont know how to create the controls in run time...any inputs would greatly b appreciated ^.^

  2. #2

    Default Re: Automated Voting System in C#

    Dli kaau ko familiar ug C#, pero i think mas dali ni xa kng VB imo gamiton.

  3. #3

    Default Re: Automated Voting System in C#

    i cant pass?, what if i want to abstain on voting that candidate and just vote the next one?

    and also try researching about the ARMM election before kay nindot to sila nga case study!!

  4. #4

    Default Re: Automated Voting System in C#

    try to study ang code behind TS. gi ana ra na. observe ang pattern den iloop nimo. ayos na..

  5. #5

    Default Re: Automated Voting System in C#

    you need to create a common user control for each item.

    then have a "container" control that would accept a list of your custom UserControl

    and all you need to do is something like this

    Code:
    this.container.Controls.Add(new CustomUserControl(<some_parameter>));
    now, the rendering part is another situation on how you are going to present your items.

    also you can check the generated initialization of your controls when you drag and drop it so you know how the controls are being attached to the window

  6. #6

    Default Re: Automated Voting System in C#

    ok, this is an online voting system.. I'm not sure what you mean by online, I guess online to you is computerized voting system, since I can see from your UI it is done in winforms. Not web?

    Quote Originally Posted by monochromatic View Post
    Dli kaau ko familiar ug C#, pero i think mas dali ni xa kng VB imo gamiton.
    They are the same.. C# is easier than vb.

  7. #7

    Default Re: Automated Voting System in C#

    Quote Originally Posted by fixyourself View Post
    ok, this is an online voting system.. I'm not sure what you mean by online, I guess online to you is computerized voting system, since I can see from your UI it is done in winforms. Not web?



    They are the same.. C# is easier than vb.
    oops sorry...it was supposedly an online generic voting system but was chop down to just student council voting system...sorry my bad....its a desktop application yes

  8. #8

    Default Re: Automated Voting System in C#

    Quote Originally Posted by Deathnote View Post
    oops sorry...it was supposedly an online generic voting system but was chop down to just student council voting system...sorry my bad....its a desktop application yes

    Here are the scenarios I could think of;

    * Choosing only one
    * Passing (as what @salbahis said)
    * Choosing one or more (e.g: choose 5)
    * Ranking (e.g.: rank all candidates)
    * Rank with limit (e.g.: choose only 3 then rank them)

    Ranking would be optional though.

    Could you specify more on the problems you encountered in creating custom controls? I'm not quite sure I understand the issue.

  9. #9

    Default Re: Automated Voting System in C#

    Quote Originally Posted by fixyourself View Post
    Here are the scenarios I could think of;

    * Choosing only one
    * Passing (as what @salbahis said)
    * Choosing one or more (e.g: choose 5)
    * Ranking (e.g.: rank all candidates)
    * Rank with limit (e.g.: choose only 3 then rank them)

    Ranking would be optional though.

    Could you specify more on the problems you encountered in creating custom controls? I'm not quite sure I understand the issue.
    Oh actually i made the form just to give you guyz an example of how i want it to look like...didnt really add the features....

    ok basically this is what i want it to look like on runtime

    *Controls are group into groupboxes according to postions
    *There should be only 3 candidates per row
    *Add event handlers for the for the controls

    my prob is the syntax bro...i have no prob in getting the information from the database but im having trouble finding sources on how to add controls dynamically that it would arrange itself like that

  10. #10

    Default Re: Automated Voting System in C#

    Quote Originally Posted by Deathnote View Post
    Oh actually i made the form just to give you guyz an example of how i want it to look like...didnt really add the features....

    ok basically this is what i want it to look like on runtime

    *Controls are group into groupboxes according to postions
    *There should be only 3 candidates per row
    *Add event handlers for the for the controls

    my prob is the syntax bro...i have no prob in getting the information from the database but im having trouble finding sources on how to add controls dynamically that it would arrange itself like that
    ask idwyt, he can help.. hehe

  11.    Advertisement

Page 1 of 2 12 LastLast

Similar Threads

 
  1. constantine was voted out in AI...
    By robearthFX in forum Music & Radio
    Replies: 16
    Last Post: 10-25-2014, 01:11 PM
  2. MGA BRO: HELP ABOUT VIDEO RENTAL SYSTEM IN VB LANGUAGE
    By peewee711 in forum Programming
    Replies: 12
    Last Post: 09-14-2010, 03:51 AM
  3. Payroll System in VB 6.0
    By uzumaki in forum Programming
    Replies: 33
    Last Post: 07-02-2010, 01:42 PM
  4. Change in voting system
    By homeryap in forum Politics & Current Events
    Replies: 2
    Last Post: 10-26-2008, 12:11 AM
  5. Replies: 1
    Last Post: 12-14-2006, 12:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top