Exemplo n.º 1
0
        /// <summary>
        /// </summary>
        public PeersForm()
        {
            InitializeComponent();

            WindowUtils.EnableDoubleBuffering(MainListView);

            MainListView.ListViewItemSorter = ColumnSorter;
        }
Exemplo n.º 2
0
        /// <summary>
        /// </summary>
        public ManifestsForm()
        {
            InitializeComponent();

            WindowUtils.EnableDoubleBuffering(mainListView);

            mainListView.ListViewItemSorter = ColumnSorter;
        }
Exemplo n.º 3
0
        /// <summary>
        /// </summary>
        public ManageServerForm()
        {
            InitializeComponent();

            WindowUtils.EnableDoubleBuffering(MainListView);
            WindowUtils.EnableDoubleBuffering(InstallsListView);

            MainListView.ListViewItemSorter = ColumnSorter;
        }
Exemplo n.º 4
0
        /// <summary>
        ///
        /// </summary>
        public TagTextBox()
        {
            InitializeComponent();

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

            WindowUtils.EnableDoubleBuffering(this);
        }
Exemplo n.º 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";
        }
Exemplo n.º 6
0
        /// <summary>
        ///
        /// </summary>
        public SegmentedProgressBar()
        {
            InitializeComponent();

            WindowUtils.EnableDoubleBuffering(this);
        }