private void ProjectXeniya_Load(object sender, EventArgs e) { ButtonChat button_chat = new ButtonChat(); button_chat.Show(); button_chat.Location = new Point(2, 5); panelControl.Controls.Add(button_chat); ButtonPhoto button_photo = new ButtonPhoto(); button_photo.Show(); button_photo.Location = new Point(2, 72); panelControl.Controls.Add(button_photo); ButtonSms button_sms = new ButtonSms(); button_sms.Show(); button_sms.Location = new Point(2, 129); panelControl.Controls.Add(button_sms); }