Ejemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (cancelButton != null)
            {
                cancelButton.Dispose();
                cancelButton = null;
            }

            if (ClearFilterButton != null)
            {
                ClearFilterButton.Dispose();
                ClearFilterButton = null;
            }

            if (FromDateTextField != null)
            {
                FromDateTextField.Dispose();
                FromDateTextField = null;
            }

            if (NumberEventTextField != null)
            {
                NumberEventTextField.Dispose();
                NumberEventTextField = null;
            }

            if (SaveChangesButton != null)
            {
                SaveChangesButton.Dispose();
                SaveChangesButton = null;
            }

            if (SectionFeatureTextField != null)
            {
                SectionFeatureTextField.Dispose();
                SectionFeatureTextField = null;
            }

            if (TitleTextField != null)
            {
                TitleTextField.Dispose();
                TitleTextField = null;
            }

            if (ToDateTextField != null)
            {
                ToDateTextField.Dispose();
                ToDateTextField = null;
            }
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Click the 'Save Changes' button
 /// </summary>
 public void ClickSaveChanges()
 {
     SaveChangesButton.WaitAndClick(_driver);
 }