1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-05-18 14:34:09 +02:00
TweetDuck/Core/FormBackgroundWork.cs

18 lines
516 B
C#

using System;
using System.Windows.Forms;
namespace TweetDick.Core{
public partial class FormBackgroundWork : Form{
public FormBackgroundWork(){
InitializeComponent();
labelDescription.Rtf = RichTextLabel.Wrap(@"Please, watch this informationless progress bar showcase while some magic happens in the background...");
}
public void ShowWorkDialog(Action onBegin){
Shown += (sender, args) => onBegin();
ShowDialog();
}
}
}