Пример #1
0
 public void CallMinMax(Data data)
 {
     if (data != null)
     {
         FrmMinMax Min_Max = new FrmMinMax(data);
         Min_Max.MdiParent = this.MdiParent;
         Min_Max.Show();
     }
 }
Пример #2
0
        private void btnTemp_Click(object sender, EventArgs e)
        {
            Button b    = sender as Button;
            Data   data = (Data)(b.Tag);

            if (data != null)
            {
                FrmMinMax Min_Max = new FrmMinMax(data);
                Min_Max.MdiParent = this.MdiParent;
                Min_Max.Show();
            }
        }