public void UpdateStatus(RecoverState state, string value, string toolTipText) { switch (state) { case RecoverState.Recovered: imageCell.Value = Images.StaticImages._000_Tick_h32bit_16; break; case RecoverState.Recovering: imageCell.Value = animatedImage; break; case RecoverState.Error: imageCell.Value = Images.StaticImages._000_Abort_h32bit_16; break; case RecoverState.NotRecovered: imageCell.Value = new Bitmap(1, 1); break; } statusCell.Value = value; statusCell.ToolTipText = toolTipText; }
public void UpdateStatus(RecoverState state, string value, string toolTipText) { switch (state) { case RecoverState.Recovered: imageCell.Value = Resources._000_Tick_h32bit_16; break; case RecoverState.Recovering: imageCell.Value = animatedImage; break; case RecoverState.Error: imageCell.Value = Resources._000_Abort_h32bit_16; break; case RecoverState.NotRecovered: imageCell.Value = new Bitmap(1, 1); break; } statusCell.Value = value; statusCell.ToolTipText = toolTipText; }
public void UpdateStatus(RecoverState state, string value) { UpdateStatus(state, value, ""); }