Page 653 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 653

ListViewItem  item =  new  ListViewItem();
                                             if  (checkBox2.Checked ==  true)
                                             {

                                                  for (int  i  =  0; i  < listView1.Items.Count;  ++i)
                                                  {
                                                        if  (listView1.Items[i].SubItems[2].Text  ==  "YES")
                                                        {
                                                             listView1.Items[i].SubItems[1].Text  =  "Authorized";

                                                        }
                                                        else
                                                        {

                                                             listView1.Items[i].SubItems[1].Text  =  "UnAuthorized";
                                                        }
                                                  }
                                             }
                                             myRead.Close();

                                             readbox.Text  +=  "[Tools] Date  -  Descending  ->  Sorting  changed\n";
                                        }
                                  }
                             catch (MySqlException error_3)

                             {
                                  MessageBox.Show(error_3.Message);
                                  radioButton6.Checked =  false;
                             }
                        }



                        //RadioButton  Check[YES]  체크시
                        private  void radioButton7_CheckedChanged(object sender, EventArgs e)

                        {
                             try
                             {
                                  if  (radioButton7.Checked ==  true)
                                  {

                                        listView1.Items.Clear();


                                        var  MConn  =  new  MySqlConnection(strCnn);



                                                         -  646  -
   648   649   650   651   652   653   654   655   656   657   658