private void vsp_categorias_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
        {
            if (vsp_categorias.ActiveSheet.RowCount > 0)
            {
                string UrlImagen = "";
                int    fila      = vsp_categorias.ActiveSheet.ActiveRowIndex;
                UrlImagen = vsp_categorias.ActiveSheet.Cells[fila, 4].Text;

                //string UrlImagen = "";
                //UrlImagen = vsp_categoria_img.ActiveSheet.Cells[e.Row, 0].Tag.ToString();

                if (UrlImagen != "")
                {
                    Image img = null;
                    pb_categorias.Load(UrlImagen);
                    img           = pb_categorias.Image;
                    lblancho.Text = "Ancho: " + img.Width.ToString();
                    lblalto.Text  = "Alto: " + img.Height.ToString();
                    lblpixel.Text = "Pixeles: " + Image.GetPixelFormatSize(img.PixelFormat);

                    //    pb_categorias.ImageLocation = UrlImagen;
                    //    txtpath.Text = UrlImagen;
                }
                else
                {
                    pb_categorias.Image = null;
                    lblancho.Text       = "Ancho: ";
                    lblalto.Text        = "Alto: ";
                    lblpixel.Text       = "Pixeles: ";
                }
            }
        }
Example #2
0
 private void fpSpread1_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
 {
     if (this.fpSpread1_Sheet1.SelectionCount == 1)
     {
         if (this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.ActiveRowIndex, 8].Text == "已封存")
         {
             this.tbSeal.Enabled   = false;
             this.tbUnSeal.Enabled = true;
         }
         else if (this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.ActiveRowIndex, 8].Text == "未封存")
         {
             this.tbSeal.Enabled   = true;
             this.tbUnSeal.Enabled = false;
         }
         else
         {
             this.tbSeal.Enabled   = false;
             this.tbUnSeal.Enabled = false;
         }
     }
     else
     {
         this.tbSeal.Enabled   = true;
         this.tbUnSeal.Enabled = true;
     }
 }
Example #3
0
 private void fpSpread1_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
 {
     try
     {
         SetValue();
     }
     catch { }
 }
        private void fpPackageList_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
        {
            Neusoft.HISFC.Models.Pharmacy.Item selectNostrum = this.fpPackageList_Sheet1.Rows[this.fpPackageList_Sheet1.ActiveRowIndex].Tag as Neusoft.HISFC.Models.Pharmacy.Item;

            if (selectNostrum != null)
            {
                this.ShowNostrumDetail(this.fpPackageList_Sheet1.ActiveRowIndex, selectNostrum);
            }
        }
