Beispiel #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     frmGRDataLast f = new frmGRDataLast();
     f.ShowDialog(this);
 }
Beispiel #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <returns></returns>
 private frmGRDataLast GetGRDataLastForm()
 {
     foreach (Form f in this.MdiChildren)
     {
         if (f is frmGRDataLast)
         {
             return (frmGRDataLast)f;
         }
     }
     frmGRDataLast nf = new frmGRDataLast();
     nf.MdiParent = this;
     return nf;
 }