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); }
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); }
public ucVoicePanel() { InitializeComponent(); voice = new VoiceControl(); }