예제 #1
0
 protected void OnChange(MessageEventArgs e)
 {        
     if (Change != null)
         Change(this, e);            
 }   
예제 #2
0
 void Model_Change(object sender, MessageEventArgs e)
 {
     Tools.Message msg = e.Message;
     Update(msg);
 }
 /// <summary>
 /// Création d'un message
 /// </summary>
 /// <param name="change">
 /// Type de message
 /// </param>
 /// <param name="infos">
 /// Arguments du message
 /// </param>
 private void CreateMessage(ChangeType change, string[] infos)
 {
     Stl.Tme.Components.Tools.Message msg = new Stl.Tme.Components.Tools.Message(this, change, infos);
     MessageEventArgs args = new MessageEventArgs(msg);
     Controller.Receive(msg);
 }
예제 #4
0
 private void Model_Change(object sender, MessageEventArgs e)
 {
     Update(e.Message);
 }