Message from @sum

Discord ID: 444276007835533330


2018-05-10 23:10:01 UTC  

Imagine if few years into future

2018-05-10 23:10:05 UTC  

You'd want to apply for a job at C# dev

2018-05-10 23:10:09 UTC  

_press tab_

2018-05-10 23:10:13 UTC  

_3 million LOC_

2018-05-10 23:10:14 UTC  

And the interviewer asks you to write fizzbuzz

2018-05-10 23:10:20 UTC  

And you just write fizzbuzz<tab>

2018-05-10 23:10:25 UTC  

And this shit autocompletes for you

2018-05-10 23:10:47 UTC  

the way i think is best

2018-05-10 23:10:52 UTC  

assuming Form2 is some sort of dialog

2018-05-10 23:11:08 UTC  

It was an old side project of mine back when I played LoL

2018-05-10 23:11:23 UTC  

Basically I had a Form1 which acted as a main program interface, and Form2 which was just a list that you could click on

2018-05-10 23:11:36 UTC  

The idea was that you'd click items you had and it would pass the needed data from it

2018-05-10 23:11:44 UTC  

well Form1 probably spawns Form2, so it has a reference to an instance of Form2

2018-05-10 23:11:47 UTC  

It sort of worked but crashed badly which now I don't remember how exactly

2018-05-10 23:11:53 UTC  

just add some properties on Form2

2018-05-10 23:11:59 UTC  

which you can then access from that instance

2018-05-10 23:12:26 UTC  

A++ project naming

https://cdn.discordapp.com/attachments/189467888657235970/444275553327906828/unknown.png

2018-05-10 23:13:12 UTC  

ConsoleApplication9 🔫

2018-05-10 23:13:46 UTC  

```cs
class Form2 {

public string Username => txtUsername.Text;
public string Password => txtPassword.Text;

// Blah blah
}

...

var loginDialog = new Form2();
var result = loginDialog.ShowDialog(); // Blocks until dialog is closed
// do something with loginDialog.Username and loginDialog.Password
```

2018-05-10 23:13:50 UTC  

Seems the old me did this

2018-05-10 23:14:14 UTC  

`` public partial class ChampionList : Form
{
public string czempUsera { get; set; }
public ChampionList()
{
InitializeComponent();
var temp = File.ReadAllLines("cname.txt");
foreach (var test in temp)
{
listBox1.Items.Add(test);
}
}
...

private void ChampionList_FormClosing(object sender, FormClosingEventArgs e)
{
this.Hide();
e.Cancel = true;
}
}
}``

2018-05-10 23:14:27 UTC  

just need a few more `

2018-05-10 23:14:30 UTC  

And from main program `ChampionList okno2 = new ChampionList();`

2018-05-10 23:14:36 UTC  

` private void button1_Click(object sender, EventArgs e)
{
okno2.Activate();
okno2.Show();
}`

2018-05-10 23:14:42 UTC  

And I thought I was retarded when I called my main project folder "Arbeitsordner" (working folder) back then.

2018-05-10 23:15:11 UTC  

anyone know people that would be interested in some gtx 1070 ti s

2018-05-10 23:15:17 UTC  

new/unused

2018-05-10 23:15:19 UTC  

All 110 of them?

2018-05-10 23:15:23 UTC  

lol ofc yes

2018-05-10 23:15:40 UTC  

we wanna get rid of em, no idea how

2018-05-10 23:15:51 UTC  

wut

2018-05-10 23:16:08 UTC  

im not sure if 550 is too high of a price, for new and unused

2018-05-10 23:16:17 UTC  

and free shipping

2018-05-10 23:16:37 UTC  

im going less than amazon, and im offering bulk order sales

2018-05-10 23:16:50 UTC  

i havent found the market to sell it to

2018-05-10 23:16:51 UTC  

you have 110 1070 ti's?

2018-05-10 23:16:54 UTC  

ill get banned on leddit

2018-05-10 23:16:56 UTC  

yea

2018-05-10 23:17:00 UTC  

how does that even

2018-05-10 23:17:08 UTC  

>mining

2018-05-10 23:17:11 UTC  

yes lol