Beispiel #1
0
        private void sListView_BoolListViewSubItemValueChanged(object sender, EXBoolListViewSubItemEventArgs e)
        {
            ARTSite site = (ARTSite)e.ListVItem.Tag;

            site.NTTApplyLinerGrowth = e.Subitem.BoolValue;
            _edited = true;
        }
Beispiel #2
0
        private void sListView_BoolListViewSubItemValueChanged(object sender, EXBoolListViewSubItemEventArgs e)
        {
            ARTSite site = (ARTSite)e.ListVItem.Tag;

            BooleanColumnName colname = (BooleanColumnName)e.Subitem.ColumnName;

            switch (colname)
            {
            case BooleanColumnName.VCT:
                site.ForecastVCT = e.Subitem.BoolValue;
                break;

            case BooleanColumnName.CD4:
                site.ForecastCD4 = e.Subitem.BoolValue;
                break;

            case BooleanColumnName.Chemistry:
                site.ForecastChemistry = e.Subitem.BoolValue;
                break;

            case BooleanColumnName.Hematology:
                site.ForecastHematology = e.Subitem.BoolValue;
                break;

            case BooleanColumnName.ViralLoad:
                site.ForecastViralLoad = e.Subitem.BoolValue;
                break;

            case BooleanColumnName.OtherTest:
                site.ForecastOtherTest = e.Subitem.BoolValue;
                break;

            case BooleanColumnName.Consumable:
                site.ForecastConsumable = e.Subitem.BoolValue;
                break;
            }
            _isedited = true;
        }
 private void sListView_BoolListViewSubItemValueChanged(object sender, EXBoolListViewSubItemEventArgs e)
 {
     ARTSite site = (ARTSite)e.ListVItem.Tag;
     site.NTTApplyLinerGrowth = e.Subitem.BoolValue;
     _edited = true;
 }
Beispiel #4
0
        private void sListView_BoolListViewSubItemValueChanged(object sender, EXBoolListViewSubItemEventArgs e)
        {
            ARTSite site = (ARTSite)e.ListVItem.Tag;

            BooleanColumnName colname = (BooleanColumnName)e.Subitem.ColumnName;
            switch (colname)
            {
                case BooleanColumnName.VCT:
                    site.ForecastVCT = e.Subitem.BoolValue;
                    break;
                case BooleanColumnName.CD4:
                    site.ForecastCD4 = e.Subitem.BoolValue;
                    break;
                case BooleanColumnName.Chemistry:
                    site.ForecastChemistry = e.Subitem.BoolValue;
                    break;
                case BooleanColumnName.Hematology:
                    site.ForecastHematology = e.Subitem.BoolValue;
                    break;
                case BooleanColumnName.ViralLoad:
                    site.ForecastViralLoad = e.Subitem.BoolValue;
                    break;
                case BooleanColumnName.OtherTest:
                    site.ForecastOtherTest = e.Subitem.BoolValue;
                    break;
                case BooleanColumnName.Consumable:
                    site.ForecastConsumable = e.Subitem.BoolValue;
                    break;
            }
            _isedited = true;
        }