Ejemplo n.º 1
0
        private void 顏色表ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (his == null || his.IsDisposed)
            {

                his = new history();
                his.TopMost = true;
                Point i = new Point();
                i.X = this.label2.Location.X;
                i.Y = this.label2.Location.Y;
                i = PointToScreen(i);
                his.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
                his.Location = new System.Drawing.Point(i.X, i.Y);

                his.Show();
            }
        }
Ejemplo n.º 2
0
 private void 查詢歷史紀錄ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     history hs = new history();
     //hs.Show();
     hs.ShowDialog();
 }