public void OnMsgBox_AppendGoldGet_Ok() { body_CS_POST_GOLD_RECIEVE goldRecieve = new body_CS_POST_GOLD_RECIEVE( readMailInfo.nPostSerial); byte[] data = goldRecieve.ClassToPacketBytes(); AsNetworkMessageHandler.Instance.Send( data); recvGold.Text = "0"; readMailInfo.nGold = 0; }
private void _AppendGoldGet() { if( true == _isOpenMsgBox()) return; if( null == readMailInfo || 0 == readMailInfo.nGold) return; if( true == readMailInfo.bAccount) { Color titleColor = new Color( 1.0f, 0.494f, 0.0f, 1.0f); string title = titleColor.ToString() + AsTableManager.Instance.GetTbl_String(1442); string msg = AsTableManager.Instance.GetTbl_String(1443); m_msgboxItem = AsNotify.Instance.MessageBox( title, msg, this, "OnMsgBox_AppendGoldGet_Ok", "OnMsgBox_AppendGoldGet_Cancel", AsNotify.MSG_BOX_TYPE.MBT_OKCANCEL, AsNotify.MSG_BOX_ICON.MBI_QUESTION); } else { body_CS_POST_GOLD_RECIEVE goldRecieve = new body_CS_POST_GOLD_RECIEVE( readMailInfo.nPostSerial); byte[] data = goldRecieve.ClassToPacketBytes(); AsNetworkMessageHandler.Instance.Send( data); recvGold.Text = "0"; readMailInfo.nGold = 0; } }