Thanks for the control. The splitcontainer control that comes w/windows forms stinks to high heaven.
Unfortunately, I can’t use it. I mistakenly thought this to be a splitcontainer control. Any idea of what I would have to do to make this a splitcontainer control instead of a splitter?
Thank you for purchasing my control. Unfortunately it is not SplitContiner control, but just a Splitter. I thought it would be better if I give more freedom and allow user to use it in its own way instead of incorporating into SplitContainer. There are a lot of scenarios where Splitter can be used other than SplitContainer but maybe I was wrong and users would expect Container because they are used to it from Visual Studio controls..
I will try in future to include SplitContainer that will utilize this splitter to my development plan, but I can’t really promise for exact date of when that control will be ready.
For now I would recommend to watch this short video that I have recorded for you: http://screencast.com/t/81CHXmANNgOB, where you can with easy steps simulate SplitContrainer by using my Splitter control. It is great as a base and then you can build on top of it.
Thanks! I haven’t had a chance to check the video yet, but I definitely will. As to Spliter vs SplitterContainer, my opinion is just of one guy, but I’ve been coding for 40+ years, and IMO, gotta go with what Visual Studio is doing. I think they changed from Splitter to SplitContainer in .NET 3 (first thing I did was change to 4.6.1, but I would definitely keep selling it as 2.0. They can do their own change to whatever version…good move).
For 10 dollars, you’ve gone way beyond any expectations of this person!
Opinion from one person indeed, but you are also the only one who purchase it so far. So your opinion truly matters to me. Looks like nowadays WinForms are loosing its popularity or at least it is the case in Envato. Very few people seems to be interested in this technology.
Anyway, it can only be beneficial to have one more control, even if you are wrong.
Yes I am sticking to lowest possible version of the framework so I can cover as much clients as possible. Last month I was working on WinForms huge project that was in 2.0. So there are still old application out there
Thank you for your ideas and comments.
Feel free to check my other controls as well. Soon I will start to add some other controls here as well (currently there is only one): https://www.fiverr.com/aleksandaril
Yeah, I figured that since I was the first comment, not too many people were beating down your door. My background is web development for the last 20 years, though I started Windows dev back in the Windows 2.x days, when you could only use C code.
As to your control, here’s the update. And I do apologize for filling up your email.
I tried to change your control from a Splitter to inherit from SplitContainer. I also made the following changes:
1. Had to remove the ‘Orientation’ property as it was giving me a ‘hiding a parent method’ error in the compiler, and I don’t think it is necessary as the parent SplitContainer handles this.
2. Had to remove the ‘Size (8,8)’ from the constructor, for obvious reasons. Tried to find a way of accessing the acutal Splitter control in SplitContainer, but alas, it does not exist. Don’t know if this is an issue, because of the following:
I could not get your control to work for me, unfortunately, and I can’t afford to spend any more time dealing with it. The BIG issue I had is that when resizing my form, the resize completely screws up. I believe it is because you do not call the parent Paint() method in your Paint in Splitter, since you were not expecting a SplitContainer parent. I had to stop here, since I didn’t want to get into dealing with pixel level stuff. I ain’t no artist.
Good luck with your controls. I think the big thing now with Windows is WPF, though I can’t stand using it. And if Microsoft keeps up with their Orwellian attitude, everyone will be using Unix in 5 years. Bunch of idiots running that company….and a bunch of globalists to boot!
Let me know if you ever do convert this to a container. I’d definitely be interested in that. As to some ideas for controls and stuff, well, that’s a tough one. I’m actually working on an app I plan on selling, and of course having a free version. Don’t know how it will do, seeing as applications are so 20th century and all…
Thank you for the long message.
Hm, unfortunately just changing the base class from Splitter to SplitContainer will not work.
Sorry to hear that my video wasn’t helpful for you. Please find the zip file of the project on this link. I hope it will be helpful. Please note that I am not suggesting a separate control because it will again not work for you. I am just giving you alternative way to make it look like and SplitContainer
The project form the video can be found here: https://dl.dropboxusercontent.com/u/71834995/sampleSplitControlHost.zip
One more time thank you for purchasing my control and hopefully you will make use of it.
Thanks for the response. Look, don’t worry about it. I can’t use your idea because I’d have to ‘retrofit’ your stuff into a project already loaded with controls, using two split containers. The only way I could use it would be for another SplitContainer. I mean, I COULD just re-layout the whole project, but that would cost me probably two days, and I can’t afford that right now.
So anyway, I was hoping I could replace this stupid splitcontainer, but will have to deal with it for now. Sighs. It would be nice if you specifically stated that this is not a split container, though this is NOT your fault at all. I should have realized this from the name you gave the control. I mean, it’s right there in front of me But I just assumed that since an actual splitter hadn’t existed in .NET for the last 8 years that this was based on a split container. My mistake…
Do you know what would be a good idea? To sell a 3-way split container. Just hide the 2nd splitcontainer in the class. I bet there are people who don’t want to spend the time doing a 3-way container, and would spend 20 dollars to get one. I had to roll my own, and the support online for SplitContainer is pretty sparse.
Just my 2 cents. I’ve come up with lots of bad ideas, so I wouldn’t trust mine!
Ok. I saw your video. Seems pretty simple. However, can’t I just take your Splitter class and instead of inheriting from Splitter, just inherit from SplitContainer? Wouldn’t that accomplish the same thing?
Hello Andy, Sorry for the late reply, for some reason Envato didn’t notify me for your comment or I have forgotten to reply.
Well not really. It is different control and the Splitter is not really accessible from inside the SplitContainer if I am not wrong.
So you will have to create a new control and inherit it from “User Control”, add two panels + my Splitter if you want to recreate the SplitContainer control while having my Splitter.
nice work as always mate . good luck
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Get it now and save up to $2.50
Deliver better projects faster. Photos, templates & courses
Unlimited downloads. Only $29/month
Learn almost anything with
Envato Tuts+ for free
25,000+ tutorials and 1,000+ courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work