예제 #1
0
        /// <summary>
        /// Used to open word
        /// </summary>
        static bool OpenWord()
        {
            try
            {
                LabelInfo();
                Console.WriteLine("Åbner word...");

                reception.OpenWord();

                LabelSuccess();
                Console.WriteLine("Word er åbenet");
                Thread.Sleep(500);
            }
            catch (Exception exception)
            {
                LabelError();
                Console.WriteLine("Kunne ikke åbne word: " + exception.Message);
                return(false);
            }
            return(true);
        }