Пример #1
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     OutputsFreightForm off = new OutputsFreightForm(fre);
     if (off.ShowDialog() == DialogResult.OK)
     {
         bdgOutputs.Add(off.NewOutput);
     }
 }
Пример #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            OutputsFreightForm off = new OutputsFreightForm(fre);

            if (off.ShowDialog() == DialogResult.OK)
            {
                bdgOutputs.Add(off.NewOutput);
            }
        }