private void ibuttonSave_Click(object sender, EventArgs e) { GetData(ref newData); SaveOrder(); savedData = new modelProjectActivityVariation(); savedData = newData.DeepClone(); this.Hide(); }
public formEditProjectActivityVariation(modelProjectActivityVariation activityVariation) { InitializeComponent(); originalData = new modelProjectActivityVariation(); originalData = activityVariation.DeepClone(); newData = new modelProjectActivityVariation(); newData = activityVariation.DeepClone(); savedData = null; ShowData(originalData); ShowCountries(); ShowEndDate(); ShowProjectTitle(); gridMobility.SetupLinq += GridMobility_SetupLinq; gridMobility.SetupGrid += GridMobility_SetupGrid; gridMobility.LoadGrid(); }