예제 #1
0
 //顯示/隱藏  詳細資訊
 private void Show_Click(object sender, EventArgs e)
 {
     if (Details.Visible == true)
     {
         btn_ShowDetail.Text = "顯示詳細資訊";
         Details.Visible     = false;
     }
     else
     {
         Details.Location    = new System.Drawing.Point(53, 347);
         btn_ShowDetail.Text = "隱藏詳細資訊";
         Details.Visible     = true;
         Details.BringToFront();
     }
 }