Ktoś pomoże? Wyskakuje mi błąd, nawet nie dopuści do uruchomienia kodu.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MineLauncher
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void label3_Click(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
}
private void Form1_Load(object sender, EventArgs e)
{
textBox1.Text = My.Settings.nick
textBox2.Text = My.Settings.ram
}
private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
My.Settings.nick = textBox1.Text
My.Settings.ram = textBox2.Text
}
}
}
Treść błędu: CS0103 The name 'My' does not exist in the current context