Click here to Skip to main content
15,891,567 members
Home / Discussions / C#
   

C#

 
QuestionGF(256) Multiplication Pin
Member 115029285-Mar-15 20:50
Member 115029285-Mar-15 20:50 
AnswerRe: GF(256) Multiplication Pin
Richard MacCutchan5-Mar-15 21:08
mveRichard MacCutchan5-Mar-15 21:08 
GeneralRe: GF(256) Multiplication Pin
harold aptroot5-Mar-15 23:12
harold aptroot5-Mar-15 23:12 
GeneralRe: GF(256) Multiplication Pin
Richard MacCutchan5-Mar-15 23:56
mveRichard MacCutchan5-Mar-15 23:56 
GeneralRe: GF(256) Multiplication Pin
harold aptroot6-Mar-15 0:04
harold aptroot6-Mar-15 0:04 
GeneralRe: GF(256) Multiplication Pin
Richard MacCutchan6-Mar-15 0:15
mveRichard MacCutchan6-Mar-15 0:15 
GeneralRe: GF(256) Multiplication Pin
harold aptroot6-Mar-15 0:21
harold aptroot6-Mar-15 0:21 
AnswerRe: GF(256) Multiplication Pin
harold aptroot6-Mar-15 0:24
harold aptroot6-Mar-15 0:24 
QuestionNeed Function to Redact SSNs and CCs from a string Pin
AnneThorne5-Mar-15 10:26
AnneThorne5-Mar-15 10:26 
SuggestionRe: Need Function to Redact SSNs and CCs from a string Pin
ZurdoDev5-Mar-15 10:43
professionalZurdoDev5-Mar-15 10:43 
GeneralRe: Need Function to Redact SSNs and CCs from a string Pin
AnneThorne5-Mar-15 10:56
AnneThorne5-Mar-15 10:56 
GeneralRe: Need Function to Redact SSNs and CCs from a string Pin
AnneThorne5-Mar-15 11:28
AnneThorne5-Mar-15 11:28 
GeneralRe: Need Function to Redact SSNs and CCs from a string Pin
AnneThorne5-Mar-15 12:10
AnneThorne5-Mar-15 12:10 
QuestionMessage Removed Pin
5-Mar-15 8:19
professionalN_tro_P5-Mar-15 8:19 
AnswerRe: EntityFramework Disable Lazy loading Pin
Dave Kreskowiak5-Mar-15 10:10
mveDave Kreskowiak5-Mar-15 10:10 
GeneralMessage Removed Pin
5-Mar-15 11:02
professionalN_tro_P5-Mar-15 11:02 
GeneralRe: EntityFramework Disable Lazy loading Pin
Matt T Heffron5-Mar-15 12:00
professionalMatt T Heffron5-Mar-15 12:00 
GeneralMessage Removed Pin
5-Mar-15 11:24
professionalN_tro_P5-Mar-15 11:24 
GeneralRe: EntityFramework Disable Lazy loading Pin
Dave Kreskowiak5-Mar-15 12:09
mveDave Kreskowiak5-Mar-15 12:09 
AnswerRe: EntityFramework Disable Lazy loading Pin
Gerry Schmitz5-Mar-15 12:23
mveGerry Schmitz5-Mar-15 12:23 
Questionsolved: WinForms: What would make closing a MainForm require two Clicks on the ControlBox ? Pin
BillWoodruff5-Mar-15 2:08
professionalBillWoodruff5-Mar-15 2:08 
AnswerRe: WinForms: What would make closing a MainForm require two Clicks on the ControlBox ? Pin
Alan N5-Mar-15 2:58
Alan N5-Mar-15 2:58 
Ooh I think you have a owned form which isn't playing cricket! When the owner begins to close it tries to close the owned form but can't and then the owner's FormClosing event handler is supplied with a precancelled event args.

Rather than dispose of the utility form you should allow the form to close itself. In the example I assume that Hide should only occur when the user attempts to close the form manually.
C#
// Utility form close handler
protected override void OnFormClosing(FormClosingEventArgs e) {
  if (e.CloseReason == CloseReason.UserClosing) {
    Hide();
    e.Cancel = true;
  }
  base.OnFormClosing(e);
}


Alan.
GeneralRe: WinForms: What would make closing a MainForm require two Clicks on the ControlBox ? Pin
BillWoodruff5-Mar-15 3:50
professionalBillWoodruff5-Mar-15 3:50 
QuestionMemoryStream with PDF Pin
Jassim Rahma4-Mar-15 22:18
Jassim Rahma4-Mar-15 22:18 
AnswerRe: MemoryStream with PDF Pin
Pete O'Hanlon4-Mar-15 22:21
mvePete O'Hanlon4-Mar-15 22:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.