Inheritance: System.Windows.Forms.Form
Example #1
0
        private void bGreeting_Click( object sender, EventArgs e ) {
            TextEditorPopup popup = new TextEditorPopup( Paths.GreetingFileName,
@"Welcome to {SERVER_NAME}
Your rank is {RANK}&S. Type &H/help&S for help." );
            popup.ShowDialog();
        }
Example #2
0
 private void bAnnouncements_Click( object sender, EventArgs e ) {
     TextEditorPopup popup = new TextEditorPopup( Paths.AnnouncementsFileName, "" );
     popup.ShowDialog();
 }
Example #3
0
 private void bRules_Click( object sender, EventArgs e ) {
     TextEditorPopup popup = new TextEditorPopup( Paths.RulesFileName, "Use common sense!" );
     popup.ShowDialog();
 }
Example #4
0
 private void bRules_Click( object sender, EventArgs e )
 {
     TextEditorPopup popup = new TextEditorPopup( "rules.txt", "Use common sense!" );
     popup.ShowDialog();
 }