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(); }
private void bAnnouncements_Click( object sender, EventArgs e ) { TextEditorPopup popup = new TextEditorPopup( Paths.AnnouncementsFileName, "" ); popup.ShowDialog(); }
private void bRules_Click( object sender, EventArgs e ) { TextEditorPopup popup = new TextEditorPopup( Paths.RulesFileName, "Use common sense!" ); popup.ShowDialog(); }
private void bRules_Click( object sender, EventArgs e ) { TextEditorPopup popup = new TextEditorPopup( "rules.txt", "Use common sense!" ); popup.ShowDialog(); }