예제 #1
0
        public static bool CheckAutoClose(IWin32Window owner)
        {
            var x = new AutoActionDialog
            {
                Text      = @"Auto close",
                TimerText = "Application will close in ¤ seconds..."
            };

            return(x.ShowDialog(owner) == DialogResult.OK);
        }
예제 #2
0
        public static bool CheckAutoStart(IWin32Window owner)
        {
            var x = new AutoActionDialog
            {
                Text      = @"Auto start",
                TimerText = "Jobs will start in ¤ seconds..."
            };

            return(x.ShowDialog(owner) == DialogResult.OK);
        }