public override async void ViewDidAppear(bool animate) { try { await LoadData(); lblsignutcnt.Text = Signoutcount.ToString(); equipmentSignoutCountLabel.Text = EquipmentCount.ToString(); taskCaptureButton.Layer.CornerRadius = 10; taskCaptureButton.ClipsToBounds = true; taskCaptureButton.Layer.BorderColor = UIColor.LightGray.CGColor; taskCaptureButton.Layer.BorderWidth = 1; dailyLogButton.Layer.CornerRadius = 10; dailyLogButton.ClipsToBounds = true; dailyLogButton.Layer.BorderColor = UIColor.LightGray.CGColor; dailyLogButton.Layer.BorderWidth = 1; settingsButton.Layer.CornerRadius = 10; settingsButton.ClipsToBounds = true; settingsButton.Layer.BorderColor = UIColor.LightGray.CGColor; settingsButton.Layer.BorderWidth = 1; equipmentSignoutButton.Layer.CornerRadius = 10; equipmentSignoutButton.ClipsToBounds = true; equipmentSignoutButton.Layer.BorderColor = UIColor.LightGray.CGColor; equipmentSignoutButton.Layer.BorderWidth = 1; employeeSignoutButton.Layer.CornerRadius = 10; employeeSignoutButton.ClipsToBounds = true; employeeSignoutButton.Layer.BorderColor = UIColor.LightGray.CGColor; employeeSignoutButton.Layer.BorderWidth = 1; dateLabel.Text = Workdte.ToString(); lbltimekeppername.Text = TimekeeperName.ToString(); lbltimekeeperid.Text = Timekeepernumbr.ToString(); } catch (Exception ex) { System.Console.WriteLine(ex.Message); } }
partial void employeeSignoutButton_TouchUpInside(MonoTouch.UIKit.UIButton sender) { var signut = Storyboard.InstantiateViewController("EmployeeListSignoutViewController") as EmployeeListSignoutViewController; signut.timekeeperdetails(this, Timekeepernumbr.ToString(), Workdte.ToString(), TimekeeperName.ToString()); NavigationController.PushViewController(signut, true); }