/*
* Created by SharpDevelop.
* User: Trace
* Date: 5/14/2014
* Time: 2:34 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using INI;
using System.IO;
namespace Copy
{
/// <summary>
/// Description of MainForm.
/// </summary>
public partial class MainForm : Form
{
public MainForm()
{
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent();
//
// TODO: Add constructor code after the InitializeComponent() call.
//
}
void MainFormLoad(object sender, EventArgs e)
{
System.IO.File.Move(@"C:\test.txt", @"C:\test\test11.txt");
}
}
}
ผมทำแบบนี้แล้วมันไม่ได้อ่าครับ
//////////////////
/*
* Created by SharpDevelop.
* User: 5020003435
* Date: 5/15/2014
* Time: 9:51 AM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using System.IO;
namespace FileUpLoad2Serv
{
/// <summary>
/// Description of MainForm.
/// </summary>
public partial class MainForm : Form
{
public MainForm()
{
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent();
//
// TODO: Add constructor code after the InitializeComponent() call.
//
}