Exemplo n.º 1
0
 protected override void ActionViewAttachments(object sender, EventArgs e)
 {
     editPageOnClose = false;
     if (editPageForm.ListBoxPagesSelectedValue != null && editPageForm.ListBoxSpacesSelectedValue != null)
     {
         pageFullName = editPageForm.ListBoxSpacesSelectedValue.ToString() + "." + editPageForm.ListBoxPagesSelectedValue.ToString();
         ViewPageAttachmentsForm        viewPageAttachmentsForm = new ViewPageAttachmentsForm(pageFullName);
         ViewPageAttachmentsFormManager viewAttachmentsManager  = new ViewPageAttachmentsFormManager(ref viewPageAttachmentsForm);
         viewAttachmentsManager.EnqueueAllHandlers();
         viewPageAttachmentsForm.ShowDialog();
     }
     else
     {
         UserNotifier.Exclamation(UIMessages.SELECT_SPACE_AND_PAGE);
     }
 }
Exemplo n.º 2
0
 protected override void ActionViewAttachments(object sender, EventArgs e)
 {
     editPageOnClose = false;
     if (editPageForm.ListBoxPagesSelectedValue != null && editPageForm.ListBoxSpacesSelectedValue != null)
     {
         pageFullName = editPageForm.ListBoxSpacesSelectedValue.ToString() + "." + editPageForm.ListBoxPagesSelectedValue.ToString();
         ViewPageAttachmentsForm viewPageAttachmentsForm = new ViewPageAttachmentsForm(pageFullName);
         ViewPageAttachmentsFormManager viewAttachmentsManager = new ViewPageAttachmentsFormManager(ref viewPageAttachmentsForm);
         viewAttachmentsManager.EnqueueAllHandlers();
         viewPageAttachmentsForm.ShowDialog();
     }
     else
     {
         UserNotifier.Exclamation(UIMessages.SELECT_SPACE_AND_PAGE);
     }
 }
 public ViewPageAttachmentsFormManager(ref ViewPageAttachmentsForm viewPageAttachmentsForm)
 {
     this.viewPageAttachmentsForm = viewPageAttachmentsForm;
     this.addinActions = Globals.XWord2003AddIn.AddinActions;
     this.client = Globals.XWord2003AddIn.Client;
 }
Exemplo n.º 4
0
 public ViewPageAttachmentsFormManager(ref ViewPageAttachmentsForm viewPageAttachmentsForm)
 {
     this.viewPageAttachmentsForm = viewPageAttachmentsForm;
     this.addinActions            = Globals.XWord2003AddIn.AddinActions;
     this.client = Globals.XWord2003AddIn.Client;
 }