コード例 #1
0
 private void Button2_Click(object sender, EventArgs e) // 판별 시작 버튼
 {
     if (isImage == true)
     {
         if (isGraph == false)
         {
             this.SetClientSizeCore(950, 630);
             Graph.Visible       = true;
             isGraph             = true;
             SidePanel.Visible   = true;
             SidePanel2.Visible  = true;
             BottomPanel.Visible = true;
             TopPanel.Visible    = true;
             timer1.Start();
         }
         else if (isGraph == true)
         {
             this.SetClientSizeCore(474, 630);
             Graph.Visible = false;
             isGraph       = false;
         }
         Form2_Result F2 = new Form2_Result();
         F2.Show();
     }
     else
     {
         this.SetClientSizeCore(474, 630);
         isGraph = false;
         MessageBox.Show("불러온 이미지가 없습니다!");
     }
 }
コード例 #2
0
 private void Button2_Click(object sender, EventArgs e) // 판별 시작 버튼
 {
     if (isImage == true)
     {
         Form2_Result F2 = new Form2_Result();
         F2.Show();
     }
     else
     {
         MessageBox.Show("불러온 이미지가 없습니다!");
     }
 }