Пример #1
0
        private void lstBoxMsgs_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            int index = lstBoxMsgs.SelectedIndex;

            if (index != System.Windows.Forms.ListBox.NoMatches)
            {
                MessageView view = new MessageView(ReceivedMessages[index], @receiver.GetResultsPath());
                view.Show();
            }
        }
Пример #2
0
        public MainWindow()
        {
            InitializeComponent();

            DataContext = new MessageView();
        }