Example #5
0
        private void fsDrug_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
        {
            Neusoft.HISFC.Models.Fee.Item.Undrug item = this.fsDrug_Sheet1.Rows[this.fsDrug_Sheet1.ActiveRowIndex].Tag as Neusoft.HISFC.Models.Fee.Item.Undrug;

            if (this.ShowPrescriptionEvent != null)
            {
                this.ShowPrescriptionEvent(item, System.EventArgs.Empty);
            }
        }
        //{32553EB6-EF4D-4c61-A63A-17B3C850FC51}
        private void fpSpread1_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
        {
            int row = this.fpSpread1_Sheet1.ActiveRowIndex;

            if (this.fpSpread1_Sheet1.RowCount == 0)
            {
                return;
            }

            //{F26216A3-5256-40e8-BB6D-3D1C51B5F4BE} 通过1,2,3,4,5选择 20100102 yoyi++
            int curViewportTop = this.fpSpread1.GetViewportTopRow(0);

            this.fpSpread1_Sheet1.StartingRowNumber = 0 - curViewportTop + 1;

            string itemCode = this.fpSpread1_Sheet1.Cells[row, (int)Cols.ItemCode].Text;

            if (string.IsNullOrEmpty(itemCode))
            {
                return;
            }

            // GetDisplaySI(itemCode);

            string drugFlag = this.fpSpread1_Sheet1.Cells[row, (int)Cols.DrugFlag].Text;

            if (drugFlag.Trim() == "4")//协定处方
            {
                this.neuGroupBox1.Visible = true;
                this.neuGroupBox1.Width   = 233;

                List <Neusoft.HISFC.Models.Pharmacy.Nostrum> drugCombList = this.pharmacyIntegrage.QueryNostrumDetail(itemCode);
                if (drugCombList == null)
                {
                    MessageBox.Show("获得药品协议处方明细出错!" + this.pharmacyIntegrage.Err);

                    return;
                }

                this.neuSpread1_Sheet1.RowCount = 0;
                this.neuSpread1_Sheet1.RowCount = drugCombList.Count;

                for (int i = 0; i < drugCombList.Count; i++)
                {
                    Neusoft.HISFC.Models.Pharmacy.Nostrum n = drugCombList[i];

                    this.neuSpread1_Sheet1.Cells[i, 0].Text = n.Item.Name;
                    this.neuSpread1_Sheet1.Cells[i, 1].Text = n.Item.Price.ToString();
                    this.neuSpread1_Sheet1.Cells[i, 2].Text = n.Qty.ToString();
                }
            }
            else
            {
                this.neuGroupBox1.Visible = false;
                this.neuGroupBox1.Width   = 0;
            }
        }
Example #7
0
        /// <summary>
        /// farpoint选择单元格变化时
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void fpDepartmentInfo_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
        {
            //获取当前行索引
            int n = this._fpDepartmentInfo.ActiveSheet.ActiveCell.Row.Index;

            //当选择空行时,属性框为空
            if (CurrentUser.CurLoginUserInfo.Permission != Permission.普通用户.ToString())
            {
                propertyGrid.Enabled = this._fpDepartmentInfo.ActiveSheet.Cells[n, 1].Value == null ? false : true;
            }

            //若无数据则返回
            if (n < 2)
            {
                return;
            }

            //部门名称
            string name = "";
            //部门电话
            string tel = "";
            //部门邮箱
            string email = "";
            //部门人数
            string staff = "";
            //备注
            string remark = "";

            //从FarPoint上取值,检查值是否为空
            if (this._fpDepartmentInfo.ActiveSheet.Cells[n, 1].Value != null)
            {
                name = this._fpDepartmentInfo.ActiveSheet.Cells[n, 1].Value.ToString();
            }
            if (this._fpDepartmentInfo.ActiveSheet.Cells[n, 2].Value != null)
            {
                tel = this._fpDepartmentInfo.ActiveSheet.Cells[n, 2].Value.ToString();
            }
            if (this._fpDepartmentInfo.ActiveSheet.Cells[n, 3].Value != null)
            {
                email = this._fpDepartmentInfo.ActiveSheet.Cells[n, 3].Value.ToString();
            }
            if (this._fpDepartmentInfo.ActiveSheet.Cells[n, 4].Value != null)
            {
                staff = this._fpDepartmentInfo.ActiveSheet.Cells[n, 4].Value.ToString();
            }
            if (this._fpDepartmentInfo.ActiveSheet.Cells[n, 5].Value != null)
            {
                remark = this._fpDepartmentInfo.ActiveSheet.Cells[n, 5].Value.ToString();
            }

            //设置属性框的显示值
            DepartmentParameter dp = new DepartmentParameter(name, tel, email, staff, remark);

            //将值显示在属性窗口中
            SetPropertyGridEnt(dp);
        }
        private void fpClass2_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
        {
            if (this.fpClass2_Sheet1.RowCount == 0)
            {
                return;
            }

            //取当前操作的行中的数据
            this.GetClass2();
        }
Example #9
0
        private void fpSpread1_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
        {
            if (this.fpSpread1_Sheet1.RowCount == 0 || this.fpSpread1_Sheet1.ActiveRowIndex < 0)
            {
                return;
            }

            //显示床位信息
            this.ShowInfoForModify(this.myBed);
        }
