Esempio n. 1
0
        public static void ShowTimeline()
        {
            if (Properties.Settings.Default.FloatTimeline)
            {
                if (singleton == null)
                {
                    var kf = new KeyFramer();

                    kf.Owner = Earth3d.MainWindow;
                    Earth3d.MainWindow.AddOwnedForm(kf);
                    kf.Location = new Point(Earth3d.MainWindow.Location.X, Earth3d.MainWindow.Location.Y + Earth3d.MainWindow.Height - kf.Height);
                    kf.Width = Earth3d.MainWindow.Width;
                    kf.Show();
                }
            }
            else
            {
                ContextPanel.ShowTimeline = true;
            }
        }
Esempio n. 2
0
        public static void ShowTimeline()
        {
            if (Properties.Settings.Default.FloatTimeline)
            {
                if (singleton == null)
                {
                    KeyFramer kf = new KeyFramer();

                    kf.Owner = Earth3d.MainWindow;
                    Earth3d.MainWindow.AddOwnedForm(kf);
                    kf.Location = new Point(Earth3d.MainWindow.Location.X, Earth3d.MainWindow.Location.Y + Earth3d.MainWindow.Height - kf.Height);
                    kf.Width    = Earth3d.MainWindow.Width;
                    kf.Show();
                }
            }
            else
            {
                ContextPanel.ShowTimeline = true;
            }
        }
Esempio n. 3
0
 private void KeyFramer_FormClosing(object sender, FormClosingEventArgs e)
 {
     TimeLine.RemoveInstance(TimeLine);
     singleton = null;
 }
Esempio n. 4
0
 public KeyFramer()
 {
     InitializeComponent();
     singleton = this;
     SetUiStrings();
 }
Esempio n. 5
0
 private void PushPin_Click(object sender, EventArgs e)
 {
     Properties.Settings.Default.FloatTimeline = true;
     ShowTimeline = false;
     KeyFramer.ShowTimeline();
 }
Esempio n. 6
0
 private void KeyFramer_FormClosing(object sender, FormClosingEventArgs e)
 {
     TimeLine.RemoveInstance(this.TimeLine);
     singleton = null;
 }
Esempio n. 7
0
 public KeyFramer()
 {
     InitializeComponent();
     singleton = this;
     SetUiStrings();
 }