public void AddBbgInputPanelVM(HistSeriesBbgInputViewModel vm)
 {
     BbgInputVM.Add(vm);
 }
 private void AddNewInputPanel()
 {
     if (ViewModel.HistSeriesInputType == HistSeriesType.CT)
     {
         var histSeriesInput = new HistSeriesInputPanel();
         var inputPanelVM = new HistSeriesInputPanelViewModel();
         histSeriesInput.ViewModel = inputPanelVM;
         ViewModel.AddInputPanelVM(inputPanelVM);
         flowLayoutPanel1.Controls.Add(histSeriesInput);    
     }
     else if (ViewModel.HistSeriesInputType == HistSeriesType.CMT)
     {
         var histSeriesInput = new HistSeriesCMTInputPanel();
         var inputPanelVM = new HistSeriesCMTInputPanelViewModel();
         histSeriesInput.ViewModel = inputPanelVM;                
         ViewModel.AddCMTInputPanelVM(inputPanelVM);
         flowLayoutPanel1.Controls.Add(histSeriesInput);  
     }
     else if (ViewModel.HistSeriesInputType == HistSeriesType.Future)
     {
         var histSeriesInput = new HistSeriesFutureInputPanel();
         var inputPanelVM = new HistSeriesFutureInputPanelViewModel();
         histSeriesInput.ViewModel = inputPanelVM;
         ViewModel.AddFutureInputPanelVM(inputPanelVM);
         flowLayoutPanel1.Controls.Add(histSeriesInput);
     }
     else if (ViewModel.HistSeriesInputType == HistSeriesType.Bbg)
     {
         var histSeriesInput = new HistSeriesBbgInputPanel();
         var inputPanelVM = new HistSeriesBbgInputViewModel();
         histSeriesInput.ViewModel = inputPanelVM;
         ViewModel.AddBbgInputPanelVM(inputPanelVM);
         flowLayoutPanel1.Controls.Add(histSeriesInput);
     }
 }