public PlaySoundForm(PlaySoundAction action)
        {
            InitializeComponent();
            this.helpTopic = PlaySound.HelpTopic;

            //The action is saved in order to save the changes
            this.action = action;
        }
Exemple #2
0
 public PlaySoundGraphic(string key, PlaySoundAction element, Point center)
     : base(key, element, center)
 {
     this.needInit = System.Convert.ToBoolean(PlaySound.NeedInit);
     this.Surface.Blit(new Surface(PlaySound.GraphicIcon));
 }
Exemple #3
0
 public PlaySoundPanel(PlaySoundAction action)
 {
     InitializeComponent();
     this.action = action;
 }