Exemplo n.º 1
0
 public SendMenuForm()
 {
     InitializeComponent();
     InitializeSendMenuSourceDataTable();
     InitializeMenuListView();
     SocketCommService.SubscribeForUserInfos(this);
 }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            SocketCommService.SubscribeForUserInfos(new Program());
            SocketCommService.SubscribeForTextMessages(new Program());

            do
            {
                UIStatus = EUIStatus.ShowingReceicvedMessages;
                ShowRecivedMessages();
                UIStatus = EUIStatus.ShowingMenu;
                ShowSelectionMenu();
                UIStatus = EUIStatus.WaitingForUserSelection;
                char userInput = GetUserInput();
                UIStatus = EUIStatus.ProcessingUserSelction;
                ProcessUserInput(userInput);
                Console.Clear();
            }while (true);
        }