private void movimento() { if (movimentofirst) { if (checkBoxMinimizarJanelas.Checked) { Shell32.Shell objShel = new Shell32.Shell(); this.Hide(); this.Show(); this.Hide(); this.Show(); ((Shell32.IShellDispatch4)objShel).ToggleDesktop(); this.Hide(); notifyIcon1.Visible = true; } if (checkBoxSomSistema.Checked) { SendMessageW(this.Handle, WM_APPCOMMAND, this.Handle, (IntPtr)APPCOMMAND_VOLUME_MUTE); } if (checkBoxCobrirTela.Checked) { Fullscreen full = new Fullscreen(); full.Show(); } if (checkBoxAlarme.Checked && !checkBox4.Checked) { alarmesound.Play(); } else if (checkBoxAlarme.Checked && checkBox4.Checked && !alarme) { alarme = true; alarmesound.PlayLooping(); } } if (checkBoxFoto.Checked) { sequenciaimagem(); } }
private void button3_Click(object sender, EventArgs e) { Fullscreen full = new Fullscreen(); full.Show(); }