Esempio n. 1
0
 public contact(string contactName, string contactUser, chatbox2 chatbox, screen parent)
 {
     InitializeComponent();
     this.contactName = contactName;
     this.contactUser = contactUser;
     this.chatbox     = chatbox;
     this.parent      = parent;
     this.chatbox.loadChat();
     label1.Text = this.contactName;
 }
Esempio n. 2
0
        public friendPanel(string myUsername, screen parent)
        {
            InitializeComponent();
            addfriends.Visible           = false;
            friendrequests.Visible       = false;
            slideDaddfriends.Visible     = false;
            slideDfriendrequests.Visible = false;

            this.myUsername = myUsername;
            this.parent     = parent;
        }