Beispiel #1
0
        public static void Open(MailNavigator navigator)
        {
            if (!ReadOut.Properties.Settings.Default.SeparateWindow)
            {
                CloseAll();
            }

            var readerWindow = new Reader(navigator);

            readerWindow.Show();
            sInstances.Add(readerWindow);
        }
Beispiel #2
0
        private Reader(MailNavigator navigator)
        {
            InitializeComponent();
            mNavigator = navigator;

            webBrowser1.PreviewKeyDown += new PreviewKeyDownEventHandler(webBrowser1_PreviewKeyDown);
            webBrowser1.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(webBrowser1_DocumentCompleted);
            this.FormClosing += new FormClosingEventHandler(Reader_FormClosing);
            mNavigator.ItemChanged += new EventHandler(mNavigator_ItemChanged);
            MIConversationAll.CheckedChanged += new EventHandler(MIConversationAll_CheckedChanged);
            MIConversationThis.CheckedChanged += (s, e) => ExecuteAction(UserAction.ConversationViewChanged);
            webBrowser1.GotFocus += new EventHandler(webBrowser1_GotFocus);
        }
Beispiel #3
0
        private Reader(MailNavigator navigator)
        {
            InitializeComponent();
            mNavigator = navigator;

            webBrowser1.PreviewKeyDown    += new PreviewKeyDownEventHandler(webBrowser1_PreviewKeyDown);
            webBrowser1.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(webBrowser1_DocumentCompleted);
            this.FormClosing                  += new FormClosingEventHandler(Reader_FormClosing);
            mNavigator.ItemChanged            += new EventHandler(mNavigator_ItemChanged);
            MIConversationAll.CheckedChanged  += new EventHandler(MIConversationAll_CheckedChanged);
            MIConversationThis.CheckedChanged += (s, e) => ExecuteAction(UserAction.ConversationViewChanged);
            webBrowser1.GotFocus              += new EventHandler(webBrowser1_GotFocus);
        }
Beispiel #4
0
        public static void Open(MailNavigator navigator)
        {
            if (!ReadOut.Properties.Settings.Default.SeparateWindow)
                    {
                        CloseAll();
            }

                    var readerWindow = new Reader(navigator);
                    readerWindow.Show();
                    sInstances.Add(readerWindow);
        }
Beispiel #5
0
 public Reader(MailNavigator navigator)
 {
     InitializeComponent();
     mNavigator = navigator;
 }
Beispiel #6
0
 public Reader(MailNavigator navigator)
 {
     InitializeComponent();
     mNavigator = navigator;
 }