public IssueMaster(IssueMasterView view) { viewForm = view; Code = 0; InitializeComponent(); this.Text = this.Text + " (Add)"; BindDropDown(); }
public static IssueMasterView Instance() { if (sForm == null) { sForm = new IssueMasterView(); } return(sForm); }
public IssueMaster(IssueMasterView view, int code) { viewForm = view; Code = code; //Code2 = code2; InitializeComponent(); if (code > 0) { this.Text = this.Text + " (Edit)"; } else { this.Text = this.Text + " (Add)"; } BindDropDown(); }