当前位置: 首页>>代码示例>>C#>>正文


C# FocusedRowChangedEventArgs类代码示例

本文整理汇总了C#中FocusedRowChangedEventArgs的典型用法代码示例。如果您正苦于以下问题:C# FocusedRowChangedEventArgs类的具体用法?C# FocusedRowChangedEventArgs怎么用?C# FocusedRowChangedEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


FocusedRowChangedEventArgs类属于命名空间,在下文中一共展示了FocusedRowChangedEventArgs类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: gridView_FocusedRowChanged

 private void gridView_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
 {
     var row = gridView.GetFocusedRow() as MelaveMalkaInfo;
     uploadAdBlank.Visibility = row == null ? BarItemVisibility.OnlyInCustomizing : BarItemVisibility.Always;
     if (row != null)
         uploadAdBlank.Caption = "Upload " + row.Year + " Ad Blank";
 }
开发者ID:SyedArifulIslamEmon,项目名称:Billing,代码行数:7,代码来源:MMInfoForm.cs

示例2: OnFocusedMessageChanged

 private void OnFocusedMessageChanged(object sender, FocusedRowChangedEventArgs e)
 {
     if (Model != null)
     {
         Model.FocusedMessage = e.NewRow as MessageInfo;
     }
 }
开发者ID:roycornelissen,项目名称:ServiceInsight,代码行数:7,代码来源:MessageListView.xaml.cs

示例3: gridView1_FocusedRowChanged

 void gridView1_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
 {
     if (FocusedRowChanged != null)
     {
         FocusedRowChanged(gridView1, gridView1.GetFocusedRow() as bdjl_yxgzjlb);
     }
 }
开发者ID:s7loves,项目名称:mypowerscgl,代码行数:7,代码来源:Ucm_yxgzjlb.cs

示例4: gvCharset_FocusedRowChanged

 private void gvCharset_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
 {
   var encodingInfo = (EncodingInfo) gvCharset.GetFocusedRow();
   if (encodingInfo == null)
     return;
   this.currentEncoding = Encoding.GetEncoding(encodingInfo.Name);
   this.RaiseEncodingChanged();
 }
开发者ID:CIHANGIRCAN,项目名称:ChanSort,代码行数:8,代码来源:CharsetForm.cs

示例5: gridView1_FocusedRowChanged

        void gridView1_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
        {
            if (FocusedRowChanged != null)
            {
                FocusedRowChanged(gridView1, gridView1.GetFocusedRow() as E_UserPrizeRecord);
            }
            CheckDH();

        }
开发者ID:s7loves,项目名称:mypowerscgl,代码行数:9,代码来源:UCE_UserPrizeRecord.cs

示例6: gridView_FocusedRowChanged

        private void gridView_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
        {
            if (SelectedRow == null)
                personSelector.Hide();
            else {
                try {
                    changingRow = true;
                    personSelector.SelectedPerson = SelectedRow.Person;
                } finally { changingRow = false; }

                personSelector.Show();
            }
        }
开发者ID:SyedArifulIslamEmon,项目名称:Billing,代码行数:13,代码来源:EmailListForm.cs

示例7: gvCharacters_FocusedRowChanged

 private void gvCharacters_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
 {
     int[] selectedRows = this.gvCharacters.GetSelectedRows();
     if (selectedRows.Length > 0)
     {
         this.SelectedCharacter = this.gvCharacters.GetRow(this.gvCharacters.GetRowHandle(selectedRows[0])) as PlayerCharacter;
         this.RefreshCharacterDisplay();
         this.skinButtonDeleteCharacter.Enabled = true;
         this.skinButtonOK.Enabled = true;
     }
     else
     {
         this.SelectedCharacter = null;
         this.skinButtonDeleteCharacter.Enabled = false;
         this.skinButtonOK.Enabled = false;
     }
 }
开发者ID:micheljung,项目名称:gpgnetfix,代码行数:17,代码来源:DlgCharacterSelect.cs

