public static void EditStatus(int indexID, string Newstatus) { string edit = GridPageEdit.getHistory(); string[] split = Regex.Split(edit, "\n"); foreach (string a in split) { if (a.Contains("Cell4Text")) { if (a.Contains(indexID.ToString())) { string[] g = a.Split('>'); string[] status = g[1].Split('<'); string neww = a.Replace(status[0], Newstatus); string now = edit.Replace(a, neww); GPGlobals.History = now; if (RightBrowser.getSource().Contains("gridpage")) { RightBrowser.LoadGridPage(); } } } } }
public static void Dashboard() { RightBrowser.browser.Invoke(new MethodInvoker(delegate { RightBrowser.browser.Visible = true; })); RightBrowser.LoadGridPage(); }
public static void ReloadTable() { RightBrowser.LoadGridPage(); }