IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.

IG::Forms::FadeMessage Class Reference

Summary description for FadeMessage. More...

Collaboration diagram for IG::Forms::FadeMessage:

List of all members.

Public Member Functions

 FadeMessage ()
 FadeMessage (string msgtext)
 Shows a fading message in a new thread, with message text equal to mshtext and without a title;.
 FadeMessage (string msgtext, int showtime)
 Shows a fading message in a new thread, with message text equal to msgtext and with specified showing time in ms.
 FadeMessage (string msgtext, int showtime, double fadeportion)
 Shows a fading message in a new thread, with message text equal to msgtext and with specified showing time in ms and fading time portion.
 FadeMessage (string title, string msgtext)
 Shows the form in a new thread, with a title and with message text equal to msgtext.
 FadeMessage (string title, string msgtext, int showtime)
 Shows a fading message in a new thread, with a title and with message text equal to msgtext, with specified showing time in ms.
 FadeMessage (string title, string msgtext, int showtime, double fadeportion)
 Shows a fading message in a new thread, with a title and with message text equal to msgtext, with specified showing time in ms and fading time portion.
void HideDialog ()
void CloseDialog ()
void ShowThread ()
 Shows a fading message in a new thread.
void ShowThread (string text)
 Shows a fading message in a new thread, with message text equal to mshtext and without a title;.
void ShowThread (string msgtext, int showtime)
 Shows a fading message in a new thread, with message text equal to msgtext and with specified showing time in ms.
void ShowThread (string msgtext, int showtime, double fadeportion)
 Shows a fading message in a new thread, with message text equal to msgtext and with specified showing time in ms and fading time portion.
void ShowThread (string title, string text)
 Shows the form in a new thread, with a title and with message text equal to msgtext.
void ShowThread (string title, string msgtext, int showtime)
 Shows a fading message in a new thread, with a title and with message text equal to msgtext, with specified showing time in ms.
void ShowThread (string title, string msgtext, int showtime, double fadeportion)
 Shows a fading message in a new thread, with a title and with message text equal to msgtext, with specified showing time in ms and fading time portion.

Public Attributes

string MsgTitle = null
Color BackGroundColor = Color.LightYellow

Properties

int ShowTime [get, set]
double FadingTimePortion [get, set]

Private Member Functions

void baseFadeMessage ()
 Required designer variable.
void InitializeComponent ()
 Required method for Designer support - do not modify the contents of this method with the code editor.
void FadeMessage_MouseMove (object sender, MouseEventArgs e)
void FadeMessage_MouseDown (object sender, MouseEventArgs e)
void ManipulationThreadFunc ()
void FormThreadFunc ()
void timer1_Tick (object sender, EventArgs e)
void SetFadeLevel (double fadefactor)
void FadeMessage_Load (object sender, System.EventArgs e)
void CancelBtn_Click (object sender, EventArgs e)
void FadeMessage_MouseClick (object sender, MouseEventArgs e)

Private Attributes

System.Windows.Forms.Button CancelBtn
Panel TitlePanel
Panel MessagePanel
Panel ControlPanel
Label TitleLbl
Label MessageLbl
System.Windows.Forms.Timer timer1
IContainer components
Label StatusLbl
int m_PrevX
int m_PrevY
int vShowTime = defaultShowtime
double vFadingTimePortion = defaultFadingTimePortion
string MsgText = null
Thread formthread = null
Thread manipulationthread = null
Color FadeColor = Color.Blue
int mintickinterval = 40
int maxticks = 50
int numticks = 0
int totalticks = 20
int firsttick = 1000
int tickinterval = 100
double fadingfactor = 0

Static Private Attributes

static int defaultShowtime = 3000
static double defaultFadingTimePortion = 0.3

Detailed Description

Summary description for FadeMessage.


Constructor & Destructor Documentation

IG::Forms::FadeMessage::FadeMessage ( ) [inline]
IG::Forms::FadeMessage::FadeMessage ( string  msgtext) [inline]

Shows a fading message in a new thread, with message text equal to mshtext and without a title;.

IG::Forms::FadeMessage::FadeMessage ( string  msgtext,
int  showtime 
) [inline]

Shows a fading message in a new thread, with message text equal to msgtext and with specified showing time in ms.

IG::Forms::FadeMessage::FadeMessage ( string  msgtext,
int  showtime,
double  fadeportion 
) [inline]

Shows a fading message in a new thread, with message text equal to msgtext and with specified showing time in ms and fading time portion.

