Exemple #1
0
 /// <summary>
 /// Load all warnings from KML tree. Tree needs to be loaded first.
 /// </summary>
 public void AfterTreeLoad()
 {
     WarningsList.Items.Clear();
     foreach (Syntax.Message msg in Syntax.Messages)
     {
         GuiWarningsNode node = new GuiWarningsNode(msg);
         node.MouseDoubleClick += WarningsNode_MouseDoubleClick;
         WarningsList.Items.Add(node);
     }
 }
Exemple #2
0
 /// <summary>
 /// Load all warnings from KML tree. Tree needs to be loaded first.
 /// </summary>
 public void AfterTreeLoad()
 {
     WarningsList.Items.Clear();
     foreach (Syntax.Message msg in Syntax.Messages)
     {
         GuiWarningsNode node = new GuiWarningsNode(msg);
         node.MouseDoubleClick += WarningsNode_MouseDoubleClick;
         WarningsList.Items.Add(node);
     }
     // All current messages are shown in the list,
     // so they are handled and can be cleared from the list.
     // Future messages will be shown in a DlgMessage.
     Syntax.Messages.Clear();
 }