コード例 #1
0
 public void DisplayEdit(string sSnippetName, string sSnippetSourceName, string sSnippetSourceText, string sSnippetTags)
 {
     Application.Current.Dispatcher.Invoke((Action) delegate
     {
         AddSnippet pWindow = new AddSnippet();
         pWindow.MakeEditingSnippet(sSnippetName, sSnippetSourceName, sSnippetSourceText, sSnippetTags);
         pWindow.Show();
     });
 }
コード例 #2
0
        private void btnAddSnippet_MouseUp(object sender, MouseButtonEventArgs e)
        {
            AddSnippet pSnippetWindow = new AddSnippet();

            pSnippetWindow.Show();
        }