private void btn_clear_Click(object sender, EventArgs e)
 {
     if (new YesNoForm("确定执行清库操作吗?").ShowDialog() == System.Windows.Forms.DialogResult.Yes)
     {
         var     frm = new InputNumerForm("清库密码", 0);
         decimal pwd = 0;
         if (frm.Input(out pwd) && pwd == 8686)
         {
             try
             {
                 Cursor.Current = Cursors.WaitCursor;
                 IBLL.ISysBLL bll = new BLL.SysBLL();
                 bll.clear_db();
                 new MsgForm("清库完成,将退出系统").ShowDialog();
                 System.Environment.Exit(0);
             }
             catch (Exception ex)
             {
                 Log.writeLog("frmDownload ->btn_clear_Click()", ex.ToString(), Program.oper_id);
                 new MsgForm(ex.GetMessage()).ShowDialog();
             }
             finally
             {
                 Cursor.Current = Cursors.Default;
             }
         }
     }
 }