public void setCreatedPerson(String param, TcpClient connectOptions, Model.ClientPanelButtons CB, DataGridView pnl)
 {
     createdPerson = param;
     label2.Text   = createdPerson;
     label4.Text   = nowTime;
     connect       = connectOptions;
     clientButton  = CB;
     panel         = pnl;
 }
 public ClientPanel()
 {
     InitializeComponent();
     clientButton = new Model.ClientPanelButtons();
     panel        = dataGridView1;
 }