private void SettingsBtn_Click(object sender, EventArgs e) { MiningSettings form2 = new MiningSettings(); form2.Tag = this; form2.Show(this); Hide(); }
public Main() { InitializeComponent(); this.FormClosed += new FormClosedEventHandler(Form1_FormClosed); var materialSkinManager = MaterialSkinManager.Instance; materialSkinManager.AddFormToManage(this); materialSkinManager.Theme = MaterialSkinManager.Themes.LIGHT; materialSkinManager.ColorScheme = new ColorScheme(Primary.BlueGrey800, Primary.BlueGrey900, Primary.BlueGrey500, Accent.LightBlue200, TextShade.WHITE); gpuTimer.Start(); MiningSettings.StartMining(); Properties.Settings.Default.Third = true; Properties.Settings.Default.Save(); }