Example #1
0
        /// <summary>
        /// Initializes the cell state using the specified mode service.
        /// </summary>
        public void SetModeService(IModeService modeService)
        {
            this.ModeService = modeService;

            label.Text = modeService.Name;
            IconName   = modeService.GetIconName(32);

            RefreshFocus();
        }