internal TCCreator( TrainControllerDialog owner, TrainControllerContribution contrib) { this.owner = owner; this.contrib = contrib; }
/// <summary> /// Creates a new train controller. /// </summary> private void createNewTrainController(TrainControllerContribution contrib) { // update data structure TrainController tc = contrib.newController( string.Format("New diagram{0}", iota++)); //! string.Format("新しいダイヤグラム{0}",iota++)); World.world.trainControllers.add(tc); // update GUI list.Items.Add(createListViewItem(tc)); }
public ManualTrainController(string _name, TrainControllerContribution _parent) { this.name = _name; this.parent = _parent; }