Exemplo n.º 1
0
        public ControlPrintToFax()
        {
            InitializeComponent();

            userSession = ActiveUserSession.GetInstance();
            userSession.ActingAsChanged += SelectedUserChanged;
        }
Exemplo n.º 2
0
        public ControlFolderToDrive()
        {
            InitializeComponent();

            userSession = ActiveUserSession.GetInstance();
            userSession.ActingAsChanged += SelectedUserChanged;
        }
Exemplo n.º 3
0
        public MhwDesktopForm(Options options)
        {
            // Run windows generated form code.
            InitializeComponent();

            // Create our "FormClosing" event handler.
            FormClosing += MhwCloseRequested;

            accountsBindingSource = new BindingSource();
            userSession           = ActiveUserSession.GetInstance();

            controlPrintToDrive.NotificationService = this;
            controlPrintToDrive.UploadService       = this;

            controlFolderToDrive.NotificationService = this;
            controlFolderToDrive.UploadService       = this;

            controlPrintToFax.NotificationService = this;
            controlPrintToFax.UploadService       = this;

            this.options = options;
        }