public SearchWindow()
 {
     InitializeComponent();
     if (_CurrentSearchWindow == null)
     {
         _CurrentSearchWindow = this;
         this.Show();
     }
     else
     {
         MessageBox.Show("You can't open more than one Search Window at a time.");
         this.Close();
     }
 }
 private void Window_Closed_1(object sender, EventArgs e)
 {
     _CurrentSearchWindow = null;
 }
Ejemplo n.º 3
0
 private void Window_Closed_1(object sender, EventArgs e)
 {
     _CurrentSearchWindow = null;
 }