James Villar

James Villar

  • NA
  • 101
  • 1.7k

MetroMessageBox bug C# WinForms

Nov 16 2019 2:49 AM
MetroMessageBox doesn't get the Owner's Location which is my Parent Form. My MetroMessageBox is declared in Child Form.
 
I use this code to show my MetroMessageBox:
  1. using MetroFramework;  
  2.   
  3. private void TileUpdate_Click(object sender, EventArgs e)  
  4. {  
  5.    //This form is My Parent Form     
  6.    FrmMain fm = new FrmMain();     
  7.    //This is my MetroMessageBox     
  8.    MetroMessageBox.Show(fm, "Data Updated""Information", MessageBoxButtons.OK, MessageBoxIcon.None);  

This is my MetroMessageBox when Shown.
 
 
It doesn't fit on my Parent Form. Why is that? Can someone help me? :(

Answers (8)