Message 1 of 5
Not applicable
05-23-2013
09:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to inform user the name of command immediately when they netload my dll. I use the constructor like this way:
public class Control
{
public Control()
{
Editor acDoc = Application.DocumentManager.MdiActiveDocument.Editor;
acDoc.WriteMessage("Type ABC to start");
}
[CommandMethod("abc", CommandFlags.UsePickSet)]
public void MyForm_start()
{
MyForm fr = new MyForm();
Application.ShowModalDialog(fr);
}
}
But it only write to command line when call abc command. Pls help!
Solved! Go to Solution.