Esempio n. 1
0
        private void FrmGYDWGH_Load(object sender, EventArgs e)
        {
            //根据窗口变化全部添满
            fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
            //选择预测方案
            FrmSelforcast fs = new FrmSelforcast();

            if (fs.ShowDialog() == DialogResult.OK)
            {
                forecastReport = fs.report;
            }
            //添加表
            fpSpread1_addsheet();
        }
Esempio n. 2
0
 private void FrmGYDWGH_Load(object sender, EventArgs e)
 {
     //根据窗口变化全部添满
     fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
     //选择预测方案
     FrmSelforcast fs = new FrmSelforcast();
     if (fs.ShowDialog()==DialogResult.OK)
     {
         forecastReport = fs.report;
     }
     //添加表
     fpSpread1_addsheet();
 }