CentralMine.NET.ClientManager.SetCurrency C# (CSharp) Method

SetCurrency() public method

public SetCurrency ( Currency c ) : void
c System.Currency
return void
        public void SetCurrency(Currency c)
        {
            //if (mCurrency != c)
            //{
            //    mEventLog.RecordEvent(EventLog.EventType.Server, string.Format("Currency changed from: {0} to {1}", mCurrency, c));
            //    mCurrency = c;
            //}
        }

Usage Example

Example #1
0
 private void protocol_SelectedIndexChanged(object sender, EventArgs e)
 {
     mTheMan.SetCurrency((ClientManager.Currency)protocol.SelectedItem);
 }