Пример #1
0
        public JFleetForm()
        {
            InitializeComponent();
            State = ClassLibrary.JFormState.Insert;
            JFleetTypes types = new JFleetTypes();

            types.SetComboBox(cmbFleetType);
        }
Пример #2
0
        public void LoadData(int Code)
        {
            JFleet objFleet = new JFleet();

            objFleet.GetData(Code);
            txtName.Text   = objFleet.Name.ToString();
            DateStart.Date = objFleet.StartDate;
            DateEnd.Date   = objFleet.EndDate;
            JFleetTypes types = new JFleetTypes();

            types.SetComboBox(cmbFleetType, objFleet.FleetType);
        }