Пример #1
0
        private void OnAddFriend(object sender, System.EventArgs e)
        {
            if (tabMessages.TabPages.Count <= 0)
            {
                return;
            }
            if (tabMessages.SelectedTab == null)
            {
                return;
            }
            InterfaceClient source = (InterfaceClient)tabMessages.SelectedTab.Tag;

            krnGateway.AddFriend(source);
        }