Message from @sum
Discord ID: 444276282205929472
the way i think is best
assuming Form2 is some sort of dialog
It was an old side project of mine back when I played LoL
Basically I had a Form1 which acted as a main program interface, and Form2 which was just a list that you could click on
The idea was that you'd click items you had and it would pass the needed data from it
well Form1 probably spawns Form2, so it has a reference to an instance of Form2
It sort of worked but crashed badly which now I don't remember how exactly
just add some properties on Form2
which you can then access from that instance
A++ project naming
ConsoleApplication9 🔫
```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
```
Seems the old me did this
`` 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;
}
}
}``
just need a few more `
And from main program `ChampionList okno2 = new ChampionList();`
` private void button1_Click(object sender, EventArgs e)
{
okno2.Activate();
okno2.Show();
}`
And I thought I was retarded when I called my main project folder "Arbeitsordner" (working folder) back then.
anyone know people that would be interested in some gtx 1070 ti s
new/unused
lol ofc yes
we wanna get rid of em, no idea how
wut
im not sure if 550 is too high of a price, for new and unused
and free shipping
im going less than amazon, and im offering bulk order sales
i havent found the market to sell it to
you have 110 1070 ti's?
ill get banned on leddit
yea
how does that even
>mining
yes lol
im just surprised that someone on /csg/ has that sort of capital <:alismirk:230784726615588865>
ugh this is so frustrating
im doing the best i can to get rid of them
Can't you just find a bitcoin mining community
And offer them the gpus?
ive sent join requests for like 10 of them
on leddit i can get banned for selling gpus