00001 using Gtk; 00002 using System; 00003 00004 namespace Foodolini.Activities.Administration 00005 { 00006 public partial class LoginDialog : Gtk.Dialog 00007 { 00014 public LoginDialog(Window parent) 00015 { 00016 this.Build(); 00017 //this.Parent = parent; 00018 } 00019 00020 public string Password{ 00021 get{ 00022 return this.passwordEntry.Text; 00023 } 00024 } 00025 00026 protected virtual void OnPasswordEntryActivated (object sender, System.EventArgs e){ 00027 this.buttonOk.Click(); 00028 } 00029 } 00030 }