Exemplo n.º 1
0
        public ServiceManager()
        {
            ///
            /// This call is required by the Windows.Forms Designer.
            ///
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            _serviceCollection = new ServiceCollection(this, typeof(Service));
        }
Exemplo n.º 2
0
        private ServiceCollection _serviceCollection; // = new ServiceCollection();

        #endregion Fields

        #region Constructors

        public ServiceManager(System.ComponentModel.IContainer container)
        {
            ///
            /// Required for Windows.Forms Class Composition Designer support
            ///
            container.Add(this);
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            _serviceCollection = new ServiceCollection(this, typeof(Service));
        }