C
C#17mo ago
turbhan

❔ Custom Tab

82 Replies
turbhan
turbhanOP17mo ago
how would i go about making a tab system like that?
IsNotNull
IsNotNull17mo ago
It looks like a panel docked to the left with a set of full width buttons that highlight when clicked. In WinForms terms, if I remember correctly That particular UI though...I would guess it was made with something other than WinForms. The controls don't look anything like WinForms uses
turbhan
turbhanOP17mo ago
It might of been imgui c++ is it possible to make in c# winform?
IsNotNull
IsNotNull17mo ago
Maybe, you have to change the background color and text color based on if the button is active or not It looks like they are also changing the color of the icon, which would be hard to do in WinForms
turbhan
turbhanOP17mo ago
Yeah i have the button that when pressed the color is changed
IsNotNull
IsNotNull17mo ago
You need to change the color of the text too
turbhan
turbhanOP17mo ago
just i don’t get how to make it so when i press a different button it swaps to a different tab in the gui
IsNotNull
IsNotNull17mo ago
They are doing an inversion
turbhan
turbhanOP17mo ago
Ahh Ok yeah i see that
IsNotNull
IsNotNull17mo ago
Common approach in web Are you going to do icons?
turbhan
turbhanOP17mo ago
Using siticone a nuget package or something it lets me put a image and text
IsNotNull
IsNotNull17mo ago
I am not familiar with that. It gives you access to icons? Is it a component library?
turbhan
turbhanOP17mo ago
Yes
IsNotNull
IsNotNull17mo ago
Ok They don't have a tab control?
turbhan
turbhanOP17mo ago
They do but it is really bad and i’m not sure how i could@make it look like in the video it’s old old looking
IsNotNull
IsNotNull17mo ago
I don't remember WinForms very well, but I'm pretty sure there is a way to contain a form inside of another form, isn't there?
turbhan
turbhanOP17mo ago
I believe so I just found something i am going to have to try when i get home from work
IsNotNull
IsNotNull17mo ago
You need to have your tab panel docked to the left and the rest contains a form that you overwrite with a form when you click a tab button
turbhan
turbhanOP17mo ago
Siticone Technology
YouTube
C# WinForms - Make a Modern TabControl using the Button with Visual...
https://siticoneframework.com __ *Thank you for watching. Do not forget to Like, Share and Subscribe. __ GETTING STARTED: Get Siticone Library Unconditionally for 30-Days. Get Siticone Manager Desktop App to Conveniently Manage Siticone Library. DOWN...
turbhan
turbhanOP17mo ago
3 years ago video
IsNotNull
IsNotNull17mo ago
Depending on the contents of the forms, you might instantiate and load them hidden before attaching them to the child area
turbhan
turbhanOP17mo ago
yeah the problem i had before was it would fill the entire gui when i pressed the button and the new form appeared i’m not sure how i am supposed to get it into a certain area
IsNotNull
IsNotNull17mo ago
I don't remember how to do any of that though, been 15ish years
turbhan
turbhanOP17mo ago
crazy
IsNotNull
IsNotNull17mo ago
I started a little after generics came out 😉
turbhan
turbhanOP17mo ago
I just started today at 3am and my gui is already clean asf like first ever time on visual studio
IsNotNull
IsNotNull17mo ago
Chill on making the chat people angry though. Lots of them work at MS and are pretty solid community members, even if they are angsty Might feel good to throw it back, but not worth it
turbhan
turbhanOP17mo ago
i was just asking for help
IsNotNull
IsNotNull17mo ago
I know. If you ask for help in a volunteer based area, you need to come with sufficient supplication or people see you as hauty haughty? How do you spell that word?
turbhan
turbhanOP17mo ago
naughty?
IsNotNull
IsNotNull17mo ago
No, lol
turbhan
turbhanOP17mo ago
Oh lmao
IsNotNull
IsNotNull17mo ago
Haughty...like entitiled
turbhan
turbhanOP17mo ago
Oh yeah my last posts i think i’ve done 2 about this have either gotten no response or asking for details when i provided a video and what i was asking for help about i closed them all tho i believe
IsNotNull
IsNotNull17mo ago
Like, pushing for an answer makes it seem like you are treating it like a support thing that can be escalated. These people see time as money and that they never have enough time. They pretty defensive about it And you are asking about an older tech they don't want to talk about and most of them probably don't know a good answer off-the-cuff 😉 Its not complicated, just a question that doesn't have any good short answers Like asking someone to describe how to draw an owl
Marius 🗡
Marius 🗡17mo ago
Could the same be applied to questions on the "best" ways/ resources to learn something?
IsNotNull
IsNotNull17mo ago
Absolutely Its a very common theme in communities to get angry about those questions
Marius 🗡
Marius 🗡17mo ago
Yup, probably such messages are spammed everyday
turbhan
turbhanOP17mo ago
i spam those sometimes i’ve already@gotten timed out for a week wait no 2 days
IsNotNull
IsNotNull17mo ago
People learning are always trying to shortcut the learning. Not a bad idea, but some things you kinda have to experience to 'know'
turbhan
turbhanOP17mo ago
left and rejoined is chatgpt a viable source for my needs
IsNotNull
IsNotNull17mo ago
Are you a hobbyist or a professional @turb? Or somewhere in between?
turbhan
turbhanOP17mo ago
hobby making stuff for games i play “utilities” not going to say wether they are unfair or not so i don’t get timed out again
IsNotNull
IsNotNull17mo ago
The people in chat? It was a bit of both from what I saw
turbhan
turbhanOP17mo ago
I joined this like 2 weeks ago got timed for a week for asking how to do winapi then left and rejoined today
IsNotNull
IsNotNull17mo ago
Or you mean the time-out? Couldn't comment on that, wasn't there I don't think
Marius 🗡
Marius 🗡17mo ago
Most of the people who ask these questions just dont like to deal with the fact that there probably is no way of most optimal way to learn something. Just do it enjoy it and discover as you go. It kind of remembers me walking thru unknow forest, enjoying it is the best part, unless u r lucky to find a wizard whos gonna show you some secret paths. Anyway this might be a bad comparison, but point is somewhere there
turbhan
turbhanOP17mo ago
like mute in chat
IsNotNull
IsNotNull17mo ago
WinAPI? Yeah that is a bit odd
turbhan
turbhanOP17mo ago
Autoclickers in short and it had win api whatever so i was asking about it
Marius 🗡
Marius 🗡17mo ago
I think i wrote nonsense anyway
IsNotNull
IsNotNull17mo ago
@marius6969 Its hard, some things can be shortcut with a mentor and many things can't. But a short session comment/chat format is not a stand in for a mentor
Marius 🗡
Marius 🗡17mo ago
Totaly agree
IsNotNull
IsNotNull17mo ago
Actually, I might have seen that @turbhan
turbhan
turbhanOP17mo ago
most likely i started flaming this one dude then like micheal or daniel or some random admin guy came no idea what the name was
IsNotNull
IsNotNull17mo ago
Did you ask something about a windows anti lach mechanic? *latch
turbhan
turbhanOP17mo ago
No
IsNotNull
IsNotNull17mo ago
Ok, different guy then
turbhan
turbhanOP17mo ago
Yeah mr patrick timed me out in discord for a week on here
IsNotNull
IsNotNull17mo ago
I did see someone banned after they asked a few questions about getting around an anti malware/virus mechanic of windows after they started arguing with some of the other devs
turbhan
turbhanOP17mo ago
Yeah that wasn’t me
IsNotNull
IsNotNull17mo ago
Professional devs aren't really used to being treated casually, from what I've experienced in my career. I'm not saying treat this place like a jobsite...but that some of the devs here might be treating it like that.
turbhan
turbhanOP17mo ago
i was getting called stupid so i flamed him@and i gót timed out for troll
IsNotNull
IsNotNull17mo ago
I hear ya. Focus on what you want and the strategy that gets it for you. You wanted help earlier. Don't be afraid to kiss butt. You won't think less of yourself later when you solved that problem in half the time I'm sure there was at least one stodgey winforms expert in the chat channel that didn't speak up because they weren't interested enough in your plight
turbhan
turbhanOP17mo ago
yeah
IsNotNull
IsNotNull17mo ago
I wish I remembered more about WinForms Well...not really, but if I did I'd share it
turbhan
turbhanOP17mo ago
it’s super simple with the library so easy for ui stuff drag and drop
IsNotNull
IsNotNull17mo ago
WinForms was always that way. I don't think anyone complains about its productivity or difficulty. The biggest complaints are that it has a questionable long term lifecycle, that its hard to make fully customized UIs from it (depends on a lot of native controls) and that it doesn't have any built in and well known coding paradigm patterns to guide dev decisions (like MVC, MVVM, or component architecture)
turbhan
turbhanOP17mo ago
I wish i knew more about coding to understand most of that like MVVM MVC
IsNotNull
IsNotNull17mo ago
Means different things depending on the framework that provides that pattern...which makes it hard to talk about
turbhan
turbhanOP17mo ago
Oh
IsNotNull
IsNotNull17mo ago
But in general they are different ways to separate out responsibilities in an app LIke the M in MVC stands for Model Its a representation of data. Usually a controller will load the model, then hand it to a view to do presentation Model Controller View
turbhan
turbhanOP17mo ago
Is it not allowed to post anything relating to cheats in this server Ohhhh
IsNotNull
IsNotNull17mo ago
I guess I should have put it in MVC order, hah In ASP.NET Core in particular, you might have a controlle rthat exposes methods that represent routes. As a simplified contrived example, If you go to /customers, the CustomerController Get method fires, loads customers in a list, and the CustomerView.cshtml (a type of view template) is used to render that list of customers to HTML In other frameworks and other languages MVC might be done in a slightly different way, but they'll still usually have classes or views that you implement to represent models, views, and controllers I don't know for sure, but I'm guess if you hint you are doing anything illegal that they'll ban you. Less sure about implications that you are trying to violate a EULA I know devs will avoid helping you if you are trying to cheat at a competitive game just out of disdain Well, don't tell me that Don't tell anyone that Just say utilities
turbhan
turbhanOP17mo ago
yeah that’s why i blurred out stuff on the video also
IsNotNull
IsNotNull17mo ago
I won't associate with projects to cheat at competitive games, but I won't avoid a dev asking general questions just because they won't talk about their project
turbhan
turbhanOP17mo ago
yeah
Anchy
Anchy17mo ago
lmao, people are definitely used to talking casually in here; but don't expect equal treatment if you are being evasive and/or developing questionable software we see it as a waste of time to help people who want to develop unproductive tools
turbhan
turbhanOP17mo ago
mines very productive it would be if i knew how to make tabs 😦
Anchy
Anchy17mo ago
what is it
turbhan
turbhanOP17mo ago
i cant sea becasue its againt somethin g but
Accord
Accord17mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server