NiceHashMiner.Form_Loading.Form_Loading C# (CSharp) Method

Form_Loading() public method

public Form_Loading ( IAfterInitializationCaller initCaller, string loadFormTitle, string startInfoMsg, int totalLoadSteps ) : System
initCaller IAfterInitializationCaller
loadFormTitle string
startInfoMsg string
totalLoadSteps int
return System
        public Form_Loading(IAfterInitializationCaller initCaller, string loadFormTitle, string startInfoMsg, int totalLoadSteps)
        {
            InitializeComponent();

            label_LoadingText.Text = loadFormTitle;
            label_LoadingText.Location = new Point((this.Size.Width - label_LoadingText.Size.Width) / 2, label_LoadingText.Location.Y);

            AfterInitCaller = initCaller;

            TotalLoadSteps = totalLoadSteps;
            this.progressBar1.Maximum = TotalLoadSteps;
            this.progressBar1.Value = 0;

            SetInfoMsg(startInfoMsg);
        }

Same methods

Form_Loading::Form_Loading ( MinersDownloader minersDownloader ) : System