Ejemplo n.º 1
0
 public AccountGroupAdd(AccountGroupView view)
 {
     viewForm = view;
     Code     = 0;
     InitializeComponent();
     BindDropDown();
     this.Text = this.Text + " (Add)";
 }
Ejemplo n.º 2
0
        public static AccountGroupView Instance()
        {
            if (sForm == null)
            {
                sForm = new AccountGroupView();
            }

            return(sForm);
        }
Ejemplo n.º 3
0
 public AccountGroupAdd(AccountGroupView view, int code)
 {
     viewForm = view;
     Code     = code;
     InitializeComponent();
     BindDropDown();
     if (code > 0)
     {
         this.Text = this.Text + " (Edit)";
     }
     else
     {
         this.Text = this.Text + " (Add)";
     }
 }