Exemplo n.º 1
0
        private void btnStorage_Click(object sender, EventArgs e)
        {
            LRStorageForm storageDlg = new LRStorageForm();

            storageDlg.IsStorePredicted = isStorePredicted;
            storageDlg.IsStoreResidual  = isStoreResidual;
            storageDlg.PredictedName    = predictedName;
            storageDlg.ResidualName     = residualName;
            if (storageDlg.ShowDialog() == DialogResult.OK)
            {
                isStorePredicted = storageDlg.IsStorePredicted;
                isStoreResidual  = storageDlg.IsStoreResidual;
                predictedName    = storageDlg.PredictedName;
                residualName     = storageDlg.ResidualName;
            }
        }
 private void btnStorage_Click(object sender, EventArgs e)
 {
     LRStorageForm storageDlg = new LRStorageForm();
     storageDlg.IsStorePredicted = isStorePredicted;
     storageDlg.IsStoreResidual = isStoreResidual;
     storageDlg.PredictedName = predictedName;
     storageDlg.ResidualName = residualName;
     if (storageDlg.ShowDialog() == DialogResult.OK)
     {
         isStorePredicted = storageDlg.IsStorePredicted;
         isStoreResidual = storageDlg.IsStoreResidual;
         predictedName = storageDlg.PredictedName;
         residualName = storageDlg.ResidualName;
     }
 }