示例#1
0
        //METHODS

        /**********************************************************************
         *********************************************************************/
        public async Task OpenPickerPopUp()
        {
            String action = await DisplayActionSheet("", "Cancel", null, "1", "2", "3", "4", "5", "6", "7", "8", "9");

            DijkstraSettingsDraw.GetNetworkByID(currentTab).SetAction(action);
        }
示例#2
0
 /**********************************************************************
  *********************************************************************/
 async void B_Start_Clicked(object sender, EventArgs e)
 {
     MessagingCenter.Send <object>(this, "Portrait"); // enforce portrait mode
     String[] a = DijkstraSettingsDraw.GetNetworkByID(currentTab).GetAllWeights();
     await Navigation.PushAsync(new Dijkstra(a, currentTab));
 }
示例#3
0
 /**********************************************************************
  *********************************************************************/
 void B_Random_Clicked(object sender, EventArgs e)
 {
     DijkstraSettingsDraw.GetNetworkByID(currentTab).SetRandomWeights();
 }
示例#4
0
 /**********************************************************************
  *********************************************************************/
 void B_Presets_Clicked(object sender, EventArgs e)
 {
     DijkstraSettingsDraw.GetNetworkByID(currentTab).SetPresetsWeights();
 }
示例#5
0
 /**********************************************************************
  *********************************************************************/
 void B_Default_Clicked(object sender, EventArgs e)
 {
     DijkstraSettingsDraw.GetNetworkByID(currentTab).SetDefaultWeights();
 }