本文整理汇总了C#中Microsoft.ManagementConsole.Add方法的典型用法代码示例。如果您正苦于以下问题:C# Microsoft.ManagementConsole.Add方法的具体用法?C# Microsoft.ManagementConsole.Add怎么用?C# Microsoft.ManagementConsole.Add使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Microsoft.ManagementConsole
的用法示例。
在下文中一共展示了Microsoft.ManagementConsole.Add方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: LoadImages
internal static void LoadImages(MMC.SnapInImageList smallImages, MMC.SnapInImageList largeImages)
{
smallImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.Application_16x16); //0
smallImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.Folder_16x16); //1
smallImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.ItemAuthorization_16x16); //2
smallImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.NetSqlAzMan_16x16); //3
smallImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.Operation_16x16); //4
smallImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.SIDNotFound_16x16); //5
smallImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.Store_16x16); //6
smallImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.StoreApplicationGroup_16x16); //7
smallImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.WindowsBasicGroup_16x16); //8
smallImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.WindowsQueryLDAPGroup_16x16); //9
smallImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.WindowsUser_16x16); //10
smallImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.AuthorizationAttribute_16x16); //11
smallImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.Role_16x16); //12
smallImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.Task_16x16); //13
smallImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.Operation_16x16); //14
smallImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.Hierarchy_16x16); //15
smallImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.Options_16x16); //16
smallImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.DBUser_16x16); //17
largeImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.Application_32x32); //0
largeImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.Folder_32x32); //1
largeImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.ItemAuthorization_32x32); //2
largeImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.NetSqlAzMan_32x32); //3
largeImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.Operation_32x32); //4
largeImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.SIDNotFound_32x32); //5
largeImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.Store_32x32); //6
largeImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.StoreApplicationGroup_32x32); //7
largeImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.WindowsBasicGroup_32x32); //8
largeImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.WindowsQueryLDAPGroup_32x32); //9
largeImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.WindowsUser_32x32); //10
largeImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.AuthorizationAttribute_32x32); //11
largeImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.Role_32x32); //12
largeImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.Task_32x32); //13
largeImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.Operation_32x32); //14
largeImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.Hierarchy_32x32); //15
largeImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.Options_32x32); //16
largeImages.Add(NetSqlAzMan.SnapIn.Properties.Resources.DBUser_32x32); //17
}