Exemple #1
0
        /// <summary>
        /// </summary>
        public PeersForm()
        {
            InitializeComponent();

            WindowUtils.EnableDoubleBuffering(MainListView);

            MainListView.ListViewItemSorter = ColumnSorter;
        }
Exemple #2
0
        /// <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;
        }
Exemple #4
0
        /// <summary>
        ///
        /// </summary>
        public TagTextBox()
        {
            InitializeComponent();

            TagBuilder.OnTagClicked    += TagItemClicked;
            TagBuilder.OnTagsRefreshed += UpdateState;
            TagBuilder.Attach(TagContextMenuStrip);

            WindowUtils.EnableDoubleBuffering(this);
        }
Exemple #5
0
        /// <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);
        }