Exemplo n.º 1
0
 private void btnConvert_Click(object sender, EventArgs e)
 {
     Loading_FS.text = "\tĐang đưa dữ liệu ...";
     ChangeName();
     Loading_FS.CloseSplash();
     MessageBox.Show("Thành công!", "Thông báo!");
 }
Exemplo n.º 2
0
 private static void DoShowSplash()
 {
     if (_splashForm == null)
     {
         _splashForm = new Loading_FS();
         _splashForm.StartPosition = FormStartPosition.CenterScreen;
         _splashForm.TopMost       = true;
     }
     Application.Run(_splashForm);
 }
Exemplo n.º 3
0
 public static void ShowSplash()
 {
     if (_splashThread == null)
     {
         _splashThread = new Thread(DoShowSplash);
         _splashThread.IsBackground = true;
         _splashThread.Start();
     }
     else
     {
         _splashThread = new Thread(DoShowSplash);
         _splashThread.IsBackground = true;
         _splashThread.Start();
         _splashForm = null;
     }
 }