コード例 #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));
        }
コード例 #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);
    }