Ejemplo n.º 1
0
 public PluginUI(PluginMain pluginMain)
 {
     this.pluginMain        = pluginMain;
     this.autoShow          = new Timer();
     this.autoShow.Interval = 300;
     this.autoShow.Tick    += this.AutoShowPanel;
     this.logCount          = TraceManager.TraceLog.Count;
     this.ignoredEntries    = new Dictionary <String, Boolean>();
     this.InitializeComponent();
     this.InitializeContextMenu();
     this.InitializeGraphics();
     this.InitializeTexts();
     this.ApplySettings();
 }
Ejemplo n.º 2
0
        public PluginUI(PluginMain pluginMain)
		{
            this.pluginMain = pluginMain;
            this.autoShow = new Timer();
            this.autoShow.Interval = 300;
            this.autoShow.Tick += this.AutoShowPanel;
            this.logCount = TraceManager.TraceLog.Count;
            this.ignoredEntries = new Dictionary<String, Boolean>();
            this.InitializeComponent();
            this.InitializeContextMenu();
            this.InitializeGraphics();
            this.InitializeTexts();
            this.InitializeLayout();
            this.ApplySettings();
		}
Ejemplo n.º 3
0
 public PluginUI(PluginMain pluginMain)
 {
     InitializeComponent();
     this.plugin   = pluginMain;
     this.logCount = pluginMain.Host.MainForm.EventLog.Count;
     //
     // load resource icons
     //
     resultsIcons.Images.Clear();
     System.Reflection.Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly();
     try {
         resultsIcons.Images.Add(new System.Drawing.Bitmap(assembly.GetManifestResourceStream("Question.png")));
         resultsIcons.Images.Add(new System.Drawing.Bitmap(assembly.GetManifestResourceStream("Error.png")));
         resultsIcons.Images.Add(new System.Drawing.Bitmap(assembly.GetManifestResourceStream("Warning.png")));
     }
     catch (Exception ex)
     {
         ErrorHandler.ShowError("Error loading while resources in ResultsPanel.DLL", ex);
     }
 }
Ejemplo n.º 4
0
		public PluginUI(PluginMain pluginMain)
		{
			InitializeComponent();
			this.plugin = pluginMain;
			this.logCount = pluginMain.Host.MainForm.EventLog.Count;
			//
			// load resource icons
			//
			resultsIcons.Images.Clear();
			System.Reflection.Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly();
			try {
				resultsIcons.Images.Add(new System.Drawing.Bitmap(assembly.GetManifestResourceStream("Question.png")));
				resultsIcons.Images.Add(new System.Drawing.Bitmap(assembly.GetManifestResourceStream("Error.png")));
				resultsIcons.Images.Add(new System.Drawing.Bitmap(assembly.GetManifestResourceStream("Warning.png")));
			}
			catch (Exception ex)
			{
				ErrorHandler.ShowError("Error loading while resources in ResultsPanel.DLL", ex);
			}
		}