Example #10
0
        private void fpSpread1_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
        {
//			if(this.bIsShowRowSelected)
//			{
//				for(int i=0;i<this.fpSpread1_Sheet1.Rows.Count-1;i++)
//				{
//					this.fpSpread1_Sheet1.Rows[i].BackColor=this.fpBackColor;
//				}
//				this.fpSpread1_Sheet1.Rows[fpSpread1_Sheet1.ActiveRowIndex].BackColor=Color.Blue;
//			}
        }
Example #11
0
 private void fpSpread1_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
 {
     this.myBed = this.fpSpread1_Sheet1.ActiveRow.Tag as Neusoft.HISFC.Models.Base.Bed;
     if (this.myBed == null)
     {
         this.lblShow.Text = "";
     }
     else
     {
         this.lblShow.Text = this.mypatientinfo.Name + " 选择 " + this.myBed.ID.Substring(4) + " 床";//{8ADDE7FC-0CF5-4e86-9B0A-41DFD058A400}
     }
 }
Example #12
0
 private void fpSpread1_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
 {
     this.myBed = this.fpSpread1_Sheet1.ActiveRow.Tag as Neusoft.HISFC.Models.Base.Bed;
     if (this.myBed == null)
     {
         this.lblShow.Text = "";
     }
     else
     {
         this.lblShow.Text = cmbInpatientNo.Text + " 选择 " + this.myBed.ID + " 床";
     }
 }
Example #13
0
 private void fpSpread1_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
 {
     if (this.nowDrugPrescription == this.neuSpread1_Sheet1.Cells[this.neuSpread1_Sheet1.ActiveRowIndex, 0].Text)
     {
         return;
     }
     else
     {
         this.nowDrugPrescription = this.neuSpread1_Sheet1.Cells[this.neuSpread1_Sheet1.ActiveRowIndex, 0].Text;
     }
     this.ShowPrescription();
 }
Example #14
0
        private void fpSpread1_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
        {
            // //{49390DE5-B54F-4b15-A012-208CDF288FF5}  可选择全部供货公司
            int rowIndex = this.neuSpread1_Sheet1.ActiveRowIndex;

            if (rowIndex >= 0)
            {
                Neusoft.HISFC.Models.Pharmacy.Pay info = this.neuSpread1_Sheet1.Rows[rowIndex].Tag as Neusoft.HISFC.Models.Pharmacy.Pay;
                if (this.company != null && this.company.ID == "AAAA")
                {
                    this.lbCompany.Text = "结存单位:" + this.company.Name + "        当前:" + this.companyHelper.GetName(info.Company.ID);
                }
            }

            this.ShowPayDetail();
        }
Example #15
0
        private void fpScreenList_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
        {
            if (shtScreenList.Rows.Count == 0)
            {
                return;
            }
            if (shtScreenList.ActiveRowIndex < 0)
            {
                return;
            }

            string ScreenCD = shtScreenList.Cells[shtScreenList.ActiveRowIndex, (int)eColScreenList.SCREEN_CD].Text;

            //LoadPermissionData(ScreenCD);
            tabPermission_SelectedIndexChanged(sender, e);
        }
Example #16
0
 private void fpSpread1_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
 {
     Neusoft.HISFC.Models.Order.Inpatient.Order order = this.sheetView1.Rows[this.sheetView1.ActiveRowIndex].Tag as Neusoft.HISFC.Models.Order.Inpatient.Order;
     if (order == null)
     {
         MessageBox.Show("获取医嘱实体信息时发生类型转换错误");
         return;
     }
     try
     {
         this.ucInputItem1.FeeItem = order.Item;
         this.txtQty.Text          = this.sheetView1.Cells[this.sheetView1.ActiveRowIndex, 4].Text;
         this.txtUnit.Text         = order.Unit;
     }
     catch
     { }
 }
