示例#1
0
 private void btnAdd_Click(object sender, System.EventArgs e)
 {
     if(this.lsvTime.Items.Count>80)
     {
         MessageBox.Show("��ʱ�в�ʱ�̱�����,��ִ��ɾ������!");
         return;
     }
     frmTime frmT=new frmTime();
     frmT.ShowDialog();
     this.paintFrm();
 }
示例#2
0
        private void btnAdd_Click(object sender, System.EventArgs e)
        {
            if (this.lsvTime.Items.Count > 80)
            {
                MessageBox.Show("定时招测时刻表已满,请执行删除操作!");
                return;
            }
            frmTime frmT = new frmTime();

            frmT.ShowDialog();
            this.paintFrm();
        }