Beispiel #1
0
        private void btnFriendAdd_Click(object sender, RoutedEventArgs e)
        {
            chooseUser cu = new chooseUser(false, enginee, this, new Action <string>(re => {
                enginee._newFriend(re);
            }));

            cu.Show();
            cu.Focus();
            cu.tbIncome.Focus();
            cu.Top  = this.Top + 100;
            cu.Left = this.Left + 100;
        }
Beispiel #2
0
        private void btnAddUser_Click(object sender, RoutedEventArgs e)
        {
            chooseUser cu = new chooseUser(true, enginee, this, new Action <string>(re => {
                enginee._addPersonToCurrentChat(re);
            }));

            cu.Show();
            cu.Focus();
            cu.tbIncome.Focus();
            cu.Top  = this.Top + 100;
            cu.Left = this.Left + 100;
        }