Exemplo n.º 1
0
 public void RegisterColumns(IPanelColumnManager columnManager)
 {
     columnManager.RegisterColumn <UserPanelItem>(new PanelColumnHeader(Resources.UserName, 180));
     columnManager.RegisterColumn <UserPanelItem>(new PanelColumnHeader(Resources.Title));
     columnManager.RegisterColumn <UserPanelItem>(new PanelColumnHeader(Resources.WorkPhone));
     columnManager.RegisterColumn <UserPanelItem>(new PanelColumnHeader(Resources.Office));
     columnManager.RegisterColumn <UserPanelItem>(new PanelColumnHeader(Resources.Department));
     columnManager.RegisterColumn <UserPanelItem>(new PanelColumnHeader(Resources.Email, 180));
     columnManager.RegisterColumn <UserPanelItem>(new PanelColumnHeader(Resources.Company)
     {
         Visible = false
     });
     columnManager.RegisterColumn <UserPanelItem>(new PanelColumnHeader(Resources.Nickname)
     {
         Visible = false
     });
     columnManager.RegisterColumn <UserPanelItem>(new PanelColumnHeader(Resources.Pre2000Logon)
     {
         Visible = false
     });
     columnManager.RegisterColumn <UserPanelItem>(new PanelColumnHeader(Resources.Description, 200)
     {
         Visible = false
     });
 }
Exemplo n.º 2
0
 public void RegisterColumns(IPanelColumnManager columnManager)
 {
     columnManager.RegisterColumn <FilePanelItem>(new PanelColumnHeader(Resources.Name, 200));
     columnManager.RegisterColumn <FilePanelItem>(new PanelColumnHeader(Resources.Size)
     {
         TextAlign = HorizontalAlignment.Right
     });
 }
Exemplo n.º 3
0
 public void RegisterColumns(IPanelColumnManager columnManager)
 {
     columnManager.RegisterColumn <DrivePanelItem>(new PanelColumnHeader(Resources.Name, 150));
     columnManager.RegisterColumn <DrivePanelItem>(new PanelColumnHeader(Resources.Type, 80));
     columnManager.RegisterColumn <DrivePanelItem>(new PanelColumnHeader(Resources.TotalSize, 100)
     {
         TextAlign = HorizontalAlignment.Right
     });
     columnManager.RegisterColumn <DrivePanelItem>(new PanelColumnHeader(Resources.FreeSpace, 100)
     {
         TextAlign = HorizontalAlignment.Right
     });
     columnManager.RegisterColumn <DrivePanelItem>(new PanelColumnHeader(Resources.FileSystem, 80)
     {
         Visible = false
     });
 }
Exemplo n.º 4
0
 public void RegisterColumns(IPanelColumnManager columnManager)
 {
     columnManager.RegisterColumn <ComputerPanelItem>(new PanelColumnHeader(Resources.NetworkName));
     columnManager.RegisterColumn <ComputerPanelItem>(new PanelColumnHeader(Resources.Description, 240));
     columnManager.RegisterColumn <ComputerPanelItem>(new PanelColumnHeader(Resources.OSVersion, 110)
     {
         Visible = false
     });
     // lazy columns
     columnManager.RegisterColumn <ComputerPanelItem>(new PanelColumnHeader(Resources.Ping, 110)
     {
         Callback = GetReachable, Visible = false, Refreshable = true
     });
     columnManager.RegisterColumn <ComputerPanelItem>(new PanelColumnHeader(Resources.IPAddress, 80)
     {
         Callback = GetIPAddress, Visible = false
     });
     columnManager.RegisterColumn <ComputerPanelItem>(new PanelColumnHeader(Resources.MACAddress, 110)
     {
         Callback = GetMACAddress, Visible = false
     });
     columnManager.RegisterColumn <ComputerPanelItem>(new PanelColumnHeader(Resources.LoggedUsers, 300)
     {
         Callback = GetLoggedUsers, Visible = false
     });
 }
Exemplo n.º 5
0
 public void RegisterColumns(IPanelColumnManager columnManager)
 {
     columnManager.RegisterColumn <WorkspacePanelItem>(new PanelColumnHeader(Resources.Name, 300));
 }
Exemplo n.º 6
0
 public void RegisterColumns(IPanelColumnManager columnManager)
 {
     columnManager.RegisterColumn <DomainPanelItem>(new PanelColumnHeader(Resources.DomainName, 200));
 }
Exemplo n.º 7
0
 public void RegisterColumns(IPanelColumnManager columnManager)
 {
     columnManager.RegisterColumn <ShortcutPanelItem>(new PanelColumnHeader(Resources.mHelpKeys_Text, 100));
     columnManager.RegisterColumn <ShortcutPanelItem>(new PanelColumnHeader(Resources.Action, 280));
     columnManager.RegisterColumn <ShortcutPanelItem>(new PanelColumnHeader(Resources.Context, 80));
 }
Exemplo n.º 8
0
 public void RegisterColumns(IPanelColumnManager columnManager)
 {
     columnManager.RegisterColumn <SharePanelItem>(new PanelColumnHeader(Resources.ResourceName, 200));
     columnManager.RegisterColumn <SharePanelItem>(new PanelColumnHeader(Resources.Description));
 }