You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							53 lines
						
					
					
						
							1.3 KiB
						
					
					
				
			
		
		
	
	
							53 lines
						
					
					
						
							1.3 KiB
						
					
					
				using DevExpress.XtraWaitForm; | 
						|
using System; | 
						|
using System.Collections.Generic; | 
						|
using System.ComponentModel; | 
						|
using System.Data; | 
						|
using System.Drawing; | 
						|
using System.Linq; | 
						|
using System.Text; | 
						|
using System.Threading.Tasks; | 
						|
using System.Windows.Forms; | 
						|
 | 
						|
namespace Kingo.PlatformPlugin | 
						|
{ | 
						|
    public partial class WaitForm1 : WaitForm | 
						|
    { | 
						|
        public WaitForm1() | 
						|
        { | 
						|
            InitializeComponent(); | 
						|
            this.progressPanel1.AutoHeight = true; | 
						|
            Timer timer = new Timer(); | 
						|
            timer.Interval = 2000; | 
						|
            timer.Tick += (sender, e) => | 
						|
            { | 
						|
                ShowOnTopMode = ShowFormOnTopMode.AboveAll; | 
						|
                //this.TopMost = true; | 
						|
            }; | 
						|
            timer.Start(); | 
						|
        } | 
						|
 | 
						|
        #region Overrides | 
						|
 | 
						|
        public override void SetCaption(string caption) | 
						|
        { | 
						|
            base.SetCaption(caption); | 
						|
            this.progressPanel1.Caption = caption; | 
						|
        } | 
						|
        public override void SetDescription(string description) | 
						|
        { | 
						|
            base.SetDescription(description); | 
						|
            this.progressPanel1.Description = description; | 
						|
        } | 
						|
        public override void ProcessCommand(System.Enum cmd, object arg) | 
						|
        { | 
						|
            base.ProcessCommand(cmd, arg); | 
						|
        } | 
						|
 | 
						|
        #endregion | 
						|
 | 
						|
        public enum WaitFormCommand | 
						|
        { | 
						|
        } | 
						|
    } | 
						|
}
 | 
						|
 |