Exemplo n.º 1
0
        private void gifButton_Click(object sender, RoutedEventArgs e)
        {
            InsertImageWindow window = new InsertImageWindow()
            {
                Owner = Application.Current.MainWindow
            };

            window.Closed += Window_Closed;
            window.Show();
            //if( window.ShowDialog() ?? false )
            //{

            //}
        }
Exemplo n.º 2
0
        private void gifButton_Click(object sender, RoutedEventArgs e)
        {
            InsertImageWindow window = new InsertImageWindow()
            {
                Owner = Application.Current.MainWindow
            };

            window.Closing += Window_Closing;
            window.Show();
            //if( window.ShowDialog() ?? false )
            //{
            //	ImageUrlChatMessage imageMessage = new ImageUrlChatMessage();
            //	imageMessage.ImageUrl = window.SelectedResult.LargeImageUrl;
            //	Message = imageMessage.ToMessageString();
            //	MoveCursorToEnd();
            //}
        }