According to the comments i suggest you to try the following:
Your Form2 needs to know Form1 therefore
public FRM_DRIVERS_LIST()
{
InitializeComponent();
this.dGV_Driver.DataSource = clsDriver.GET_ALL_DRIVERS();
dGV_Driver.Columns[0].Visible = false;
}
Should be changed into
public FRM_DRIVERS_LIST(Form InYourForm1)
{
InitializeComponent();
this.dGV_Driver.DataSource = clsDriver.GET_ALL_DRIVERS();
dGV_Driver.Columns[0].Visible = false;
yourForm1 = YourForm1
}
Then you can clear the data in Form 1 when closing
private void dGV_Driver_DoubleClick(object sender, EventArgs e)
{
yourForm1.ClearData();
this.close();
}
The ClearData() Method could look like this
public void ClearData()
{
this.txt_code.Text = "";
this.txt_Driver_Name.Text = "";
this.txt_Tel1.Text = "";
this.txt_Tel2.Text = "";
this.txt_Address.Text = "";
this.dtp_S_work.Text = "";
this.CB_WorkPlace.Text = "";
this.CB_License_type.Text = "";
this.dTP_Date_e_License.Text = "";
}
Then the data in Form1 should be cleared
Please try this out and tell me if it helped. Otherwise we can work on a different solution :)