代码拉取完成,页面将自动刷新
using System;
using System.Diagnostics;
using Sunny.UI;
using System.Windows.Forms;
namespace SuperWenZiToolBox
{
public partial class frmMain : UIForm
{
public frmMain()
{
InitializeComponent();
}
private void button3_Click(object sender, EventArgs e)
{
frmAbout fabout = new frmAbout();
fabout.Show();
}
private void button2_Click(object sender, EventArgs e)
{
frmTexttoWave ftexttoWave = new frmTexttoWave();
ftexttoWave.Show();
}
private void frmMain_Load(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
}
private void button4_Click(object sender, EventArgs e)
{
frmTranslate ftranslate = new frmTranslate();
ftranslate.Show();
}
private void button4_KeyPress(object sender, KeyPressEventArgs e)
{
}
private void button1_Click_2(object sender, EventArgs e)
{
frmPinyin fpinyin = new frmPinyin();
fpinyin.Show();
}
private void button5_Click(object sender, EventArgs e)
{
frmFenci fFenci = new frmFenci();
fFenci.Show();
}
private void button6_Click(object sender, EventArgs e)
{
try
{
Process.Start("OCR.exe");
}
catch(Exception f)
{
MessageBox.Show(f.Message);
}
}
private void button7_Click(object sender, EventArgs e) => Process.Start("WordCloudApp.exe");
private void button8_Click(object sender, EventArgs e)
{
frmCyjl cyjl = new frmCyjl();
cyjl.Show();
}
private void button9_Click(object sender, EventArgs e)
{
frmSet set = new frmSet();
set.Show();
}
private void frmMain_FormClosing(object sender, FormClosingEventArgs e)
{
if (Properties.Settings.Default.AutoIcon == true)
{
e.Cancel = true;
Hide();
}
}
private void frmMain_SizeChanged(object sender, EventArgs e)
{
}
private void frmMain_FormClosed(object sender, FormClosedEventArgs e)
{
}
private void 退出ToolStripMenuItem_Click(object sender, EventArgs e) => Process.GetCurrentProcess().Kill();
private void notifyIcon1_MouseClick(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
Show();
WindowState = FormWindowState.Normal;
}
}
private void uiButton4_Click(object sender, EventArgs e)
{
frmLangrecognize frmLangrecognize = new frmLangrecognize();
frmLangrecognize.Show();
}
private void uiButton5_Click(object sender, EventArgs e)
{
Process.Start(Application .StartupPath +"\\help.chm");
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。