public OnCreate ( object hook ) : void | ||
hook | object | Instance of the application |
return | void |
private void menuNewDoc_Click(object sender, System.EventArgs e) { //execute New Document command ICommand command = new CreateNewDocument(); command.OnCreate(m_mapControl.Object); command.OnClick(); }
private void menuNewDoc_Click(object sender, System.EventArgs e) { //execute New Document command ICommand command = new CreateNewDocument(); command.OnCreate(m_mapControl.Object); command.OnClick(); }