Form_Server_Form.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace TuoPan_Demo
{
public partial class Form_Server : Form
{
public Form_Server()
{
InitializeComponent();
}
#region 私有方法 处理窗体的 显示 隐藏 关闭(退出)
FormCloese frm = new FormCloese();
private void ExitMainForm() //关闭(退出)
{
if (MessageBox.Show("您确定要退出化本系统吗?", "确认退出", MessageBoxButtons.OKCancel, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2) == DialogResult.OK)
{
this.notifyIcon1.Visible = false;
this.Close();
this.Dispose();
Application.Exit();
}
}
private void HideMainForm() //隐藏
{
this.Hide();
}
private void ShowMainForm() //显示主窗口
{
this.Show();
this.WindowState = FormWindowState.Normal;
// this.Activate();
}
#endregion
后面还有 133 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。