コード例 #1
0
 private void InitialiseControl()
 {
     try
     {
         this.txtScheduleID.Text   = ScheduleID.ToString();
         this.txtScheduleName.Text = ScheduleName.ToString();
         ScheduleCategorySelectAll();
         this.dataGridView1.Columns[0].Visible = false;
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #2
0
 private void InitialiseControl()
 {
     try
     {
         this.txtScheduleID.Text   = ScheduleID.ToString();
         this.txtScheduleName.Text = ScheduleName.ToString();
         ScheduleDetailsSelectAll();
         this.dataGridView1.Columns[0].Visible  = false;
         this.dataGridView1.Columns[1].Visible  = false;
         this.dataGridView1.Columns[5].Visible  = false; //Loading
         this.dataGridView1.Columns[6].Visible  = false; //LoadingTimeFrom
         this.dataGridView1.Columns[9].Visible  = false; //RaceReleasePointID
         this.dataGridView1.Columns[13].Visible = false; //Description
         this.dataGridView1.Columns[14].Visible = false; //IsStop
         this.dataGridView1.Columns[15].Visible = false; //StopFromDate
         this.dataGridView1.Columns[16].Visible = false; //StopFromTime
         this.dataGridView1.Columns[17].Visible = false; //StopToDate
         this.dataGridView1.Columns[18].Visible = false; //StopToTime
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }