本文整理汇总了C#中XG_Control类的典型用法代码示例。如果您正苦于以下问题:C# XG_Control类的具体用法?C# XG_Control怎么用?C# XG_Control使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
XG_Control类属于命名空间,在下文中一共展示了XG_Control类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Button_Clicked
public void Button_Clicked(XG_Control sender )
{
if (Firstime)
{
Selfdisplay = true;
Firstime = false;
}
if (!Selfdisplay)
{
if (this.DisplayValue)
{
this._Value = false;
}
else
{
this._Value = true;
}
}
else
{
if (this._Value)
{
this._Value = false;
}
else
{
this._Value = true;
}
}
if (sender != null)
{
if (sender.Enabled)
{
this.NotifyClicked();
}
}
else { this.NotifyClicked(); }
}
示例2: Square_Clicked
public void Square_Clicked(XG_Control sender=null)
{
Set_Clicked( sender);
Mod.polygons.CreateRectangle();
}
示例3: Scrollbar_ValueChanged
void Scrollbar_ValueChanged(XG_Control sender)
{
XGVScrollbar scrollBar = sender as XGVScrollbar;
if (scrollBar == null)
return;
float value = scrollBar.Value;
TopItemIndex = (int)value;
}
示例4: Clear_Clicked
void Clear_Clicked(XG_Control sender)
{
Mod.polygons.Clear();
}
示例5: Set_Clicked
void Set_Clicked(XG_Control sender)
{
Mod.stopVectoring = true;
}
示例6: Casa_Clicked
void Casa_Clicked(XG_Control sender)
{
Mod.polygons.CreateRectangle(Vector2.Zero, Vector2.Zero);
Mod.polygons.casa();
}
示例7: Fill_Clicked
public void Fill_Clicked(XG_Control sender = null)
{
Mod.polygons.fill = Fill.Value;
if (Mod.polygons.fill)
{
Mod.polygons.canfill = true;
Mod.polygons.fillin(false);
}
else { Mod.polygons.activeFill.Clear(); }
}
示例8: unban_Clicked
void unban_Clicked(XG_Control sender)
{
NetMessage.SendData(25, -1, -1, "/unban " + Mod.addquotes(Mod.SelectedPlayer.name) + " " + Region.Text);
}
示例9: Size_Clicked
void Size_Clicked(XG_Control sender)
{
selSize = (int)Count.Value;
}
示例10: SetSpawn_Clicked
void SetSpawn_Clicked(XG_Control sender)
{
if (SetSpawn.Value)
{
RemoveSpawn.Value = false;
}
}
示例11: SendAllSpawns_Clicked
void SendAllSpawns_Clicked(XG_Control sender)
{
sendnpcgroup();
}
示例12: RemoveAllSpawns_Clicked
void RemoveAllSpawns_Clicked(XG_Control sender)
{
Mod.spawnText.Clear();
}
示例13: OnClick_Clicked
void OnClick_Clicked(XG_Control sender)
{
if (OnClick.Value)
{
GodFinger.Value = false;
}
}
示例14: Godfinger_Clicked
void Godfinger_Clicked(XG_Control sender)
{
if (GodFinger.Value)
{
OnClick.Value = false;
}
}
示例15: Triangle_Clicked
public void Triangle_Clicked(XG_Control sender = null)
{
Set_Clicked(sender);
Mod.polygons.CreateTriangle(Vector2.Zero, Mod.polygons.radius);
}