public static DataTool GetInstance() { return(_inst ?? (_inst = new DataTool())); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(DataTool.GetInstance()); }
private void SearchUI_FormClosed(object sender, FormClosedEventArgs e) { _inst = null; }