Exemplo n.º 1
0
 public ShowFormalMessage_Form(FormalMessage p_formal_message, int p_formal_message_id, OfflienMesssageRead p_offlien_messages_read_inform
                               , RemoveShowOfflineMessagesForm p_remove_form_from_list)
 {
     BaseConstruct(p_offlien_messages_read_inform, p_remove_form_from_list);
     formal_message                = p_formal_message;
     formal_message_id             = p_formal_message_id;
     show_formal_message_form_mode = ShowFormalMessageFormMode.ShowAFormalMessage;
     ShowMessages();
     this.Visible = false;
     this.Hide();
 }
Exemplo n.º 2
0
        public void Mo_ShowFormalMessage(FormalMessage p_formal_message, int p_message_id)
        {
            ShowFormalMessage_Form show_formal_message_form = new ShowFormalMessage_Form(p_formal_message, p_message_id, new OfflienMesssageRead(Mo_ServerOfflineMessagesReadInform)
                                                                                         , new RemoveShowOfflineMessagesForm(RemoveShowOfflineMessagesFormFromList));

            if (!all_show_formal_message_forms.Contains(show_formal_message_form))
            {
                all_show_formal_message_forms.Add(show_formal_message_form);
                show_formal_message_form.StartForm();
            }
            else
            {
                show_formal_message_form.DontStartForm();
            }
        }
Exemplo n.º 3
0
 public void Se_CreateFormalMessageRequest(FormalMessage p_message, string p_receiver_user_name)
 {
     server_core.SC_SendFormalMessageToUser(p_message, p_receiver_user_name);
 }