public TransferView(IProteinExpressionToolTipCreator toolTipCreator)
        {
            _toolTipCreator  = toolTipCreator;
            _doubleFormatter = new DoubleFormatter();
            InitializeComponent();

            grdTransfer.ToolTipController = new ToolTipController();
            grdTransfer.ToolTipController.GetActiveObjectInfo += OnGetActiveObjectInfo;

            radioGroup.SelectedIndexChanged      += OnRadioGroupSelectedIndexChanged;
            radioGroup.Properties.AllowMouseWheel = false;

            //option settings
            var view = grdTransfer.MainView as UxGridView;

            if (view != null)
            {
                view.OptionsView.ShowGroupPanel                 = false;
                view.OptionsClipboard.CopyColumnHeaders         = DefaultBoolean.True;
                view.OptionsBehavior.ReadOnly                   = true;
                view.OptionsFilter.AllowFilterEditor            = false;
                view.OptionsFilter.AllowColumnMRUFilterList     = false;
                view.OptionsMenu.EnableColumnMenu               = false;
                view.OptionsMenu.EnableGroupPanelMenu           = false;
                view.OptionsCustomization.AllowColumnMoving     = false;
                view.OptionsCustomization.AllowFilter           = false;
                view.OptionsCustomization.AllowGroup            = false;
                view.OptionsCustomization.AllowQuickHideColumns = false;
                view.OptionsCustomization.AllowRowSizing        = false;
                view.OptionsCustomization.AllowSort             = true;
                view.OptionsSelection.UseIndicatorForSelection  = true;
                view.MultiSelect = true;
            }
        }
Exemplo n.º 2
0
 public CompoundVSSView()
 {
     InitializeComponent();
     gridView.ShowRowIndicator = false;
     gridView.AllowsFiltering  = false;
     _gridViewBinder           = new GridViewBinder <VSSValueDTO>(gridView);
     _columUnitsMenuBinder     = new GridViewColumnUnitsMenuBinder <string>(gridView, col => col.Name);
     _doubleFormatter          = new DoubleFormatter();
 }
 public ParameterConfidenceIntervalDTO()
 {
     _doubleFormatter = new DoubleFormatter();
 }
 public FixedLimitsGroupingDefinitionReportBuilder()
 {
     _doubleFormatter = new DoubleFormatter();
 }
Exemplo n.º 5
0
 public ValueDTOFormatter()
 {
     _doubleFormatter = new DoubleFormatter();
 }
Exemplo n.º 6
0
 public DoubleValue(string formatstring, double data)
 {
     Formatter = new DoubleFormatter(formatstring); Data = data;
 }