/// <summary> /// Save the location and size for next time. /// </summary> protected override void OnClosing(CancelEventArgs e) { if (m_propertyTable != null) { m_propertyTable.SetProperty("DictionaryConfigurationDlg_Location", Location, false); m_propertyTable.SetPropertyPersistence("DictionaryConfigurationDlg_Location", true); m_propertyTable.SetProperty("DictionaryConfigurationDlg_Size", Size, false); m_propertyTable.SetPropertyPersistence("DictionaryConfigurationDlg_Size", true); } base.OnClosing(e); }
/// <summary> /// Save the location and size for next time. /// </summary> protected override void OnClosing(CancelEventArgs e) { if (PropertyTable != null) { PropertyTable.SetProperty("UploadToWebonaryDlg_Location", Location, false); PropertyTable.SetPropertyPersistence("UploadToWebonaryDlg_Location", true); PropertyTable.SetProperty("UploadToWebonaryDlg_Size", Size, false); PropertyTable.SetPropertyPersistence("UploadToWebonaryDlg_Size", true); } base.OnClosing(e); }