(before closing as duplicate, please read: I've looked through similar topic, but there is not enough explanation where the code should execute)
I want to set Properties.Settings.Default
to a shorter variable while form is loaded..
public Object xx;
public Form1()
{
InitializeComponent();
xx = Properties.Settings.Default;
}
private void button1_Click(object sender, EventArgs e)
{
MessageBox.Show(xx.something_name);
}
I get errors later, while calling xx.something_name
... How to do that successfully?