Ejemplo n.º 1
0
        public void ShowLoading(string title = "Loading...", string description = "Please wait.")
        {
            form.loadingPanel.Show();
            form.SortForm_Resize(null, null);

            form.loadingTitleTextBox.Text = title;

            form.loadingDescriptionRichTextBox.Text = description;
            form.loadingDescriptionRichTextBox.SelectAll();
            form.loadingDescriptionRichTextBox.SelectionAlignment = HorizontalAlignment.Center;
            form.loadingDescriptionRichTextBox.DeselectAll();

            form.Refresh();
            form.loadingPanel.Refresh();
        }