//public ExcursionEditorPanel Editor; public async override void Init() { base.Init(); //Common.SetActionOnButton(BackButton, ControllUI.PrevPanel); Common.SetActionOnButton(ToMainButton, () => { ControllUI.SwitchPanel(0, null);// FtpIO.excursionList.excursions.Count-1); }); /*Common.SetActionOnButton(SaveButton, () => * { * });*/ }
//public ExcursionEditorPanel Editor; public async override void Init() { base.Init(); //Common.SetActionOnButton(BackButton, ControllUI.PrevPanel); Common.SetActionOnButton(ToGumbleButton, () => { ControllUI.SwitchPanel(1, null);// FtpIO.excursionList.excursions.Count-1); }); /*Common.SetActionOnButton(SaveButton, () => * { * });*/ //Refresh(Common.Split(await Network.NetClient.GetTextFile("http://84.201.131.251/Patriot_DigitalDemocenter/ExcursionCatalog/ExcursionsB.txt"))); //Network.NetClient.SendFile(""); //Network.NetClient.ftpUpload(@"F:\test.txt", "http://84.201.131.251/Patriot_DigitalDemocenter/ExcursionCatalog/test.txt"); //Network.NetClient.SendFTP(@"F:\test.txt", "http://84.201.131.251/Patriot_DigitalDemocenter/ExcursionCatalog/test.txt"); //StartCoroutine(Panel.Upload(@"F:\test.txt", "http://84.201.131.251/Patriot_DigitalDemocenter/ExcursionCatalog/test.txt")); }
private void Start() { current = this; StartCoroutine(FirstSwitch()); }