/// <summary> /// </summary> public PeersForm() { InitializeComponent(); WindowUtils.EnableDoubleBuffering(MainListView); MainListView.ListViewItemSorter = ColumnSorter; }
/// <summary> /// </summary> public ManifestsForm() { InitializeComponent(); WindowUtils.EnableDoubleBuffering(mainListView); mainListView.ListViewItemSorter = ColumnSorter; }
/// <summary> /// </summary> public ManageServerForm() { InitializeComponent(); WindowUtils.EnableDoubleBuffering(MainListView); WindowUtils.EnableDoubleBuffering(InstallsListView); MainListView.ListViewItemSorter = ColumnSorter; }
/// <summary> /// /// </summary> public TagTextBox() { InitializeComponent(); TagBuilder.OnTagClicked += TagItemClicked; TagBuilder.OnTagsRefreshed += UpdateState; TagBuilder.Attach(TagContextMenuStrip); WindowUtils.EnableDoubleBuffering(this); }
/// <summary> /// </summary> public BlockStatusPanel() { InitializeComponent(); WindowUtils.EnableDoubleBuffering(this); CellStateBrushes[(int)CellState.NotDownloaded] = SystemBrushes.ControlLight; CellStateBrushes[(int)CellState.Downloading] = Brushes.Orange; CellStateBrushes[(int)CellState.Downloaded] = Brushes.LightGreen; CellStateBrushes[(int)CellState.Uploading] = Brushes.CornflowerBlue; CellStateBrushes[(int)CellState.Validating] = Brushes.Yellow; CellStateNames[(int)CellState.NotDownloaded] = "Not Downloaded"; CellStateNames[(int)CellState.Downloading] = "Downloading"; CellStateNames[(int)CellState.Downloaded] = "Downloaded"; CellStateNames[(int)CellState.Uploading] = "Uploading"; CellStateNames[(int)CellState.Validating] = "Validating"; }
/// <summary> /// /// </summary> public SegmentedProgressBar() { InitializeComponent(); WindowUtils.EnableDoubleBuffering(this); }