private void 销售报表ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmSaleReport frmSaleReport = new FrmSaleReport
            {
                StartPosition = FormStartPosition.CenterParent,
                Size          = new System.Drawing.Size(Width * ratio / 100, Height * ratio / 100)
            };

            frmSaleReport.ShowDialog();
        }
 private void pnlsalereport_Click(object sender, EventArgs e)
 {
     try
     {
         FrmSaleReport frmc = new FrmSaleReport();
         frmc.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }