Symphonary.NWGUI.SetProgress C# (CSharp) Method

SetProgress() public method

Sets the loading progress display
public SetProgress ( int i_ProgressPercentage ) : void
i_ProgressPercentage int
return void
        public void SetProgress(int i_ProgressPercentage)
        {
            progressBar.BorderBrush = new SolidColorBrush(Color.FromRgb(187, 220, 141));
            progressBar.BorderThickness = new Thickness(i_ProgressPercentage * 4, 0, 0, 0);
            progressBar.Background = new SolidColorBrush(Color.FromRgb(139, 145, 141));
            progressBar.Height = 17;
        }