Esempio n. 1
0
        private void SettingsBtn_Click(object sender, EventArgs e)
        {
            MiningSettings form2 = new MiningSettings();

            form2.Tag = this;
            form2.Show(this);
            Hide();
        }
Esempio n. 2
0
        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();
        }