Ejemplo n.º 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 );
		}
Ejemplo n.º 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();
		}
Ejemplo n.º 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();
 }