Hi,
I have just been reviewing our code base and found we have a toolbar that we used in two places. Its basic function is to create and save an objects in to our db. The two usages are on different panels using different toolbar managers. What is the best way to make the code common (need to work with saving different objects with the same save method). Should I create an control inheriting from a toolbar or is there some other way. Pointers to relevant documentation would be most helpfull
Thanks
Steven Evans
Hello Steven,
From what I understood from your post I think that you are looking for a 'Save()' method which would take the desired property or properties which you like to save, is that correct?
Not realy Boris I have an number of feachtures to support save, rename, create new and export so. I have an number of buttons and a combo that i want to have on a bar that i can uses with diffent objects (that have a common interface of cause). I posted another thread on this (http://ko.infragistics.com/community/forums/t/73747.aspx)
Hello,
I review the other thread and saw that you found an approach which works for you. Please if you have any other issues provide some details or a sample project with the scenario because I now cannot get your context and what you are trying to do from your code and words.