UpdateText() public method

Updates text of targeted text property.
public UpdateText ( string text ) : void
text string New text to display.
return void
コード例 #1
0
        public TexplorerFirstTimeSetup(int game, string DLCPath, string CookedPath)
        {
            InitializeComponent();

            StatusProgLabel.Text = "Loading...";

            StatusUpdater = new TextUpdater(StatusProgLabel, toolStrip1);
            ProgressUpdater = new ProgressBarChanger(toolStrip1, StatusProgBar);

            SetupStuff(game, DLCPath, CookedPath);

            foreach (DLCInfo dlc in DLCs)
                MainListView.Items.Add(dlc.isExtracted ? dlc.Name : "NOT EXTRACTED: " + dlc.Name, dlc.isExtracted);


            StatusUpdater.UpdateText("Ready. Loaded " + (DLCs.Count - 1) + " DLC's.");
        }
コード例 #2
0
        public TexplorerFirstTimeSetup(int game, string DLCPath, string CookedPath)
        {
            InitializeComponent();

            // KFreon: Hide GUI stuff
            BackupCheckBox.Visible = false;
            BackupPresentLabel.Visible = false;
            ExtractedLabel.Visible = false;
            ExtractedListBox.Visible = false;


            StatusProgLabel.Text = "Loading...";

            StatusUpdater = new TextUpdater(StatusProgLabel, toolStrip1);
            ProgressUpdater = new ProgressBarChanger(toolStrip1, StatusProgBar);

            SetupStuff(game, DLCPath, CookedPath);

            foreach (DLCInfo dlc in DLCs)
            {
                MainListView.Items.Add(dlc.Name, true);
            }

            StatusUpdater.UpdateText("Ready. Loaded " + (DLCs.Count - 1) + " DLC's. Disk space to be used: ~" + DLCs.Select(d => d.Size).Sum() + " GB");
        }