示例8: gridView1_FocusedRowChanged

 void gridView1_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
 {
     E_Prize p = gridView1.GetFocusedRow() as E_Prize;
     if (p!=null)
     {
         if (p.Price>Eus.CurrtenScore)
         {
             barButtonItem1.Enabled = false;
         }
         else
         {
             barButtonItem1.Enabled = true;
         }
     }
     if (FocusedRowChanged != null)
         FocusedRowChanged(gridView1, gridView1.GetFocusedRow() as E_Prize);
 }
开发者ID:s7loves,项目名称:mypowerscgl,代码行数:17,代码来源:UCE_PrizeLeft.cs

示例9: propertyGridControl1_FocusedRowChanged

 private void propertyGridControl1_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
 {
     PropertyDescriptor descriptor = null;
     if (e.Row != null) descriptor = propertyGridControl1.GetPropertyDescriptor(e.Row);
     if (descriptor != null)
     {
         lbCaption.Text = descriptor.Name;
         pnlHint.Text = descriptor.Description;
     }
     else if (e.Row != null)
     {
         lbCaption.Text = e.Row.Properties.Caption;
         pnlHint.Text = string.Empty;
     }
     else
     {
         lbCaption.Text = pnlHint.Text = string.Empty;
     }
     SetPanelHeight();
 }
开发者ID:JodenSoft,项目名称:JodenSoft,代码行数:20,代码来源:PropertyGrid.cs

示例10: gridView_FocusedRowChanged

 private void gridView_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
 {
     if (e.PrevFocusedRowHandle < 0) return;
     var prevRow = (MelaveMalkaSeat)gridView.GetRow(e.PrevFocusedRowHandle);
     if (prevRow != null && prevRow.MensSeats == null && prevRow.WomensSeats == null)
         prevRow.RemoveRow();
 }
开发者ID:SyedArifulIslamEmon,项目名称:Billing,代码行数:7,代码来源:SeatingForm.cs

示例11: GridViewParent_FocusedRowChanged

 private void GridViewParent_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
 {
     // Event : FocusedRowChanged
     ChildDataUpdate();
 }
开发者ID:labeuze,项目名称:source,代码行数:5,代码来源:XtraGrid.cs

示例12: gridView1_FocusedRowChanged

 private void gridView1_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
 {
     if (e.FocusedRowHandle < 0)
     {
         gridView1.Columns["Materia"].OptionsColumn.AllowEdit = true;
         gridView1.Columns["Clave"].OptionsColumn.AllowEdit = true;
         gridView1.Columns["Grupo"].OptionsColumn.AllowEdit = true;
     }
     sClave = "";
     sMateria = "";
 }
开发者ID:leonmalakian,项目名称:horariomaster,代码行数:11,代码来源:GridControlAsignaMateria.cs

示例13: gridView_FocusedRowChanged

 private void gridView_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
 {
     if (FocusedEntity != null)
     {
         if (FocusedEntity.BeginTime >= DateTime.Today)
             deleteEnable = true;
         else
             deleteEnable = false;    
     }
     UpdateBarButtonEnable();
 }
开发者ID:5509850,项目名称:baumax,代码行数:11,代码来源:UCLunchBrakes.cs

示例14: gviewLeft_FocusedRowChanged

 private void gviewLeft_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
 {
     TryExecute(UpdateInsertSlotNumber);
 }
开发者ID:Morphipapa,项目名称:ChanSort,代码行数:4,代码来源:MainForm.cs

示例15: view_FocusedRowChanged

 void view_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e) {
     if (alphaChange != null) alphaChange.Dispose();
     alphaChange = new Timer();
     alphaChange.Interval = 200;
     alphaChange.Tick += (s, ee) =>
     {
         gidControlUserManage.DataSource = ApplyFilter(DataHelper.UserInfos, ((GridView)sender).GetFocusedRow() as AlphaIndex);
         ((Timer)s).Dispose();
         this.alphaChange = null;
         UpdateInfo();
     };
     alphaChange.Start();
 }
开发者ID:shine8319,项目名称:DLS,代码行数:13,代码来源:UserManage.cs


注:本文中的FocusedRowChangedEventArgs类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。