private void btnAddAnalysisCode_Click(object sender, EventArgs e) { viewmodel.CodeNameAdd(cmbBxCodeName.SelectedIndex);//tried with binding but problems with halted initialization of workflows on other tabpage }