예제 #1
0
 private void _mainWidget_Destroyed(object sender, EventArgs e)
 {
     try
     {
         mainWidget.Destroyed -= _mainWidget_Destroyed;
         //mainWidget.Dispose();
         Grid1.Dispose();
         Grid2.Dispose();
         owner = null;
     }
     catch (Exception err)
     {
         ShowError(err);
     }
 }
 public void Dispose()
 {
     Grid1?.Dispose();
 }