IG::Forms::FadeMessage::FadeMessage ( string  title,
string  msgtext 
) [inline]

Shows the form in a new thread, with a title and with message text equal to msgtext.

IG::Forms::FadeMessage::FadeMessage ( string  title,
string  msgtext,
int  showtime 
) [inline]

Shows a fading message in a new thread, with a title and with message text equal to msgtext, with specified showing time in ms.

IG::Forms::FadeMessage::FadeMessage ( string  title,
string  msgtext,
int  showtime,
double  fadeportion 
) [inline]

Shows a fading message in a new thread, with a title and with message text equal to msgtext, with specified showing time in ms and fading time portion.


Member Function Documentation

void IG::Forms::FadeMessage::baseFadeMessage ( ) [inline, private]

Required designer variable.

void IG::Forms::FadeMessage::InitializeComponent ( ) [inline, private]

Required method for Designer support - do not modify the contents of this method with the code editor.

void IG::Forms::FadeMessage::FadeMessage_MouseMove ( object  sender,
MouseEventArgs  e 
) [inline, private]
void IG::Forms::FadeMessage::FadeMessage_MouseDown ( object  sender,
MouseEventArgs  e 
) [inline, private]
void IG::Forms::FadeMessage::ManipulationThreadFunc ( ) [inline, private]
void IG::Forms::FadeMessage::FormThreadFunc ( ) [inline, private]
void IG::Forms::FadeMessage::timer1_Tick ( object  sender,
EventArgs  e 
) [inline, private]
void IG::Forms::FadeMessage::SetFadeLevel ( double  fadefactor) [inline, private]
void IG::Forms::FadeMessage::FadeMessage_Load ( object  sender,
System.EventArgs  e 
) [inline, private]
void IG::Forms::FadeMessage::CancelBtn_Click ( object  sender,
EventArgs  e 
) [inline, private]
void IG::Forms::FadeMessage::HideDialog ( ) [inline]
void IG::Forms::FadeMessage::CloseDialog ( ) [inline]
void IG::Forms::FadeMessage::ShowThread ( ) [inline]

Shows a fading message in a new thread.

this.ShowDialog();

void IG::Forms::FadeMessage::ShowThread ( string  text) [inline]

Shows a fading message in a new thread, with message text equal to mshtext and without a title;.

void IG::Forms::FadeMessage::ShowThread ( string  msgtext,
int  showtime 
) [inline]

Shows a fading message in a new thread, with message text equal to msgtext and with specified showing time in ms.

void IG::Forms::FadeMessage::ShowThread ( string  msgtext,
int  showtime,
double  fadeportion 
) [inline]

Shows a fading message in a new thread, with message text equal to msgtext and with specified showing time in ms and fading time portion.

void IG::Forms::FadeMessage::ShowThread ( string  title,
string  text 
) [inline]

Shows the form in a new thread, with a title and with message text equal to msgtext.

void IG::Forms::FadeMessage::ShowThread ( string  title,
string  msgtext,
int  showtime 
) [inline]

Shows a fading message in a new thread, with a title and with message text equal to msgtext, with specified showing time in ms.

void IG::Forms::FadeMessage::ShowThread ( string  title,
string  msgtext,
int  showtime,
double  fadeportion 
) [inline]

Shows a fading message in a new thread, with a title and with message text equal to msgtext, with specified showing time in ms and fading time portion.

void IG::Forms::FadeMessage::FadeMessage_MouseClick ( object  sender,
MouseEventArgs  e 
) [inline, private]

Member Data Documentation

System.Windows.Forms.Button IG::Forms::FadeMessage::CancelBtn [private]
System.Windows.Forms.Timer IG::Forms::FadeMessage::timer1 [private]
IContainer IG::Forms::FadeMessage::components [private]
int IG::Forms::FadeMessage::defaultShowtime = 3000 [static, private]
double IG::Forms::FadeMessage::defaultFadingTimePortion = 0.3 [static, private]
string IG::Forms::FadeMessage::MsgText = null [private]
Thread IG::Forms::FadeMessage::formthread = null [private]
Color IG::Forms::FadeMessage::BackGroundColor = Color.LightYellow
Color IG::Forms::FadeMessage::FadeColor = Color.Blue [private]
int IG::Forms::FadeMessage::firsttick = 1000 [private]

Property Documentation

int IG::Forms::FadeMessage::ShowTime [get, set]
double IG::Forms::FadeMessage::FadingTimePortion [get, set]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties Events