Example #1
0
        public void intoShow(goods one)
        {
            m_status           = Status.showStatus;
            this.Top           = m_form.getSubTop();
            ok_button.Visible  = false;
            cal_button.Visible = false;

            number_textBox.ReadOnly = true;
            number_textBox.Text     = one.number;

            source_textBox.ReadOnly = true;
            source_textBox.Text     = one.source;

            dest_comBox.Items.Clear();
            dest_comBox.Items.Add(one.dest);
            dest_comBox.SelectedIndex = 0;

            arrive_time.Enabled = false;
            arrive_time.Value   = Convert.ToDateTime(one.arriveTime);

            dead_time.Enabled = false;
            dead_time.Value   = Convert.ToDateTime(one.deadline);

            status_comBox.Enabled = false;
            status_comBox.Items.Clear();
            status_comBox.Items.Add(one.status);
            status_comBox.SelectedIndex = 0;

            vech_comBox.Enabled = false;
            vech_comBox.Items.Clear();
            vech_comBox.Items.Add(one.objVechicle);
            vech_comBox.SelectedIndex = 0;

            finish_time.Enabled = false;
            finish_time.Value   = Convert.ToDateTime(one.finishTime);

            this.Visible = true;
        }
Example #2
0
 public void intoShow()
 {
     this.Top     = m_form.getSubTop();
     this.Visible = true;
 }