Пример #1
0
        private void makeEdit(string field, string value)
        {
            string ownerType = _owner.GetType().ToString();

            switch (ownerType)
            {
            case "EditCommonPropertiesPlugin.EditCommonOrderPropertiesCmd": EditCommonOrderPropertiesCmd.makeEdit(field, value); break;

            case "EditCommonPropertiesPlugin.EditCommonVehiclePropertiesCmd": EditCommonVehiclePropertiesCmd.makeEdit(field, value); break;

            case "EditCommonPropertiesPlugin.EditCommonDriverPropertiesCmd": EditCommonDriverPropertiesCmd.makeEdit(field, value); break;

            case "EditCommonPropertiesPlugin.EditCommonDefaultRoutePropertiesCmd": EditCommonDefaultRoutePropertiesCmd.makeEdit(field, value); break;

            case "EditCommonPropertiesPlugin.EditCommonDailyRoutePropertiesCmd": EditCommonDailyRoutePropertiesCmd.makeEdit(field, value); break;
            }
        }
 public EditCommonPropertiesPopup(List<string> items, EditCommonVehiclePropertiesCmd owner)
 {
     _owner = owner;
     initialize(items);
 }
Пример #3
0
 public EditCommonPropertiesPopup(List <string> items, EditCommonVehiclePropertiesCmd owner)
 {
     _owner = owner;
     initialize(items);
 }