Пример #1
0
 private void btnTest_Click(object sender, EventArgs e)
 {
     SimpleBarReader reader = new SimpleBarReader();
     if (reader.StartWatching())
     {
         MessageBoxHelper.Show("���Գɹ���");
         reader.StopWatching();
     }
     else
     {
         MessageBoxHelper.Show("����ʧ�ܣ�");
     }
 }
Пример #2
0
        private void btnTest_Click(object sender, EventArgs e)
        {
            SimpleBarReader reader = new SimpleBarReader();

            if (reader.StartWatching())
            {
                MessageBoxHelper.Show("²âÊԳɹ¦£¡");
                reader.StopWatching();
            }
            else
            {
                MessageBoxHelper.Show("²âÊÔʧ°Ü£¡");
            }
        }