public WriterRVForm(ReviewForm parent, string ID_User) { temp = 1; review = new Review(); this.review._ID_User = ID_User; this.parent2 = parent; InitializeComponent(); SetColor(Properties.Settings.Default.Color); this.Size = new Size(1015, 550); }
public WriterRVForm(ReviewForm parent, int ID, string[] args, DateTime Date) { temp = -1; review = new Review(); this.review._ID = ID; this.review._SubjectID = args[0]; this.review._Subject = args[1]; this.review._Details = args[2]; this.review._Date = Date; InitializeComponent(); this.tbxSubID.Text = review._SubjectID; this.tbxSubName.Text = review._Subject; this.tbxDetails.Text = review._Details; this.Size = new Size(1015, 550); this.parent2 = parent; }