public async Task New_Project() { Model.Project New_Project = new Model.Project(); New_Project.Categories = new ObservableCollection <Model.Category>(); New_Project.Get_Completion(); New_Project.Get_Cost(); Projects.Add(New_Project); //Telling the page that it'a new Item Selected_Project = New_Project; await Page_Navigation.PushAsync(new View.Project_View()); }
public async Task New_Category() { Model.Category New_Category = new Model.Category(); New_Category.Bids = new List <Model.Bid>(); New_Category.Tasks = new List <Model.Task>(); Selected_Project.Categories.Add(New_Category); Selected_Project.My_Count++; Selected_Category = New_Category; Selected_Category.Get_Cost(); await Page_Navigation.PushAsync(new View.Category()); }
public async Task New_Bid() { Model.Bid New_Bid = new Model.Bid(); New_Bid.Name = "New Bid"; New_Bid.Selected = false; New_Bid.Price = 0.0; Selected_Category.Bids.Add(New_Bid); Selected_Category.Task_Count++; Selected_Bid = New_Bid; Selected_Category.Get_Cost(); await Page_Navigation.PushAsync(new View.Bid()); }
public async Task New_Task() { Model.Task New_Task = new Model.Task(); New_Task.Name = "New Task"; New_Task.Description = ""; New_Task.Finish = false; Selected_Category.Tasks.Add(New_Task); Selected_Category.Task_Count++; Selected_Task = New_Task; Selected_Category.Get_Cost(); await Page_Navigation.PushAsync(new View.Task()); }
public async Task Open_TaskList() { await Page_Navigation.PushAsync(new View.Task_List()); }
public async Task Open_BidList() { await Page_Navigation.PushAsync(new View.Bid_List()); }
public async Task Open_CategoryList() { await Page_Navigation.PushAsync(new View.Category_List()); }