Click here to Skip to main content
15,905,877 members
Home / Discussions / C#
   

C#

 
GeneralRe: Switching Between Forms Pin
mhmoud rawas18-Nov-03 19:47
mhmoud rawas18-Nov-03 19:47 
GeneralDetermining comctl32.dll version... Pin
ToddTTT18-Nov-03 14:42
ToddTTT18-Nov-03 14:42 
GeneralRe: Determining comctl32.dll version... Pin
leppie18-Nov-03 17:23
leppie18-Nov-03 17:23 
GeneralRe: Determining comctl32.dll version... Pin
Heath Stewart19-Nov-03 4:03
protectorHeath Stewart19-Nov-03 4:03 
GeneralRe: Determining comctl32.dll version... Pin
ToddTTT19-Nov-03 12:20
ToddTTT19-Nov-03 12:20 
GeneralRe: Determining comctl32.dll version... Pin
Husein21-Nov-03 22:55
Husein21-Nov-03 22:55 
GeneralAlgorithm help Pin
OmegaSupreme18-Nov-03 12:03
OmegaSupreme18-Nov-03 12:03 
GeneralRe: Algorithm help Pin
Christian Graus18-Nov-03 13:41
protectorChristian Graus18-Nov-03 13:41 
This sounds like a homework question to me.

First of all, write down your selection criteria. Then consider how to put it into code. I'd probably start with a struct that includes details such as the promo ( a seperate class ), the times it can be played, and then write code to spread the promos over the applicable time periods. So if you can play a promo between 1 and 2, if you can play it three times, play it at 1, 1:30 and 2.


Christian

I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
GeneralRe: Algorithm help Pin
OmegaSupreme18-Nov-03 14:32
OmegaSupreme18-Nov-03 14:32 
GeneralRe: Algorithm help Pin
Aryo Handono19-Nov-03 1:10
professionalAryo Handono19-Nov-03 1:10 
GeneralRe: Algorithm help Pin
OmegaSupreme19-Nov-03 2:18
OmegaSupreme19-Nov-03 2:18 
GeneralRe: Algorithm help Pin
Aryo Handono19-Nov-03 2:27
professionalAryo Handono19-Nov-03 2:27 
GeneralRe: Algorithm help Pin
OmegaSupreme19-Nov-03 3:51
OmegaSupreme19-Nov-03 3:51 
GeneralRe: Algorithm help Pin
NikV22-Nov-03 1:46
NikV22-Nov-03 1:46 
GeneralRe: Algorithm help Pin
OmegaSupreme23-Nov-03 12:15
OmegaSupreme23-Nov-03 12:15 
Generalcontrol events Pin
udaan200318-Nov-03 10:43
udaan200318-Nov-03 10:43 
GeneralResize of custom control Pin
udaan200318-Nov-03 9:55
udaan200318-Nov-03 9:55 
GeneralColor in TextBoxes Pin
obelisk2918-Nov-03 9:33
obelisk2918-Nov-03 9:33 
GeneralRe: Color in TextBoxes Pin
Daniel M. Edwards18-Nov-03 12:00
Daniel M. Edwards18-Nov-03 12:00 
GeneralCrystal Reports Pin
scarabey18-Nov-03 9:24
scarabey18-Nov-03 9:24 
GeneralRe: Crystal Reports Pin
gokselm20-Nov-03 10:57
gokselm20-Nov-03 10:57 
GeneralWindows forms and Shut down! Pin
Utku KAYA18-Nov-03 7:53
Utku KAYA18-Nov-03 7:53 
Generalno DataSource property for CheckedListBox Pin
zuhx18-Nov-03 7:02
zuhx18-Nov-03 7:02 
GeneralRe: no DataSource property for CheckedListBox Pin
Heath Stewart18-Nov-03 8:36
protectorHeath Stewart18-Nov-03 8:36 
GeneralStreamReader.ReadLine locking thread Pin
Anonymous18-Nov-03 6:51
Anonymous18-Nov-03 6:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.