Example #1
0
        private void OpenEditor(FileAssociation association, Action <EditFileAssociationForm> onClose)
        {
            using (var form = new EditFileAssociationForm(association))
            {
                if (form.ShowDialog(this) != DialogResult.OK)
                {
                    return;
                }

                onClose(form);
                myThreading.ExecuteOrQueue(myLifetime, "ZenCodingOptionPage.UpdateAllNodesPresentation", () => myView.UpdateAllNodesPresentation());
            }
        }
    private void OpenEditor(FileAssociation association, Action<EditFileAssociationForm> onClose)
    {
      using (var form = new EditFileAssociationForm(association))
      {
        if (form.ShowDialog(this) != DialogResult.OK)
          return;

        onClose(form);
        myThreading.ExecuteOrQueue(myLifetime, "ZenCodingOptionPage.UpdateAllNodesPresentation", () => myView.UpdateAllNodesPresentation());
      }
    }
        void OpenEditor(FileAssociation association, Action<EditFileAssociationForm> onClose)
        {
            using (var form = new EditFileAssociationForm(association))
              {
            if (form.ShowDialog(this) != DialogResult.OK)
            {
              return;
            }

            onClose(form);
            myView.UpdateAllNodesPresentation();
              }
        }