mainform.cs
来自「源码..C#开发的手机短信发送接收程序」· CS 代码 · 共 49 行
CS
49 行
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using smsForCsharp;
namespace dxsf
{
public partial class mainform : Form
{
public mainform()
{
InitializeComponent();
}
private void MenuItem11_Click(object sender, EventArgs e)
{
Form1 x = new Form1();
// this.Hide();
x.Show();
}
private void MenuItem3_Click(object sender, EventArgs e)
{
if (MessageBox.Show("你要退出吗", "提示:", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
Application.Exit();
}
else
{
return;
}
}
private void MenuItem12_Click(object sender, EventArgs e)
{
oll_fxinxi x_oll_fxinxi = new oll_fxinxi();
// this.Hide();
Form1 xx = new Form1();
xx.Dispose();
xx.Close();
x_oll_fxinxi.Show();
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?