Ejemplo n.º 1
0
        private void MaintainCollarClick(object sender, RoutedEventArgs e)
        {
            //HN -- Cross ref shown first, next button takes you to IDDCollarCal
            IDDCollarCrossRef f = new IDDCollarCrossRef();

            f.ShowDialog();
        }
Ejemplo n.º 2
0
        private void MaintainCollarClick(object sender, RoutedEventArgs e)
        {
            //HN -- Cross ref shown first, next button takes you to IDDCollarCal
            IDDCollarCrossRef f = new IDDCollarCrossRef(Integ.GetCurrentAcquireParams().collar_mode, false);

            f.StartPosition = FormStartPosition.CenterScreen;

            f.ShowDialog();
        }
Ejemplo n.º 3
0
        private void MaintainCollarClick(object sender, RoutedEventArgs e)
        {
            //HN -- Cross ref shown first, next button takes you to IDDCollarCal
            IDDCollarCrossRef f        = new IDDCollarCrossRef();
            WinPos            childPos = main.GetChildPos(f.Height, f.Width);

            f.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
            if (childPos.height < f.Height || childPos.width < f.Width) // Resize if it will go off screen.
            {
                f.Size = new System.Drawing.Size((int)childPos.width, (int)childPos.height);
            }
            f.Location = new System.Drawing.Point((int)childPos.left, (int)childPos.top);

            f.ShowDialog();
        }
Ejemplo n.º 4
0
 private void MaintainCollarClick(object sender, RoutedEventArgs e)
 {
     //HN -- Cross ref shown first, next button takes you to IDDCollarCal
     IDDCollarCrossRef f = new IDDCollarCrossRef();
     f.ShowDialog();
 }
Ejemplo n.º 5
0
        private void MaintainCollarClick(object sender, RoutedEventArgs e)
        {
            //HN -- Cross ref shown first, next button takes you to IDDCollarCal
            IDDCollarCrossRef f = new IDDCollarCrossRef();
            WinPos childPos = main.GetChildPos(f.Height, f.Width);
            f.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
            if (childPos.height < f.Height || childPos.width < f.Width) // Resize if it will go off screen.
                f.Size = new System.Drawing.Size((int)childPos.width, (int)childPos.height);
            f.Location = new System.Drawing.Point((int)childPos.left, (int)childPos.top);

            f.ShowDialog();
        }