Esempio 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));
        }
Esempio 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));
        }