public ChunkMessage(ChunkMessageType type, long x, long y, string message, FixChunkDelegate method) { Cells.Clear(); Cells.AddRange( new DataGridViewImageCell(), new DataGridViewTextBoxCell(), new DataGridViewTextBoxCell(), new DataGridViewTextBoxCell()); Type = type; X = x; Y = y; Message = message; FixMethod = method; }
public void AddInfo(long X, long Y, string msg, FixChunkDelegate FixMethod) { ChunkMessage cm = new ChunkMessage(ChunkMessageType.INFO, X, Y, msg, FixMethod); Messages.Add(cm); }
public void AddWarning(long X, long Y, string msg, FixChunkDelegate FixMethod) { ChunkMessage cm = new ChunkMessage(ChunkMessageType.WARNING, X, Y, msg, FixMethod); Messages.Add(cm); }
public void AddError(long X, long Y, string msg, FixChunkDelegate FixMethod) { ChunkMessage cm = new ChunkMessage(ChunkMessageType.ERROR, X, Y, msg, FixMethod); Messages.Add(cm); }