2 writes to serviceContainer
System.Windows.Forms.DataVisualization (2)
WinForm\ChartWinControl.cs (2)
226
serviceContainer
= new ServiceContainer();
3116
serviceContainer
= null;
22 references to serviceContainer
System.Windows.Forms.DataVisualization (22)
WinForm\ChartWinControl.cs (22)
233
_dataManager = new DataManager(
serviceContainer
);
234
_imageLoader = new ImageLoader(
serviceContainer
);
236
chartPicture = new ChartImage(
serviceContainer
);
237
_chartSerializer = new ChartSerializer(
serviceContainer
);
238
_printingManager = new PrintingManager(
serviceContainer
);
242
serviceContainer
.AddService(typeof(Chart), this); // Chart Control
243
serviceContainer
.AddService(_chartTypeRegistry.GetType(), _chartTypeRegistry);// Chart types registry
244
serviceContainer
.AddService(_borderTypeRegistry.GetType(), _borderTypeRegistry);// Border types registry
245
serviceContainer
.AddService(_customAttributeRegistry.GetType(), _customAttributeRegistry);// Custom attribute registry
246
serviceContainer
.AddService(_dataManager.GetType(), _dataManager); // Data Manager service
247
serviceContainer
.AddService(_imageLoader.GetType(), _imageLoader); // Image Loader service
248
serviceContainer
.AddService(chartPicture.GetType(), chartPicture); // Chart image service
249
serviceContainer
.AddService(_chartSerializer.GetType(), _chartSerializer); // Chart serializer service
250
serviceContainer
.AddService(_printingManager.GetType(), _printingManager); // Printing manager service
251
serviceContainer
.AddService(_formulaRegistry.GetType(), _formulaRegistry); // Formula modules service
252
serviceContainer
.AddService(_keywordsRegistry.GetType(), _keywordsRegistry); // Keywords registry
347
selection = new Selection(
serviceContainer
);
2994
if(
serviceContainer
!= null)
2996
service =
serviceContainer
.GetService(serviceType);
3112
if (
serviceContainer
!= null)
3114
serviceContainer
.RemoveService(typeof(Chart));
3115
serviceContainer
.Dispose();