static void Main() { CurrentUser cu = new CurrentUser(); cu.Username = "******"; cu.Rule = 1; Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); //Application.Run(new frmMain(cu)); Application.Run(new frmProduct()); }
public frmMain(CurrentUser cu) { InitializeComponent(); this.cu = cu; }
public frmPasswordChange(CurrentUser cu) { InitializeComponent(); this.cu = cu; }
public frmUserInfomation(CurrentUser cu) { InitializeComponent(); this.cu = cu; }