Пример #1
0
 public Sound(wnMain _main)
 {
     InitializeComponent();
     seed = DateTime.Now.Millisecond;
     assembly = Assembly.GetExecutingAssembly();
     sound = new SoundPlayer(assembly.GetManifestResourceStream("testy_psychomotoryczne.windowsding.wav"));
     this.main = _main;
 }
Пример #2
0
        private int seed; //seed to generate random object

        #endregion Fields

        #region Constructors

        public Light(wnMain _main)
        {
            InitializeComponent();
            seed = DateTime.Now.Millisecond; //use current time
            this.main = _main;
        }
Пример #3
0
 public Precision(wnMain _main)
 {
     InitializeComponent();
     this.main = _main;
 }
Пример #4
0
 public Speed(wnMain _main)
 {
     InitializeComponent();
     this.main = _main;
 }