void ReleaseDesignerOutlets() { if (AttachButton != null) { AttachButton.Dispose(); AttachButton = null; } if (currentNoteState != null) { currentNoteState.Dispose(); currentNoteState = null; } if (currentNoteText != null) { currentNoteText.Dispose(); currentNoteText = null; } if (TableViewListAttachments != null) { TableViewListAttachments.Dispose(); TableViewListAttachments = null; } }
private async Task ShowOptionsLayout() { await AttachButton.TranslateTo(0, 50, 0); await CameraButton.TranslateTo(50, 25, 0); await VideoButton.TranslateTo(50, 0, 0); AttachOptionLayout.IsVisible = true; var tasks = new Task[] { AttachButton.TranslateTo(0, 0, 300), CameraButton.TranslateTo(0, 0, 300), VideoButton.TranslateTo(0, 0, 300), ShowOptionsLayoutButton.RotateTo(45, 200), AttachOptionLayout.FadeTo(1, 200) }; await Task.WhenAll(tasks); }
public void Build(FilteredNewsFeedForm i_Form) { this.m_AttachButton = new AttachButton(i_Form); }