Exemplo n.º 1
0
        protected virtual void OnShowDiagramInGUI(ShowDiagramInGUIArgs e)
        {
            EventHandler <ShowDiagramInGUIArgs> handler = ShowDiagramInGUI;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemplo n.º 2
0
 private void c_ShowDiagramInGUI(object sender, ShowDiagramInGUIArgs e)
 {
     Application.Current.Dispatcher.Invoke(new Action(() =>
     {
         Graph        = e.DiagramData;
         Results.Text = "Test succeded";
     }));
     //Graph = e.DiagramData;
     //Results.Text = "Test succeded";
     //Environment.Exit(0);
 }