Ejemplo n.º 1
0
        private void p1_lbl1_DoubleClick(object sender, EventArgs e)
        {
            var lbl = (Label)sender;

            int.TryParse(lbl.Tag.ToString(), out var machineId);

            if (machineId == 0)
            {
                return;
            }

            var f = new Intervals();

            f.SingleSelectedMachine = machineId;
            f.Size = new Size(1350, 700);
            f.ShowDialog();
            f.Dispose();
        }