public CtlGfsView(DataViewInfo dataViewInfo) { InitializeComponent(); InitTool(); mDataViewInfo = dataViewInfo; DataShower.Add(lstData); if (!GuiConfig.IsUseDefaultLanguage) { DeleteFileToolStripMenuItem.Text = GuiConfig.GetText("MainMenu.OperationFileSystemDelFile"); DeleteFileStripButton.Text = DeleteFileToolStripMenuItem.Text; UploadFileToolStripMenuItem.Text = GuiConfig.GetText("MainMenu.OperationFileSystemUploadFile"); UploadFileStripButton.Text = UploadFileToolStripMenuItem.Text; UploadFolderToolStripMenuItem.Text = GuiConfig.GetText("MainMenu.OperationFileSystemUploadFolder"); UpLoadFolderStripButton.Text = UploadFolderToolStripMenuItem.Text; DownloadFileToolStripMenuItem.Text = GuiConfig.GetText("MainMenu.OperationFileSystemDownload"); DownloadFileStripButton.Text = DownloadFileToolStripMenuItem.Text; OpenFileToolStripMenuItem.Text = GuiConfig.GetText("MainMenu.OperationFileSystemOpenFile"); OpenFileStripButton.Text = OpenFileToolStripMenuItem.Text; } }
public CtlUserView(DataViewInfo dataViewInfo) { InitializeComponent(); InitToolAndMenu(); mDataViewInfo = dataViewInfo; DataShower.Add(lstData); }
public CtlDocumentView(DataViewInfo dataViewInfo) { InitializeComponent(); InitToolAndMenu(); if (dataViewInfo == null) { return; } MDataViewInfo = dataViewInfo; DataShower.Add(lstData); DataShower.Add(txtData); DataShower.Add(trvData); }