Ejemplo n.º 1
0
 public static MakeAOIGridWindow GetInstance()
 {
     if (_instance == null)
     {
         _instance = new MakeAOIGridWindow();
     }
     return(_instance);
 }
Ejemplo n.º 2
0
        private void MakeGrid()
        {
            MakeAOIGridWindow mgw = MakeAOIGridWindow.GetInstance();

            mgw.AOI   = _aoi;
            mgw.Owner = this;
            if (mgw.Visibility == Visibility.Visible)
            {
                mgw.BringIntoView();
            }
            else
            {
                mgw.Show();
            }
        }
Ejemplo n.º 3
0
 private void MakeAOIGridWindow_Closed(object sender, EventArgs e)
 {
     _instance = null;
 }