Example #17
0
        private void fsDrug_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
        {
            if (this.nowDrugPrescription == this.fsDrug_Sheet1.Cells[this.fsDrug_Sheet1.ActiveRowIndex, 0].Text)
            {
                return;
            }
            else
            {
                this.nowDrugPrescription = this.fsDrug_Sheet1.Cells[this.fsDrug_Sheet1.ActiveRowIndex, 0].Text;
            }

            Neusoft.HISFC.Models.Preparation.EnumStencilItemTypeService s = new Neusoft.HISFC.Models.Preparation.EnumStencilItemTypeService();

            this.lbInformation.Text = this.fsDrug_Sheet1.Cells[this.fsDrug_Sheet1.ActiveRowIndex, (int)DrugColumnSet.ColTradeName].Text + "  " + this.GetDescriptionForStencilType(this.StencilType);

            this.ShowStencil();
        }
        private void fsDrug_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
        {
            if (this.nowDrugPrescription == this.fsDrug_Sheet1.Cells[this.fsDrug_Sheet1.ActiveRowIndex, 0].Text)
            {
                return;
            }
            else
            {
                this.nowDrugPrescription = this.fsDrug_Sheet1.Cells[this.fsDrug_Sheet1.ActiveRowIndex, 0].Text;
            }

            if (this.wrapperInterface != null)
            {
                this.wrapperInterface.Drug = this.drugHelper.GetObjectFromID(this.nowDrugPrescription) as Neusoft.HISFC.Models.Pharmacy.Item;
            }

            this.ShowPrescription();
        }
Example #19
0
        private void fpMenuSet_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
        {
            if (shtMenuSet.Rows.Count == 0)
            {
                return;
            }

            int activeRow = shtMenuSet.ActiveRowIndex;

            if (shtMenuSet.ActiveRowIndex < 0)
            {
                return;
            }
            if (m_OldActiveRow == activeRow)
            {
                return;
            }
            LoadMenuSetDetail();
        }
        /// <summary>
        /// farpoint选择变化时
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void fpUserInfo_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
        {
            //获取选择行的行索引
            int n = this._fpUserGroupInfo.ActiveSheet.ActiveCell.Row.Index;

            //设定属性窗口是否启用,当选择的单元格所在行,无用户组名称时,不启用
            if (CurrentUser.CurLoginUserInfo.Permission != Permission.普通用户.ToString())
            {
                _propInfo.Enabled = this._fpUserGroupInfo.ActiveSheet.Cells[n, 1].Value == null ? false : true;
            }

            //点击标题时,返回
            if (n < 2)
            {
                return;
            }

            //组名
            string groupname = "";
            //人数
            string usercount = "";
            //备注
            string remark = "";

            if (this._fpUserGroupInfo.ActiveSheet.Cells[n, 1].Value != null)
            {
                groupname = this._fpUserGroupInfo.ActiveSheet.Cells[n, 1].Value.ToString();
            }
            if (this._fpUserGroupInfo.ActiveSheet.Cells[n, 2].Value != null)
            {
                usercount = this._fpUserGroupInfo.ActiveSheet.Cells[n, 2].Value.ToString();
            }
            if (this._fpUserGroupInfo.ActiveSheet.Cells[n, 3].Value != null)
            {
                remark = this._fpUserGroupInfo.ActiveSheet.Cells[n, 3].Value.ToString();
            }

            //属性窗口显示的值
            UserGroupParameter ugp = new UserGroupParameter(groupname, usercount, remark);

            //设置属性值
            SetPropertyGridEnt(ugp);
        }
