|
1 | | -using System; |
2 | | -using System.Collections.Generic; |
3 | | -using System.Drawing; |
4 | | -using System.Linq; |
5 | | -using System.Text; |
6 | | -using System.Threading.Tasks; |
7 | | -using Analogy.DataProviders.Extensions; |
| 1 | +using Analogy.DataProviders.Extensions; |
8 | 2 | using Analogy.LogViewer.WindowsEventLogs.Properties; |
| 3 | +using System; |
| 4 | +using System.Drawing; |
9 | 5 |
|
10 | 6 | namespace Analogy.LogViewer.WindowsEventLogs.IAnalogy |
11 | 7 | { |
12 | | - public class ImagesContainer : IAnalogyComponentImages |
| 8 | + public class ImagesContainer : IAnalogyComponentImages |
13 | 9 | { |
14 | | - public IEnumerable<DataProviderImages> GetDataProviderImages() |
15 | | - { |
16 | | - yield return new DataProviderImages(EventLogDataFactory.id, Resources.OperatingSystem_16x16, Resources.OperatingSystem_32x32); |
17 | | - yield return new DataProviderImages(new Guid("17C93A69-2D7D-4620-9289-6889DE4EFC79"), Resources.OperatingSystem_16x16, Resources.OperatingSystem_32x32); |
18 | | - yield return new DataProviderImages(new Guid("27C93A69-2D7D-4620-9289-6889DE4EFC80"), Resources.OperatingSystem_16x16, Resources.OperatingSystem_32x32); |
19 | | - yield return new DataProviderImages(new Guid("37C93A69-2D7D-4620-9289-6889DE4EFC80"), Resources.OperatingSystem_16x16, Resources.OperatingSystem_32x32); |
20 | | - yield return new DataProviderImages(new Guid("47C93A69-2D7D-4620-9289-6889DE4EFC80"), Resources.OperatingSystem_16x16, Resources.OperatingSystem_32x32); |
21 | | - yield return new DataProviderImages(new Guid("465F4963-71F3-4E50-8253-FA286BF5692B"), Resources.OperatingSystem_16x16, Resources.OperatingSystem_32x32); |
22 | | - yield return new DataProviderImages(new Guid("407C8AD7-E7A3-4B36-9221-BB5D48E78766"), Resources.OperatingSystem_16x16, Resources.OperatingSystem_32x32); |
23 | | - } |
24 | | - |
25 | | - public Image GetLargeImage(Guid analogyComponentId) |
26 | | - { |
27 | | - throw new NotImplementedException(); |
28 | | - } |
29 | | - |
30 | | - public Image GetSmallImage(Guid analogyComponentId) |
31 | | - { |
32 | | - throw new NotImplementedException(); |
33 | | - } |
34 | | - |
35 | | - public Image GetOnlineConnectedLargeImage(Guid analogyComponentId) |
36 | | - { |
37 | | - throw new NotImplementedException(); |
38 | | - } |
| 10 | + public Image GetLargeImage(Guid analogyComponentId) => Resources.OperatingSystem_32x32; |
39 | 11 |
|
40 | | - public Image GetOnlineConnectedSmallImage(Guid analogyComponentId) |
41 | | - { |
42 | | - throw new NotImplementedException(); |
43 | | - } |
| 12 | + public Image GetSmallImage(Guid analogyComponentId) => Resources.OperatingSystem_16x16; |
44 | 13 |
|
45 | | - public Image GetOnlineDisconnectedLargeImage(Guid analogyComponentId) |
46 | | - { |
47 | | - throw new NotImplementedException(); |
48 | | - } |
| 14 | + public Image GetOnlineConnectedLargeImage(Guid analogyComponentId) => Resources.OperatingSystem_32x32; |
49 | 15 |
|
50 | | - public Image GetOnlineDisconnectedSmallImage(Guid analogyComponentId) |
51 | | - { |
52 | | - throw new NotImplementedException(); |
53 | | - } |
| 16 | + public Image GetOnlineConnectedSmallImage(Guid analogyComponentId) => Resources.OperatingSystem_16x16; |
| 17 | + public Image GetOnlineDisconnectedLargeImage(Guid analogyComponentId) => Resources.OperatingSystem_32x32; |
| 18 | + public Image GetOnlineDisconnectedSmallImage(Guid analogyComponentId) => Resources.OperatingSystem_16x16; |
54 | 19 | } |
55 | 20 | } |
0 commit comments