private void pivotGridControlMain_CellDoubleClick(object sender, PivotCellEventArgs e)
{
Form form = new Form();
form.Text = "Records";
// Place a DataGrid control on the form.
DevExpress.XtraGrid.GridControl grid = new DevExpress.XtraGrid.GridControl();
DevExpress.XtraGrid.Views.Grid.GridView view = new DevExpress.XtraGrid.Views.Grid.GridView(); view.OptionsView.ColumnAutoWidth = false;
grid.MainView = view;
grid.Parent = form;
grid.Dock = DockStyle.Fill;
// Get the recrd set associated with the current cell and bind it to the grid.
grid.DataSource = e.CreateDrillDownDataSource();
form.Bounds = new Rectangle(100, 100, 500, 400);
// Display the form.
form.ShowDialog();
form.Dispose();
}
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject();
this.gridControlData = new DevExpress.XtraGrid.GridControl();
this.tBLSheekWaredBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.dSFellowship = new Fellowship.DataSources.DSFellowship();
this.gridViewData = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colSyndicateId = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemGridLookUpEditSyndicateId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
this.cDSyndicateBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.repositoryItemGridLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colSyndicate = new DevExpress.XtraGrid.Columns.GridColumn();
this.colEdaraId = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemGridLookUpEditEdaraId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
this.cDEDARETBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.colSheekMony = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemCalcEditf2 = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
this.colSheekNo = new DevExpress.XtraGrid.Columns.GridColumn();
this.colSheekDate = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemDateEditDMY = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
this.colEdaraSarfDate = new DevExpress.XtraGrid.Columns.GridColumn();
this.colNkapaSarfDate = new DevExpress.XtraGrid.Columns.GridColumn();
this.colEdaraMandopId = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemGridLookUpEditEdaraMandopId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
this.tBLEdaraMandopBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
this.colnkapaMandopId = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemGridLookUpEditnkapaMandopId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
this.tBLNkapaMandopBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.gridView4 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumnSave = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemButtonEditSave = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
this.gridColumnDelete = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemButtonEditDel = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
this.colEDARET = new DevExpress.XtraGrid.Columns.GridColumn();
this.tableAdapterManager = new Fellowship.DataSources.DSFellowshipTableAdapters.TableAdapterManager();
this.cDEDARETTableAdapter = new Fellowship.DataSources.DSFellowshipTableAdapters.CDEDARETTableAdapter();
this.cDSyndicateTableAdapter = new Fellowship.DataSources.DSFellowshipTableAdapters.CDSyndicateTableAdapter();
this.tBLEdaraMandopTableAdapter = new Fellowship.DataSources.DSFellowshipTableAdapters.TBLEdaraMandopTableAdapter();
this.tBLNkapaMandopTableAdapter = new Fellowship.DataSources.DSFellowshipTableAdapters.TBLNkapaMandopTableAdapter();
this.tBLSheekWaredTableAdapter = new Fellowship.DataSources.DSFellowshipTableAdapters.TBLSheekWaredTableAdapter();
this.colEDARET1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.colEdaraMandopName = new DevExpress.XtraGrid.Columns.GridColumn();
this.colnkapaMandopName = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
this.groupControl2 = new DevExpress.XtraEditors.GroupControl();
this.btnNew = new DevExpress.XtraEditors.SimpleButton();
((System.ComponentModel.ISupportInitialize)(this.gridControlData)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tBLSheekWaredBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dSFellowship)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridViewData)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditSyndicateId)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.cDSyndicateBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdit1View)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditEdaraId)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.cDEDARETBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEditf2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY.VistaTimeProperties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditEdaraMandopId)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tBLEdaraMandopBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditnkapaMandopId)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tBLNkapaMandopBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditSave)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditDel)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
this.groupControl1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
this.groupControl2.SuspendLayout();
this.SuspendLayout();
//
// gridControlData
//
this.gridControlData.DataSource = this.tBLSheekWaredBindingSource;
this.gridControlData.Dock = System.Windows.Forms.DockStyle.Fill;
this.gridControlData.EmbeddedNavigator.Buttons.Append.Visible = false;
this.gridControlData.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
this.gridControlData.EmbeddedNavigator.Buttons.Edit.Visible = false;
this.gridControlData.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
this.gridControlData.EmbeddedNavigator.Buttons.Remove.Visible = false;
this.gridControlData.Location = new System.Drawing.Point(2, 21);
//.........这里部分代码省略.........
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(RealtimeInfo));
this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl();
this.groupControl1_Realtime_Graphic = new DevExpress.XtraEditors.GroupControl();
this.groupControl_RealtimeStat_Graphic = new DevExpress.XtraEditors.GroupControl();
this.comboBoxEdit_Realtime_GraphicState = new DevExpress.XtraEditors.ComboBoxEdit();
this.notePanel_Realtime_GraphicState = new DevExpress.Utils.Frames.NotePanel();
this.comboBoxEdit_Realtime_GraphicClass = new DevExpress.XtraEditors.ComboBoxEdit();
this.comboBoxEdit_Realtime_GraphicGrade = new DevExpress.XtraEditors.ComboBoxEdit();
this.notePanel_Realtime_GraphicGrade = new DevExpress.Utils.Frames.NotePanel();
this.notePanel_Realtime_GraphicClass = new DevExpress.Utils.Frames.NotePanel();
this.notePanel_Realtime_Graphic = new DevExpress.Utils.Frames.NotePanel();
this.groupControl_Realtime_GraphicShow = new DevExpress.XtraEditors.GroupControl();
this.panelControl_Realtime_GraphicShow = new DevExpress.XtraEditors.PanelControl();
this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
this.simpleButton_RealTimeQuery_Graphic = new DevExpress.XtraEditors.SimpleButton();
this.simpleButton_Realtime_GraphicPrint = new DevExpress.XtraEditors.SimpleButton();
this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
this.groupControl_RealTime = new DevExpress.XtraEditors.GroupControl();
this.groupControl_RealTimeStat = new DevExpress.XtraEditors.GroupControl();
this.comboBoxEdit_RealTimeOption = new DevExpress.XtraEditors.ComboBoxEdit();
this.notePanel_RealTimeOption = new DevExpress.Utils.Frames.NotePanel();
this.comboBoxEdit_RealTimeClass = new DevExpress.XtraEditors.ComboBoxEdit();
this.comboBoxEdit_RealTimeGrade = new DevExpress.XtraEditors.ComboBoxEdit();
this.notePanel1_RealTimeGrade = new DevExpress.Utils.Frames.NotePanel();
this.notePanel1_RealTimeClass = new DevExpress.Utils.Frames.NotePanel();
this.notePanel_RealTime = new DevExpress.Utils.Frames.NotePanel();
this.gridControl_RealTimeMorning = new DevExpress.XtraGrid.GridControl();
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridControl_RealTimeBack = new DevExpress.XtraGrid.GridControl();
this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn();
this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
this.simpleButton_RealTimeQuery = new DevExpress.XtraEditors.SimpleButton();
this.simpleButton_RealTimePrint = new DevExpress.XtraEditors.SimpleButton();
this.saveFileDialog_Report = new System.Windows.Forms.SaveFileDialog();
this.helpProvider_RealtimeInfo_Student = new System.Windows.Forms.HelpProvider();
((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
this.xtraTabControl1.SuspendLayout();
this.xtraTabPage1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
this.splitContainerControl2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.groupControl1_Realtime_Graphic)).BeginInit();
this.groupControl1_Realtime_Graphic.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.groupControl_RealtimeStat_Graphic)).BeginInit();
this.groupControl_RealtimeStat_Graphic.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_Realtime_GraphicState.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_Realtime_GraphicClass.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_Realtime_GraphicGrade.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.groupControl_Realtime_GraphicShow)).BeginInit();
this.groupControl_Realtime_GraphicShow.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.panelControl_Realtime_GraphicShow)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
this.panelControl2.SuspendLayout();
this.xtraTabPage2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
this.splitContainerControl1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.groupControl_RealTime)).BeginInit();
this.groupControl_RealTime.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.groupControl_RealTimeStat)).BeginInit();
this.groupControl_RealTimeStat.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_RealTimeOption.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_RealTimeClass.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_RealTimeGrade.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridControl_RealTimeMorning)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridControl_RealTimeBack)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
this.panelControl1.SuspendLayout();
this.SuspendLayout();
//
// xtraTabControl1
//
this.xtraTabControl1.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
this.xtraTabControl1.Appearance.Options.UseBackColor = true;
this.xtraTabControl1.AppearancePage.HeaderActive.ForeColor = System.Drawing.Color.DarkOrange;
this.xtraTabControl1.AppearancePage.HeaderActive.Options.UseForeColor = true;
this.xtraTabControl1.Controls.Add(this.xtraTabPage1);
this.xtraTabControl1.Controls.Add(this.xtraTabPage2);
//.........这里部分代码省略.........
请发表评论