Exemplo n.º 1
0
 public void InitGroupForm()
 {
     groupForm           = new FrmGroup(group, this);
     groupForm.TopLevel  = false;
     groupForm.BackColor = FrmMain.theme.BackColor;
     groupForm.Dock      = DockStyle.Fill;
     this.panelRIGHT.Controls.Add(groupForm);
 }
Exemplo 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);
 }
Exemplo n.º 3
0
        public ucInfoGroup(FrmGroup frmMain)
        {
            this.frmMain = frmMain;
            InitializeComponent();
            InitControls();
            locationlabel(ref lbName, pnavata_name);
            locationlabel(ref lbID, pnavata_name);
            locationpanel(ref panel1, pnavata_name);
            pnaddfile.Visible   = false;
            pnaddmember.Visible = false;

            pnfile.AutoSize   = true;
            pnmember.AutoSize = true;

            this.mainForm = this.frmMain.GroupUI.MAINFORM;
            this.frmADD   = new FrmADD(mainForm);
            this.frmMain.Pncontaininfor.Controls.Add(this);
            this.Dock = DockStyle.Top;
        }