Exemple #1
0
        public About()
        {
            InitializeComponent();

            scroll = new ScrollBarAPIHelper();
            scroll.Init(txtLicense, this);
            scroll.UpdateScrollBars();
        }
Exemple #2
0
        public Main()
        {
            InitializeComponent();
            radChannel[0] = radStatus;
            radChannel[1] = radChannel1;
            radChannel[2] = radChannel2;
            radChannel[3] = radChannel3;
            radChannel[4] = radChannel4;
            radChannel[5] = radChannel5;
            radChannel[6] = radChannel6;
            radChannel[7] = radChannel7;
            radChannel[8] = radChannel8;

            txtChat[0] = txtStatus;
            txtChat[1] = txtChat1;
            txtChat[2] = txtChat2;
            txtChat[3] = txtChat3;
            txtChat[4] = txtChat4;
            txtChat[5] = txtChat5;
            txtChat[6] = txtChat6;
            txtChat[7] = txtChat7;
            txtChat[8] = txtChat8;

            lstSorter = new ListViewSorter();
            lstPlayers.ListViewItemSorter = lstSorter;

            barFilter.ColorScheme.ItemCheckedBackground2 = Color.Transparent;
            barFilter.ColorScheme.ItemHotBackground2 = Color.Transparent;
            barFilter.ColorScheme.ItemPressedBackground2 = Color.Transparent;

            for (int count = 0; count <= 8; count++)
            {
                txtScroll[count] = new ScrollBarAPIHelper();
                ChannelUsers[count] = new ListView();
                ChannelID[count] = 32768;
                txtScroll[count].Init(txtChat[count], txtChat[count].Parent);
                txtScroll[count].UpdateScrollBars();
            }
        }