示例#1
0
文件: FleetForm.cs 项目: CoolWirya/BS
        public JFleetForm()
        {
            InitializeComponent();
            State = ClassLibrary.JFormState.Insert;
            JFleetTypes types = new JFleetTypes();

            types.SetComboBox(cmbFleetType);
        }
示例#2
0
文件: FleetForm.cs 项目: CoolWirya/BS
        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);
        }