//# __________ PROTOCOL :: CONSTRUCTOR __________ #//
 public VmEnterNestSubpanel(
     JwInputControlManager inputControlManager,
     VmEnterNestSubpanelParentIF parentPanel)
 {
     InputControlManager = inputControlManager;
     ParentPanel = parentPanel;
     InitializeComponents();
 }
 //# __________ PROTOCOL :: CONSTRUCTORS __________ #//
 public VmCloseNestSubpanel(
     JwInputControlManager inputControlManager,
     VmCloseNestSubpanelParentIF parent)
 {
     InputControlManager = inputControlManager;
     ParentPanel = parent;
     IntializeComponents();
 }
 //# __________ PROTOCOL :: CONSTRUCTOR __________ #//
 public VmEnterFlightSubpanel(
     VmEnterFlightSubpanelParentIF parentPanel,
     JwInputControlManager inputControlManager)
 {
     ParentPanel = parentPanel;
     InputControlManager = inputControlManager;
     InitializeComponents();
 }
Exemple #4
0
        //# __________ PROTOCOL :: CONSTRUCTOR __________ #//
        public VmAppPanel()
        {
            BackColor = GetBackColor();
            _inputControlManager = new JwInputControlManager(
                VmProperties.Default.GetMobileAudioTonePath(),
                VmProperties.Default.GetMobileAudioToneRepeatCount(),
                VmProperties.Default.GetMobileAudioToneRepeatDelayMilliseconds()
            );

            _inputControlManager.ShowErrorDelegate = ShowErrorNotification;
            AutoScroll = true;
        }
 public VmSearchableComboBox(
     String label,
     JwInputControlManager inputControlManager,
     int inputControlManagerIndex,
     int comboBoxWidth,
     int textBoxColumnCount,
     EventHandler comboBoxChangedEventHandler,
     JwInputControlModel.ValidateDelegateType validateDelType,
     Control rightControl)
 {
     Gap = 5;
     ComboBoxChangedEventHandler = comboBoxChangedEventHandler;
     Create(
         label,
         inputControlManager,
         inputControlManagerIndex,
         comboBoxWidth,
         textBoxColumnCount,
         validateDelType,
         rightControl);
 }
 //# __________ PROTOCOL :: CONSTRUCTORS __________ #//
 public VmEnterAirportCodeSubpanel(JwInputControlManager inputControlManager)
 {
     InputControlManager = inputControlManager;
     InitializeComponents();
 }
        //# __________ PROTOCOL :: PUBLIC __________ #//
        public void Create(
            String label,
            JwInputControlManager inputControlManager,
            int inputControlManagerIndex,
            int comboBoxWidth,
            int textBoxColumnCount,
            JwInputControlModel.ValidateDelegateType validateDelType,
            Control rightControl)
        {
            Control area = MakeControl(
                comboBoxWidth,
                textBoxColumnCount);

            JwLabeledControl lc = VmUiBuilder.MakeLabeledControl(
                label,
                area);
            CenterControl = lc;
            inputControlManager.Add(
                _valuesCB,
                inputControlManagerIndex,
                JwComboBox.GetValue,
                validateDelType,
                lc.PictureBox,
                lc.VisiblityWrapper);

            inputControlManager.Add(
                _finderTB,
                inputControlManagerIndex+1);

            RightControl = rightControl;
        }