0

I am using the WPF toolkit messagebox now using something like this

Xceed.Wpf.Toolkit.MessageBox.Show(MessageCenter.Show(12131011, true));

Then i did this

 Xceed.Wpf.Toolkit.MessageBox Mebox=new  Xceed.Wpf.Toolkit.MessageBox();

Surprise.Doesn't work.

What i am trying to do is use create a new Messagebox named Mebox which is basically a renamed version of Xceed.Wpf.Toolkit.MessageBox since typing Xceed.Wpf.Toolkit.MessageBox is tedious.

deception1
  • 1,707
  • 5
  • 23
  • 27

1 Answers1

1

Have you tried including the namespace and or giving it an Alias.

At the top of the cs file put this:

using MeBox = Xceed.Wpf.Toolkit.MessageBox;
nickm
  • 1,775
  • 1
  • 12
  • 14