예제 #1
0
            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;
            }
예제 #2
0
 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;
 }
예제 #3
0
 public void UpdateStatus(RecoverState state, string value)
 {
     UpdateStatus(state, value, "");
 }
예제 #4
0
 public void UpdateStatus(RecoverState state, string value)
 {
     UpdateStatus(state, value, "");
 }