Inheritance: System.Windows.Forms.Form
Exemplo n.º 1
0
 private void bRules_Click( object sender, EventArgs e ) {
     TextEditorPopup popup = new TextEditorPopup( Paths.RulesFileName, "Use common sense!" );
     popup.ShowDialog();
 }
Exemplo n.º 2
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();
        }
Exemplo n.º 3
0
 private void bAnnouncements_Click( object sender, EventArgs e ) {
     TextEditorPopup popup = new TextEditorPopup( Paths.AnnouncementsFileName, "" );
     popup.ShowDialog();
 }