Beispiel #1
0
 public static MakeAOIGridWindow GetInstance()
 {
     if (_instance == null)
     {
         _instance = new MakeAOIGridWindow();
     }
     return(_instance);
 }
        private void MakeGrid()
        {
            MakeAOIGridWindow mgw = MakeAOIGridWindow.GetInstance();

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