UCcontacts.cs 825 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Drawing;
  5. using System.Data;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. namespace SkypeDemo.UserControls
  11. {
  12. public partial class UCcontacts : UserControl
  13. {
  14. public UCcontacts()
  15. {
  16. InitializeComponent();
  17. }
  18. public Image ProfilePic
  19. {
  20. get { return pictureBox1.Image; }
  21. set { pictureBox1.Image = value; }
  22. }
  23. public string txtName
  24. {
  25. get { return labelName.Text; }
  26. set { labelName.Text = value; }
  27. }
  28. public string txtStatus
  29. {
  30. get { return labelStatus.Text; }
  31. set { labelStatus.Text = value; }
  32. }
  33. }
  34. }