// This file is required by the index7.html file and will
// be executed in the renderer process for that window.
// All of the Node.js APIs are available in this process.
//登陆界面最大化
var ipc= require('electron').ipcRenderer;
document.getElementById('maxbt').addEventListener('click',()=>{
console.log("点击最大化")
ipc.send('window-max')
})
document.getElementById('minbt').addEventListener('click',()=>{
console.log("点击最小化")
ipc.send('window-min')
})
document.getElementById('closebt').addEventListener('click',()=>{
console.log("点击关闭")
ipc.send('window-close')
})