Example #21
0
        private void fpQueryList_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
        {
            this.shtView.DataSource  = null;
            this.shtView.RowCount    = 0;
            this.shtView.ColumnCount = 0;
            this.m_dtAllData         = null;

            if (m_dtQueryList != null)
            {
                object o = shtQueryList.Cells[e.Range.Row, (int)eColQueryList.ID].Value;

                if (o != null)
                {
                    string strID = Convert.ToString(o);

                    DataRow[] dr = m_dtQueryList.Select(eColQueryList.ID.ToString() + "='" + strID + "'");

                    //DataView dv = m_dtQueryList.DefaultView;
                    //dv.RowFilter = eColQueryList.ID.ToString() + "='" + strID + "'";

                    if (dr.Length > 0)
                    {
                        QueryLunchDTO dto = DTOUtility.ConvertDataRowToDTO <QueryLunchDTO>(dr[0]);


                        this.txtSearch.Text      = dto.SQLCommand;
                        this.txtStartRow.Text    = Convert.ToString(dto.StartRow);
                        this.txtStartColumn.Text = Convert.ToString(dto.StartColumn);
                        this.txtTemplate.Text    = dto.ExcelTemplate;

                        //this.txtSearch.Text = dr[0]["SQLCommand"].ToString();//dto.SQLCommand;
                        //this.txtStartRow.Text = dr[0]["StartRow"].ToString();//Convert.ToString(dto.StartRow);
                        //this.txtStartColumn.Text = dr[0]["StartColumn"].ToString();//Convert.ToString(dto.StartColumn);
                        //this.txtTemplate.Text = dr[0]["ExcelTemplate"].ToString();//dto.ExcelTemplate;
                    }
                }
            }
        }
Example #22
0
        private void fpScreenList_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
        {
            try
            {
                if (shtScreenList.Rows.Count == 0)
                {
                    return;
                }
                int activeRow = shtScreenList.ActiveRowIndex;
                if (activeRow == m_LastActiveRow)
                {
                    return;
                }
                string screenCD  = shtScreenList.Cells[activeRow, (int)eColScreen.SCREEN_CD].Text;
                string langCD    = (cboLanguage.SelectedValue != null) ? cboLanguage.SelectedValue.ToString() : CommonLib.Common.CurrentUserInfomation.LanguageCD.StrongValue;
                string keyFilter = txtFindScreenDetail.Text;
                string imageCD   = shtScreenList.Cells[shtScreenList.ActiveRowIndex, (int)eColScreen.IMAGE_CD].Text;

                ImageItem imageItem = ImageCache.GetInstance().Get(imageCD);
                if (imageItem == null)
                {
                    picIconDisplay.Image = null;
                }
                else
                {
                    picIconDisplay.Image = imageItem.ImageBin;
                }

                LoadScreenDetailList(screenCD, langCD, keyFilter);
                m_LastActiveRow = shtScreenList.ActiveRowIndex;
            }
            catch (Exception ex)
            {
                MessageDialog.ShowBusiness(this, ex.Message);
            }
        }
Example #23
0
 private void fpScreen_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
 {
     UpdateButtonMoveEnable();
 }
Example #24
0
 private void fpSpread1_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
 {
     this.SetReturnFee(e.Range.Row);
 }
Example #25
0
 private void neuSpread1_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
 {
     this.ShowPayDetail();
 }
