public void MsgEventHandle(string message, MessageLV lv = MessageLV.Default, params object[] args)
 {
     if (ShowMessaged!=null)
        {
        ShowMessaged(message, lv.ToString(), args);
        }
 }
Example #2
0
 /// <summary>
 /// addes messages to the listview
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void MWVM_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
 {
     if (e.PropertyName == "Message")
     {
         messageCollection.Add(mum.Message);
         MessageLV.ScrollIntoView(mum.Message);
     }
     if (e.PropertyName == "Status")
     {
         status.IsChecked = mum.Status;
     }
 }