Ejemplo n.º 1
0
 public PolarForm(ItemCombiner ic)
 {
     InitializeComponent();
     Ic = ic;
     ApplySizeToIcons();
     SetIcons();
     RefreshIcons();
 }
Ejemplo n.º 2
0
        private void Refresh(string folderPath = "")
        {
            wp.Stop();
            this.Text = appName + " " + folderPath;
            flowChartPanel.Controls.Clear();
            if (ic != null)
            {
                ic.Dispose();
                ic = null;
            }
            ic = new ItemCombiner(this);
            ItemSet.SetCombiner(ic);

            if (polarForm != null)
            {
                polarForm.Dispose();
            }
            polarForm = new PolarForm(ic);
        }
Ejemplo n.º 3
0
        void init()
        {
            Settings settings = Settings.GetInstance();

            settings.LoadSettings();
            ItemCombiner.ApplySettings();
            WavPlayer.ApplySettings();
            Form1.ApplySettings();

            wp = new WavPlayer(this);
            wp.PlayReachedBy += new WavPlayer.ProcessEventHandler(this.ReportReceived);
            this.KeyPreview   = true;

            ItemCombiner.SetWavPlayer(wp);
            GraphPanel.SetFont(defaultFont);
            ItemSet.SetWavPlayer(wp);
            ItemSet.SetForm(this);
            ControlPanel.SetFont(defaultFont);
            ControlPanel.SetWavPlayer(wp);

            cp = new ControlPanel();
            baseTablePanel.Controls.Add(cp, 1, 1);
        }
Ejemplo n.º 4
0
        private void Refresh(string folderPath = "")
        {
            wp.Stop();
            this.Text = appName + " " + folderPath;
            flowChartPanel.Controls.Clear();
            if (ic != null)
            {
                ic.Dispose();
                ic = null;
            }
            ic = new ItemCombiner(this);
            ItemSet.SetCombiner(ic);

            if (polarForm != null) polarForm.Dispose();
            polarForm = new PolarForm(ic);
        }
Ejemplo n.º 5
0
 static public void SetCombiner(ItemCombiner ic)
 {
     ItemSet.ic = ic;
 }