Esempio n. 1
0
        public IPluginViewSettings Add2DView(EventType eventType, Panel hostControl)
        {
            IPluginViewSettings pluginViewSettings = null;

            switch (eventType)
            {
            case EventType.Monitor:
                pluginViewSettings = new IrPlugin2DViewSettings(this.pluginService, eventType);
                break;

            case EventType.Inspection:
                pluginViewSettings = new IrPlugin2DViewSettings(this.pluginService, eventType);
                break;
            }

            return(pluginViewSettings);
        }
 private IrPlugin2DViewSettings(IrPlugin2DViewSettings source)
     : base(source)
 {
 }
 private IrPlugin2DViewSettings(IrPlugin2DViewSettings source)
     : base(source)
 {
 }
        public IPluginViewSettings Add2DView(EventType eventType, Panel hostControl)
        {
            IPluginViewSettings pluginViewSettings = null;

            switch (eventType)
            {
                case EventType.Monitor:
                    pluginViewSettings = new IrPlugin2DViewSettings(this.pluginService, eventType);
                    break;

                case EventType.Inspection:
                    pluginViewSettings = new IrPlugin2DViewSettings(this.pluginService, eventType);
                    break;
            }

            return pluginViewSettings;
        }