Example #1
0
 private void InitEdit()
 {
     DateTimeStart.Text   = jobOld.GetStartDate();
     DateTimeEnd.Text     = jobOld.GetEndDate();
     TextBoxProblem.Text  = jobOld.GetProblem();
     TextBoxSolution.Text = jobOld.GetSolution();
     TextBoxMilage.Text   = jobOld.GetMilage().ToString();
     TextBoxCost.Text     = jobOld.GetCost().ToString();
     TextBoxRevenue.Text  = jobOld.GetRevenue().ToString();
 }
Example #2
0
        public JobOverview(JobModel job, string title)
        {
            InitializeComponent();

            Text = title + "Job - CI Garage Manager";

            TextBoxStart.Text    = job.GetStartDate();
            TextBoxEnd.Text      = job.GetEndDate();
            TextBoxProblem.Text  = job.GetProblem();
            TextBoxSolution.Text = job.GetSolution();
            TextBoxMilage.Text   = job.GetMilage().ToString();
            TextBoxCost.Text     = job.GetCost().ToString();
            TextBoxRevenue.Text  = job.GetRevenue().ToString();
        }