コード例 #1
0
        private void MainMenuButton_Click(object sender, EventArgs e)
        {
            MainMenuForm mainMenuForm = new MainMenuForm();

            mainMenuForm.Show();
            this.Close();
        }
コード例 #2
0
 public AddQuote(MainMenuForm mainMenuForm)
 {
     InitializeComponent();
     mainMenu = mainMenuForm;
     this.SaveQuote.Enabled = false;
     this.setDate(DateTime.Today);
 }
コード例 #3
0
 public MainMenuForm()
 {
     InitializeComponent();
     addQuote          = new AddQuote(this);
     searchAllQuotes   = new SearchAllQuotes(this);
     viewAllQuotes     = new ViewAllQuotes(this);
     this.mainMenuForm = this;
 }
コード例 #4
0
 public SearchAllQuotes(MainMenuForm mainMenuForm)
 {
     InitializeComponent();
     mainMenu = mainMenuForm;
 }