update 20260727
This commit is contained in:
@@ -3112,7 +3112,12 @@ namespace OnDoc.UICintrols
|
||||
var records = sfDataGrid1.View.GetSelectedRecords();
|
||||
if (records.Count < 1) { return; }
|
||||
DokHistory dh = new DokHistory(selected_dokumentid);
|
||||
Screen screen = Screen.FromControl(this);
|
||||
dh.Location = new System.Drawing.Point(
|
||||
screen.WorkingArea.Left + 50,
|
||||
screen.WorkingArea.Top + 50);
|
||||
dh.ShowDialog();
|
||||
|
||||
}
|
||||
|
||||
private void dokumentKopierenToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
@@ -3550,6 +3555,11 @@ namespace OnDoc.UICintrols
|
||||
var datarow = record as DataRowView;
|
||||
string documentid = datarow["dokumentid"].ToString();
|
||||
EditDokMetaData ed = new EditDokMetaData(datarow["dokumentid"].ToString());
|
||||
ed.StartPosition = FormStartPosition.Manual;
|
||||
Screen screen = Screen.FromControl(this);
|
||||
ed.Location = new System.Drawing.Point(
|
||||
screen.WorkingArea.Left + 50,
|
||||
screen.WorkingArea.Top + 50);
|
||||
ed.ShowDialog();
|
||||
ed = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user