ServiceMonitor.ProcessModel.WriteLog C# (CSharp) Method

WriteLog() public method

public WriteLog ( Color c, string text ) : void
c Color
text string
return void
        public void WriteLog(Color c, string text)
        {
            if ( OnLog != null )
            {
                OnLog(this, c, text);
            }
        }

Usage Example

Exemplo n.º 1
0
        void OnProcessExit(ProcessModel model)
        {
            RefreshButtonStatus();

            tabMain.Refresh();

            model.WriteLog(Color.Yellow, string.Format("进程结束({0})", model.ExitCode));
        }
All Usage Examples Of ServiceMonitor.ProcessModel::WriteLog