Пример #1
0
        private void MenuItem_Click_4(object sender, RoutedEventArgs e)
        {
            MessageWritingWindow mwm = new MessageWritingWindow(false);

            mwm.MessageSendingEvent += ServiceMessageSending;
            mwm.ShowDialog();
        }
Пример #2
0
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            MessageWritingWindow mwm = new MessageWritingWindow(true);

            mwm.MessageSendingEvent += ServiceMessageSending;
            mwm.ShowDialog();
        }