本文整理汇总了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";
}
示例2: OnFocusedMessageChanged
private void OnFocusedMessageChanged(object sender, FocusedRowChangedEventArgs e)
{
if (Model != null)
{
Model.FocusedMessage = e.NewRow as MessageInfo;
}
}
示例3: gridView1_FocusedRowChanged
void gridView1_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
{
if (FocusedRowChanged != null)
{
FocusedRowChanged(gridView1, gridView1.GetFocusedRow() as bdjl_yxgzjlb);
}
}
示例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();
}
示例5: gridView1_FocusedRowChanged
void gridView1_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
{
if (FocusedRowChanged != null)
{
FocusedRowChanged(gridView1, gridView1.GetFocusedRow() as E_UserPrizeRecord);
}
CheckDH();
}
示例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();
}
}
示例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;
}
}
示例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);
}
示例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();
}
示例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();
}
示例11: GridViewParent_FocusedRowChanged
private void GridViewParent_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
{
// Event : FocusedRowChanged
ChildDataUpdate();
}
示例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 = "";
}
示例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();
}
示例14: gviewLeft_FocusedRowChanged
private void gviewLeft_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
{
TryExecute(UpdateInsertSlotNumber);
}
示例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();
}