public void LoadFormula(object sender, EventArgs e)
        {
            IView view = ViewManager.GetInstance().GetView(TrendViewConst.LoadConfigFormula, m_View.ViewID);

            FormulaGroupController ctl = (FormulaGroupController)(view.getController());

            ctl.SetFormType(FormType.Load);

            ctl.InitFormulaGrp();
            ((FormulaGroup)(view)).SetFormType(FormType.Load);
            ((FormulaGroup)view).FillConfigNameBox(ctl.GetFormulaGrpNames());
            ((FormulaGroup)view).SetCurrentGrpName(m_grpName);
            view.ShowView(true);
        }
        public void SaveFormula(object sender, EventArgs e)
        {
            string Function_Name = "SaveFormula";

            try
            {
                IView view = ViewManager.GetInstance().GetView(TrendViewConst.LoadConfigFormula, m_View.ViewID);

                FormulaGroupController ctl = (FormulaGroupController)(view.getController());

                ctl.SetFormType(FormType.Save);

                ctl.InitFormulaGrp();
                ((FormulaGroup)(view)).SetFormType(FormType.Save);
                ((FormulaGroup)view).FillConfigNameBox(ctl.GetFormulaGrpNames());
                ((FormulaGroup)view).SetCurrentGrpName(m_grpName);
                view.ShowView(true);
            }
            catch (Exception localException)
            {
                LogHelper.Error(CLASS_NAME, Function_Name, localException.ToString());
            }
        }