Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.border = ((System.Windows.Controls.Border)(target));
                return;

            case 2:
                this.grid = ((unvell.ReoGrid.ReoGridControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\MainWindow.xaml"
                ((Calendar.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.grid = ((unvell.ReoGrid.ReoGridControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #3
0
        private void toolStripLabel3_Click_1(object sender, EventArgs e)
        {
            AddSujPart_Form1 objUI = new AddSujPart_Form1();// for default values

            //for (int r = 0; r < TotSems.Rows.Count; r++)
            //{
            //    for (int c = 0; c < TotSems.Columns.Count; c++)
            //    {
            //        rGrid.CurrentWorksheet[0, c] = TotSems.Columns[c].ColumnName;
            //        rGrid.CurrentWorksheet[r + 1, c] = TotSems.Rows[r].ItemArray[c].ToString();
            //    }
            //}

            var rGrid2 = new unvell.ReoGrid.ReoGridControl();

            rGrid2.BackColor = System.Drawing.Color.White;
            rGrid2.ColumnHeaderContextMenuStrip = null;
            rGrid2.LeadHeaderContextMenuStrip   = null;
            rGrid2.Location = new System.Drawing.Point(175, 64);
            rGrid2.Name     = "rGrid";
            rGrid2.RowHeaderContextMenuStrip = null;
            rGrid2.Script = null;
            rGrid2.SheetTabContextMenuStrip = null;
            rGrid2.SheetTabNewButtonVisible = true;
            rGrid2.SheetTabVisible          = true;
            rGrid2.SheetTabWidth            = 400;
            rGrid2.ShowScrollEndSpacing     = true;
            rGrid2.Size     = new System.Drawing.Size(805, 491);
            rGrid2.TabIndex = 2;
            rGrid2.Text     = "reoGridControl1";
            rGrid2.Click   += new System.EventHandler(this.rGrid_Click);



            Form3_AddGrid objUI3 = new Form3_AddGrid();

            objUI3.ShowDialog();
        }
Beispiel #4
0
 public ClientAccessibleObject(ReoGridControl owner) : base(owner)
 {
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtTemplateName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.txtSelectTemplate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:

            #line 39 "..\..\FieldsCreator.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnSelectTemplateFile_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.reoGridControl = ((unvell.ReoGrid.ReoGridControl)(target));

            #line 42 "..\..\FieldsCreator.xaml"
                this.reoGridControl.CurrentWorksheetChanged += new System.EventHandler(this.reoGridControl_CurrentWorksheetChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.cmbFieldNames = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.txtRow = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.txtColumn = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.txtSheet = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.lblFieldError = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:

            #line 66 "..\..\FieldsCreator.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnAddField_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 67 "..\..\FieldsCreator.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnResetFieldsInfo_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.fieldDataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 76 "..\..\FieldsCreator.xaml"
                this.fieldDataGrid.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.fieldDataGrid_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 76 "..\..\FieldsCreator.xaml"
                this.fieldDataGrid.Loaded += new System.Windows.RoutedEventHandler(this.fieldDataGrid_Loaded);

            #line default
            #line hidden
                return;

            case 13:

            #line 78 "..\..\FieldsCreator.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.saveButton_Click);

            #line default
            #line hidden
                return;

            case 14:

            #line 79 "..\..\FieldsCreator.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.cancelButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #6
0
 internal ReoGridWPFControlAdapter(ReoGridControl canvas)
 {
     this.canvas = canvas;
 }
Beispiel #7
0
 public void AttchGrid(ReoGridControl grid)
 {
     grid.CellDataChanged += new EventHandler <CellEventArgs>(grid_CellDataChanged);
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 34 "..\..\..\ChartBuilderDialog\ChartBuilderView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveAs_Click);

            #line default
            #line hidden
                return;

            case 2:

            #line 35 "..\..\..\ChartBuilderDialog\ChartBuilderView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Import_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 36 "..\..\..\ChartBuilderDialog\ChartBuilderView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ResetSheet_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 38 "..\..\..\ChartBuilderDialog\ChartBuilderView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Close_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 58 "..\..\..\ChartBuilderDialog\ChartBuilderView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DesignateDescriptor_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 63 "..\..\..\ChartBuilderDialog\ChartBuilderView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.CollapseItems_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 68 "..\..\..\ChartBuilderDialog\ChartBuilderView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DesignateRoll_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 73 "..\..\..\ChartBuilderDialog\ChartBuilderView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DesignateSubroll_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.grid = ((unvell.ReoGrid.ReoGridControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #9
0
 public RGCellMouseEventArgs(ReoGridControl grid, ReoGridCell cell, Point cursorPos, MouseButtons buttons, int clicks)
     : this(grid, cell, cell == null ? ReoGridPos.Empty : cell.Pos, cursorPos, buttons, clicks)
 {
 }
Beispiel #10
0
 public RGCellMouseEventArgs(ReoGridControl grid, ReoGridCell cell)
     : this(grid, cell, cell.Pos, Point.Empty, MouseButtons.None, 0)
 {
 }
Beispiel #11
0
 public RGCellMouseEventArgs(ReoGridControl grid, ReoGridPos cellPosition, Point cursorPos, MouseButtons buttons, int clicks)
     : this(grid, null, cellPosition, cursorPos, buttons, clicks)
 {
 }
Beispiel #12
0
 public RGCellMouseEventArgs(ReoGridControl grid, ReoGridPos cellPosition)
     : this(grid, null, cellPosition, Point.Empty, MouseButtons.None, 0)
 {
 }
Beispiel #13
0
 public void AttchGrid(ReoGridControl grid)
 {
     grid.CellDataChanged += new EventHandler<RGCellEventArgs>(grid_CellDataChanged);
 }
Beispiel #14
0
 public SGStyleTrigger(ReoGridControl grid)
 {
     grid.CellStyleChanged += new EventHandler<ReoGridCellEventArgs>(grid_CellStyleChanged);
 }
Beispiel #15
0
 public RGHTMLExporter(ReoGridControl grid)
 {
     this.Grid = grid;
 }
Beispiel #16
0
 public WinFormControlAdapter(ReoGridControl control)
 {
     this.control = control;
 }
Beispiel #17
0
 public RGCellMouseEventArgs(ReoGridControl grid, ReoGridCell cell, ReoGridPos cellPosition,
     Point cursorPos, MouseButtons buttons, int clicks)
 {
     this.Grid = grid;
     this.Cell = cell;
     this.CursorPosition = cursorPos;
     this.Buttons = buttons;
     this.Clicks = clicks;
     this.CellPosition = cellPosition;
 }
Beispiel #18
0
 public SGStyleTrigger(ReoGridControl grid)
 {
     grid.CellStyleChanged += new EventHandler <ReoGridCellEventArgs>(grid_CellStyleChanged);
 }
Beispiel #19
0
        void Instance_StartTestSet(object sender, TestSetEventArgs e)
        {
            Console.WriteLine("Test suite: " + e.TestSetInfo.Name);

            if (e.TestSetInfo.Instance is ReoGridTestSet)
            {
                if (this.grid == null)
                {
                    this.grid = new ReoGridControl();
                }
                ((ReoGridTestSet)e.TestSetInfo.Instance).Grid = this.grid;
            }
        }