Пример #1
0
        public void ShowNewItemDialog(string viewName)
        {
            viewPlugin = null;

            viewPlugin = Global.Plugins.GetViewPlugin(viewName, conn.Settings.Name);
            if (viewPlugin == null)
            {
                return;
            }

            ConfigureView(viewPlugin);

            viewPlugin.OnAddEntry(conn);
            Populate();
        }
Пример #2
0
 public void OnNewEntryActivate(object o, EventArgs args)
 {
     viewPlugin.OnAddEntry(conn);
     Populate();
 }