public void RestoreLayout() { if (File.Exists(@"C:\XtraGridViewLayouts\BandedQuoteLogView.xml")) { QuoteLogMasterGridView.RestoreLayoutFromXml(@"C:\XtraGridViewLayouts\BandedQuoteLogView.xml"); } else { MessageBox.Show("You have not saved a layout for this view yet.", "Message"); } }
public void SaveLayout() { QuoteLogMasterGridView.SaveLayoutToXml(@"C:\XtraGridViewLayouts\BandedQuoteLogView.xml"); }