Exemple #1
0
 public IQuery()
 {
     Name = "Query";
     Info = new string[] { "Jon Reed", "v.3", "Quick database analysis." };
     UI = new QueryUI();
     Options = new Form();
 }
Exemple #2
0
 public bool Initialize(Server Server)
 {
     try
     {
         Server = new Server(Server); Load();
         UI = new QueryUI(Server) as UserControl;
         return true;
     }
     catch (Exception ex)
     { QMain.ReportEx(ex, "QueryUtility", "Initialize(Server)"); return false; }
 }
Exemple #3
0
        public bool Initialize()
        {
            string svr = "";

            if (SetConnection(ref svr))
            {
                Server = new Server(svr); Load();
                UI = new QueryUI(Server) as UserControl;
                return true;
            }
            return false;
        }
Exemple #4
0
 public bool Initialize(Server Server, string query)
 {
     try
     {
         Server = new Server(Server); Load();
         UI = new QueryUI(Server, query) as UserControl;
         ExecuteQuery_Click(new Object(), new EventArgs());
         return true;
     }
     catch (Exception ex)
     { QMain.ReportEx(ex, "QueryUtility", "Initialize(Server, Query)"); return false; }
 }