コード例 #1
0
 private void InitEdit()
 {
     TextBoxMake.Text      = carOld.GetMake();
     TextBoxModel.Text     = carOld.GetModel();
     TextBoxYear.Text      = carOld.GetYear().ToString();
     TextBoxEngine.Text    = carOld.GetEngine();
     TextBoxVehicleID.Text = carOld.GetVehicleID();
     TextBoxPlate.Text     = carOld.GetPlate();
 }
コード例 #2
0
ファイル: Jobs.cs プロジェクト: Groamer/CI-Garage-Manager
        private void ListViewJob_DoubleClick(object sender, EventArgs e)
        {
            ListView.SelectedIndexCollection indices = ListViewJob.SelectedIndices;
            JobModel job = jobs[indices[0]];

            string title = car.GetMake() + " " + car.GetModel() + " ";

            JobOverview jobOverview = new JobOverview(job, title);

            jobOverview.ShowDialog();
        }
コード例 #3
0
ファイル: Jobs.cs プロジェクト: Groamer/CI-Garage-Manager
        public Jobs(CarModel car, string carID)
        {
            InitializeComponent();

            this.car       = car;
            this.carID     = Int32.Parse(carID.Replace("Index:", ""));
            page           = 1;
            shownItems     = 20;
            jobsController = new JobsController();
            Text           = car.GetMake() + " " + car.GetModel() + " Jobs - CI Garage Manager";
        }