示例#1
0
 public static void Show(string text, string title)
 {
     ib = new InformationBox();
     ib.lblText.Text  = text;
     ib.lblTitle.Text = title;
     ib.FixPositions(false);
     ib.ShowDialog();
 }
示例#2
0
 public static void Show(string text, string title)
 {
     ib = new InformationBox();
     ib.lblText.Text = text;
     ib.lblTitle.Text = title;
     ib.FixPositions(false);
     ib.ShowDialog();
 }
示例#3
0
 public static DialogResult Show(string text, string title, string link)
 {
     ib = new InformationBox();
     ib.lblText.Text  = text;
     ib.lblTitle.Text = title;
     ib.FixPositions(true);
     ib.btnCopy.Visible  = true;
     ib.btnCopy.Enabled  = true;
     ib.link             = link;
     ib.btnCopy.Location = new Point(0, ib.Size.Height - ib.btnCopy.Size.Height);
     return(ib.ShowDialog());
 }
示例#4
0
 public static DialogResult Show(string text, string title, string link)
 {
     ib = new InformationBox();
     ib.lblText.Text = text;
     ib.lblTitle.Text = title;
     ib.FixPositions(true);
     ib.btnCopy.Visible = true;
     ib.btnCopy.Enabled = true;
     ib.link = link;
     ib.btnCopy.Location = new Point(0, ib.Size.Height - ib.btnCopy.Size.Height);
     return ib.ShowDialog();
 }