Ejemplo n.º 1
0
 public ucVoicePanel(User user, FrmUser userForm)
 {
     InitializeComponent();
     InitPictureBox();
     this.user      = user;
     this.userForm  = userForm;
     voice          = new VoiceControl(user);
     voice.Path     = voice.GetNextPath();
     timer          = new Timer();
     timer.Tick    += Timer_Tick;
     timer.Interval = 1000;
     this.panelRecord.Controls.Add(pctRecord);
 }
Ejemplo n.º 2
0
 public ucVoicePanel(Group group, FrmGroup groupForm)
 {
     InitializeComponent();
     InitPictureBox();
     this.group     = group;
     this.groupForm = groupForm;
     voice          = new VoiceControl(group);
     voice.Path     = voice.GetNextPath();
     timer          = new Timer();
     timer.Tick    += Timer_Tick;
     timer.Interval = 1000;
     this.panelRecord.Controls.Add(pctRecord);
 }
Ejemplo n.º 3
0
 public ucVoicePanel()
 {
     InitializeComponent();
     voice = new VoiceControl();
 }