Esempio n. 1
0
        private void SupervisionReportViewer_Load(object sender, EventArgs e)
        {
            String Code       = Yqun.Common.ContextCache.ApplicationContext.Current.UserCode;
            String SheetStyle = DepositorySamplingFrequencyInfo.SupervisionReportInfo(Code);

            if (!string.IsNullOrEmpty(SheetStyle))
            {
                myCell1.Sheets.Clear();
                SheetView SheetView = Serializer.LoadObjectXml(typeof(SheetView), SheetStyle, "SheetView") as SheetView;
                myCell1.Sheets.Add(SheetView);
            }
        }