Example #1
0
        public AssociationsForm(SettingsManager settings, PopupMessageBox messagebox, IFileAssociations FileAssociations, string ExecutablePath, string IconPath)
        {
            allow_messages           = messagebox.AllowMessages;
            this.settings            = settings;
            this.FileAssociations    = FileAssociations;
            this.ExecutablePath      = ExecutablePath;
            this.IconPath            = IconPath;
            messagebox.AllowMessages = true;
            var associationsDialog = Resources.fileAssociationsDialog;

            messagebox.AddXMLMessageToQueue(new PopupMessageBox.MessageDataXML(new SpoolerMessage(), associationsDialog, new PopupMessageBox.XMLButtonCallback(XMLButtonCallback), null));
        }
Example #2
0
 public static void Show(PopupMessageBox messagebox, SpoolerConnection spoolerConnection, PrinterObject printer)
 {
     messagebox.AddXMLMessageToQueue(new PopupMessageBox.MessageDataXML(Resources.FeaturesDialogFrame, new PopupMessageBox.XMLButtonCallback(FeaturesDialog.XMLButtonCallback), new ElementStandardDelegate(FeaturesDialog.XMLOnUpdateCallback), new PopupMessageBox.XMLOnShow(FeaturesDialog.XMLOnShow), new FeaturesDialog.ProFeaturesDialogData(spoolerConnection, printer)));
 }