예제 #1
0
 private void cancelButton_Click(object sender, EventArgs e)
 {
     if (mCallback != null)
     {
         mCallback.OnCancelled(GetUnwantedItems());
         mCallback = null;
     }
 }
예제 #2
0
 private void InputDialog_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (mCallback != null)
     {
         mCallback.OnCancelled();
         mCallback = null;
     }
 }