Esempio n. 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, EditCommonDriverPropertiesCmd owner)
 {
     _owner = owner;
     initialize(items);
 }
Esempio n. 3
0
 public EditCommonPropertiesPopup(List <string> items, EditCommonDriverPropertiesCmd owner)
 {
     _owner = owner;
     initialize(items);
 }