private static void BackupProc() { //表示沒有登入過,不做備份資料的動作;// if (m_Machine.機台代碼 == null || m_Machine.機台代碼.Length <= 0) { return; } FormBackup formBackup = new FormBackup(); formBackup.Setup(m_Machine); formBackup.BringToFront(); formBackup.ShowDialog(); formBackup.Close(); formBackup.Dispose(); }
private void metroTile1_Click(object sender, EventArgs e) { FormBackup form = new FormBackup(Acao.bakcup); form.ShowDialog(); }