Jul 4, 2018 10:48 PM
(This post was last modified: Jul 4, 2018 10:50 PM by Minto.)
Hello everyone!
I'd just like to show you all what I'm working on
Maybe get some positive feedback and opinions
This is a custom GUI (Graphical User Interface) I've been working on for a long time, first started developing it in VB.NET, then to C#, because ever since last year I've preferred C# over VB.NET.
I've stopped working on it a while back since motivation was little and interest in it was dying, but, recently that came back.
And I would like to show you all what I have done so far.
I will release this when it is done, perfect and not just in a C# class.
I want to rewrite it in a .NET DLL library, for those who want to use it not just in C#, but, in VB.NET and C++ as well.
I won't put a release date, since I don't want any pressure to be put on me, going slow and making sure everything works perfectly as how I like to do things.
I've made a video showcasing it, and here it is;
ht t ps : //w ww.youtu be .c om /w atch?v =L_urmS4JHqw
DO NOT DEAL WITH THIS MEMBER
I do not trust somebody that uses multiple if statements when checking the same value. I'm sorry.
Jul 11, 2018 04:28 AM
(This post was last modified: Jul 11, 2018 04:31 AM by Minto.)
(Jul 11, 2018 03:45 AM)alexconnolly Wrote: I do not trust somebody that uses multiple if statements when checking the same value. I'm sorry.
what if
(Jul 11, 2018 04:28 AM)Minto Wrote: what if
if(velyseComboBox1.Text == "Round") {
} else if (velyseComboBox1.Text == "Square") {
}
(Jul 12, 2018 02:24 AM)alexconnolly Wrote: if(velyseComboBox1.Text == "Round") {
} else if (velyseComboBox1.Text == "Square") {
}
but what if
switch(velyseComboBox1.Text) {
case "Round":
// handle round
break;
case "Square":
// handle square
break;
}
(Jul 17, 2018 07:14 AM)alexconnolly Wrote: switch(velyseComboBox1.Text) {
case "Round":
// handle round
break;
case "Square":
// handle square
break;
}
I do not trust somebody that uses multiple switch statements when checking the same value. I'm sorry.
(Jul 17, 2018 10:54 AM)Minto Wrote: I do not trust somebody that uses multiple switch statements when checking the same value. I'm sorry.
lolwat?
I am telling you that if you are checking the same address for different values you should use a switch statement.
It's a good thing to get used to as when (if you ever) get into things like multi-thread programming, as an example, velyseComboBox1.Text value could change after the first if was checked, that way meaning that both would be activated.
Aaaaaaand your attitude is shit towards somebody trying to give you some advice on something like this.
Ya sure its pretty much nothing and isnt going to do much for you right now, but a switch statement was built for this.
Also there is only one switch statement please do not go retard
(Jul 19, 2018 06:55 AM)alexconnolly Wrote: lolwat?
I am telling you that if you are checking the same address for different values you should use a switch statement.
It's a good thing to get used to as when (if you ever) get into things like multi-thread programming, as an example, velyseComboBox1.Text value could change after the first if was checked, that way meaning that both would be activated.
Aaaaaaand your attitude is shit towards somebody trying to give you some advice on something like this.
Ya sure its pretty much nothing and isnt going to do much for you right now, but a switch statement was built for this.
Also there is only one switch statement please do not go retard
Well, thanks for the advice, but, "I do not trust somebody that uses multiple if statements when checking the same value. I'm sorry." doesn't sound like you're trying to lecture me.
DO NOT DEAL WITH THIS MEMBER
Jul 19, 2018 07:25 PM
(This post was last modified: Jul 19, 2018 07:29 PM by 6577657534735.)
(Jul 19, 2018 06:55 AM)alexconnolly Wrote: lolwat?
I am telling you that if you are checking the same address for different values you should use a switch statement.
It's a good thing to get used to as when (if you ever) get into things like multi-thread programming, as an example, velyseComboBox1.Text value could change after the first if was checked, that way meaning that both would be activated.
Aaaaaaand your attitude is shit towards somebody trying to give you some advice on something like this.
Ya sure its pretty much nothing and isnt going to do much for you right now, but a switch statement was built for this.
Also there is only one switch statement please do not go retard
Haha what, if another thread changes the value you better be locking it or wrapping it atomically, not hoping things just magically work right with a switch case. Furthermore, even though the switch statement would block multiple conditional bodies from being executed, in your hypothetical scenario where you can safely read variables being written to it still doesn't stop the case of none of them being executed
var=B
..
if(var==A) //not hit
var=A //in another thread
if(var==B) //not hit
default: //hit even though it was A and B during entire switch case execution
|