Beispiel #1
0
		/// <summary>
		/// Options form from the tray menu
		/// </summary>
		private void TrayOptions_Click(object sender, System.EventArgs e)
		{
            OptionsForm of = new OptionsForm(_profileManager);
			of.ShowDialog( this );
		}
Beispiel #2
0
		private void bOptions_Click(object sender, System.EventArgs e)
		{
            // Do not acces the container from a static refference, should be solved better
			TheBox.Forms.OptionsForm form = new TheBox.Forms.OptionsForm(Pandora.Container.Resolve<ProfileManager>());
			form.ShowDialog();
		}
Beispiel #3
0
 private void bOptions_Click(object sender, System.EventArgs e)
 {
     // Do not acces the container from a static refference, should be solved better
     TheBox.Forms.OptionsForm form = new TheBox.Forms.OptionsForm(Pandora.Container.Resolve <ProfileManager>());
     form.ShowDialog();
 }