コード例 #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);
 }
コード例 #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);
 }
コード例 #3
0
 public ucVoicePanel()
 {
     InitializeComponent();
     voice = new VoiceControl();
 }