Example #1
0
            public AltnRowControl(AlternateController Parent, AlternateRowItems row)
            {
                this.Row = row;

                Controller = new RouteFinderSelection(
                    Row.IcaoTxtBox,
                    false,
                    Row.RwyComboBox,
                    new ComboBox(),
                    new Button(),
                    row,
                    Parent.appOptionsLocator,
                    () => Parent.airwayNetwork.AirportList,
                    () => Parent.airwayNetwork.WptList,
                    new ProcedureFilter());

                OptionMenu = new ActionContextMenu(
                    Parent.appOptionsLocator,
                    Parent.airwayNetwork,
                    Parent.destSidProvider,
                    Controller,
                    new CountryCodeCollection().ToLocator(),
                    Parent.windCalcGetter,
                    Row.DisLbl,
                    DistanceDisplayStyle.Short,
                    () => Row.RouteTxtBox.Text,
                    (s) => Row.RouteTxtBox.Text = s,
                    Parent.layoutPanel.FindForm());
            }
 public DestinationSidSelection(RouteFinderSelection destination)
 {
     this.destination = destination;
 }