FunctionForm.Operation.frmCreateDocument.cmdSaveDocument_Click C# (CSharp) Метод

cmdSaveDocument_Click() приватный Метод

保存文档
private cmdSaveDocument_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void
        private void cmdSaveDocument_Click(object sender, EventArgs e)
        {
            if (txtDocument.Text != string.Empty)
            {
                Utility.SaveTextFile(txtDocument.Text, Utility.TxtFilter);
            }
        }