protected override void AddItems(NCommandBarItemCollection items) { // Add the "Add Appointment" button items.Add(CreateButton(Nevron.Nov.Schedule.NResources.Image_Edit_AddAppointment_png, NScheduleView.AddAppointmentCommand)); // Add the custom command button items.Add(CreateButton(NResources.Image_Ribbon_16x16_smiley_png, CustomCommand)); }
protected override void AddItems(NCommandBarItemCollection items) { // Add the "Copy" button items.Add(CreateButton(Nevron.Nov.Presentation.NResources.Image_Edit_Copy_png, NDrawingView.CopyCommand)); // Add the custom command button items.Add(CreateButton(NResources.Image_Ribbon_16x16_smiley_png, CustomCommand)); }