示例#1
0
        private void btnMessageSummary_Click(object sender, RoutedEventArgs e)
        {
            if (SelectedLine == null)
            {
                return;
            }

            MessageSummaryWindow messageSummaryWin = new MessageSummaryWindow(this, SelectedLine.MessageSummary);

            messageSummaryWin.ShowDialog();
        }
        private void btnMessageSummary_Click(object sender, RoutedEventArgs e)
        {
            if (SelectedLine == null)
            {
                return;
            }

            var messageSummary = SelectedLine.CustomProperties.Get <MessageSummary>("MessageSummary");

            if (messageSummary == null)
            {
                return;
            }

            MessageSummaryWindow messageSummaryWin = new MessageSummaryWindow(this, messageSummary);

            messageSummaryWin.ShowDialog();
        }
        private void btnMessageSummary_Click(object sender, RoutedEventArgs e)
        {
            if (SelectedLine == null)
                return;

            var messageSummary = SelectedLine.CustomProperties.Get<MessageSummary>("MessageSummary");
            if (messageSummary == null)
                return;

            MessageSummaryWindow messageSummaryWin = new MessageSummaryWindow(this, messageSummary);
            messageSummaryWin.ShowDialog();
        }
        private void btnMessageSummary_Click(object sender, RoutedEventArgs e)
        {
            if (SelectedLine == null)
                return;

            MessageSummaryWindow messageSummaryWin = new MessageSummaryWindow(this, SelectedLine.MessageSummary);
            messageSummaryWin.ShowDialog();
        }