コード例 #1
0
        private void FloatingPane_StartDrag(object sender, EventArgs e)
        {
            _sideLocationPane?.Close();
            _sideLocationPane = null;

            _windowLocationPane?.Close();
            _windowLocationPane = null;

            SelectedPane = null;
        }
コード例 #2
0
 public void Shutdown()
 {
     try
     {
         _windowLocationPane?.Close();
         _windowLocationPane = null;
     }
     catch
     {
         // Ignore
     }
     try
     {
         _sideLocationPane?.Close();
         _sideLocationPane = null;
     }
     catch
     {
         // Ignore
     }
 }