Esempio n. 1
0
        public bool StartMailMapDialog()
        {
            if (!InvokeEvent(PreMailMap))
            {
                return(true);
            }

            var form = new FormMailMap();

            form.ShowDialog();

            InvokeEvent(PostMailMap);

            return(true);
        }
Esempio n. 2
0
        public bool StartMailMapDialog(IWin32Window owner)
        {
            if (!RequiresValidWorkingDir(owner))
            {
                return(false);
            }

            if (!InvokeEvent(owner, PreMailMap))
            {
                return(true);
            }

            using (var form = new FormMailMap())
                form.ShowDialog(owner);

            InvokeEvent(owner, PostMailMap);

            return(true);
        }
        public bool StartMailMapDialog()
        {
            if (!RequiresValidWorkingDir())
            {
                return(false);
            }

            if (!InvokeEvent(PreMailMap))
            {
                return(true);
            }

            var form = new FormMailMap();

            form.ShowDialog();

            InvokeEvent(PostMailMap);

            return(true);
        }
        public bool StartMailMapDialog(IWin32Window owner)
        {
            if (!RequiresValidWorkingDir(owner))
                return false;

            if (!InvokeEvent(owner, PreMailMap))
                return true;

            using (var form = new FormMailMap(this))
                form.ShowDialog(owner);

            InvokeEvent(owner, PostMailMap);

            return true;
        }
Esempio n. 5
0
        public bool StartMailMapDialog()
        {
            if (!RequiresValidWorkingDir())
                return false;

            if (!InvokeEvent(PreMailMap))
                return true;

            var form = new FormMailMap();
            form.ShowDialog();

            InvokeEvent(PostMailMap);

            return true;
        }
Esempio n. 6
0
        public bool StartMailMapDialog()
        {
            if (!InvokeEvent(PreMailMap))
                return true;

            FormMailMap form = new FormMailMap();
            form.ShowDialog();

            InvokeEvent(PostMailMap);

            return true;
        }