private async void ChangeToApplied(object sender, EventArgs e)
        {
            try
            {
                flyinglayout.IsVisible    = false;
                namegrid.IsEnabled        = false;
                AppliedJobsLayout.Opacity = 0.0;
                await AppliedJobsLayout.FadeTo(0);

                constants.CurrentDocumentType = DocumentType.BackgroundCheck;
                ((DocumentsReports)this.BindingContext).BindingMethod((int)DocumentType.BackgroundCheck);
                await Task.WhenAll(
                    UnderlineBoxView.TranslateTo(UnderlineBoxView.Width * 2, 0),
                    CurrentJobsLayout.TranslateTo(-Width * 2, 0),
                    SavedJobsLayout.TranslateTo(-Width, 0),
                    AppliedJobsLayout.TranslateTo(0, 0)
                    );

                await AppliedJobsLayout.FadeTo(1);

                AppliedJobsLayout.Opacity = 1;
                namegrid.IsEnabled        = true;
            }
            catch (Exception ex)
            {
                var logged = new LoggedException.LoggedException("Error in TappedWantedDocuments.xaml.cs", ex);
                await logged.LoggAPI();
            }
        }
예제 #2
0
        private async void ChangeToApplied(object sender, EventArgs e)
        {
            //TODO:SEARCH
            JobListHelper.IsSaved     = false;
            JobListHelper.IsSearching = false;
            JobListHelper.IsApplied   = true;
            await Task.WhenAll(
                UnderlineBoxView.TranslateTo(UnderlineBoxView.Width * 2, 0),
                CurrentJobsLayout.TranslateTo(-Width * 2, 0),
                SavedJobsLayout.TranslateTo(-Width, 0),
                AppliedJobsLayout.TranslateTo(0, 0)

                );

            //MyJobstap.BackgroundColor = Color.White;
            //MyJobstapLabel.TextColor = Color.DimGray;
            //iMyJobstap.Source = "MyJobs.png";
        }
예제 #3
0
        private async void ChangeToCurrent(object sender, EventArgs e)
        {
            //TODO:SEARCH
            JobListHelper.IsSaved     = false;
            JobListHelper.IsSearching = false;
            JobListHelper.IsApplied   = false;

            await Task.WhenAll(UnderlineBoxView.TranslateTo(0, 0), CurrentJobsLayout.TranslateTo(0, 0), SavedJobsLayout.TranslateTo(Width, 0), AppliedJobsLayout.TranslateTo(Width * 2, 0)
                               );

            MyJobstap.BackgroundColor = Color.FromHex("#87c8ee");
            iMyJobstap.Source         = "MyJobsi.png";
            MyJobstapLabel.TextColor  = Color.White;
        }