Exemplo n.º 1
0
        /// <summary>
        /// Starts a basic process asynchronously
        /// </summary>
        public static void StartAsync(String path)
        {
            StartDelegate1 dlgt = Start;

            dlgt.BeginInvoke(path, ar =>
            {
                try
                {
                    dlgt.EndInvoke(ar);
                }
                catch (Exception ex)
                {
                    // Something wrong, handling for possible leaks
                }
            }, null);
        }
Exemplo n.º 2
0
		/// <summary>
		/// Starts a basic process asynchronously
		/// </summary>
		public static void StartAsync(String path)
		{
            StartDelegate1 dlgt = new StartDelegate1(Start);
            dlgt.BeginInvoke(path, null, null);
		}
Exemplo n.º 3
0
        /// <summary>
        /// Starts a basic process asynchronously
        /// </summary>
        public static void StartAsync(String path)
        {
            StartDelegate1 dlgt = new StartDelegate1(Start);

            dlgt.BeginInvoke(path, null, null);
        }