Example #26
0
 private void neuSpread2_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
 {
     //this.SelectionChanged(2);
 }
 /// <summary>
 /// 财务组选择
 /// </summary>
 private void fpGroup_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
 {
     ChangeFinanceEmployee(1);
 }
        protected override void OnSelectionChanged(FarPoint.Win.Spread.SelectionChangedEventArgs e)
        {
            int       reportColumnRowIndex = ReportColumnRowIndex;
            CellRange cellRange            = e.Range;

            //清空当前选择的报表列。
            reportColumnSelected = null;

            if (cellRange.IntersectRow(reportColumnRowIndex))
            {
                if (e.Range.Row >= 0 && e.Range.Column >= 0)
                {
                    if (sheetMain.ActiveRowIndex < reportColumnRowIndex)
                    {
                        sheetMain.AddSelection(cellRange.Row, cellRange.Column, cellRange.RowCount - 1, cellRange.ColumnCount);
                        cellRange = new CellRange(cellRange.Row, cellRange.Column, cellRange.RowCount - 1, cellRange.ColumnCount);
                    }
                    else if (sheetMain.ActiveRowIndex > reportColumnRowIndex)
                    {
                        sheetMain.AddSelection(cellRange.Row + 1, cellRange.Column, cellRange.RowCount - 1, cellRange.ColumnCount);
                        cellRange = new CellRange(cellRange.Row + 1, cellRange.Column, cellRange.RowCount - 1, cellRange.ColumnCount);
                    }
                }
            }
            HeaderSettingCommandStatus commandStatus;

            this.cellRange = cellRange;
            if (cellRange.Row < 0)
            {
                commandStatus = HeaderSettingCommandStatus.SelectColumn;
            }
            else if (cellRange.Column < 0)
            {
                commandStatus = HeaderSettingCommandStatus.SelectRow;
            }
            else if (cellRange.Row == reportColumnRowIndex)
            {
                reportColumnSelected = sheetMain.Cells[cellRange.Row, cellRange.Column].Tag as Column;
                if (reportColumnSelected != null)
                {
                    commandStatus = HeaderSettingCommandStatus.SelectReportColumn;
                }
                else
                {
                    commandStatus = HeaderSettingCommandStatus.Null;
                }
            }
            else
            {
                commandStatus = HeaderSettingCommandStatus.SelectCell;
            }

            this.commandStatus = commandStatus;
            ManualHeaderSettingCommandStatusChanged();

            if (this.commandStatus == HeaderSettingCommandStatus.SelectReportColumn)
            {
                if (canEditColumn && reportColumnSelected != null)
                {
                    if (reportColumnPropertyEditor == null)
                    {
                        reportColumnPropertyEditor = new ReportColumnPropertyEditor();
                        reportColumnPropertyEditor.HeaderSettingFpSpreadChanged += new HeaderSettingFpSpreadChangedHandle(reportColumnPropertyEditor_HeaderSettingFpSpreadChanged);
                        reportColumnPropertyEditor.Init();
                        Form parentForm = WindowManager.GetTopParentForm(this);
                        parentForm.AddOwnedForm(reportColumnPropertyEditor);
                        parentForm.SizeChanged     += new EventHandler(parentForm_SizeChanged);
                        parentForm.LocationChanged += new EventHandler(parentForm_LocationChanged);
                    }
                    #region 获得Fp在屏幕上的显示区域。
                    Rectangle screenRectangle = GetScreenRectangle();
                    //与屏幕区域求交集。
                    screenRectangle = Rectangle.Intersect(screenRectangle, Screen.PrimaryScreen.Bounds);
                    #endregion
                    #region 获得Cell在屏幕上的显示区域。
                    Rectangle cellScreenRectangle = GetCellScreenRectangle(cellRange.Row, cellRange.Column);
                    //与Fp区域求交集。
                    cellScreenRectangle = Rectangle.Intersect(cellScreenRectangle, screenRectangle);
                    #endregion
                    #region 去除RowHeader的宽。
                    int rowHeaderWidth = (int)sheetMain.RowHeader.Columns[0].Width;
                    screenRectangle = new Rectangle(screenRectangle.X + rowHeaderWidth, screenRectangle.Y, screenRectangle.Width - rowHeaderWidth, screenRectangle.Height);
                    #endregion
                    Point point = cellScreenRectangle.Location;
                    point.Offset(cellScreenRectangle.Size.Width / 2, cellScreenRectangle.Size.Height);
                    reportColumnPropertyEditor.ShowColumnProperty(reportColumnSelected, screenRectangle, point);
                }
            }
            else
            {
                HideReportColumnPropertyEditor();
            }
            base.OnSelectionChanged(e);
        }
Example #29
0
File: Form1.cs Project: lixiao43/VS
 private void fpSpread1_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
 {
 }
 void neuSpread1_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
 {
     OnSort();
 }