Esempio n. 1
0
        public DlgMakeWaypoint(CameraManager cameraManager)
        {
            m_cameraManager = cameraManager;

            InitializeComponent();

            // the time picker comes inactive, but if activated by button - current time will be displayed.
            timePicker = new MyTimePicker();
            timePicker.Location = new System.Drawing.Point(88, 136);
            timePicker.TabIndex = 6;
            this.Controls.Add(timePicker);

            waypointTypeComboBox.Items.Add("user waypoint");
            waypointTypeComboBox.Items.Add("geocache");
            waypointTypeComboBox.Items.Add("geocache found");
            waypointTypeComboBox.SelectedIndex = 0;
        }
        public DlgNewRouteParameters()
        {
            result = false;

            InitializeComponent();

            // the time picker comes inactive, but if activated by button - current time will be displayed.
            timePicker = new MyTimePicker();
            timePicker.Location = new System.Drawing.Point(75, 10);
            timePicker.TabIndex = 1;
            this.Controls.Add(timePicker);

            setFields();

            Project.setDlgIcon(this);
        }