コード例 #1
0
 //# __________ PROTOCOL :: CONSTRUCTOR __________ #//
 public VmEnterNestSubpanel(
     JwInputControlManager inputControlManager,
     VmEnterNestSubpanelParentIF parentPanel)
 {
     InputControlManager = inputControlManager;
     ParentPanel = parentPanel;
     InitializeComponents();
 }
コード例 #2
0
 //# __________ PROTOCOL :: CONSTRUCTORS __________ #//
 public VmCloseNestSubpanel(
     JwInputControlManager inputControlManager,
     VmCloseNestSubpanelParentIF parent)
 {
     InputControlManager = inputControlManager;
     ParentPanel = parent;
     IntializeComponents();
 }
コード例 #3
0
 //# __________ PROTOCOL :: CONSTRUCTOR __________ #//
 public VmEnterFlightSubpanel(
     VmEnterFlightSubpanelParentIF parentPanel,
     JwInputControlManager inputControlManager)
 {
     ParentPanel = parentPanel;
     InputControlManager = inputControlManager;
     InitializeComponents();
 }
コード例 #4
0
ファイル: VmAppPanel.cs プロジェクト: pabplanalp/pvmail
        //# __________ PROTOCOL :: CONSTRUCTOR __________ #//
        public VmAppPanel()
        {
            BackColor = GetBackColor();
            _inputControlManager = new JwInputControlManager(
                VmProperties.Default.GetMobileAudioTonePath(),
                VmProperties.Default.GetMobileAudioToneRepeatCount(),
                VmProperties.Default.GetMobileAudioToneRepeatDelayMilliseconds()
            );

            _inputControlManager.ShowErrorDelegate = ShowErrorNotification;
            AutoScroll = true;
        }
コード例 #5
0
 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);
 }
コード例 #6
0
 //# __________ PROTOCOL :: CONSTRUCTORS __________ #//
 public VmEnterAirportCodeSubpanel(JwInputControlManager inputControlManager)
 {
     InputControlManager = inputControlManager;
     InitializeComponents();
 }
コード例 #7
0
        //# __________ 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;
        }