예제 #1
0
 void DisplayFloatErrorText(string strText, string strColor = "")
 {
     if (this.DisplayError != null)
     {
         DisplayErrorEventArgs e = new DisplayErrorEventArgs();
         e.Text = strText;
         e.Color = strColor;
         this.DisplayError(this, e);
     }
 }
예제 #2
0
 private void entityRegisterControl1_DisplayError(object sender, DisplayErrorEventArgs e)
 {
     SetFloatMessage(e.Color, e.Text);
 }