Ejemplo n.º 1
0
        public static bool ShowDialog(XYPlotLayer layer, string currentPage, CSLineID currentEdge)
        {
            LayerController ctrl = new LayerController(layer, currentPage, currentEdge);
            LayerControl    view = new LayerControl();

            ctrl.View = view;

            return(Current.Gui.ShowDialog(ctrl, layer.Name, true));
        }
Ejemplo n.º 2
0
    public static bool ShowDialog(XYPlotLayer layer, string currentPage, CSLineID currentEdge)
    {
      LayerController ctrl = new LayerController(layer, currentPage, currentEdge);
      LayerControl view = new LayerControl();
      ctrl.View = view;

      return Current.Gui.ShowDialog(ctrl, layer.Name, true);
    }