示例#1
0
        private static void UOnUnfolderError(object sender, UnfolderMessageEventArgs unfolderMessageEventArgs)
        {
            string       msg      = unfolderMessageEventArgs.Message;
            ConsoleColor oldColor = ForegroundColor;

            ForegroundColor = ConsoleColor.Red;
            WriteLine($"\n{msg}\n");
            ForegroundColor = oldColor;
        }
示例#2
0
        private void Uf_OnUnfolderError(object sender, UnfolderMessageEventArgs unfolderMessageEventArgs)
        {
            string msg = unfolderMessageEventArgs.Message;
            Color  c   = tbxLog.ForeColor;

            tbxLog.ForeColor = Color.Red;
            tbxLog.Text     += $"{msg}\r\n";
            tbxLog.ForeColor = c;
        }
示例#3
0
        private static void UOnUnfolderMessage(object sender, UnfolderMessageEventArgs unfolderMessageEventArgs)
        {
            string msg = unfolderMessageEventArgs.Message;

            WriteLine($"\n{msg}\n");
        }
示例#4
0
        private void Uf_OnUnfolderMessage(object sender, UnfolderMessageEventArgs unfolderMessageEventArgs)
        {
            string msg = unfolderMessageEventArgs.Message;

            tbxLog.Text += $"{msg}\r\n";
        }